Microcomputer Simulator Design Notes
Objects
These are the objects I think I'll need so far:
- Register
- Make Editable
- Make Not Editable
- Set display to bin, hex, decimal, ascii
- Set (to byte value)
- Get (the byte value)
- Memory
- Display
- Hide
- Make Editable
- Make Not Editable
- Set display to bin, hex, decimal, ascii
- Get the byte at loc N
- Set the byte at loc N
- [Future?] Highlight a memory location (to track Program Counter, etc.)
- [Future?] Un-Highlight a memory location
- Input
- Display
- Hide
- Set it to get values in bin, hex, decimal, or ascii
- Get a byte of input
- Output
- Display
- Hide
- Set display to bin, hex, decimal, ascii
- Output a byte
- DebugWindow
- Display
- Hide
- Write text to the window