more Kernal reorganization
This commit is contained in:
1 parent
076a839f1a
commit
8829ec8090
20 files changed
+2
No files matched your search
@@ -0,0 +1,20 @@
|
||||
|
||||
//
|
||||
// Official Kernal routine, described in:
|
||||
//
|
||||
// - [RG64] C64 Programmer's Reference Guide - page 298/299
|
||||
// - [CM64] Compute's Mapping the Commodore 64 - page 238
|
||||
//
|
||||
// CPU registers that has to be preserved (see [RG64]): .A, .X, .Y
|
||||
//
|
||||
|
||||
SETNAM:
|
||||
|
||||
// There are 6 sane ways to implement this routine,
|
||||
// I hope this one won't cause similarity to CBM code
|
||||
|
||||
sta FNLEN
|
||||
sty FNADDR + 1
|
||||
stx FNADDR + 0
|
||||
|
||||
rts
|
||||
Reference in new issue
Block a user