Added (naive) implementation of dio_query_sectcount() and dio_query_sectsize() for GEOS 64/128.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5873 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
14
libsrc/geos-cbm/disk/dio_qsize.s
Normal file
14
libsrc/geos-cbm/disk/dio_qsize.s
Normal file
@@ -0,0 +1,14 @@
|
||||
;
|
||||
; Oliver Schmidt, 2012-10-23
|
||||
;
|
||||
; unsigned __fastcall__ dio_query_sectsize (dhandle_t handle);
|
||||
;
|
||||
|
||||
.export _dio_query_sectsize
|
||||
.import __oserror
|
||||
|
||||
_dio_query_sectsize:
|
||||
lda #<256
|
||||
ldx #>256
|
||||
sta __oserror
|
||||
rts
|
||||
Reference in New Issue
Block a user