mirror of
https://github.com/notwa/mm
synced 2025-02-05 05:23:22 -08:00
fix asm syntax errors (#1)
This commit is contained in:
parent
e762bbd037
commit
ea19f3e326
6 changed files with 7 additions and 7 deletions
|
@ -16,7 +16,7 @@
|
||||||
[starting_exit]: 0x8014533C
|
[starting_exit]: 0x8014533C
|
||||||
[default_save]: 0x801C6898
|
[default_save]: 0x801C6898
|
||||||
|
|
||||||
[link_object_ptr]: 0x803FFFF4 // actually just an offset of link_actor?
|
[link_object_ptr]: 0x803FFFF4 ; actually just an offset of link_actor?
|
||||||
|
|
||||||
[scene_record_size]: 0x14
|
[scene_record_size]: 0x14
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
[at_bomb]: 0x0009
|
[at_bomb]: 0x0009
|
||||||
|
|
||||||
[rotate_amount]: 0x3E567750 // pi/15
|
[rotate_amount]: 0x3E567750 ; pi/15
|
||||||
|
|
||||||
// F12 = input (single), F0 = output (single), F4 = output (double)
|
// F12 = input (single), F0 = output (single), F4 = output (double)
|
||||||
[sinf]: 0x80088350
|
[sinf]: 0x80088350
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
[SetTextXY]: 0x800FB41C
|
[SetTextXY]: 0x800FB41C
|
||||||
[SetTextString]: 0x800FBCB4
|
[SetTextString]: 0x800FBCB4
|
||||||
[TxtPrinter]: 0x800FBB60
|
[TxtPrinter]: 0x800FBB60
|
||||||
[InitTxtStruct]: 0x800FBB8C // unused here; we set it up inline
|
[InitTxtStruct]: 0x800FBB8C ; unused here; we set it up inline
|
||||||
[DoTxtStruct]: 0x800FBC1C
|
[DoTxtStruct]: 0x800FBC1C
|
||||||
[UpdateTxtStruct]: 0x800FBC64
|
[UpdateTxtStruct]: 0x800FBC64
|
||||||
push 4, 1, ra
|
push 4, 1, ra
|
||||||
|
|
|
@ -51,7 +51,7 @@
|
||||||
[SetTextXY]: 0x800FB41C
|
[SetTextXY]: 0x800FB41C
|
||||||
[SetTextString]: 0x800FBCB4
|
[SetTextString]: 0x800FBCB4
|
||||||
[TxtPrinter]: 0x800FBB60
|
[TxtPrinter]: 0x800FBB60
|
||||||
[InitTxtStruct]: 0x800FBB8C // unused here; we set it up inline
|
[InitTxtStruct]: 0x800FBB8C ; unused here; we set it up inline
|
||||||
[DoTxtStruct]: 0x800FBC1C
|
[DoTxtStruct]: 0x800FBC1C
|
||||||
[UpdateTxtStruct]: 0x800FBC64
|
[UpdateTxtStruct]: 0x800FBC64
|
||||||
|
|
||||||
|
|
|
@ -25,13 +25,13 @@
|
||||||
[SetTextXY]: 0x80085A2C
|
[SetTextXY]: 0x80085A2C
|
||||||
[SetTextString]: 0x800860D8
|
[SetTextString]: 0x800860D8
|
||||||
[TxtPrinter]: 0x80085FE4
|
[TxtPrinter]: 0x80085FE4
|
||||||
[InitTxtStruct]: 0x80086010 // unused here; we set it up inline
|
[InitTxtStruct]: 0x80086010 ; unused here; we set it up inline
|
||||||
[DoTxtStruct]: 0x8008606C
|
[DoTxtStruct]: 0x8008606C
|
||||||
[UpdateTxtStruct]: 0x800860A0
|
[UpdateTxtStruct]: 0x800860A0
|
||||||
|
|
||||||
.include "spawn.asm"
|
.include "spawn.asm"
|
||||||
|
|
||||||
[whatever]: 0x807D0000 // stupid hack since i can't store/restore PC (not yet!)
|
[whatever]: 0x807D0000 ; stupid hack since i can't store/restore PC (not yet!)
|
||||||
.org @whatever
|
.org @whatever
|
||||||
push 5, ra
|
push 5, ra
|
||||||
lhu t0, 0(a1)
|
lhu t0, 0(a1)
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
[SetTextXY]: 0x800CBEC8
|
[SetTextXY]: 0x800CBEC8
|
||||||
[SetTextString]: 0x800CC588
|
[SetTextString]: 0x800CC588
|
||||||
[TxtPrinter]: 0x800CC480
|
[TxtPrinter]: 0x800CC480
|
||||||
[InitTxtStruct]: 0x800CC4AC // unused here; we set it up inline
|
[InitTxtStruct]: 0x800CC4AC ; unused here; we set it up inline
|
||||||
[DoTxtStruct]: 0x800CC508
|
[DoTxtStruct]: 0x800CC508
|
||||||
[UpdateTxtStruct]: 0x800CC550
|
[UpdateTxtStruct]: 0x800CC550
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue