Commit Graph

35 Commits

Author SHA1 Message Date
Connor Olding 67a9a43b48 tweak memory-wiping routine 2018-11-02 17:53:01 +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 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 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 9907c60145 move system init to its own file, init more stuff 2018-09-29 07:18:23 +02:00
Connor Olding bcc219de11 ignore IP7 (timer interrupt?) for now 2018-09-28 10:43:20 +02:00
Connor Olding a2212d6ca6 minor cleanup 2018-09-28 10:40:22 +02:00
Connor Olding 8310f4aae7 improve and reduce verbosity of system addresses 2018-09-28 10:33:02 +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 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 912ca3df9b make MI interrupts easier to spot 2018-08-24 08:20:55 +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 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 a90005a79e update includes with more/better constants 2018-08-24 05:10:58 +02:00
Connor Olding 8661ea450d rename SP constants 2018-08-21 05:31:31 +02:00
Connor Olding d79c6a03b2 split acronyms and caps with underscores (mostly) 2018-08-21 05:23:07 +02:00
Connor Olding 49780dbed7 handle basic exceptions in kernel 2018-08-21 04:39:13 +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 7c9a47bfaa add and use lzss decompressor, baku variant 2018-08-19 00:22:24 +02:00
Connor Olding 0b3e476863 fix register dummy value 2018-08-19 00:19:18 +02:00
Connor Olding f5590e7f5d move kernel constants/macros to its own include 2018-08-18 19:44:33 +02:00
Connor Olding 1bf6a13bd4 avoid using k0 in boot, fix double newline 2018-08-18 19:41:30 +02:00
Connor Olding f0c23c6c3a fix interrupt dumping 2018-08-18 19:35:32 +02:00
Connor Olding 540001d9a7 clean up strings with macros 2018-08-18 19:15:30 +02:00
Connor Olding cf24dcecb2 detect USB console / add timeouts 2018-08-18 19:02:54 +02:00
Connor Olding cb786efd21 lots of work on the interrupt handler 2018-08-18 16:39:57 +02:00
Connor Olding 5d771e3d30 add debug output to interrupt handler, better stack usage 2018-08-17 08:53:37 +02:00
Connor Olding ab2896cec6 start work on interrupt handler; refactor 2018-08-17 08:02:25 +02:00