Commit graph

345 commits

Author SHA1 Message Date
Alex Janka 3b2a07c264 if bg/window disabled clear with white 2023-02-08 09:20:57 +11:00
Alex Janka 72bdc2212b object rendering... such a dumb mistake lolz 2023-02-08 09:15:47 +11:00
Alex Janka 30cbe63090 cleaning 2023-02-08 09:06:21 +11:00
Alex Janka 2f8c606f79 keep rom bank in limits 2023-02-08 08:58:56 +11:00
Alex Janka 122bfee8df implement HALT 2023-02-07 22:49:08 +11:00
Alex Janka 89370fd077 mbc support 2023-02-07 19:28:06 +11:00
Alex Janka 5ef4e8c792 mbc trait 2023-02-07 10:08:34 +11:00
Alex Janka 5fe3d2ef2e parse cart header 2023-02-07 09:51:11 +11:00
Alex Janka 8185243582 split rom to struct 2023-02-07 09:19:50 +11:00
Alex Janka afd95afd71 make more of memory private 2023-02-07 09:13:45 +11:00
Alex Janka 1a0a45527a clean imports 2023-02-07 09:12:39 +11:00
Alex Janka b363de3608 input handling 2023-02-07 09:09:52 +11:00
Alex Janka 3725382752 split mem addrs 2023-02-07 08:38:21 +11:00
Alex Janka 25f45e18f7 more handling 2023-02-06 21:10:13 +11:00
Alex Janka acbddcb08f back to functional 2023-02-06 21:00:56 +11:00
Alex Janka 98b217b858 split memory module 2023-02-06 20:54:26 +11:00
Alex Janka f0b2369c9d object rendering + usermode ram 2023-02-06 19:17:52 +11:00
Alex Janka 94bb1a2bfb better io handling 2023-02-06 14:24:04 +11:00
Alex Janka 5d788fe9c1 move windows 2023-02-06 12:44:58 +11:00
Alex Janka 5884eeabf4 remove unused verbose prints 2023-02-06 12:37:40 +11:00
Alex Janka 1338d58582 actually turn off bootrom LOL 2023-02-06 12:37:35 +11:00
Alex Janka 9591f2123f fix stupid ram stuff + cpu inits itself 2023-02-06 12:32:10 +11:00
Alex Janka edfda4fd84 remove stupid commented out code 2023-02-06 12:19:15 +11:00
Alex Janka 56e2735e58 position windows and allow ignore obj_size 2023-02-06 12:17:58 +11:00
Alex Janka 805ae0c817 draw window with tiledata 2023-02-06 12:14:51 +11:00
Alex Janka bec5a0c3d6 window renders + it all works kind of almost ish 2023-02-06 12:14:02 +11:00
Alex Janka 1d041e2d57 gpu improvements 2023-02-06 11:42:45 +11:00
Alex Janka 4a48bf6a68 dont pretend to run bootrom if actually running bootrom 2023-02-06 11:18:18 +11:00
Alex Janka 7eba1f9586 better... 2023-02-05 23:07:55 +11:00
Alex Janka 587916ed34 scaling & lcd enable back 2023-02-05 22:56:18 +11:00
Alex Janka 75c765b392 almost drawing 2023-02-05 22:37:49 +11:00
Alex Janka 839429029d reset vblank flag lol 2023-02-05 18:50:07 +11:00
Alex Janka 976ee24d6a initial gpu impl 2023-02-05 18:46:55 +11:00
Alex Janka 28fef84118 stink 2023-02-03 17:37:08 +11:00
Alex Janka 74551afdd8 graphics window 2023-02-03 09:15:30 +11:00
Alex Janka f759fdd48c dont let the game know about the speedup 2023-02-03 08:55:03 +11:00
Alex Janka f87fe618fd vblank should be working 2023-02-03 08:54:29 +11:00
Alex Janka 8b9bcb5026 clear if bits 2023-02-02 19:05:18 +11:00
Alex Janka 6ae1d4a4b8 interrupt handling 2023-02-02 19:01:11 +11:00
Alex Janka 04a9748aa6 quicker cycling 2023-02-02 19:01:04 +11:00
Alex Janka 0a6e0b6833 almost timing 2023-02-02 16:52:33 +11:00
Alex Janka bb7e0fbc51 opcodes return number of cycles 2023-02-02 16:28:49 +11:00
Alex Janka 7c196daeb6 cleanup 2023-02-02 12:05:09 +11:00
Alex Janka eb85d3aa25 cant pop to f 2023-02-02 11:55:04 +11:00
Alex Janka ba8b03693f all instructions actually working 2023-02-02 11:52:45 +11:00
Alex Janka c82f00c88b fix carry instruction flags 2023-02-02 11:07:09 +11:00
Alex Janka d73fbc827c move ime_scheduled logic from opcode handler 2023-02-02 11:00:59 +11:00
Alex Janka 8fc35fa1e1 cleanup 2023-02-02 11:00:47 +11:00
Alex Janka e4ba687968 0xC0 - 0xFF 2023-02-02 10:54:16 +11:00
Alex Janka f07c6a41a3 impl 0x80 to 0xBF 2023-02-01 23:08:51 +11:00