diff options
author | yenatch <yenatch@gmail.com> | 2014-05-31 00:39:09 -0700 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2014-05-31 00:39:09 -0700 |
commit | d424eb44385c8f9e02d982b715a658e395e56c4b (patch) | |
tree | 618e6e4d54bdb6cc43fa828ffcd8c6669a13a065 | |
parent | f59f03c685a84368ff6110d2677fabc888cd89b1 (diff) |
Use rgbasm -h to use halt without nops.
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | home.asm | 5 |
2 files changed, 2 insertions, 5 deletions
@@ -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 @@ -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 |