Commit graph

480 commits

Author SHA1 Message Date
Alex Janka 0e674af1b2 swap rom endian 2023-01-22 09:08:33 +11:00
Alex Janka 769a587aaa memory fixes, interrupt table, better pause 2023-01-22 09:07:57 +11:00
Alex Janka 7510ad13cd prevent panic on overflow when incrementing program counter 2023-01-20 14:59:17 +11:00
Alex Janka ac023fdc31 init cpu ram properly + other minor changes 2023-01-20 14:58:43 +11:00
Alex Janka 4fcde0fd82 fixes & all opcodes!! 2023-01-18 14:43:24 +11:00
Alex Janka 8f3cf515a9 fix interrupts 2023-01-18 13:58:53 +11:00
Alex Janka df8acbfa32 rotate instructions 2023-01-18 13:14:22 +11:00
Alex Janka d1dae1aa73 bootrom boot 2023-01-18 12:46:15 +11:00
Alex Janka 9533768bd9 fix adds and flags 2023-01-18 12:45:56 +11:00
Alex Janka 3cf0df204d move ime to ram 2023-01-17 09:45:49 +11:00
Alex Janka 7bf1034265 object attribute memory 2023-01-17 09:39:05 +11:00
Alex Janka 2fd4266156 better halt panic 2023-01-17 09:32:49 +11:00
Alex Janka d2e1b2d3eb ime & daa (maybe) instruction 2023-01-17 09:30:42 +11:00
Alex Janka e6cbedc59b all opcodes implemented-ish 2023-01-17 09:09:53 +11:00
Alex Janka e40bf4f786 add step by 2023-01-17 08:58:37 +11:00
Alex Janka edb348ec60 fixes etc 2023-01-16 19:28:11 +11:00
Alex Janka 866d4ded80 all opcodes to 0xCF 2023-01-16 19:28:03 +11:00
Alex Janka c131791608 fix write to rom errors... for now 2023-01-16 16:01:50 +11:00
Alex Janka 121129fe35 more opcodes 2023-01-16 14:43:27 +11:00
Alex Janka ca839d9375 allow booting bootrom 2023-01-16 14:43:11 +11:00
Alex Janka bbc05c48c7 allow dead code on flags 2023-01-16 14:23:43 +11:00
Alex Janka 90a1c92a0c more opcodes & opcode refactoring 2023-01-16 14:23:06 +11:00
Alex Janka 04261acd53 split processor to module 2023-01-16 12:13:53 +11:00
Alex Janka 831e880a37 memory setting, byte ordering, more opcodes 2023-01-16 12:10:21 +11:00
Alex Janka ba69b1070b ld_immediate_word 2023-01-16 11:46:00 +11:00
Alex Janka 289acd0070 fix unused 2023-01-16 11:35:07 +11:00
Alex Janka 9789826cf3 new register impl & stepping execution 2023-01-16 11:34:36 +11:00
Alex Janka 1b1b8bbd9f starting to implement opcodes... 2023-01-15 21:05:28 +11:00
Alex Janka e49ae14f4d cpu struct & more on memory 2023-01-15 20:34:44 +11:00
Alex Janka 0c6c79fa3e initial: memory and cpu state, rom load path 2023-01-15 19:53:15 +11:00