Re: I fixed the goddamn PCLEAR 0 bug.

Allen Huffman via Coco <coco-uNHYcr1XS/wmlAP/[email protected]>
Newsgroups gmane.comp.hardware.tandy.coco
Message-ID <[email protected]>
> On Aug 2, 2025, at 2:47 AM, Ciaran Anscomb via Coco <[email protected]> wrote:
> 
> FWIW this is the bodge I have saved out for doing PCLEAR0 without such
> ROM patching:
> 
> POKE183,PEEK(183)-6:POKE188,PEEK(188)-6:PCLEAR1:POKE183,PEEK(183)+6:POKE188,PEEK(188)+6
> 
> Annoyingly verbose, but should account for DOS, and works on the
> Dragon too.

WITCHCRAFT!

I just tried this in Xroar … and it works.  Wow.

I think this would be easier to type in than what I use:

10 CLS:FORA=0TO8:READA$:POKE1024+A,VAL("&H"+A$):NEXTA:EXEC1024:DATAC6,1,96,BC,1F,2,7E,96,A3

And maybe easier to remember…  183 -6, 188 -6, PCLEAR 1, then reverse 183 +6, 188 +6.

But …

WHY does it work???
--
Allen Huffman - PO Box 7634 - Urbandale IA 50323 - 515-999-0227 (vmail/TXT only)
http://www.subethasoftware.com - https://www.facebook.com/subethasoftware



-- 
Coco mailing list
[email protected]
https://pairlist5.pair.net/mailman/listinfo/coco
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.