mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-26 17:04:08 +13:00
Use rgbasm -h to use halt without nops.
This commit is contained in:
parent
f59f03c685
commit
d424eb4438
2 changed files with 2 additions and 5 deletions
2
Makefile
2
Makefile
|
|
@ -50,7 +50,7 @@ $(all_obj): $$*.tx $$(patsubst %.asm, %.tx, $$($$*_dep))
|
|||
@$(gfx) 2bpp $(2bppq); $(eval 2bppq :=)
|
||||
@$(gfx) 1bpp $(1bppq); $(eval 1bppq :=)
|
||||
@$(pic) compress $(picq); $(eval picq :=)
|
||||
rgbasm -o $@ $*.tx
|
||||
rgbasm -h -o $@ $*.tx
|
||||
|
||||
|
||||
link := rgblink -n $*.sym -m $*.map
|
||||
|
|
|
|||
5
home.asm
5
home.asm
|
|
@ -1861,10 +1861,7 @@ NOT_VBLANKED EQU 1
|
|||
ld a, NOT_VBLANKED
|
||||
ld [H_VBLANKOCCURRED], a
|
||||
.halt
|
||||
; XXX this is a hack--rgbasm adds
|
||||
; a nop after halts by default.
|
||||
db $76 ; halt
|
||||
|
||||
halt
|
||||
ld a, [H_VBLANKOCCURRED]
|
||||
and a
|
||||
jr nz, .halt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue