Commit Graph

98 Commits

Author SHA1 Message Date
Connor Olding ddfb8eb503 further cleanup of mostly video-related code 2018-10-02 04:57:36 +02:00
Connor Olding 2a53db6095 handle timer interrupts and clean up kernel a bit 2018-09-29 11:47:10 +02:00
Connor Olding 2e99cf982a remove ancient unused function 2018-09-29 07:57:46 +02:00
Connor Olding 182ae2c510 add SP wait string 2018-09-29 07:27:36 +02:00
Connor Olding b3b5ab4c03 add low FOV mode 2018-09-29 07:23:32 +02:00
Connor Olding b9dcb09265 rework video settings, fix framerate (kinda) 2018-09-29 07:18:27 +02:00
Connor Olding 5f0b046bad only include decomp test when settings are right 2018-09-29 07:18:27 +02:00
Connor Olding 15a0bf120a improve wait macros 2018-09-29 07:18:27 +02:00
Connor Olding 28cedeba55 reduce verbosity of VI include 2018-09-29 07:18:27 +02:00
Connor Olding 9907c60145 move system init to its own file, init more stuff 2018-09-29 07:18:23 +02:00
Connor Olding 0c85f76835 explicitly specify colorbuffer register 2018-09-28 10:55:05 +02:00
Connor Olding bcc219de11 ignore IP7 (timer interrupt?) for now 2018-09-28 10:43:20 +02:00
Connor Olding 8f113587dd add DumpWord function for debugging 2018-09-28 10:41:44 +02:00
Connor Olding a2212d6ca6 minor cleanup 2018-09-28 10:40:22 +02:00
Connor Olding 551d4f153f fix disassembling last color combiner register 2018-09-28 10:35:32 +02:00
Connor Olding 8310f4aae7 improve and reduce verbosity of system addresses 2018-09-28 10:33:02 +02:00
Connor Olding 66ab443b9c replace signed adds with subs 2018-09-01 12:39:15 +02:00
Connor Olding c020ccdb10 fix boot disassembly to match original file 2018-09-01 05:43:05 +02:00
Connor Olding 19fd014e88 add dummy constants for direct DMEM accesses 2018-09-01 05:32:07 +02:00
Connor Olding db35095b67 add matrix offset constants 2018-08-31 19:17:52 +02:00
Connor Olding 9ac0aa22d8 fix backwards depth buffer 2018-08-31 18:31:31 +02:00
Connor Olding fcaf169671 split microcode tasks to its own file 2018-08-31 13:01:27 +02:00
Connor Olding fa43c8fa8e expand names of SP status flags 2018-08-31 12:58:06 +02:00
Connor Olding 84c0fb1349 add way more F3DEX flags 2018-08-31 12:49:14 +02:00
Connor Olding 4ecb1e5f1f add ugly matrix-generating macros; set near-far planes 2018-08-31 12:36:11 +02:00
Connor Olding 386b4ad19d add Utah Teapot model 2018-08-31 12:28:36 +02:00
Connor Olding ecb1c9d1b5 update readme 2018-08-30 03:25:48 +02:00
Connor Olding be6a0f8261 render a spinning cube using command macros
unfortunately i seem to have broken console compatibility along the way;
it dies after a few frames. i will have to fix this later.
for now, i just really need to commit something.
2018-08-30 03:16:44 +02:00
Connor Olding a95891f4d0 use the correct data binary 2018-08-27 04:34:22 +02:00
Connor Olding 2014500d2e add missing code to disasm (again) 2018-08-27 04:18:27 +02:00
Connor Olding caf6307ca7 rename BLAH to MAIN 2018-08-25 02:25:56 +02:00
Connor Olding 94dfed2dc8 make room for 640x480 RGBA8 video 2018-08-25 02:18:40 +02:00
Connor Olding 93fd7c14cc implement color buffer swapping, sanity checks, etc.
i think rendering is now working properly and consistently
2018-08-25 02:06:09 +02:00
Connor Olding 11439b133f fix register dumping 2018-08-25 01:04:33 +02:00
Connor Olding 2131ccfece remove some unwanted things 2018-08-25 00:38:15 +02:00
Connor Olding 2aa87bb878 split toggling masks and interrupts themselves 2018-08-24 23:34:28 +02:00
Connor Olding c7a694595e rename MaybeDumpString to WriteString 2018-08-24 08:24:01 +02:00
Connor Olding 912ca3df9b make MI interrupts easier to spot 2018-08-24 08:20:55 +02:00
Connor Olding da80a76866 write a crappy frame loop that doesn't work 2018-08-24 08:20:43 +02:00
Connor Olding ca4df8db94 make a non-kernel variant of MaybeDumpString 2018-08-24 08:19:52 +02:00
Connor Olding 5d79e8f4c3 keep a one-interrupt history of MI interrupt types 2018-08-24 08:17:50 +02:00
Connor Olding 9b89a0e41d reduce size of interrupt states dump 2018-08-24 07:57:23 +02:00
Connor Olding a4bab019d7 don't use K funcs in main, remove some video stuff 2018-08-24 07:54:01 +02:00
Connor Olding 11f2201659 label registers in dumps and reorder debug output 2018-08-24 07:53:14 +02:00
Connor Olding 598883dfea mostly superficial kernel improvements 2018-08-24 06:23:53 +02:00
Connor Olding 7904aaa05a enable vertical interrupts and set status last 2018-08-24 05:15:51 +02:00
Connor Olding 8aab789a24 fix interrupt enable/disable macros 2018-08-24 05:13:08 +02:00
Connor Olding a90005a79e update includes with more/better constants 2018-08-24 05:10:58 +02:00
Connor Olding 48939bb3d4 abstract width, height, and depth 2018-08-24 05:09:34 +02:00
Connor Olding d5bfc3482f disassemble unknown instructions 2018-08-24 03:34:54 +02:00