adapted to Kick Assembler, some documentation update

This commit is contained in:
FeralChild64 committed 2019-09-07 12:35:21 +02:00
1 parent ae23dbae7b
commit de27124b4f
198 files changed
+4181 -3976

No files matched your search

+13 -16
View File
@@ -1,40 +1,37 @@
;; Compute's Mapping the 64 p93
// Compute's Mapping the 64 p93
basic_do_error:
;; Save error number
// Save error number
txa
pha
;; Print ? at start
lda #$0d
// Print ? at start
lda #$0D
jsr JCHROUT
lda #$3f
lda #$3F
jsr JCHROUT
;; Print main part of error message
// Print main part of error message
pla
tax
jsr print_packed_message
;; Print ERROR at end
// Print ERROR at end
lda #$20
jsr JCHROUT
ldx #33
jsr print_packed_message
;; XXX print IN if not in direct mode
// XXX print IN if not in direct mode
;; XXX print line number if not in direct mode
// XXX print line number if not in direct mode
lda #$0d
lda #$0D
jsr JCHROUT
lda #$0d
lda #$0D // XXX do we need this?
jsr JCHROUT
;; Reset stack, and go back to main loop
ldx #$fe
// Reset stack, and go back to main loop
ldx #$FE
txs
jmp basic_main_loop