Commit graph

16 commits

Author SHA1 Message Date
9c07356ead memory - Rename mem_device.* to device.* 2023-08-30 22:34:45 +02:00
57f029bc6e cpu - best effort implementation of haltbug 2023-08-30 21:47:38 +02:00
175a24c77d cpu/decoder - define opcode class with methods
Instead of doing the same bit operations on the opcode everywhere, and
possibly botching it in the process, we create a datatype which has
methods return often used values extracted from the opcode.
2023-08-30 18:27:53 +02:00
2ab37c6468 cpu/cpu - Implement stop mode 2023-08-29 23:46:36 +02:00
5cabe03d25 cpu/cpu - Handle halt mode 2023-08-29 23:30:31 +02:00
5281ceb0d6 cpu/cpu - Fix include 2023-08-29 23:16:18 +02:00
7425663f16 Move types.h to misc 2023-08-29 23:16:09 +02:00
8383256d7e cpu - Fix order of 8-bit registers in memory 2023-08-29 19:42:01 +02:00
310fb99ad2 cpu/decoder - Simplify decoding by referencing registers by index 2023-08-29 16:53:20 +02:00
216cf660a1 cpu/cpu - Add way to signal interrupt from outside 2023-08-29 13:45:55 +02:00
7aa1af40fb cpu/cpu - Treat a call to an ISR as a step 2023-08-29 13:45:46 +02:00
002b745917 cpu - Fix timing of delay when enabling interrupts 2023-08-29 12:10:10 +02:00
505478b840 Improve Cpu class and implement interrupts 2023-08-28 21:56:33 +02:00
ad2334a6af Implement more parts of decoder 2023-08-27 22:19:02 +02:00
8d063c08ca Fix build errors. 2023-08-26 21:17:47 +02:00
ba5b55a196 WIP initial state 2023-08-26 19:04:02 +02:00