TIP: Click on subject to list as thread! ANSI
echo: apple
to: comp.sys.apple2
from: John B. Matthews
date: 2008-07-10 22:40:52
subject: Re: 80 Columns under cc65?

In article ,
 "Dave Althoff, Jr."  wrote:

> John B. Matthews  wrote:
> : In article ,
> :  "Dave Althoff, Jr."  wrote:
> : 
> : > John B. Matthews  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.

My fault; I misplaced "probably" and left in "perhaps".
I meant to 
emphasize adding the old-firmware fix as early in the process as 
possible.

The OP's question invites a quick fix, but the design questions remain: 
Does the application require/tolerate/preclude 80-columns? What if it's 
absent/already enabled? Incompatible? Partially compatible? Preferences? 
Key bindings? Aiieee! But I digress. :-)

> 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-)

I seem to recall that some problems were mitigated with improved 
interrupt handling under ProDOS. In particular, the un-enhanced firmware 
disabled interrupts for relatively long periods of time, losing data at 
1200 bps when scrolling 80 columns:

http://home.woh.rr.com/jbmatthews/ssc.html>
http://apple2history.org/history/ah07.html>

Perhaps the odd behavior you mention was fixed in the same revision?

-- 
John B. Matthews
trashgod at gmail dot com
home dot woh dot rr dot com slash jbmatthews
--- SBBSecho 2.12-Win32
* Origin: Derby City BBS - Louisville, KY - derbycitybbs.com (1:2320/100)
SEEN-BY: 10/1 3 34/999 106/1 120/228 123/500 140/1 222/2 226/0 236/150 249/303
SEEN-BY: 250/306 261/20 38 100 1404 1406 1410 1418 266/1413 280/1027 320/119
SEEN-BY: 393/11 396/45 633/260 267 712/848 800/432 801/161 189 2222/700
SEEN-BY: 2320/100 105 200 2905/0
@PATH: 2320/100 261/38 633/260 267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.