Upgrade to rgbds 0.4.0

- fail for rgbds < 0.4.0
- `rst <Label>`
- `ds <count>, <byte>`
- `shift <N>`
- ASCII "\r"
- Sorted .sym file
This commit is contained in:
Rangi
2020-04-04 14:42:31 -04:00
parent a325db0f14
commit 0ee9d7a48b
15 changed files with 42 additions and 71 deletions

View File

@@ -4,10 +4,12 @@ SECTION "rst0", ROM0[$0000]
di
jp Start
SECTION "rst8", ROM0[$0008] ; rst FarCall
SECTION "rst8", ROM0[$0008]
FarCall::
jp FarCall_hl
SECTION "rst10", ROM0[$0010] ; rst Bankswitch
SECTION "rst10", ROM0[$0010]
Bankswitch::
ldh [hROMBank], a
ld [MBC3RomBank], a
ret
@@ -18,7 +20,8 @@ SECTION "rst18", ROM0[$0018]
SECTION "rst20", ROM0[$0020]
rst $38
SECTION "rst28", ROM0[$0028] ; rst JumpTable
SECTION "rst28", ROM0[$0028]
JumpTable::
push de
ld e, a
ld d, 0
@@ -63,4 +66,4 @@ Start::
; The cartridge header data is filled in by rgbfix.
; This makes sure it doesn't get used.
ds $0150 - $0104
ds $0150 - @