The Acorn 65C02 Second Processor Simulator is a software that emulates the Acorn 65C02 CPU, allowing users to run and debug software without the need for an actual physical processor. It is a powerful tool for developers and hobbyists who want to create or test programs for Acorn machines.
To get started, use the "use" statement to include the Acme::6502::Tube module in your project. Then, create a new object using the "->new()" method. From there, you'll be able to load your BBC Basic ROM using the "load_rom" method.
Before you begin running the program, you'll need to initialize the processor's registers. This is done easily with the "set_pc", "set_a", "set_s", and "set_p" methods.
Finally, use the "run" method to begin executing your code. Keep in mind that you'll need to provide a number of clock cycles to run your program for, which is specified in the method call by the "2000_000" argument.
The only caveat to keep in mind when using Acme::6502::Tube is that you'll need to locate and load your own BBC Basic ROM file. Also, this software has only been tested with BBC Basic II.
Version 0.74: N/A