From b257ac82341a78fbeb5901836e87e895a3f51e68 Mon Sep 17 00:00:00 2001 From: Paul Gardner-Stephen Date: Mon, 22 Apr 2019 12:09:03 +0930 Subject: [PATCH] begin implementing stop routine --- c64/kernal/stop.s | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/c64/kernal/stop.s b/c64/kernal/stop.s index 74b2750c..03e860a9 100644 --- a/c64/kernal/stop.s +++ b/c64/kernal/stop.s @@ -1,3 +1,9 @@ ; Function defined on pp272-273 of C64 Programmers Reference Guide stop: + ;; Bit 7 of BUCKYSTATUS contains the state of the STOP key + ;; (Compute's Mapping the 64, p27) + + ;; Get it into the carry flag by rotating left + lda BUCKYSTATUS + rol rts