2 ; Oliver Schmidt, 18.04.2005
9 .include "zeropage.inc"
16 ldy #1 + 64+1 ; Length byte + max pathname length+trailing slash
19 ; Use allocated prefix buffer
22 sta mliparam + MLI::PREFIX::PATHNAME
23 stx mliparam + MLI::PREFIX::PATHNAME+1
25 ; Get current working directory
31 ; Check for null prefix
36 ; Set current working directory
37 ; - omit trailing slash and length byte
38 ; - terminating zero already in place
47 done: ldy #1 + 64+1 ; Length byte + max pathname length+trailing slash