PicoMite V6.00.01 release candidates - please test thoroughly


Author Message
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 5847
Posted: 08:12pm 20 Dec 2024      

Hi Mark,

A program on disk is nice readable ASCII code. When a program is put in FLASH is is in binary (tokenized) form.
The FLASH DISK LOAD function loads binary data from DISK into the binary FLASH. But if you load an ASCII file into FLASH using FLASH DISK LOAD you cannot execute it, since it is not tokenized.

The normal way to put a program into FLASH is:

LOAD "Blocks.bas" 'to load it into RAM
FLASH SAVE 3 'this converts the AsCII program to binary, and stores it into FLASH


you can now execute the program with
FLASH RUN 3


Volhout
Edited 2024-12-21 06:14 by Volhout