Quantcast
Channel: stardot.org.uk
Viewing all articles
Browse latest Browse all 2528

8-bit acorn emulators • Re: Electroniq - online Acorn Electron emulator

$
0
0
Fantastic project! To comment on the one thing I might potentially help with:
If it would be possible to implement autoboot for tapes that would be great - perhaps it could do the CHAIN "" for you automatically? Just a thought, but not essential.
Both ElectrEm and Clock Signal use the logic:
  • read first complete file from the image;
  • check object type (in the OSFILE sense) and if this is an execute-only file then mark it as not-BASIC;
  • failing that, check the internal structure of the file to see whether it resembles a BASIC program, i.e. starting from the beginning, follow the line lengths and make sure that each appears to begin with a carriage return until reaching one marked as terminal, testing that the apparent line lengths never push the cursor out of bounds for the file.
If it is a BASIC file, use CHAIN"". Otherwise use *RUN.

Statistics: Posted by ThomasHarte — Thu Dec 05, 2024 4:00 pm



Viewing all articles
Browse latest Browse all 2528

Trending Articles