login | register
Fri 18 of May, 2012 (01:00 UTC)

V6Z80P Documentation

Similar PagesHistorys5 slideshowPrint

kjt_create_file

Created by: phil, Last modification: Tue 16 of Mar, 2010 (15:19 UTC)
Name:

kjt_create_file

Action:

Makes a file stub for a new file on current disk, current directory.

Input Registers:

HL = address of zero terminated filename.

When PQFS was used the followin registers were also required:

IX = address that file should load back to when no overrides are specified upon load.
B = bank part of reload address (when no overrides are specified upon load)

However, FAT16 cannot not store this information and so IX and B do not need to be set.


Output Registers :

If Zero Flag is set, operation completed OK

Else:

If A = $00, B = hardware device error flags.
If A <> $00, see error code table

Search


Last modif pages