2 ; Christian Groessler, October 2000
4 ; This file provides the __dio_open and __dio_close functions
5 ; Since on the Atari no real open and close is necessary, they
6 ; do not much. The __dio_open queries the sector size of the
7 ; drive which is later used by the _dio_read and _dio_write
10 ; unsigned char __fastcall__ _dio_open (_driveid_t drive_id);
11 ; unsigned char __fastcall__ _dio_close (_driveid_t drive_id);
14 .export __dio_open,__dio_close
28 asl a ; make index from drive id
30 lda #128 ; currently hardcoded (until I get an 815 :-)
35 ; fall thru to __dio_close