[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 80 Columns under cc65?



John B. Matthews <nospam@nospam.com> wrote:
: In article <ojbdk.13727$jI5.11629@flpi148.ffdc.sbc.com>,
:  "Dave Althoff, Jr." <dalloff.gcfn.org@sbcglobal.net> wrote:
: 
: > John B. Matthews <nospam@nospam.com> wrote:
: 
: > : Alternatively, if the loader enables 80 columns, printing control-Q and 
: > : control-R switch to 40- and 80-columns, respectively.
: 
: > Be careful.  I always made it a habit to only use the 80-column 
: > display driver in 80-column mode, and if I wanted to operate in 
: > 40-column mode, I always went back to the non-80-column display 
: > driver by printing a CHR$(21).  When I started 80-column mode, I was 
: > always careful to print something (a few spaces will do) on the 
: > screen, then clear it, because some versions of the 80-column 
: > firmware would behave strangely if I didn't.
: 
: Experimenting with the firmware already enabled:
: 
: putchar('\x11'); // switches to 40-columns
: putchar('\x12'); // switches to 80-columns
: 
: Your suggestion is probably the right thing to do when initializing the 
: firmware, perhaps in the loader.

Yes; if you are leaving the 80-column firmware active, then you can use 
the firmware commands to switch modes.  I should have been more clear 
about that.  

I'm going way WAY back here...back before the //c, the earliest version 
of the 80-column firmware had some strange bugs in it, particularly with 
regard to horizontal position.  Most of the unexpected behaviors were 
cleaned up with the //c ROM, the replacement video ROM in the 'enhanced' 
][e, and with the IIgs.  So the problems only appear in the earliest of 
][e's, and I think ProDOS actually replaces the 80-column firmware with 
its own display driver, so under ProDOS it might not even matter.  8-)

--Dave Althoff, ][.
    /X\        _      *** Respect rides. They do not respect you. ***
   /XXX\      /X\     /X\_      _     /X\__      _     _        _____
  /XXXXX\    /XXX\   /XXXX\_   /X\   /XXXXX\    /X\   /X\      /XXXXX
_/XXXXXXX\__/XXXXX\/XXXXXXXX\_/XXX\_/XXXXXXX\__/XXX\_/XXX\_/\_/XXXXXX
NEW! When emailing this account, include the 'canonical magic word' in 
the body of your message for a quicker response.