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
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
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
7421b32fd7
redundant nop reduction
2026-07-27 22:49:41 -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
f247d56c32
Debug vis ergonomics
2026-07-25 13:19:35 -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
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
b43d22008e
improve step-debug latency
2026-07-12 15:39:35 -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