cardiograph-computer/2023-08-05.md

31 lines
878 B
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Dev notes — 2023-08-05
- [ ] consider refactoring assembler to do something more like 'tokenize, then call helper functons'
- [ ] consider an extended system:
- add a byte in the ~zero-page to act as a flag for display mode
- 0 = 1 byte per pixel (default)
- 1 = 1 bit per pixel
- add another 16 ops (or fewer)
- rotate left / right (or shift?)
- AND
- OR
- more flags?
- another register?
- would require several new ops
- add binary input/output to assembler
- consider gamepad vs. hex keypad
- stick with hex
- but permit gamepad since that's a subset (NES layout = 8 bits/bytes, depending on mode)
- look at how uxn does it?
- [ ] rewrite to call things 'opcodes' and 'operands'
- add bank switching for higher 128 bytes
- add a flag in the ~zero-page
- try writing:
- a 'greater than' routine
- [x] make coding forms!