Commit graph

288 commits

Author SHA1 Message Date
Alex Janka 3af4772363 fix stupid comments 2023-02-13 10:36:04 +11:00
Alex Janka 4f52cda6c6 imports lol 2023-02-13 10:11:43 +11:00
Alex Janka 5bb098bfa4 initial (bad) gamepad support 2023-02-13 09:56:41 +11:00
Alex Janka 0fde806f62 mbc bugfix 2023-02-12 19:15:05 +11:00
Alex Janka 5989a1a49f title name w/mbc is more descriptive 2023-02-12 17:21:24 +11:00
Alex Janka aeba27f6cf handle masked io properly 2023-02-12 14:20:07 +11:00
Alex Janka a3dfec659a a little bit of fixing 2023-02-12 14:05:50 +11:00
Alex Janka d7a60d1c97 i wasnt *that* stupid 2023-02-12 10:22:52 +11:00
Alex Janka 18a0ceb46e clippy clean :) 2023-02-12 09:46:47 +11:00
Alex Janka cee17032bd clippy suggestions 2023-02-12 09:41:34 +11:00
Alex Janka 45a1aae05f fix timers 2023-02-12 09:29:35 +11:00
Alex Janka 03faea6ca9 move stuff to util file 2023-02-12 09:27:41 +11:00
Alex Janka d3ee58131e make uses more consistent 2023-02-12 08:59:40 +11:00
Alex Janka ab3cba1ec0 make things neater :) 2023-02-12 08:51:23 +11:00
Alex Janka d6276a1478 mostly intact mbc1 impl 2023-02-11 21:43:36 +11:00
Alex Janka c442363cd4 VERY stupid mistake 2023-02-11 08:57:48 +11:00
Alex Janka 793a698947 hack for oam lol 2023-02-10 10:05:51 +11:00
Alex Janka 76642194b1 object priority 2023-02-10 09:55:58 +11:00
Alex Janka 8394b4d225 ignore bit 0 of tile index for 8x16 objects 2023-02-10 09:47:57 +11:00
Alex Janka 63f98a5ec4 window internal lc 2023-02-10 09:26:26 +11:00
Alex Janka cf67c8a501 gpu actually almost works 2023-02-09 19:00:53 +11:00
Alex Janka c3c02fa539 mbc name 2023-02-09 17:32:47 +11:00
Alex Janka ad51d4173a lol 2023-02-09 17:32:41 +11:00
Alex Janka b659e5c77b fix DAA 2023-02-09 17:30:50 +11:00
Alex Janka 615446faa7 keypress interrupts 2023-02-09 17:30:38 +11:00
Alex Janka 96af4b94a1 minor gpu improvements 2023-02-09 16:57:01 +11:00
Alex Janka 6eb791ebf4 move gpu types out 2023-02-09 12:37:23 +11:00
Alex Janka 3d15a1ef6f set dma addr to last loaded 2023-02-09 12:31:57 +11:00
Alex Janka a462e2cfd2 actually talk to mbcs 2023-02-09 12:18:13 +11:00
Alex Janka 3cd888d991 oam dma transfers 2023-02-09 12:14:55 +11:00
Alex Janka ad8d001f0c error message rather than panic 2023-02-09 11:57:51 +11:00
Alex Janka 09b1cb1e57 fix tile rendering 2023-02-09 11:10:49 +11:00
Alex Janka d6b95e6c6c work better when lcd is disabled + turn off bits in stat 2023-02-09 11:10:33 +11:00
Alex Janka d5efdd6084 derives + set stat properly + joypad improvements 2023-02-09 10:05:13 +11:00
Alex Janka ac6c2afd10 initial state 2023-02-08 21:06:26 +11:00
Alex Janka f518e390fa service interrupts when halted 2023-02-08 18:07:46 +11:00
Alex Janka 8ef947d54a draw objects behind bg/window 2023-02-08 11:12:08 +11:00
Alex Janka 465b8454f6 lcd status interrupts 2023-02-08 11:11:39 +11:00
Alex Janka 2dab3623e9 fix some little stinks 2023-02-08 10:43:00 +11:00
Alex Janka 2346b6c661 derive 2023-02-08 10:32:06 +11:00
Alex Janka 984adbd942 colours 2023-02-08 10:30:21 +11:00
Alex Janka 5c612c27bc fix addr handling for tilemaps 2023-02-08 10:09:24 +11:00
Alex Janka 0a75b58732 tile window draws all tiles + is optional 2023-02-08 09:40:54 +11:00
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