Browse Source

fix typo causing save bug, replace deprecated section header 'HOME' with 'ROM0', fix embarassing typo in comment

master v1.1
Holly 3 years ago
parent
commit
7372cd294d
5 changed files with 21 additions and 21 deletions
  1. +1
    -1
      GameMap.z80
  2. +1
    -1
      KeepUpTiles.z80
  3. +1
    -1
      TitlescreenMap.z80
  4. +17
    -17
      keepup.z80
  5. +1
    -1
      memory.asm

+ 1
- 1
GameMap.z80 View File

@ -18,7 +18,7 @@ GameMapLabelWidth EQU 32
GameMapLabelHeight EQU 18
GameMapLabelBank EQU 0
SECTION "GameMap", HOME
SECTION "GameMap", ROM0
GameMapLabel::
DB $05,$06,$07,$08,$09,$0A,$0B,$0B,$0B,$0B


+ 1
- 1
KeepUpTiles.z80 View File

@ -20,7 +20,7 @@
;
; This file was generated by GBTD v2.2
SECTION "Tiles", HOME
SECTION "Tiles", ROM0
; Start of tile array.
TileLabel::


+ 1
- 1
TitlescreenMap.z80 View File

@ -18,7 +18,7 @@ TitlescreenMapLabelWidth EQU 32
TitlescreenMapLabelHeight EQU 18
TitlescreenMapLabelBank EQU 0
SECTION "TitlescreenMap", HOME
SECTION "TitlescreenMap", ROM0
TitlescreenMapLabel::
DB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00


+ 17
- 17
keepup.z80 View File

@ -47,60 +47,60 @@
;* cartridge header
;****************************************************************************************************************************************************
SECTION "Org $00",HOME[$00]
SECTION "Org $00",ROM0[$00]
RST_00:
jp $100
SECTION "Org $08",HOME[$08]
SECTION "Org $08",ROM0[$08]
RST_08:
jp $100
SECTION "Org $10",HOME[$10]
SECTION "Org $10",ROM0[$10]
RST_10:
jp $100
SECTION "Org $18",HOME[$18]
SECTION "Org $18",ROM0[$18]
RST_18:
jp $100
SECTION "Org $20",HOME[$20]
SECTION "Org $20",ROM0[$20]
RST_20:
jp $100
SECTION "Org $28",HOME[$28]
SECTION "Org $28",ROM0[$28]
RST_28:
jp $100
SECTION "Org $30",HOME[$30]
SECTION "Org $30",ROM0[$30]
RST_30:
jp $100
SECTION "Org $38",HOME[$38]
SECTION "Org $38",ROM0[$38]
RST_38:
jp $100
SECTION "V-Blank IRQ Vector",HOME[$40]
SECTION "V-Blank IRQ Vector",ROM0[$40]
VBL_VECT:
call VBLANK_CODE
reti
SECTION "LCD IRQ Vector",HOME[$48]
SECTION "LCD IRQ Vector",ROM0[$48]
LCD_VECT:
reti
SECTION "Timer IRQ Vector",HOME[$50]
SECTION "Timer IRQ Vector",ROM0[$50]
TIMER_VECT:
reti
SECTION "Serial IRQ Vector",HOME[$58]
SECTION "Serial IRQ Vector",ROM0[$58]
SERIAL_VECT:
reti
SECTION "Joypad IRQ Vector",HOME[$60]
SECTION "Joypad IRQ Vector",ROM0[$60]
JOYPAD_VECT:
reti
SECTION "Start",HOME[$100]
SECTION "Start",ROM0[$100]
nop
jp Start
@ -161,7 +161,7 @@ JOYPAD_VECT:
;* Program Start
;****************************************************************************************************************************************************
SECTION "Program Start",HOME[$0150]
SECTION "Program Start",ROM0[$0150]
Start::
; interrupt/stack pointer boilerplate
di
@ -498,7 +498,7 @@ VBLANK_CODE::
ld hl,$A000
ld a,$0A
ld [0],a
inc [hl] ; Modify any byte so checksome no longer matches
inc [hl] ; Modify any byte so checksum no longer matches
xor a
ld [0],a
rst $00
@ -542,7 +542,7 @@ VBLANK_CODE::
push af
ld a,[hli]
push af
ld a,$00
ld a,$0A
ld [0],a
ld hl,$A000
ld [HighScoreHigh],a


+ 1
- 1
memory.asm View File

@ -10,7 +10,7 @@
IF !DEF(MEMORY_ASM)
MEMORY_ASM SET 1
SECTION "Memory Code",HOME
SECTION "Memory Code",ROM0
mem_Set::
inc b


Loading…
Cancel
Save