================================================================== MikeOS -- The Mike Operating System kernel FAT12 FLOPPY DISK ROUTINES ==================================================================


os_get_file_list

Generate comma-separated string of files on floppy

Example:

code here

os_filename_convert

Change 'TEST.BIN' into 'TEST BIN' as per FAT12

Example:

code here

os_load_file

Load file into RAM

Example:

code here

os_write_file

Save (max 64K) file to disk

Example:

code here

os_file_exists

Check for presence of file on the floppy

Example:

code here

os_create_file

Creates a new 0-byte file on the floppy disk

Example:

code here

os_remove_file

Deletes the specified file from the filesystem

Example:

code here

os_rename_file

Change the name of a file on the disk

Example:

code here

os_get_file_size

Get file size information for specified file

Example:

code here

================================================================== INTERNAL OS ROUTINES -- Not accessible to user programs ==================================================================


disk_get_root_entry

Search RAM copy of root dir for file entry

Example:

code here

disk_read_fat

Read FAT entry from floppy into disk_buffer

Example:

code here

disk_write_fat

Save FAT contents from disk_buffer in RAM to disk

Example:

code here

disk_read_root_dir

Get the root directory contents

Example:

code here

disk_write_root_dir

Write root directory contents from disk_buffer to disk

Example:

code here

disk_convert_l2hts

Calculate head, track and sector for int 13h

Example:

code here

RETURN TO MAIN PAGE