Commit Graph

33 Commits

Author SHA1 Message Date
n loewen 16f85d3b9f (tests) flag-overflow-2 - Fix: comment out date 2023-09-02 13:39:47 -04:00
n loewen c84c86c160 cpu - Fix overflow flag! 2023-08-29 21:28:39 -04:00
n loewen 2d210303e6 (tests) WIP - Create a rough, partial sketch for an implementation of Conway's Game of Life 2023-08-28 15:31:57 -04:00
n loewen 97e54d01cb (tests) move-pixel-with-keypad - Change keys to match new mapping / WASD 2023-08-26 16:45:14 -04:00
n loewen 872489c18d tests - Remove commented-out line 2023-08-26 14:58:29 +01:00
n loewen ac0fccf2e9 tests - finish WIP - Make a 'move a pixel with the keypad' program 2023-08-26 14:56:01 +01:00
n loewen 9f68bd3027 tests - WIP - Create 'move pixel with keypad' program 2023-08-26 14:35:49 +01:00
n loewen 902b218547 (tests) - draw-xy - Change selected pixel to (3, 3) 2023-08-25 11:06:34 +01:00
n loewen f612e7582a tests - Create routine for plotting a pixel at an (x, y) coordinate 2023-08-24 17:03:51 +01:00
n loewen ee1e899108 (tests) fill-display - Fix typo / Change constant names to increase clarity and make it easier to update if the flag IDs change again 2023-08-23 21:22:16 +01:00
n loewen 5f29c7c3eb cpu - Change flags from NZOC to ONZC 2023-08-23 15:30:06 +01:00
n loewen 4481fc10d4 assembler - WIP - Start adding a 'set the initial IP to assembler to' feature + Start adding a 'return debug data as well as machine code' feature 2023-08-21 16:08:58 +01:00
n loewen 97f1d02912 tests - Fix fill-display program: use new assembly syntax 2023-08-21 14:40:58 +01:00
n loewen eaa0597552 Merge branch '5x5-display' 2023-08-21 14:38:02 +01:00
n loewen 5e1cf9e413 assembler - Change label for program counter from `*addr` to `*` 2023-08-21 12:30:31 +01:00
n loewen 501910b17f Feature: Keypad simulation!
Refactor: Tidy up constants use for machine configuration
2023-08-16 16:23:59 +01:00
n loewen 3fd862a55d ! Refactor (assembler): Chance constant prefix from '=' to '#'
'=' could be confusing when referencing a constant, since it looks like assignment

'#' is hopefully clearer (by analog to #hashtags)

Breaking change!
2023-08-16 09:35:37 +01:00
n loewen 9fefa0916a Feature (assembler): Allow assigning `*ADDR` to a constant 2023-08-16 09:29:27 +01:00
n loewen 8f9f50e28c Update sketch to suggest use of `*ADDR` 2023-08-15 21:31:35 +01:00
n loewen 4e01a0943c Feature: Add `*ADDR` assembly operation (`*ADDR`, used as an operand, is replaced with the memory address where the current line will be stored after assembly) 2023-08-15 21:29:28 +01:00
n loewen 190592813d Merge branch 'main' into 5x5-display 2023-08-15 20:58:38 +01:00
n loewen 5c41369ecd Add sketches/notes re: subroutines and a call stack 2023-08-15 20:58:05 +01:00
n loewen 2cceaa71f2 Refactor: Rewrite fill-display:
- make more use of constants
- improve comments
2023-08-15 20:53:51 +01:00
n loewen c415056194 ! Feature: Change to a 5x5 display [breaking change] 2023-08-15 16:59:12 +01:00
n loewen 3af5d66626 Feature (simulator): Implement Negative, Zero, and Overflow flags 2023-08-15 15:22:21 +01:00
n loewen b1dc2a7c7e Feature: WIP: Replace CHP and CFC instructions with FHP and FTG (carry flag is implemented, other flags are not) 2023-08-15 12:04:48 +01:00
n loewen 5fa20c3963 Assembler: always add an END at the end of the output 2023-08-03 15:53:59 +01:00
n loewen d3134aa9e6 Add constants to assembler 2023-08-03 15:50:37 +01:00
n loewen a0892109a6 Implement NOP 2023-08-03 15:05:50 +01:00
n loewen fdd63177f7 Move display memory back to $00 to make programming easy 2023-08-03 08:34:58 +01:00
n loewen 6883adcd71 Fix/implement relocatable display memory 2023-08-02 15:28:18 +01:00
n loewen cb186b0f3b Create test program for ADD and SUB 2023-08-02 15:09:35 +01:00
n loewen 29b6097585 Track tests 2023-08-01 15:51:59 +01:00