CPC Wiki Forum Die Amstrad-CPC-Community

⌨ Locomotive BASIC tokenizer

Paste a numbered BASIC listing (each line starting with a line number). The result is exactly the token stream the CPC firmware would create in memory.

Press the button…
LineBytesTokenized (hex)
Press the button…

The .BAS download contains the 128-byte AMSDOS header + tokenized program — exactly what you would save with SAVE"PROGRAMM".

🕹 Emulator (CPC 6128)

▶ Start emulator JAMSI — CPC 6128

“Write into RAM” tokenizes the BASIC source in your browser and writes the tokenized program directly into CPC RAM at &170 (BASIC pointers are set, like LOAD) — nothing is typed — then starts RUN.

The emulator starts after clicking ▶ (CPC 6128).