Commit graph

220 commits

Author SHA1 Message Date
Alex Janka 26e5cc3431 oncecell 2023-02-19 21:05:02 +11:00
Alex Janka 4496316f07 smaller audio buffer + fill with zeroes before starting 2023-02-19 19:54:22 +11:00
Alex Janka 052bf829a5 audio 🤤 2023-02-19 19:22:56 +11:00
Alex Janka f2e08c2c1c audio works! almost... 2023-02-19 19:10:53 +11:00
Alex Janka 0f5bcb8e46 remove saving audio 2023-02-19 19:10:49 +11:00
Alex Janka 75578786e4 clean 2023-02-19 19:08:46 +11:00
Alex Janka 184e4c3341 back to clock cycles for now 2023-02-19 09:23:28 +11:00
Alex Janka 433c9bae6c temp record audio 2023-02-18 08:35:40 +11:00
Alex Janka cea9262218 lol 2023-02-17 13:33:36 +11:00
Alex Janka 8d90da2e6d implement functionality behind div-apu ticks 2023-02-17 12:17:20 +11:00
Alex Janka e150005eda correct for machine cycles 2023-02-17 11:07:03 +11:00
Alex Janka 7a28655604 audio kinda works 2023-02-17 11:01:38 +11:00
Alex Janka e60426fe0f reorganise 2023-02-17 09:06:17 +11:00
Alex Janka 08da9f7857 commented code 2023-02-16 16:11:04 +11:00
Alex Janka ffdd458fbb its getting there 2023-02-16 15:03:07 +11:00
Alex Janka 0d48a58525 makes audio... ish 2023-02-15 16:11:32 +11:00
Alex Janka 579d13d0ef render pulse channels 2023-02-15 15:10:22 +11:00
Alex Janka 7ff06f151e timer consts 2023-02-15 09:01:05 +11:00
Alex Janka 28fb90c8d6 implement apu ticks from div 2023-02-15 08:44:56 +11:00
Alex Janka 75a9396b57 comments and a lil fixing 2023-02-15 08:25:04 +11:00
Alex Janka f42f58a663 more accurate timing 2023-02-14 08:23:24 +11:00
Alex Janka 645b5e365a pwm registers enabled 2023-02-14 08:12:14 +11:00
Alex Janka 6f5a1c648c forgor to set what i was gettn 2023-02-13 15:41:57 +11:00
Alex Janka 3e1b68fc1e more registersf 2023-02-13 14:37:43 +11:00
Alex Janka 2bc9d0f665 prepare for dealing with all registers 2023-02-13 14:16:58 +11:00
Alex Janka 0b2378d160 make registers from apu values 2023-02-13 14:11:16 +11:00
Alex Janka f343075599 apu handle all addrs 2023-02-13 13:29:53 +11:00
Alex Janka f0a8a978b2 apu handles memory 2023-02-13 13:22:50 +11:00
Alex Janka 49a37b933a move all joypad logic to joypad 2023-02-13 12:51:09 +11:00
Alex Janka d6af9d31b3 move apu 2023-02-13 12:43:58 +11:00
Alex Janka 8a04f5e507 splitting and pub using 2023-02-13 12:42:38 +11:00
Alex Janka 04fcb000a1 initial apu 2023-02-13 10:51:52 +11:00
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