mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-02-03 07:35:42 +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 seasons && make
|
||||
cd shapetable_party && make
|
||||
cd vertical_scroll && make
|
||||
# cd vertical_scroll && make
|
||||
cd xmas_2018 && make
|
||||
cd xmas_2019 && make
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
include ../../Makefile.inc
|
||||
include ../../../Makefile.inc
|
||||
|
||||
PNG2RLE = ../../gr-utils/png2rle
|
||||
PNG2LZ4 = ../../gr-utils/png2lz4
|
||||
PNG2RLE = ../../../utils/gr-utils/png2rle
|
||||
PNG2LZ4 = ../../../utils/gr-utils/png2lz4
|
||||
|
||||
all: ootw_c16_end.inc logo.inc
|
||||
|
||||
|
@ -93,7 +93,7 @@ rotozoom:
|
||||
|
||||
; cca = -20*ca;
|
||||
|
||||
lda #-20 ; 2
|
||||
lda #<(-20) ; 2
|
||||
sta NUM1H ; 3
|
||||
lda #0 ; 2
|
||||
sta NUM1L ; 3
|
||||
|
@ -98,8 +98,8 @@ worldmap_handle_left:
|
||||
|
||||
left_turn:
|
||||
lda HERO_STATE
|
||||
and #~HERO_DIRECTION ; change direction to left (0)
|
||||
and #~HERO_ODD ; stand (not walk) if changing
|
||||
and #<(~HERO_DIRECTION) ; change direction to left (0)
|
||||
and #<(~HERO_ODD) ; stand (not walk) if changing
|
||||
sta HERO_STATE
|
||||
jmp done_handle_left ; skip ahead
|
||||
|
||||
@ -120,7 +120,7 @@ worldmap_handle_right:
|
||||
right_turn:
|
||||
lda HERO_STATE
|
||||
ora #HERO_DIRECTION ; change direction to right (1)
|
||||
and #~HERO_ODD ; change to standing
|
||||
and #<(~HERO_ODD) ; change to standing
|
||||
sta HERO_STATE
|
||||
jmp done_handle_right ; skip ahead
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user