[Coco] POKE for WIDTH 80 ?

Stephen Pereira spereira1952 at comcast.net
Sat Nov 5 15:46:57 EDT 2016


Hi Dave,

Thanks very much for your advice.

I am thinking that overall it will be much easier to remember to do a WIDTH 80 command just prior to LOADM”COLOR4TH.

Thanks very much to all who’ve offered their thoughts!

smp
--
Stephen M. Pereira
Bedford, NH  03110
KB1SXE


> On Nov 5, 2016, at 3:27 PM, Dave Philipsen <dave at davebiz.com> wrote:
> 
> 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.
> 
> Dave
> 
> 
> 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
>> KB1SXE
>> 
>> 
>> 
> 
> 
> -- 
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco



More information about the Coco mailing list