implemented CLALL routine, added support for LAT/SAT/FAT and LDTND variables
This commit is contained in:
1 parent
9fa2e8b1fa
commit
9ee2fd2af5
5 files changed
+102
-7
No files matched your search
+15
-1
@@ -1,2 +1,16 @@
|
||||
|
||||
clall:
|
||||
rts
|
||||
|
||||
;; Implemented according to 'C64 Programmer's Reference Guide', page 281
|
||||
;; Not entirely sure if it just sets LDTND to 0 or actually calls CLOSE,
|
||||
;; but calling CLOSE for all open channels seems to be the safest
|
||||
|
||||
ldy LDTND
|
||||
beq +
|
||||
dey
|
||||
lda LAT, y
|
||||
jsr close
|
||||
jmp clall
|
||||
*
|
||||
;; 'C64 Programmers Reference Guide', page 281, claims it calls CLRCHN too
|
||||
jmp clrchn
|
||||
Reference in new issue
Block a user