home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / apple2 / 27303 < prev    next >
Encoding:
Text File  |  1993-01-21  |  1.7 KB  |  42 lines

  1. Newsgroups: comp.sys.apple2
  2. Path: sparky!uunet!newsstand.cit.cornell.edu!piccolo.cit.cornell.edu!crux2!jmk3
  3. From: jmk3@crux2.cit.cornell.edu (Jay Krell)
  4. Subject: Re: Super Hi Res Stuff
  5. Message-ID: <jmk3.727631639@crux1.cit.cornell.edu>
  6. Sender: news@piccolo.cit.cornell.edu (USENET News System)
  7. Nntp-Posting-Host: crux2.cit.cornell.edu
  8. Organization: Cornell Information Technologies
  9. References: <C173t9.Lt3@news2.cis.umn.edu>
  10. Date: 21 Jan 93 15:53:59 GMT
  11. Lines: 29
  12.  
  13. >From: adri0001@student.tc.umn.edu (Wouldn't you like to know)
  14.  
  15. >I needed to clear out the super-hi-res screen before I did
  16. >anything to it...the problem was that I was clearing out the SHR screen and
  17. >then flipping the SHR screen on...this was causing ghost pixels to get lit up
  18. >at the bottom of the screen but ONLY when I ran the program for the first time
  19. >after launching into GNO.  I go to GNO from Prosel, run my program, and the
  20.  
  21. >This continued until someone told me that I needed to flip the SHR screen on
  22. >first...then clear it.  I am doing that now and it's working.
  23.  
  24. The problem is that the SHR memory is not, in its normal state, a linear 32K
  25. chunk. I don't know if it is even at $E1/2000. For the SHR memory to appear as
  26. we all know it, a bit must be set in NEWVIDEO ($C029?)
  27.  
  28. Hardware Ref 2nd ed p. 90, bit 6
  29.  
  30. "If this bit is 0, the 128K memory map is the same as the Apple IIe. If this
  31. bit is 1, the memory map is reconfigured for use with SHR graphics mode: The
  32. video buffer becomes one contiguous, linear address space from $2000 to $9D00."
  33.  
  34. Setting bit 7 both turns on the display and linearizes it.
  35.  
  36. You should set bit 6, clear the screen, then set bit 7.
  37.  
  38. There is no toolbox command to toggle bit 6, so you'll have to do it yourself.
  39.  
  40.   --Jay, jay.krell@cornell.edu
  41.  
  42.