home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!sgiblab!bolis!news
- From: amillar (Alan Millar)
- Newsgroups: alt.hackers
- Subject: YAFP: TRS-80 Super Graphics
- Message-ID: <80LgqB3w165w@bolis.SF-Bay.org>
- Date: 2 Sep 92 05:54:54 GMT
- Organization: The Bolis Group, San Jose, CA
- Lines: 24
- Approved: Well...ok...@bolis.SF-Bay.org
-
- yamauchi@ces.cwru.edu (Brian Yamauchi) writes:
-
- > for the _source_code_, so... Insert code to use the VARPTR (variable
- > pointer) function to find the memory location of A$. Then POKE the
- > bytes corresponding to your graphics into the location. After running
- > the program once, line 10 will look like:
- >
- > 10 A$ = "<graphic-representation-of-an-alien-invader>"
-
- Yeah, this was standard practice on the Apple ][ also.
-
- ObOldHack: Using letters "O" and "Z" as constants for 1 and 0 in
- Apple ][ Integer Basic. Integer Basic stored tokens with the high
- bit off and variable names with the high bit on, so "O" and "Z" only
- took one byte. It stored integer constants as a one-byte token followed
- by the two data bytes (16 bit int), so a 1 or 0 actually took three
- bytes. It made the most of my 16K, and also saved time loading from casette...
-
- - Alan
-
- ---- email: ,,,,
- Alan Millar amillar@bolis.SF-Bay.org __oo \
- (Remember: only YOU can prevent bang paths) =___/
- But Moses said "Oh, Lord, please send someone else to do it." -Exo. 4:13
-