mirror of
https://github.com/mi57730/a2d.git
synced 2024-11-25 10:30:50 +00:00
Disk Copy Overlay disasm
This commit is contained in:
parent
dd2422fb83
commit
c519a28769
@ -2593,8 +2593,8 @@ LED58: cmp #MGTK::EventKind::key_down
|
|||||||
bne :+
|
bne :+
|
||||||
jsr set_pen_xor
|
jsr set_pen_xor
|
||||||
MGTK_RELAY_CALL2 MGTK::PaintRect, cancel_rect
|
MGTK_RELAY_CALL2 MGTK::PaintRect, cancel_rect
|
||||||
LED79: lda #$01
|
LED79: lda #1
|
||||||
jmp LEE6A
|
jmp clear_and_return_value
|
||||||
|
|
||||||
: bit message_flags
|
: bit message_flags
|
||||||
bvs LEDE2
|
bvs LEDE2
|
||||||
@ -2615,21 +2615,21 @@ LED79: lda #$01
|
|||||||
|
|
||||||
do_no: jsr set_pen_xor
|
do_no: jsr set_pen_xor
|
||||||
MGTK_RELAY_CALL2 MGTK::PaintRect, no_rect
|
MGTK_RELAY_CALL2 MGTK::PaintRect, no_rect
|
||||||
lda #$03
|
lda #3
|
||||||
jmp LEE6A
|
jmp clear_and_return_value
|
||||||
|
|
||||||
do_yes: jsr set_pen_xor
|
do_yes: jsr set_pen_xor
|
||||||
MGTK_RELAY_CALL2 MGTK::PaintRect, yes_rect
|
MGTK_RELAY_CALL2 MGTK::PaintRect, yes_rect
|
||||||
lda #$02
|
lda #2
|
||||||
jmp LEE6A
|
jmp clear_and_return_value
|
||||||
|
|
||||||
LEDC1: pla
|
LEDC1: pla
|
||||||
cmp #'a'
|
cmp #'a'
|
||||||
bne LEDD7
|
bne LEDD7
|
||||||
LEDC6: jsr set_pen_xor
|
LEDC6: jsr set_pen_xor
|
||||||
MGTK_RELAY_CALL2 MGTK::PaintRect, ok_try_again_rect
|
MGTK_RELAY_CALL2 MGTK::PaintRect, ok_try_again_rect
|
||||||
lda #$00
|
lda #0
|
||||||
jmp LEE6A
|
jmp clear_and_return_value
|
||||||
|
|
||||||
LEDD7: cmp #'A'
|
LEDD7: cmp #'A'
|
||||||
beq LEDC6
|
beq LEDC6
|
||||||
@ -2641,8 +2641,8 @@ LEDE2: cmp #CHAR_RETURN
|
|||||||
bne LEDF7
|
bne LEDF7
|
||||||
jsr set_pen_xor
|
jsr set_pen_xor
|
||||||
MGTK_RELAY_CALL2 MGTK::PaintRect, ok_try_again_rect
|
MGTK_RELAY_CALL2 MGTK::PaintRect, ok_try_again_rect
|
||||||
LEDF2: lda #$00
|
LEDF2: lda #0
|
||||||
jmp LEE6A
|
jmp clear_and_return_value
|
||||||
|
|
||||||
LEDF7: jmp input_loop
|
LEDF7: jmp input_loop
|
||||||
|
|
||||||
@ -2685,7 +2685,8 @@ LEE67: jmp input_loop
|
|||||||
|
|
||||||
;;; ============================================================
|
;;; ============================================================
|
||||||
|
|
||||||
LEE6A: pha
|
clear_and_return_value:
|
||||||
|
pha
|
||||||
MGTK_RELAY_CALL2 MGTK::SetPortBits, portbits2
|
MGTK_RELAY_CALL2 MGTK::SetPortBits, portbits2
|
||||||
MGTK_RELAY_CALL2 MGTK::SetPenMode, pencopy
|
MGTK_RELAY_CALL2 MGTK::SetPenMode, pencopy
|
||||||
MGTK_RELAY_CALL2 MGTK::PaintRect, rect_E89F
|
MGTK_RELAY_CALL2 MGTK::PaintRect, rect_E89F
|
||||||
@ -2728,8 +2729,8 @@ LEEEA: lda ok_button_state_flag
|
|||||||
beq LEEF2
|
beq LEEF2
|
||||||
jmp input_loop
|
jmp input_loop
|
||||||
|
|
||||||
LEEF2: lda #$00
|
LEEF2: lda #0
|
||||||
jmp LEE6A
|
jmp clear_and_return_value
|
||||||
|
|
||||||
ok_button_state_flag:
|
ok_button_state_flag:
|
||||||
.byte 0
|
.byte 0
|
||||||
@ -2771,8 +2772,8 @@ LEF5A: lda cancel_button_state_flag
|
|||||||
beq LEF62
|
beq LEF62
|
||||||
jmp input_loop
|
jmp input_loop
|
||||||
|
|
||||||
LEF62: lda #$01
|
LEF62: lda #1
|
||||||
jmp LEE6A
|
jmp clear_and_return_value
|
||||||
|
|
||||||
cancel_button_state_flag:
|
cancel_button_state_flag:
|
||||||
.byte 0
|
.byte 0
|
||||||
@ -2814,8 +2815,8 @@ LEFCA: lda try_again_button_state_flag
|
|||||||
beq LEFD2
|
beq LEFD2
|
||||||
jmp input_loop
|
jmp input_loop
|
||||||
|
|
||||||
LEFD2: lda #$00
|
LEFD2: lda #0
|
||||||
jmp LEE6A
|
jmp clear_and_return_value
|
||||||
|
|
||||||
try_again_button_state_flag:
|
try_again_button_state_flag:
|
||||||
.byte 0
|
.byte 0
|
||||||
@ -2857,8 +2858,8 @@ LF03A: lda no_button_state_flag
|
|||||||
beq LF042
|
beq LF042
|
||||||
jmp input_loop
|
jmp input_loop
|
||||||
|
|
||||||
LF042: lda #$03
|
LF042: lda #3
|
||||||
jmp LEE6A
|
jmp clear_and_return_value
|
||||||
|
|
||||||
no_button_state_flag:
|
no_button_state_flag:
|
||||||
.byte 0
|
.byte 0
|
||||||
@ -2900,8 +2901,8 @@ LF0AA: lda yes_button_state_flag
|
|||||||
beq LF0B2
|
beq LF0B2
|
||||||
jmp input_loop
|
jmp input_loop
|
||||||
|
|
||||||
LF0B2: lda #$02
|
LF0B2: lda #2
|
||||||
jmp LEE6A
|
jmp clear_and_return_value
|
||||||
|
|
||||||
yes_button_state_flag:
|
yes_button_state_flag:
|
||||||
.byte 0
|
.byte 0
|
||||||
|
Loading…
Reference in New Issue
Block a user