home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / alt / hackers / 1334 < prev    next >
Encoding:
Text File  |  1992-08-30  |  1.6 KB  |  37 lines

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