Commit graph

99 commits

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