[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 80 Columns under cc65?
John B. Matthews <nospam@nospam.com> wrote:
: I'm thinking I can just jsr $c300 and copy the updated page zero vectors
: (36.39) to the Basic system page (be30.be33). To exit, I issue a
: control-U and restore the system page.
I'm not nearly as good with ProDOS as with DOS 3.3 with such things...
But if you do a JSR to $C300, you will disconnect BASIC.SYSTEM (or
whatever you're using) because the routine at $C300 isn't smart enough
to reconnect DOS; that's why you have to call the [Pro]DOS warmstart
vector at $3D0. [Pro]DOS IS smart enough to keep track of the I/O hooks
at warmstart and NOT disable the 80-column software. In fact, calling
the warmstart vector should copy the CSW and KSW vectors ($36-$39) for
you. Or was that the call to $FB6F that I always made before calling
$3D0...can you tell I haven't even thought about this in years? 8-)
But why enable the 80-column software the hard way, when you can let
[Pro]DOS do it for you? I saw it in this thread: PRINT CHR$(4);"PR#3"
will enable the 80-column software WITHOUT disabling BASIC.SYSTEM.
: 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.
--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.