This article is more than 1 year old
Revisit classic space-trading Elite in vintage form
The emulator reproduces a 32K BBC Micro and when loaded into your browser produces the command prompt. Menus promise the chance to download software for the micro from various online sources, but proved a little flaky in our brief tests. If you experience the same problem, he's also built versions of the emulator that boot straight into classics like Elite and Repton.
Godbolt has blogged about the project, writing that a big challenge was figuring out how to synch the emulated 6502 processor's clock cycles and the CPU's handful of imperfect features bugs.
“As I generate the instructions I keep track of which cycle within the instruction memory accesses would occur,” he explained. “I then ensure the peripheral state is updated to take into account passing time before I read or write to memory.”
The emulator appears to be a faithful reproduction, makes suitably hideous sounds at boot-up, and offers zippy performance, something the original BBC Micro was not entirely famous for – but was certainly famous for other worthy reasons.
Godbolt promises to blog about screen and peripheral emulation in the future; posts that'll be worth seeking out for those who enjoy this kind of thing as his work is nicely detailed and includes lots of code samples and links to projects that will help others attempting similar resurrections. ®