documentation update, added STATUS.md document

This commit is contained in:
FeralChild64 committed 2019-07-18 19:04:02 +02:00
1 parent 47019cc25d
commit 212724d8f5
31 files changed
+452 -65

No files matched your search

+12 -3
View File
@@ -1,4 +1,13 @@
; Function defined on pp272-273 of C64 Programmers Reference Guide
;;
;; Official Kernal routine, described in:
;;
;; - [RG64] C64 Programmer's Reference Guide - page 301
;; - [CM64] Compute's Mapping the Commodore 64 - page 232
;;
;; CPU registers that has to be preserved (see [RG64]): .Y
;;
stop:
;; Bit 7 of BUCKYSTATUS contains the state of the STOP key
;; (Compute's Mapping the 64, p27)
@@ -8,10 +17,10 @@ stop:
and #$80
beq stop_pressed
;; By trial and error, we know that Z + C = BREAK
;; By trial and error, we know that Z + C = BREAK
;; and that neither should be set otherwise
lda #$ff
clc
clc
rts
stop_pressed: