2 ; Oliver Schmidt, 2010-05-24
4 ; int __fastcall__ rootdir (unsigned char drive, char* buf);
10 .include "zeropage.inc"
20 sta mliparam + MLI::ON_LINE::DATA_BUFFER
21 stx mliparam + MLI::ON_LINE::DATA_BUFFER+1
25 sta mliparam + MLI::ON_LINE::UNIT_NUM
33 ; Get volume name length
36 and #15 ; Max volume name length
43 ; Add terminating zero
49 ; Return success ; A = 0
52 oserr: jmp __mappederrno