editing/reading.

This commit is contained in:
ed
2026-08-13 21:22:29 -04:00
parent ea3e30a11e
commit b8e31123e4
9 changed files with 62 additions and 152 deletions
+20 -2
View File
@@ -1,12 +1,30 @@
#ifdef INTELLISENSE_DIRECTIVES
# include "gen/macs.h"
# include "gen/offsets.h"
# include "gen/macs.h"
# include "gen/offsets.h"
# include "bios.h"
# include "mips.h"
# include "lottes_tape.h"
#endif
ATOM_FILE_DEBUGGER_LINE_MARKER(mips_atom_c);
#pragma region MACs (Mips Atom Components)
// Tired of this signature:
FI_ Slice_MipsCode ac_load_word_imm(AtomBuilder_R ab, Reg dst, U4 imm)
atom_dbg_skip MipsAtomComp_Proc_(ac_load_word_imm, ab, {
load_upper_i(dst, u4_hi(imm)),
or_i_self( dst, u4_lo(imm)),
})
// Can I get away with this instead?
// atom_dbg_skip FI_ Slice_MipsCode
// ac_load_word_imm(AtomBuilder_R ab, Reg dst, U4 imm) MipsAtomComp_Proc_(ab, {
// load_upper_i(dst, u4_hi(imm)),
// or_i_self( dst, u4_lo(imm)),
// })
#pragma endregion MACs (Mips Atom Components)
#pragma region Baked Atoms
/* Flushes the Instruction Cache (PSX A-function 0x44 via BIOS stub at 0xA0).