Commit Graph
100 Commits
Author SHA1 Message Date
ed 159ead625e fixing weird identifiers... 2026-08-22 22:48:58 -04:00
ed 52888015de reviewing 2026-08-22 21:03:57 -04:00
ed a37ffe6f58 Last adjustments for metaprogram, hitting a intermission checkpoint to do docs, writeups, and other research distillations. 2026-08-21 14:02:41 -04:00
ed b61610d819 corrections 2026-08-21 10:13:45 -04:00
ed 1b950ab5b5 lua metaprogram: atom bundle support. 2026-08-21 10:13:32 -04:00
ed b2858b3c73 Final ideation before finish updates lua metaprogram before hello-cdrom 2026-08-21 00:23:28 -04:00
ed f1801343e2 tb_bind_ to help with named association of tb_data emissions 2026-08-20 22:35:34 -04:00
ed 85b2205603 remove redudant register shuffle in build_normalize_v3s4 2026-08-20 20:52:18 -04:00
ed 2d754650c9 oops 2026-08-20 20:21:51 -04:00
ed e2ffe538b6 reviewing atom bundle convention 2026-08-20 19:36:52 -04:00
ed 223d1832eb Improving program model, (better structs, better path awareness ties to those structs). 2026-08-20 14:05:49 -04:00
ed de13bc3ce9 auto-column alignment formatting pass on trailing type annotations. 2026-08-19 23:48:46 -04:00
ed 2a087f735e utilizing trailing type annotations more 2026-08-19 23:35:57 -04:00
ed 449216967b Review Pass: Type annotations. 2026-08-19 23:18:32 -04:00
ed c226e8a7d3 dropped usage of SCRATCH_GPRS nopw using proper setup for current tape runtime. 2026-08-19 22:00:18 -04:00
ed 81f37e0098 reading... 2026-08-19 21:49:36 -04:00
ed bde829bf59 WIP: reviewing lua, some upgrades and fixes along the way. 2026-08-19 21:11:09 -04:00
ed cf78cfa120 Rename _shift enums to _pos (may change to offset, but in either case not as accurate to call them _shift, and _shift_smount is longer). 2026-08-19 13:17:08 -04:00
ed 3440c9b59e more metaprogram review 2026-08-19 11:05:48 -04:00
ed 1cbddc6708 More path collapse for metaprogram. 2026-08-18 16:37:53 -04:00
ed b345ccd60e don't bother wiht icache flush atom. 2026-08-18 16:10:44 -04:00
ed bbda5efaea build_noramlized_v3s4 mostly reviewed. 2026-08-18 16:10:29 -04:00
ed 290bb0e07a WIP: Adjusting normalize atom proc to to the new tape runtime convention. Trying to reduce redundant scuff to scratch. 2026-08-18 13:22:40 -04:00
ed 86fe189b4e Moving definitions to use dedicated scratch register. 2026-08-18 09:26:49 -04:00
ed da007d342e Reviewing. Successfuly reworked register allocation for tape runs. 2026-08-18 00:26:36 -04:00
ed 5a4bfb1224 Collapse of atom 6-9 into a single atom (finaly). Generalized cross product atom proc and atom component. Still working on normalize_v3s4. 2026-08-17 18:18:18 -04:00
ed d4795cf9de Extract out a cross roduct component. 2026-08-17 10:34:43 -04:00
ed e79c364b40 reducing cross product atom procs to a single one in gte for once. 2026-08-17 01:05:58 -04:00
ed 18b1d5a04b remove outdated comments. 2026-08-16 12:07:09 -04:00
ed 581b00b960 wip: going over all codepaths. 2026-08-16 10:35:32 -04:00
ed 3faccfc283 more reviewing, thinking about atom bundles... 2026-08-16 01:22:53 -04:00
ed 1a0d417649 lua metaprogram improvmeents 2026-08-15 22:24:26 -04:00
ed 3301826f5c reviewed: resolve_look_at__populate_proc 2026-08-15 21:34:55 -04:00
ed d9b9241e2c resolve_look_at__cross_uz_ux_to_up_proc reviewed 2026-08-15 19:53:08 -04:00
ed a16c727db2 updates to lua program to furhter support new constructs and correct report errors. 2026-08-15 19:52:56 -04:00
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 f8b28be02e Lua metaprogram support for RegUse_ (needs review) 2026-08-15 11:54:51 -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 7764612325 add install extension script 2026-08-15 01:19:45 -04:00
ed 1a5b618484 done with this theming stuff for now. 2026-08-15 01:15:43 -04:00
ed d23b6a2a36 messing around. 2026-08-14 22:43:27 -04:00
ed 7ec778a68e more theme stuff 2026-08-14 21:48:52 -04:00
ed 9ca865d5db update license to zip for now...
not sure what the standalone repo is going to be yet, but it will be relatively permissive since this is prototype/educational setup
2026-08-14 19:43:03 -04:00
ed 764ded4557 initial plugin setup for syntax highlighting in vscode... 2026-08-14 18:57:37 -04:00
ed 67a84d34f3 oops: endregion 2026-08-14 13:41:45 -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 3a4d6304dd static analysis: immeidate field awarenss 2026-08-14 01:22:54 -04:00
ed a535d381ed remove encoding masks from gp (unnecessary, hides errors) 2026-08-14 01:22:36 -04:00
ed c447bfa877 fixes to the reg file allocator, exploring... 2026-08-14 00:43:19 -04:00
ed d88e0d0487 remove mask from mips and gte instruction encoders. missing math changes. 2026-08-13 23:39:35 -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 ea3e30a11e oops 2026-08-13 20:51:45 -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 640dab7e61 wip: starting to review and update lua metaprogram with more modeling of gte. 2026-08-13 18:51:09 -04:00
ed 4688566767 FINALLY? 2026-08-13 17:42:55 -04:00
ed 5ebaa6e083 still failing 2026-08-13 13:18:27 -04:00
ed 7f0bdefbcb checkpoint nothing 2026-08-13 02:13:47 -04:00
ed d5f28b83ea minor 2026-08-12 22:41:52 -04:00
ed 3ea3e8d105 sssiiighhhh 2026-08-12 20:36:11 -04:00
ed 6b60cef2e8 sigh 2026-08-12 20:30:26 -04:00
ed 77f19321cd pain 2026-08-12 20:24:13 -04:00
ed 2e07665920 Run-Time Library Overview manual 2026-08-12 20:24:05 -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 7daeec0ee3 checkpoint: atom 0-1 works for resolve look at. 2026-08-11 14:05:23 -04:00
ed 3f3b691ac0 Making a proper distinction between atom arenas and atom builders. 2026-08-11 11:25:54 -04:00
ed a2d79d65eb amazing bug 2026-08-11 01:25:40 -04:00
ed bebcc6a585 wip: going to incremnetally test this. 2026-08-11 01:25:09 -04:00
ed ece21ed368 mark current crashing path. 2026-08-10 23:29:38 -04:00
ed 144c605ad8 some more review. not working still. 2026-08-10 23:04:43 -04:00
ed 4afd1af0fd started to review this... 2026-08-10 19:53:34 -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 b045856dd6 converted pad input for cam to mips atom 2026-08-08 18:23:28 -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 2b6fe53ce8 Stuff kept from hot-reload attempt 2026-08-06 10:41:45 -04:00
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 f25765a7b7 Preparing for camera transformation chapter. 2026-08-05 01:21:25 -04:00
ed 2757aa4330 Fix bug with pad input processing (needed mac_yield load fallthrough case) 2026-08-05 01:08:01 -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 6441dbc23e Proof-reading lua metaprogram (part 1) 2026-08-04 19:32:43 -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 888ffce859 Finished: Pikuma Linking multiple files (not applying to codebase only watched) 2026-08-04 16:49:02 -04:00
ed 7289e7c89c Added jump_rel (can't use abs jump with asm dsl). Fixes + improvements to ps1 asm meta passes. 2026-08-04 16:01:01 -04:00
ed 54a5bb9a31 starting to optimize 2026-08-04 12:59:51 -04:00
ed e0f4ac873d spamming load delay slots for now as a fix... 2026-08-04 09:07:53 -04:00
ed f17fa9165e wip: input was working... messed it up (bios snapshot reads) 2026-08-04 00:50:12 -04:00
ed 8282f8e902 overkill sio cruft, not keeping. 2026-08-03 10:12:06 -04:00
ed 9eb696ece8 drafting 2026-08-02 21:58:57 -04:00
ed 858e57f293 preparing to overhaul input handling 2026-08-02 17:49:24 -04:00