This commit is contained in:
Kelvin Sherlock 2015-08-11 20:06:51 -04:00
parent 5641dc5ea0
commit 735ef4ee16
3 changed files with 56 additions and 28 deletions

View File

@ -1,6 +1,7 @@
SOURCES = main.aii volume.aii get_file_info.aii \
open.aii \
id_disk.aii stubs.aii tables.aii device.aii
OBJECTS=$(SOURCES:.aii=.o)

27
open.aii Normal file
View File

@ -0,0 +1,27 @@
include 'gsos.equ'
include 'minix.equ'
include 'fst.equ'
include 'fst.macros'
include 'M16.Debug'
include 'records.equ'
open procname export
; find the inode...
; sanity check the parameters.
lda #file_not_found
sec
rtl
endp
end

View File

@ -1,45 +1,45 @@
include 'gsos.equ'
stubs proc
export judge_name
export change_path
export close
export create
export destroy
export change_path
export set_file_info
export open
export read
export write
export flush
export close
export get_mark
export set_mark
export get_eof
export set_eof
export get_dir_entry
export get_dev_num
export format
export erase_disk
export flush
export format
export get_dev_num
export get_dir_entry
export get_eof
export get_mark
export judge_name
export read
export set_eof
export set_file_info
export set_mark
export write
judge_name
change_path
close
create
destroy
change_path
set_file_info
erase_disk
flush
format
get_dev_num
get_dir_entry
get_eof
get_file_info
get_mark
judge_name
open
read
write
flush
close
get_mark
set_mark
get_eof
set_eof
get_dir_entry
get_dev_num
format
erase_disk
set_file_info
set_mark
write
volume
lda #invalid_fst_op