[Coco] "Reading" non-readable bytes with PEEK vs ZBUG
operator at coco3.com
Tue Jan 29 17:03:06 EST 2008
At 07:31 AM 1/26/2008, you wrote:
>Roger Taylor wrote:
>>At 07:38 AM 1/25/2008, you wrote:
>>>There is another approach which will be independent of memory but
>>>not relocated DOS code. Write a Basic program as a LOADM routine
>>>for your binary program.
>>>20 IF A=8 THEN POKE&HD008,&H21 ELSE POKE&HCF2C,&H21
>>I now see that you're checking a byte first. I didn't notice that
>Also I goofed when writing this short piece of code. I intended a
>BRA to replace the BEQ but used the value for BRN, duh.
>The POKE value should be &H20 to get the BRA.
What is the other ROM version you're patching? DECB 2.1 looks like
the A=8 condition, for sure.
More information about the Coco