Commit graph

114 commits

Author SHA1 Message Date
67a9a43b48 tweak memory-wiping routine 2018-11-02 17:53:01 +01:00
ade2bfe30e add textures 2018-11-02 17:51:20 +01:00
b95cca5fc2 add color combiner macros 2018-11-02 17:43:53 +01:00
e6ac61dfcd move font 2018-11-02 17:43:33 +01:00
2dda303281 add on-screen frame-budget usage, rework graphics
* enable anti-aliasing

* increase teapot resolution

* rework teapot display list offset to 0 for convenience

* add font for frame-budget and debug text

* add on-screen ascii text to cache test to get a feel for fonts

* reduce cache test resolution to VI-padded 576x432

* rework other rendering settings (maybe no real difference)

* tweak task pushing (maybe no real difference)
2018-10-23 16:48:56 +02:00
fab37799e2 fix interlacing (top fields are odd, i guess) 2018-10-22 09:06:51 +02:00
c8e5d24975 rewrite the way VI is handled
warning: only 240p is tested, and i think 480i is broken.
2018-10-21 17:32:03 +02:00
850108b157 fix 480i output, cleanup 2018-10-15 02:35:02 +02:00
5e780721f8 remove unused tables 2018-10-02 05:40:02 +02:00
da713ef5f6 ignore more stuff 2018-10-02 05:29:27 +02:00
60bc5d160c these are used now 2018-10-02 05:27:06 +02:00
187b5c4cc2 add cache-testing program and software font rendering 2018-10-02 05:26:55 +02:00
498f4b7fb9 swap AsciiNybble args to be consistent with MIPS instructions 2018-10-02 05:21:44 +02:00
d32e009442 be consistent about uncached video image addresses 2018-10-02 05:17:57 +02:00
b4f8be199f improve video-related interrupts and waits 2018-10-02 05:14:57 +02:00
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