Bread80/Amstrad-CPC-BASIC-Source ? reverse-engineered prompt

Reverse engineered prompt

Build me a clean, working version of the Amstrad CPC BASIC 1.1 source so I can assemble it and get the same ROM image back.

I want the project to be easy to browse, with the split assembly files wired together from the main file, and the full monolithic source kept working too. Please make sure it builds from the command line, matches the included ROM as closely as possible, and keep the comments and labels readable so it’s easier to understand what each part of BASIC is doing.

If anything is unclear, use the existing disassembly and notes to fill in gaps, and look up current docs online if you need to. I’d also like the examples to stay usable, and a simple way to tell whether the build output matches the reference ROM.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab