[Coco] I fixed the goddamn PCLEAR 0 bug.

Juan Castro jccyc1965 at gmail.com
Fri Aug 1 17:59:52 EDT 2025


Em sex., 1 de ago. de 2025, 18:52, Allen Huffman via Coco <
coco at maltedmedia.com> escreveu:

>
> > On Aug 1, 2025, at 3:59 PM, Juan Castro via Coco <coco at maltedmedia.com>
> wrote:
> >
> > Watch:
> >
> https://www.dropbox.com/scl/fi/zjt5aaig15h7r04sodmxq/PCLEAR-0.mp4?rlkey=ujakv0l2yzkpnjyq3o6882f89&st=6t6h2alo&dl=0
>
>
> Cool indeed.
>
> Now I have to ask … does stock Extended Color BASIC do those checks? Can I
> PMODE 4 if I have done a PCLEAR 1, which only allocated 1 of the 4 graphics
> blocks needed for a PMODE 4 screen?  Or are those new checks you have added?
>

That particular check is standard in ECB. You can't PMODE into something
for which you haven't PCLEARed enough, and you can't PCLEAR less than the
current PMODE needs. My new checks are only for the new things: WIDTH and
PCLEAR 0.


> WIDTH 51 is surprising to me. Did you implement any other widths like that?
>

51 (5px wide char cell) and 64 (4px wide char cell).


> Nice work!
>

Thanks!


More information about the Coco mailing list