From e49efcce67aed0c2f18acb6424652ce1d6633134 Mon Sep 17 00:00:00 2001 From: FeralChild64 Date: Thu, 13 Jun 2019 17:01:42 +0200 Subject: [PATCH] implemented SETLFS routine --- c64/kernal/setlfs.s | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/c64/kernal/setlfs.s b/c64/kernal/setlfs.s index 742ef38f..2da967b1 100644 --- a/c64/kernal/setlfs.s +++ b/c64/kernal/setlfs.s @@ -1,3 +1,12 @@ ; Function defined on pp272-273 of C64 Programmers Reference Guide + 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