Commit Graph

462 Commits

Author SHA1 Message Date
Rekai Nyangadzayi Musuka 92cabd248b chore: improve timer behaviour 2022-04-14 01:58:40 -03:00
Rekai Nyangadzayi Musuka 6b09250a56 chore: move some init code to functions 2022-04-14 00:52:21 -03:00
Rekai Nyangadzayi Musuka f6d746e810 feat: impelemt THUMB open bus 2022-04-14 00:21:49 -03:00
Rekai Nyangadzayi Musuka 9b9b6c0d6f feat: implement ARM read open bus 2022-04-13 23:28:14 -03:00
Rekai Nyangadzayi Musuka 6d5c30ac25 fix: remove accidental rotation in ldrsh instructions 2022-04-13 22:59:32 -03:00
Rekai Nyangadzayi Musuka c1b74d556a chore: move log statement 2022-04-13 21:45:15 -03:00
Rekai Nyangadzayi Musuka dfe94fb931 chore: remove magic numbers 2022-04-13 21:39:35 -03:00
Rekai Nyangadzayi Musuka ffbb31c767 chore: remove unnecessary 32MB allocation 2022-04-13 21:25:41 -03:00
Rekai Nyangadzayi Musuka 714209565b chore: define more I/O read/writes 2022-04-12 00:50:44 -03:00
Rekai Nyangadzayi Musuka 643cd13952 chore: update README 2022-04-11 23:14:44 -03:00
Rekai Nyangadzayi Musuka 2c763e9772 feat: pass jsmolka memory.gba 2022-04-11 22:52:17 -03:00
Rekai Nyangadzayi Musuka ad1f5ea8b8 chore: ignore instead of logging errors for perf reasons 2022-04-10 23:10:06 -03:00
Rekai Nyangadzayi Musuka 76b4d56ca6 feat: Initial Implementation of DMA Audio 2022-04-10 04:50:09 -03:00
Rekai Nyangadzayi Musuka c100d64fcb chore: tick scheduler on memory access 2022-04-09 19:43:27 -03:00
Rekai Nyangadzayi Musuka 5da84aff36 chore: log error on open bus in page 0x00 and 0x01 2022-04-09 18:01:17 -03:00
Rekai Nyangadzayi Musuka 76789aa8bc chore: rewrite I/O read/writes 2022-04-08 17:07:36 -03:00
Rekai Nyangadzayi Musuka 80e714e2eb chore: reimplement bus read/writes 2022-04-08 16:48:43 -03:00
Rekai Nyangadzayi Musuka 37a360ec07 fix: force align reads/writes in memory bus rather than in CPU 2022-04-08 15:17:31 -03:00
Rekai Nyangadzayi Musuka a976a5769e fix: pass none.gba and kind of sram.gba from jsmolka test suite 2022-04-08 14:38:35 -03:00
Rekai Nyangadzayi Musuka 6df55c2d86 feat: implement GamePak out-of-bounds reads 2022-04-08 02:34:08 -03:00
Rekai Nyangadzayi Musuka a1008738d2 chore: run zigfmt 2022-04-08 02:13:58 -03:00
Rekai Nyangadzayi Musuka 11a034658a chore: change implementation of rotr 2022-04-08 02:13:41 -03:00
Rekai Nyangadzayi Musuka aac01b0bfe chore: rewrite read/write methods for remainig Bus devices 2022-04-08 02:08:26 -03:00
Rekai Nyangadzayi Musuka 5310c12669 chore: mirror VRAM 2022-04-08 01:10:12 -03:00
Rekai Nyangadzayi Musuka 9b9de11e0c chore: write generic read/write for VRAM 2022-04-08 00:44:52 -03:00
Rekai Nyangadzayi Musuka f8018854be Merge branch 'main' of ssh://musuka.dev:2222/paoda/zba 2022-04-07 17:23:22 -03:00
Rekai Nyangadzayi Musuka fae4b430ab chore: update dependencies 2022-04-07 17:23:07 -03:00
Rekai Nyangadzayi Musuka 1bb3659df6 chore: update README 2022-03-29 18:52:09 -03:00
Rekai Nyangadzayi Musuka 3046e6243a chore: don't assume 1cpi when stepping by a frame 2022-03-29 09:06:26 -03:00
Rekai Nyangadzayi Musuka e127669549 Revert "chore: tick on memory access instead of 1cpi"
This reverts commit 7f555095f2.
2022-03-29 08:58:57 -03:00
Rekai Nyangadzayi Musuka 7f555095f2 chore: tick on memory access instead of 1cpi 2022-03-29 08:50:12 -03:00
Rekai Nyangadzayi Musuka 29da7b294e feat: implement Flash backup cartrige kinds 2022-03-28 19:41:22 -03:00
Rekai Nyangadzayi Musuka bf7b533b3c chore: stub more apu I/O addresses 2022-03-28 19:40:47 -03:00
Rekai Nyangadzayi Musuka 37c039fb92 fix: don't create un-needed save file
If we don't know if we support a game's save type yet, avoid
creating a file for it.
2022-03-22 15:03:05 -03:00
Rekai Nyangadzayi Musuka 4c172cff70 fix: account for subset of disallowed chars in save file names 2022-03-22 14:55:08 -03:00
Rekai Nyangadzayi Musuka bd54cba8a0 feat: implement SRAM saving and loading 2022-03-22 14:41:18 -03:00
Rekai Nyangadzayi Musuka da4bb17782 chore: properly deallocate OAM buffer 2022-03-22 11:41:17 -03:00
Rekai Nyangadzayi Musuka 5dd69500ca fix: speed percentage in title is now accurate
We now properly account for full speed being 59.97Hz not, 59Hz or 60Hz
2022-03-22 10:39:42 -03:00
Rekai Nyangadzayi Musuka eff25a0ab2 chore: make some variables const 2022-03-19 02:00:53 -03:00
Rekai Nyangadzayi Musuka 1901a471e4 feat: minor performance improvements 2022-03-18 09:49:49 -03:00
Rekai Nyangadzayi Musuka 3d61c0dba4 feat: switch from BGR555 to RGBA8888 2022-03-18 07:52:54 -03:00
Rekai Nyangadzayi Musuka 39ab363afa fix: improve perf of instructions w/ rotr 2022-03-16 22:56:37 -03:00
Rekai Nyangadzayi Musuka 1921218c7b fix: improve frame limiting and fps counting 2022-03-16 21:25:32 -03:00
Rekai Nyangadzayi Musuka 40968f0990 fix: implement proper SRAM mirroring and stub Flash 2022-03-15 21:54:55 -03:00
Rekai Nyangadzayi Musuka 04d54ec97a chore: move DMA and Timers from io to bus 2022-03-15 08:25:26 -03:00
Rekai Nyangadzayi Musuka 1fd80c1c23 feat: define APU registers 2022-03-15 08:09:07 -03:00
Rekai Nyangadzayi Musuka 48679fa4ca fix: move code in scheduler to ppu 2022-03-15 08:09:07 -03:00
Rekai Nyangadzayi Musuka bdea19f280 chore: create different types of emuloops 2022-03-15 03:46:33 -03:00
Rekai Nyangadzayi Musuka 5579643d65 fix: resolve relative sprite priority issues 2022-03-15 00:37:29 -03:00
Rekai Nyangadzayi Musuka c6e6b42869 chore: improve accuracy of frame limiter 2022-03-14 20:38:29 -03:00