ed
4fbf550d3c
hot-reload attempt (unreviewed, not working)
2026-08-06 10:44:34 -04:00
ed
f25765a7b7
Preparing for camera transformation chapter.
2026-08-05 01:21:25 -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
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
315e1b2c5e
Fix(lua atom tape dsl): Bad-hardcode for source file line-table mapping in dwarf injection pass.
2026-07-31 14:28:50 -04:00
ed
02658d3609
Prepare for hello joypad!
2026-07-28 00:35:02 -04:00
ed
dbc459b7e0
gte_hello -> hello_gte. gte is done, moving on to controller!
2026-07-28 00:17:23 -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
e2eb74be19
Remove gte component result contracts (was a bad bodge in, for a later directive thats TODO)
2026-07-27 22:49:26 -04:00
ed
338f1fe46e
Better reports from dsl metaprogram
2026-07-27 10:06:23 -04:00
ed
27a9038e0d
req c11,
2026-07-26 17:36:46 -04:00
ed
8c8d2e54aa
remove cruft
2026-07-26 14:40:57 -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
590ff1e2ec
Curation pass: reduce nested conditional branching in some defnitions.
2026-07-25 13:00:36 -04:00
ed
653e18ee28
remove code related to dry run and dep graph rendering (ps1 meta)
2026-07-25 11:59:41 -04:00
ed
ebb876fe89
report.lua: Remove redudnant section formatting/header
2026-07-25 11:25:12 -04:00
ed
1b40b16c0e
Review pass.
2026-07-25 11:20:53 -04:00
ed
9ffd6592bc
Better static analysis for C0 <-> C2 data race hazards.
2026-07-25 04:09:48 -04:00
ed
d56adab38f
branch delay slot better support.
...
Still reviewing. Need to see if gte is handled properly.
2026-07-23 18:35:02 -04:00
ed
08af73d0d2
Lua Metaprogram: Improvements to static analysis + others.
2026-07-23 10:18:30 -04:00
ed
67d54debfa
offset corections (dwarf)
2026-07-22 18:00:09 -04:00
ed
3c25306070
fixes
2026-07-22 09:47:01 -04:00
ed
c3cf05950e
good enough for now
2026-07-21 22:29:22 -04:00
ed
f6b4d9895e
Adjustments to offset convention (don't want 1s based addresssing to mess with the spec defined encoding)
2026-07-21 20:52:13 -04:00
ed
e70361b548
curation: first pass
2026-07-21 19:20: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
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
904889b483
general review post-dwarf_injection.lua working
2026-07-12 15:14:59 -04:00
ed
f7aa7b75e7
doing dwarf injectiion/mods for the tape atoms. syncs with vscode cursor.
2026-07-12 12:51:41 -04:00
ed
aca6e30e20
better debug support
2026-07-11 22:44:32 -04:00
ed
8b0fb1d4e4
exploring gdb support for the atom asm dsl.
2026-07-11 21:02:34 -04:00
ed
9f7a4a00ce
final pass on metaprogram
2026-07-11 19:53:12 -04:00
ed
97d2f66c5a
eliminated most lag (runs in ms)
2026-07-11 17:34:52 -04:00
ed
d9406553b3
finally starting to approach decent performance.
2026-07-11 17:30:16 -04:00
ed
e662d175ab
lifting tokenize_body, using lfs package
2026-07-11 16:47:09 -04:00
ed
5387a07b84
progress on static analysis
2026-07-11 15:18:27 -04:00
ed
65d805e3ba
start to generalize check rules..
2026-07-11 14:57:48 -04:00
ed
987f4dee1e
preparing for a big refactor
2026-07-11 14:48:57 -04:00
ed
df723c691d
progress
2026-07-11 14:25:40 -04:00
ed
45ac85c038
lua metaprogram: Delete dead code, some more lifting to duffle
2026-07-11 14:16:29 -04:00
ed
072231c46b
Lua Metaprogram: Scan codepaths collapse + more reviews.
2026-07-11 13:45:22 -04:00
ed
2b00956862
Corrections, flatting nested branches (lua metaprogram)
2026-07-11 10:24:34 -04:00