mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-06-13 03:29:32 +00:00
tfv: fix ca65 complaints about negative constants
This commit is contained in:
parent
b44775d3eb
commit
78cb19fe7a
|
@ -10,7 +10,7 @@ all:
|
||||||
cd mode7_demo && make
|
cd mode7_demo && make
|
||||||
cd seasons && make
|
cd seasons && make
|
||||||
cd shapetable_party && make
|
cd shapetable_party && make
|
||||||
cd vertical_scroll && make
|
# cd vertical_scroll && make
|
||||||
cd xmas_2018 && make
|
cd xmas_2018 && make
|
||||||
cd xmas_2019 && make
|
cd xmas_2019 && make
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
include ../../Makefile.inc
|
include ../../../Makefile.inc
|
||||||
|
|
||||||
PNG2RLE = ../../gr-utils/png2rle
|
PNG2RLE = ../../../utils/gr-utils/png2rle
|
||||||
PNG2LZ4 = ../../gr-utils/png2lz4
|
PNG2LZ4 = ../../../utils/gr-utils/png2lz4
|
||||||
|
|
||||||
all: ootw_c16_end.inc logo.inc
|
all: ootw_c16_end.inc logo.inc
|
||||||
|
|
||||||
|
|
|
@ -93,7 +93,7 @@ rotozoom:
|
||||||
|
|
||||||
; cca = -20*ca;
|
; cca = -20*ca;
|
||||||
|
|
||||||
lda #-20 ; 2
|
lda #<(-20) ; 2
|
||||||
sta NUM1H ; 3
|
sta NUM1H ; 3
|
||||||
lda #0 ; 2
|
lda #0 ; 2
|
||||||
sta NUM1L ; 3
|
sta NUM1L ; 3
|
||||||
|
|
|
@ -98,8 +98,8 @@ worldmap_handle_left:
|
||||||
|
|
||||||
left_turn:
|
left_turn:
|
||||||
lda HERO_STATE
|
lda HERO_STATE
|
||||||
and #~HERO_DIRECTION ; change direction to left (0)
|
and #<(~HERO_DIRECTION) ; change direction to left (0)
|
||||||
and #~HERO_ODD ; stand (not walk) if changing
|
and #<(~HERO_ODD) ; stand (not walk) if changing
|
||||||
sta HERO_STATE
|
sta HERO_STATE
|
||||||
jmp done_handle_left ; skip ahead
|
jmp done_handle_left ; skip ahead
|
||||||
|
|
||||||
|
@ -120,7 +120,7 @@ worldmap_handle_right:
|
||||||
right_turn:
|
right_turn:
|
||||||
lda HERO_STATE
|
lda HERO_STATE
|
||||||
ora #HERO_DIRECTION ; change direction to right (1)
|
ora #HERO_DIRECTION ; change direction to right (1)
|
||||||
and #~HERO_ODD ; change to standing
|
and #<(~HERO_ODD) ; change to standing
|
||||||
sta HERO_STATE
|
sta HERO_STATE
|
||||||
jmp done_handle_right ; skip ahead
|
jmp done_handle_right ; skip ahead
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user