After a couple of evenings of heavy coding, I have completed implementing the bulk of the Scott CPU!
All the instructions are implemented, except for the IO instruction. I have automated tests for all of them, and so far everything seems to hold up pretty well:
My goal is to now code the peripheral support for the keyboard, display and boot phase. Then I'll be good to write some actual programs!
Next will be to write a simple assembler, and probably a DSL in Perl to make it easier to use the computer.

No comments:
Post a Comment