Add notes from 2023-08-05
This commit is contained in:
parent
de69180456
commit
e631108eb5
|
|
@ -0,0 +1,31 @@
|
||||||
|
# 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?
|
||||||
|
|
||||||
|
- <mark>TODO: rewrite to call things 'opcodes' and 'operands'</mark>
|
||||||
|
|
||||||
|
- add bank switching for higher 128 bytes
|
||||||
|
- add a flag in the ~zero-page
|
||||||
|
|
||||||
|
- try writing:
|
||||||
|
- a 'greater than' routine
|
||||||
|
|
||||||
|
- make coding forms!
|
||||||
Loading…
Reference in New Issue