cardiograph-computer/notes/2023-08-05--dev-notes.md

878 B

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
  • make coding forms!