Fast copy of a 4K memory block with BASIC V2 (Commodore 64)

In this video I am showing off how to copy a 4K block of ROM memory into RAM by using BASIC V2. The program copies the characters sets from ROM into RAM. What’s so special about this BASIC V2 program? The copy is performed in only a couple of seconds.

Please note that by using standard programming techniques, the very same task needs more than one minute to be completed.

String pointers have been used so that creating a copy of a string variable just copies 255 bytes from ROM into RAM.

Machine language is the best for this kind of task. But if you ever wondered if you could copy the characters from ROM into RAM fast with BASIC V2, here’s the answer.




Previous Entries Another scrolling routine for the Commodore 64 with BASIC V2 Next Entries The C64: the new Commodore 64 by Retrogames

Leave a Reply