home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: alt.hackers
- Path: sparky!uunet!van-bc!rsoft!agate!ames!haven.umd.edu!news.umbc.edu!umbc4.umbc.edu!paulr
- From: paulr@umbc4.umbc.edu (Paul Riddle)
- Subject: Re: YAFP: TRS-80 Super Graphics
- Message-ID: <1992Aug29.213737.19225@umbc3.umbc.edu>
- Sender: newspost@umbc3.umbc.edu (News posting account)
- Organization: Univ. of MD, Baltimore County
- References: <YAMAUCHI.92Aug29141341@fox.ces.cwru.edu>
- Date: Sat, 29 Aug 1992 21:37:37 GMT
- Approved: yep
- Lines: 47
-
- In article <YAMAUCHI.92Aug29141341@fox.ces.cwru.edu> yamauchi@ces.cwru.edu (Brian Yamauchi) writes:
- >ObHack: Anyone else remember TRS-80 "Super Graphics"?
- >
- >The TRS-80 was capable of displaying character graphics (with
- >butter-knife sharp resolution (128x72?) in two stunning colors (black
- >and white) :-), but the catch was that it was impossible to actually
- >enter graphics characters from the keyboard. There were three
- >conventional alternatives -- POKE bytes to screen memory (cumbersome),
- >use CHR$ (slow), SET/RESET individual pixels (extremely slow).
- >
- >Softside magazine published a hack to get around this. First, define
- >an empty string such as:
- >
- >10 A$ = " "
-
- ...
-
- This reminds me of a similar hack on the Color Computer (Coco) that
- people used to use to "hide" lines of BASIC code... Not quite as
- elegant, but the same idea. What you would do is follow your line of
- code with a comment, and then a number of X's equal to the length of
- the line. To illustrate:
-
- 10 PRINT "FOING BLASTERS":REM XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-
- Then after that, you would go PEEKing through the area allocated to
- your BASIC code (this value tended to change on the Coco, since you
- could reserve low RAM for extra pages of hi-res graphics... I think
- the starting address was stored in low RAM somewhere) looking for the
- sequence of X's. Once you found them, you'd POKE the corresponding
- locations with the value 8, which is an ASCII backspace.
-
- Then when you listed your program, the line would flash for a brief
- instant after which it would be backspaced over... presto, "hidden"
- lines of code.
-
- I think a few software companies actually used this as a method of
- copy-protection.
-
- Aah, sweet memories of home-computer hacking.
-
- Paul
- --
- If found, please return to: |
- Paul Riddle | paulr@umbc3.umbc.edu
- UMBC, Academic Computing Services |
- Baltimore, MD 21228 | (410) 455-3627
-