Commit Graph
100 Commits
Author SHA1 Message Date
FranLMSP 1d08fbe19f refactor cpu decoder 2023-12-30 16:32:31 -05:00
FranLMSP 9727a753d1 fix infinite loop 2023-12-30 16:29:16 -05:00
FranLMSP 385dffe11b some fixes 2023-12-30 16:14:34 -05:00
FranLMSP c6bd426503 opcode mapper 2023-12-30 15:58:23 -05:00
FranLMSP 33b852d8d4 last instructions 2023-12-30 11:35:20 -05:00
FranLMSP 19eeff1291 more transfer instructions 2023-12-30 11:18:41 -05:00
FranLMSP 09a649c631 tcd, tcs and tdc 2023-12-30 10:32:11 -05:00
FranLMSP 124f145a44 tax and tay 2023-12-30 10:20:05 -05:00
FranLMSP 877b08fa26 stz 2023-12-30 10:05:22 -05:00
FranLMSP de2e6fb6a5 stp 2023-12-30 10:01:02 -05:00
FranLMSP a68ca8d574 st instructions 2023-12-30 09:57:02 -05:00
FranLMSP 0e8775ad6f set instructions 2023-12-30 09:23:49 -05:00
FranLMSP c620361b7a sbc 2023-12-30 09:13:18 -05:00
FranLMSP 0150d0ef7b rol, ror, rti, rtl, and rts instructions 2023-12-30 08:42:47 -05:00
FranLMSP 0eaf1ff0d6 rep 2023-12-29 23:38:57 -05:00
FranLMSP 88a47a2917 pull and push instructions 2023-12-29 23:26:37 -05:00
FranLMSP a71999ab68 mvn and mvp 2023-12-28 23:02:32 -05:00
FranLMSP 561207a299 lsr 2023-12-28 22:45:28 -05:00
FranLMSP 10f93ce3dd lda, ldx and ldy 2023-12-28 22:25:03 -05:00
FranLMSP 55fa2a5406 lda 2023-12-28 22:04:20 -05:00
FranLMSP a21b0501f3 jmp and jsr 2023-12-28 21:52:46 -05:00
FranLMSP 822cbc14ca inc 2023-12-28 21:13:06 -05:00
FranLMSP b65300792e eor 2023-12-28 21:01:33 -05:00
FranLMSP 3615799e83 dec instrs 2023-12-28 20:52:58 -05:00
FranLMSP 515ff799c8 cpx and cpy 2023-12-28 19:51:25 -05:00
FranLMSP 8c25e202e8 cop 2023-12-27 22:19:05 -05:00
FranLMSP 986a831301 cmp 2023-12-27 22:07:55 -05:00
FranLMSP a15088a0da clear instructions 2023-12-27 21:55:35 -05:00
FranLMSP fa4fa2134b bit 2023-12-27 21:43:29 -05:00
FranLMSP c0d534ed4e some branch instructions 2023-12-27 21:21:05 -05:00
FranLMSP 774010bcf7 bne 2023-12-26 22:57:23 -05:00
FranLMSP cc127890d1 beq 2023-12-26 22:52:39 -05:00
FranLMSP fa791db025 bcs 2023-12-26 22:47:22 -05:00
FranLMSP 972f3fe279 bcc 2023-12-26 22:43:16 -05:00
FranLMSP 00e87de9fe common decoding module 2023-12-26 22:27:32 -05:00
FranLMSP a1aeda38f5 asl 2023-12-26 20:24:47 -05:00
FranLMSP 826ff5480a and 2023-12-26 19:41:28 -05:00
FranLMSP 2416e85b6b adc instruction 2023-12-26 19:24:34 -05:00
FranLMSP 2e4dd7b15c decouple cycle increment logic from cpu struct (#1) 2023-12-26 03:42:07 +00:00
FranLMSP 1642d582cb add emulator screenshot 2023-12-10 14:28:31 -05:00
FranLMSP 28784f47d3 refactor DMA ticking, cpuadc chars are now visible through debug window 2023-10-07 23:33:35 -05:00
FranLMSP 7769964cf6 WIP DMA transfer logic 2023-10-07 15:32:55 -05:00
FranLMSP e701274cdb Small readability refactor 2023-10-07 11:21:37 -05:00
FranLMSP 7bdd9ab285 fix tests 2023-10-06 23:14:55 -05:00
FranLMSP 5c8bd6afca fix ldx and stx instructions and small refactor to vram 2023-10-06 23:08:03 -05:00
FranLMSP 8f05a21ebc Fix bugs with emulation mode flag 2023-10-05 16:21:33 -05:00
FranLMSP 265da3470f attempt to fix charset rendering (no success) 2023-07-10 21:43:01 -05:00
FranLMSP 703e819e80 WIP charset map render 2023-07-09 19:09:35 -05:00
FranLMSP 967cf77cc2 fix vblank nmi register and address mapping 2023-07-09 16:14:51 -05:00
FranLMSP ea7fb8ce65 define all ppu registers 2023-07-09 14:03:59 -05:00
FranLMSP 85f41b872d refactor frame loop 2023-07-09 12:40:52 -05:00
FranLMSP a68a4b1764 Adjustments to make emu core run faster when not paused 2023-07-08 23:44:24 -05:00
FranLMSP b9f0079854 rearrange windows 2023-07-08 23:21:47 -05:00
FranLMSP ff76817796 bugfix (using wrong boolean for disassembler) 2023-07-08 22:15:59 -05:00
FranLMSP 3e32e9d606 display PPU registers and VRAM debug info 2023-07-07 21:58:15 -05:00
FranLMSP e6d97f7203 read_external function 2023-07-07 19:13:31 -05:00
FranLMSP e7a40db745 vram writes, reads, auto increments and clear vblank nmi flag when read 2023-07-05 23:13:14 -05:00
FranLMSP a82c554b25 WIP VRAM writes 2023-07-05 21:47:43 -05:00
FranLMSP 98861336d1 functions to get background char and tile addresses 2023-07-04 22:22:43 -05:00
FranLMSP c8db7d6e68 get_bg_modes function 2023-07-02 20:24:58 -05:00
FranLMSP 9d99d2d194 WIP vblank nmi 2023-07-02 17:30:42 -05:00
FranLMSP 300456a2ef h/v counters 2023-07-02 10:29:10 -05:00
FranLMSP 4ae49442ec update readme 2023-07-01 15:50:46 -05:00
FranLMSP bc47d374e0 Fix branching bug 2023-06-20 21:51:40 -05:00
FranLMSP 92929af185 Fix bugs related to 16bit mode, emulation mode and REP instruction 2023-06-19 21:50:52 -05:00
FranLMSP ecaaaab4b4 WIP Interrupt handling 2023-05-30 21:13:52 -05:00
FranLMSP 93cc597c10 wai and wdm instructions 2023-05-22 23:16:21 -05:00
FranLMSP 95397a6275 Reset vector and rst instruction 2023-05-22 21:57:09 -05:00
FranLMSP ad94af0a61 direct_page_indexed_indirect wrapping add failsafe 2023-05-22 21:33:32 -05:00
FranLMSP c98c7bdc2d print status flags 2023-05-20 23:20:48 -05:00
FranLMSP c6865eed68 Small disassembler 2023-05-20 23:03:20 -05:00
FranLMSP 71801857f0 XCE instruction 2023-05-20 18:54:42 -05:00
FranLMSP 7b12911e4a Reset vector 2023-05-15 22:21:22 -05:00
FranLMSP cc5f57c911 Adjust lo_rom mapping 2023-05-15 21:57:30 -05:00
FranLMSP a44895645c memory map viewer 2023-05-14 22:33:44 -05:00
FranLMSP 0cc55d7b20 update readme, remove todo! from bus and display registers 2023-05-11 22:08:42 -05:00
FranLMSP 8333eb13cb WIP emulator state 2023-05-07 23:08:23 -05:00
FranLMSP 356a963aee Add test rom resource 2023-05-07 21:54:34 -05:00
FranLMSP ac4c749e37 WIP PPU registers and background rendering 2022-12-14 00:13:42 -05:00
FranLMSP a3f12e61b4 WIP PPU structure 2022-12-12 22:04:03 -05:00
FranLMSP 0d1e8f8078 bunch of ppu registers 2022-12-12 21:46:36 -05:00
FranLMSP c2c4cab19e Basic file loading 2022-12-10 19:06:26 -05:00
FranLMSP f19b9bdfeb Basic framebuffer rendering 2022-12-10 18:40:52 -05:00
FranLMSP 4678647cf0 Small refactor and define rom trait 2022-12-10 15:26:48 -05:00
FranLMSP c0e0afb1c2 TRB and TSB instructions 2022-12-05 21:10:18 -05:00
FranLMSP 9c955cccf2 RTI 2022-12-05 20:35:40 -05:00
FranLMSP 61f4961029 MVN and MVP instructions 2022-12-05 20:29:33 -05:00
FranLMSP 1b4200bf5e WIP BRK and COP instructions 2022-12-05 19:35:16 -05:00
FranLMSP 296500cc8e XBA instruction 2022-12-05 17:44:26 -05:00
FranLMSP 2440723263 Unimplemented 2022-12-05 17:15:59 -05:00
FranLMSP ee92d48e38 Last transfer instructions 2022-12-05 16:56:03 -05:00
FranLMSP db43baad93 First transfer instructions 2022-12-05 16:09:55 -05:00
FranLMSP e9d4aff1ae Store instructions 2022-12-04 22:01:28 -05:00
FranLMSP 732b0ad7e8 SET instructions 2022-12-04 21:06:38 -05:00
FranLMSP 6fad642d6f Rearrange instructions 2022-12-04 20:33:25 -05:00
FranLMSP 9d61a408c9 RTL and RTS instructions 2022-12-04 20:32:02 -05:00
FranLMSP 891dadc9b6 ROL and ROR instructions 2022-11-30 21:07:41 -05:00
FranLMSP 4d190e9523 REP instruction 2022-11-30 20:55:04 -05:00
FranLMSP a8844a1ae1 Remaining pull instructions 2022-11-30 20:33:19 -05:00
FranLMSP 5c43a020c1 PLA instruction 2022-11-29 22:33:06 -05:00