Commit Graph
49 Commits
Author SHA1 Message Date
ed 8a825a59c7 Add RegUse_ support to the lua metaprogram. Ideated further on type mapping atom comonents to their base component op (math distinctions annotated in the asm). 2026-08-15 15:51:06 -04:00
ed ffc66052f8 Curating duffle, preparing to update metaprogram for latest atom asm ideation. Reviewing the resolve_look_at atoms further... 2026-08-15 11:21:28 -04:00
ed baaff12f33 Ideating on "RegUse_" patterned structs for describe register allocatins to mips atom proc. 2026-08-14 12:38:00 -04:00
ed b695056b9a finished reviewing normalize_v3s4 for now 2026-08-14 03:45:34 -04:00
ed 9a6eca6047 more review, made a register file allocator (drafted, kinda iffy, want todo comp-time as well). 2026-08-13 23:39:03 -04:00
ed 5c9c61720f Redesign: Not making local var in MipsAtom_Proc_ or MipsAtomComp_Proc_ have sym tied to proc name. Adjusted parser as well base do that. 2026-08-13 21:42:06 -04:00
ed b8e31123e4 editing/reading. 2026-08-13 21:22:29 -04:00
ed 37f4712237 gutting nosiy comments. Looking into some atom components.. 2026-08-13 19:55:17 -04:00
ed b699b47b28 intiial review on: resolve_look_at__input_and_sub_proc 2026-08-13 19:42:43 -04:00
ed 4688566767 FINALLY? 2026-08-13 17:42:55 -04:00
ed d5f28b83ea minor 2026-08-12 22:41:52 -04:00
ed 77f19321cd pain 2026-08-12 20:24:13 -04:00
ed 9501bbbcc2 WIP 2026-08-12 20:17:53 -04:00
ed 9b6b5535f5 wip 2026-08-12 20:09:57 -04:00
ed 7807047dc0 Atoms 2-3 work for resolve look at. Don't need OA_ macro so going to stop using. 2026-08-11 21:35:59 -04:00
ed 3f3b691ac0 Making a proper distinction between atom arenas and atom builders. 2026-08-11 11:25:54 -04:00
ed 144c605ad8 some more review. not working still. 2026-08-10 23:04:43 -04:00
ed 004a7eff19 WIP: not fully reviewed. Adds auto-register allocation + mips atom procs + wip resolve look at atoms + atom bundle... 2026-08-10 14:13:02 -04:00
ed e42c75a26a WIP: preparing for major changes to atoms to fullfill needs of resolve_look_at and atom ported normalize_v3s4. 2026-08-09 18:49:59 -04:00
ed 69f2c0d036 Prepping for: resolve_look_at impl. 2026-08-08 23:13:18 -04:00
ed 68b87f1c8b Completed C-side of: Camera Transformation chapter. Now todo atom tape translation... 2026-08-08 16:42:07 -04:00
ed 917b764d95 pad_bios_init_start: annotate bios codes. 2026-08-08 13:32:25 -04:00
ed 773aa44013 reviewing pad input atoms further 2026-08-08 01:03:24 -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 57fdb9e037 improvmenets to delay slot modeling (lua metaprogram) 2026-08-04 18:27: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 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 7d5b13aadb TODO: need to review snapshot 2026-07-14 12:16:00 -04:00
ed 2b00956862 Corrections, flatting nested branches (lua metaprogram) 2026-07-11 10:24:34 -04:00
ed 1ffad6cf98 lua metaprogram: more cruft removal. 2026-07-11 09:45:51 -04:00
ed 541e52de2b adjsutments for the old graphics hello module. 2026-07-11 00:11:32 -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 98e27c2815 fixed. 2026-07-09 17:21:47 -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 93bab89f76 somehwat of a success... but bloated. 2026-07-07 00:39:25 -04:00
ed c293e35cb4 lua metaprogram adjustments 2026-07-06 19:13:53 -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