Saturday, 28 September 2019

How to Program a Machine

This is how we learned to program computers in 1979. It works! See Michael Steil on Reverse Engineering the MOS 6502 CPU.


What we need now is a smallish JavaScript program that will write out a hex file with error-correcting checksums, which can be verified manually and loaded into the first-stage boot flash memory of a mobile phone or tablet and provide a basic machine code monitor, see from 1 minute 33 seconds, which can be used to write and load machine code from text representations of one kind or another. It doesn't need to be as fancy as this, with a disassembler, ... see from 5 minutes 8 seconds.

No comments:

Post a Comment