That Blank Space Before Numbers in Commodore 64 BASIC

Поділитися
Вставка
  • Опубліковано 23 сер 2024

КОМЕНТАРІ • 271

  • @8_Bit
    @8_Bit  2 роки тому +13

    Error!! Thanks to my patron Jarno Mielikäinen I've learned that the ROM fast copy routine I demonstrate at 16:09 cannot generally be used from BASIC. Locations 95 and 96 (the start address of the copy) are also used by BASIC as temporary work space and get reset to 0, which means the copy start address always begins at location $0000. When copying in place as I demonstrate in this video, it works though $A000 bytes are copied in place unnecessarily. But if we were trying to copy (for example) $A000-$BFFF to $A001-$C000 (shift it up one byte) it would actually shift all of RAM from $0000-$BFFF up by one byte, surely crashing the computer. A short machine language program will need to be used to solve this, unfortunately.

    • @NuntiusLegis
      @NuntiusLegis Рік тому

      You mean a short machine language program to copy memory, or a really short one that somehow corrects the error, so the ROM routine could still be used?