implemented SETLFS routine
This commit is contained in:
1 parent
e5447b3059
commit
e49efcce67
1 file changed
+9
@@ -1,3 +1,12 @@
|
|||||||
; Function defined on pp272-273 of C64 Programmers Reference Guide
|
; Function defined on pp272-273 of C64 Programmers Reference Guide
|
||||||
|
|
||||||
setlfs:
|
setlfs:
|
||||||
|
|
||||||
|
;; There are 6 sane ways to implement this routine,
|
||||||
|
;; I hope this one won't cause similarity to CBM code
|
||||||
|
|
||||||
|
sta current_logical_filenum
|
||||||
|
sty current_secondary_address
|
||||||
|
stx current_device_number
|
||||||
|
|
||||||
rts
|
rts
|
||||||
Reference in new issue
Block a user