Commit Graph
58 Commits
Author SHA1 Message Date
ed 01f7ceba7c buzzing brain. 2026-08-05 02:48:05 -04:00
ed 6f2eff920d some more review before bed. 2026-08-05 02:00:41 -04:00
ed 748b58c5c5 Codebase overhaul. Metaprogram proofread (part 2). Starting to get serious.
Need to rewrite the ps1 lua metaprogram sometime soonish. Getting too bloated... need to consolidate code paths.

In this push codebase structure is starting to get a bit more realized. Decided todo now to match Pikuma's linking module files vods beginning to reorganize its codebase as well.
Atoms & atom components are not in their on *.atom.c files. (Not calling it tape.c as I don't really bake tapes like that outside of the unity c file so far...)

The lua metaprogram has had additional features added to it yet again to avoid hardcoding module handling and supporting multiple atom files per-module.
Either after the camera or cd-rom section I'll be most likely pausing to fully refactor the metaprogram. Possibly as a full re-write to get the loc minimal.
2026-08-04 23:34:00 -04:00
ed b5953a723b add ac_yield_load and ac_yield_tail for delay slot optimization opportunities. 2026-08-04 17:25:02 -04:00
ed f17fa9165e wip: input was working... messed it up (bios snapshot reads) 2026-08-04 00:50:12 -04:00
ed 9eb696ece8 drafting 2026-08-02 21:58:57 -04:00
ed afcd9b86f0 Gaining clarity on tape abi.. screen_init atoms done. Time to finish rest of joypad course vods... 2026-08-02 15:19:52 -04:00
ed 43cd4e0344 WIP: working towards minimizing C-ABI & PsyQ CRT usage 2026-08-01 23:11:10 -04:00
ed 09dde54030 Finished(Controller Input): Reading Joypad State 2026-07-31 15:15:51 -04:00
ed a704341fc6 Testing out the metaprogram with some optimization, need to remove some hardcoding later.. 2026-07-27 23:35:03 -04:00
ed 7421b32fd7 redundant nop reduction 2026-07-27 22:49:41 -04:00
ed 27a9038e0d req c11, 2026-07-26 17:36:46 -04:00
ed 80a35aa23a WIP: Better step debug on atom components, better db_skip annotation, lots of curation passes on lua.
Still don't have this thing in its final state for  the curse but its close.
2026-07-26 13:55:47 -04:00
ed f247d56c32 Debug vis ergonomics 2026-07-25 13:19:35 -04:00
ed 9ffd6592bc Better static analysis for C0 <-> C2 data race hazards. 2026-07-25 04:09:48 -04:00
ed 08af73d0d2 Lua Metaprogram: Improvements to static analysis + others. 2026-07-23 10:18:30 -04:00
ed ed3eb45b1d Fixes atom component gdb stepping. New phase/ctx annotations for atoms. Attempt at type views on registers (gdb pretty print failures).
Needs heavy curation and problably simplicication.
2026-07-18 10:29:04 -04:00
ed d7770b6e1d review pass on c code. 2026-07-15 08:56:37 -04:00
ed 137549b1c8 First pass review 2026-07-14 22:55:16 -04:00
ed 7d5b13aadb TODO: need to review snapshot 2026-07-14 12:16:00 -04:00
ed 2d901003f9 Fix off by one ahead issue with stepping into atoms. Support for local register symbols used in atoms + atom bindings locals in gdb. 2026-07-13 12:41:48 -04:00
ed 541e52de2b adjsutments for the old graphics hello module. 2026-07-11 00:11:32 -04:00
ed a226b45d18 more adjustments 2026-07-10 21:14:16 -04:00
ed c22e4baa41 minor adjustmnets to some headers (doing a review pass) 2026-07-10 19:51:41 -04:00
ed 2ceb2f2a05 minor changes preparing for static analysis metaprogram and revewing cube_g4_face code. 2026-07-10 09:33:35 -04:00
ed c824c998eb broken. 2026-07-10 09:08:29 -04:00
ed 1ffdda45e5 Adjustments to formatting 2026-07-09 19:28:56 -04:00
ed 1209172649 wip: lua metaprogram rework 2026-07-09 18:45:36 -04:00
ed 88aa1b8b59 wip 2026-07-09 16:57:52 -04:00
ed ca3dc4aff0 wip: cube_g4_face is bugged 2026-07-09 16:17:34 -04:00
ed 0ad609e7c2 cookin 2026-07-09 15:38:03 -04:00
ed ccdf1b832b more intiution... 2026-07-09 13:30:13 -04:00
ed 32a754cd06 FACK. 2026-07-09 10:48:59 -04:00
ed 407c7d352a cube_tri 2026-07-09 10:48:55 -04:00
ed 602a0b46d8 Still learning/de-obfuscating 2026-07-08 21:17:16 -04:00
ed 74f390c3b1 Reviewing post-dsl refactors, more pseudo instructions 2026-07-08 17:14:11 -04:00
ed 5375478044 gp.h improvements 2026-07-08 10:21:31 -04:00
ed 10c8dcdc07 improving dsl: gte. 2026-07-08 00:37:27 -04:00
ed d0b1bae896 improving dsl. 2026-07-08 00:30:02 -04:00
ed 0b147a8b0c need to change symbols.. 2026-07-07 23:28:20 -04:00
ed 101b07fe71 fixes, de-obufscation... still confused about formating color... 2026-07-07 22:12:06 -04:00
ed 7a1def6c46 WIP: still adjusting, deofuscating with annotation...
Problably will redesign the atom annotation DSL its too much curft rn, should be alot simpiler...
2026-07-07 10:38:16 -04:00
ed 6eee0249ff learning... 2026-07-07 01:22:09 -04:00
ed 93bab89f76 somehwat of a success... but bloated. 2026-07-07 00:39:25 -04:00
ed 26a63ed908 decruft lua warnings. 2026-07-06 20:05:57 -04:00
ed ffcd43c1ea adjustments, studying 2026-07-06 13:08:16 -04:00
ed 352a8c9c25 Made the atom offset/label metaprogram! Still need to support more than one branch per-atom. 2026-07-06 10:10:02 -04:00
ed c3a7e22743 need to finally make a metaprogram for offset math... 2026-07-06 08:28:40 -04:00
ed 54968d20e0 refining 2026-07-05 22:59:27 -04:00
ed 13a0b9dca4 forcing myself to move forward, need to address missing annotations for "name bindings" on allocated registers. 2026-07-05 21:26:26 -04:00