diff --git a/bot_demo/botdemo.s b/bot_demo/botdemo.s index 640cef98..040d3d1a 100644 --- a/bot_demo/botdemo.s +++ b/bot_demo/botdemo.s @@ -141,7 +141,7 @@ not_trigger: command: .byte $00 which: .byte $00 -timeout: .byte 10 +timeout: .byte 8 ; original timeout trigger: .byte $00 original_stack: .byte $00 diff --git a/bot_demo/commands.s b/bot_demo/commands.s index 0d1d092b..3f6d3bc3 100644 --- a/bot_demo/commands.s +++ b/bot_demo/commands.s @@ -131,7 +131,16 @@ bottom_loop: ;============================= ;============================= do_run: + + lda which_file ; is actually +1 at this point + cmp #5 ; raster + beq no_home + + cmp #7 + bcs no_home + jsr HOME +no_home: lda #