mirror of
https://github.com/mi57730/a2d.git
synced 2025-04-22 05:39:17 +00:00
Calc: special case button bounds checks
This commit is contained in:
parent
f0189e3d96
commit
c08a2f69cc
@ -703,12 +703,12 @@ L0E95: lda #window_id
|
||||
lda row4_lookup,x
|
||||
rts
|
||||
|
||||
: cmp #82 ; special case for tall + button
|
||||
: cmp #row5_top-border_lt ; special case for tall + button
|
||||
bcs :+
|
||||
lda tpp1l
|
||||
cmp #97
|
||||
cmp #col4_left-border_lt
|
||||
bcc miss
|
||||
cmp #116
|
||||
cmp #col4_right+border_br
|
||||
bcs miss
|
||||
lda #'+'
|
||||
sec
|
||||
@ -722,9 +722,9 @@ L0E95: lda #window_id
|
||||
rts
|
||||
|
||||
: lda tpp1l ; special case for wide 0 button
|
||||
cmp #col1_left-1
|
||||
cmp #col1_left-border_lt
|
||||
bcc miss
|
||||
cmp #'='
|
||||
cmp #col2_right+border_br
|
||||
bcs miss
|
||||
lda #'0'
|
||||
sec
|
||||
|
Loading…
x
Reference in New Issue
Block a user