Commit Graph

44 Commits

Author SHA1 Message Date
Connor Olding a700b9ee27 fix typos 2019-04-06 06:02:46 +02:00
Connor Olding 0056b4afe1 finish implementing CC Commit macro 2018-11-13 04:34:03 +01:00
Connor Olding 46157705e2 add RDP reset macro and texture-loading macros 2018-11-02 17:58:00 +01:00
Connor Olding b95cca5fc2 add color combiner macros 2018-11-02 17:43:53 +01:00
Connor Olding 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
Connor Olding fab37799e2 fix interlacing (top fields are odd, i guess) 2018-10-22 09:06:51 +02:00
Connor Olding 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
Connor Olding 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
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 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 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 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 db35095b67 add matrix offset constants 2018-08-31 19:17:52 +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 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 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 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 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 a4bab019d7 don't use K funcs in main, remove some video stuff 2018-08-24 07:54:01 +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 830e40a470 rename coprocessor includes 2018-08-21 05:57:34 +02:00
Connor Olding 8661ea450d rename SP constants 2018-08-21 05:31:31 +02:00
Connor Olding d1b1e2b4ea reorganize constants and macros 2018-08-21 05:10:06 +02:00
Connor Olding a6a769c47c rework main (F3DZEX mostly working?!) 2018-08-21 04:40:25 +02:00
Connor Olding a612461e87 major work towards getting F3DZEX working 2018-08-20 02:13:11 +02:00
Connor Olding 6d56e1fe42 preliminary work on handling specific exceptions 2018-08-19 13:51:30 +02:00
Connor Olding f5590e7f5d move kernel constants/macros to its own include 2018-08-18 19:44:33 +02:00
Connor Olding cf24dcecb2 detect USB console / add timeouts 2018-08-18 19:02:54 +02:00
Connor Olding bc5da1b12f reorganize files 2018-08-18 17:31:58 +02:00