Soft65C02, Yet Another Simulator

Topics pertaining to the emulation or simulation of the 65xx microprocessors and their peripheral chips.
User avatar
cjs
Posts: 759
Joined: 01 Dec 2018
Location: Tokyo, Japan
Contact:

Re: Soft65C02, Yet Another Simulator

Post by cjs »

chanmix51 wrote:
...and I felt that in its actual state, Soft65C02 could do both: be an interactive debugger and a testing tool.
Yes, precisely!
Quote:
Since Soft65C02 has a CLI application that takes commands on the standard input, it is de facto a scriptable tool, I added the functions assert and memory write so now, I can write the following test cases in a text file...
I think that's a great start on getting testing going.
Quote:
Regarding unit tests for subroutines, the best way would be to directly use Soft65C02 library in Rust and use the tooling of the language.
Yup. That's pretty much exactly what I do in Python with py65.
Curt J. Sampson - github.com/0cjs
Post Reply