Commit Graph

85 Commits

Author SHA1 Message Date
Matthew Laux ce66b5ba3a successfully generates a "return 0xffff" instruction on 68k and testable on mac 2023-10-19 00:14:58 -05:00
Matthew Laux d69a3b35f1 slight clean up 2023-10-18 19:38:10 -05:00
Matthew Laux f9f199dad2 generate simple "return 0x1234" and dynamically run
create example program
2023-10-18 19:27:10 -05:00
Matthew Laux d22e2d9cba oops 2023-10-18 18:48:01 -05:00
Matthew Laux aba7a9b847 add gb test program 2023-10-18 18:45:03 -05:00
Matthew Laux a3efa63361 no idea how to write a JIT compiler but this seems like an ok start 2023-10-18 17:52:24 -05:00
Matthew Laux 5ed288eaa9 not really sure what i was working on 2023-10-18 17:14:20 -05:00
Matthew Laux bad415fa23 fix button state for pokemon 2023-05-17 23:50:30 -05:00
Matthew Laux ead7a3e17c fix a bunch of instructions, passes most blargg tests now 2023-05-17 23:41:55 -05:00
Matthew Laux b2a6890524 save game support, and don't update the timer for now, it breaks things 2022-08-04 15:03:58 -05:00
Matthew Laux 03dab9524b bad timer implementation 2022-08-04 01:57:14 -05:00
Matthew Laux af18bb9a39 lcd window support 2022-08-04 01:31:59 -05:00
Matthew Laux d6b6988742 use color palettes. yay, another layer of lookup 2022-08-03 19:34:56 -05:00
Matthew Laux b0147a60d4 color 0 as transparent 2022-08-03 02:20:38 -05:00
Matthew Laux f79100694d fix 8x16, inconsistent flags for lcd (1 << n) vs just n 2022-08-03 02:10:15 -05:00
Matthew Laux e32535b016 support x and y flip, try to support 8x16 but i need to change the rendering to per-scanline 2022-08-03 01:22:22 -05:00
Matthew Laux a9ecd14598 reenable rendering for now 2022-08-02 15:11:51 -05:00
Matthew Laux 2b6a315b0e speedup on 68k by eliminating indirect calls 2022-08-02 14:47:38 -05:00
Matthew Laux 4cde94d284 a little work on system 6 2022-08-02 01:52:59 -05:00
Matthew Laux 2adf5b741b render objs on top of scrolled area instead of into 256x256 area 2022-08-02 00:51:26 -05:00
Matthew Laux f4ca6cf847 fix mbc1, start scrolling routine - it's slow 2022-08-02 00:37:19 -05:00
Matthew Laux 03ef4d1116 start on mbc1 2022-08-01 22:45:37 -05:00
Matthew Laux 0f43ebf4cc render objs, fix bug with SRL, tetris is playable 2022-08-01 21:26:31 -05:00
Matthew Laux 580c349fc7 a few more instructions 2022-07-26 00:39:15 -05:00
Matthew Laux 6ab729f377 it goes off the rails at the gameplay screen on tetris 2022-07-26 00:10:01 -05:00
Matthew Laux bbb398f524 implement shifts 2022-07-25 23:48:22 -05:00
Matthew Laux bc980ec1e5 add more instructions, fix INC/DEC [HL], first attempt at lcd "mode" timing 2022-07-25 22:55:13 -05:00
Matthew Laux 0351226479 move license 2022-07-20 22:34:06 -05:00
Matthew Laux 950a759abb mit license stuff 2022-07-20 22:33:20 -05:00
Matthew Laux b23d52737e draw for system 6. it's slow 2022-07-20 22:21:36 -05:00
Matthew Laux 8d87ee1f26 clean up imgui code, a few more instructions for today 2022-07-20 01:01:38 -05:00
Matthew Laux 5735d65470 interrupt system, vblank, key input, don't know if any of it works 2022-07-20 00:45:38 -05:00
Matthew Laux 1b5f02ef7a a few more instructions for today. abstract out conditional jump 2022-07-18 23:35:51 -05:00
Matthew Laux bc3f717285 add vram tile viewer thing 2022-07-14 02:11:20 -05:00
Matthew Laux b1dca59463 run rom image, more instructions 2022-07-14 01:26:59 -05:00
Matthew Laux 261bb40563 first output: nintendo logo 2022-07-14 00:48:18 -05:00
Matthew Laux 9601b9f7da almost there, tile ram is empty for some reason 2022-07-09 23:45:00 -05:00
Matthew Laux eb779f3690 unify memory display 2022-07-09 22:30:21 -05:00
Matthew Laux 909a762b8e add memory viewer windows. should have one unified view of the address space instead 2022-07-09 18:42:55 -05:00
Matthew Laux 5f3a195431 hook up registers to imgui 2022-07-09 18:30:23 -05:00
Matthew Laux a831e584af gen opengl texture, convert lcd to gl rgba format, draw in window 2022-07-09 17:58:02 -05:00
Matthew Laux 70ffd01a61 customize example for emulator 2022-07-09 17:09:29 -05:00
Matthew Laux 5235bd8f80 take 2 at adding imgui, it works 2022-07-09 01:18:56 -05:00
Matthew Laux e00b998024 show state dialog when selected from menu 2022-06-29 01:19:35 -05:00
Matthew Laux 698cc17030 get system 6 compiling again 2022-06-29 00:42:39 -05:00
Matthew Laux 8afd3399b1 system6: add dialog box for register display 2022-06-29 00:09:47 -05:00
Matthew Laux d0867dc723 about to try to integrate imgui again 2022-06-28 22:41:26 -05:00
Matthew Laux ab630f2e38 sixel graphics for test purposes 2022-06-28 21:49:10 -05:00
Matthew Laux ec9226e144 init lcd pixels, fix compile warnings 2022-06-20 19:52:54 -05:00
Matthew Laux b0c690c693 update lcd every 456 cycles 2022-06-20 19:46:32 -05:00