home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: alt.hackers
- Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!wupost!usc!zaphod.mps.ohio-state.edu!rpi!batcomputer!snake.tc.cornell.edu!reed
- From: reed@snake.tc.cornell.edu (Michael G. Reed)
- Subject: Apple Hack (1st post)
- Message-ID: <1992Aug30.234804.28354@tc.cornell.edu>
- Followup-To: alt.hackers
- Keywords: ][gs
- Sender: news@tc.cornell.edu
- Nntp-Posting-Host: snake.tc.cornell.edu
- Reply-To: reed@Theory.TC.Cornell.EDU
- Organization: Cornell National Supercomputing Facility
- Date: Sun, 30 Aug 1992 23:48:04 GMT
- Approved: reed@theory.tc.cornell.edu
- Lines: 21
-
-
- Well, here's my first attempt at a post...
-
- ObHack: Using bank mirroring on an Apple ][gs to do graphics was commonplace.
- Now, here's the hack. Disable interupts and use one of those archaic
- softswitches from Apple ][ days to move the stack/direct page into
- "High Memory" (Bank 01 instead of 00). Now, since bank 01 shadows
- into E1 (where the graphics page resides), you can do stack moves
- (once the stack/direct page are aligned correctly) to scroll the
- screen. Stack moves on words are always 1-2 cycles faster...talk
- about a speed up on a 200x180 pixel area in an arcade game!
-
- -Michael
-
- -----------------------------------------------------------------------------
- Michael G. Reed (reed@Theory.TC.Cornell.edu)
- Cornell National Supercomputing Facility (607)/254-8806
- -----------------------------------------------------------------------------
- Why be normal, it's boring; and boring people should be shot.
-
- Note: These are not the views of my employer (and probably not mine either).
-