[Coco] POKE for WIDTH 80 ?

Dave Philipsen dave at davebiz.com
Sat Nov 5 15:27:08 EDT 2016

The WIDTH 80 command sets up the VDG to display the 80-column text mode 
and it also sets flags so that BASIC knows it's in this mode. The 40 & 
80-column text modes use 'extended' memory so as not to impinge upon the 
memory that is available for BASIC programs.  More than just a single 
'POKE' would be required to configure the hardware for this to happen.  
However, I *think* that you could probably POKE &HE7, 2 and then press 
the RESET button and BASIC would take care of it for you.  I'm not sure 
on this since I don't have my CoCo in front of me right now.  It is this 
flag that keeps BASIC from reverting back to its standard 32-column 
display when you hit reset.


On 11/5/2016 12:58 PM, Stephen Pereira wrote:
> I’ve been pouring through the “500 PEEKS, POKES and EXECS,” but I’ve not been able to find if there is a POKE that works the same as the WIDTH 80 command.  Does anyone know if there is such a POKE?  If so, what is it, please, and also the opposite POKE to get back to “normal” WIDTH 32.
> Thanks in advance!
> smp
> --
> Stephen M. Pereira
> Bedford, NH  03110

More information about the Coco mailing list