[Coco] (No subject)

RETRO Innovations go4retro at go4retro.com
Thu Jul 14 03:39:51 EDT 2022


On 7/14/2022 2:19 AM, lost via Coco wrote:
> Actually, the test is completely removed.That missing byte is needed so VAL can work on a string stored at the very top of string space. It needs to temporarily put a NUL byte after the string so the number parser knows when to stop. After executing, VAL restores the byte to its original value. Things would fail if the byte after the string data was ROM though. On the Coco3, that byte is in RAM so it didn't need an extra reserved byte.I suspect, however,  that Microware didn't know that, or thought it was a bug in the original, or just didn't notice when they replaced the now useless memory scan with a simple LDX.So, it's not a bug in the original ROM and, accidental or not, it's the behavior on the Coco3 also correct.

Just a note that I love these types of informational nuggets. Thanks for 
providing.

Jim

-- 
RETRO Innovations, Contemporary Gear for Classic Systems
www.go4retro.com
store.go4retro.com



More information about the Coco mailing list