Assembly Language FileIO Module - fvdhoef/aquarius-plus GitHub Wiki

FileIO Module

This module contains high level file handling routines.


file_load_binary

Load binary file into main memory.
Input BC: Maximum Length
DE: Start Address
HL: String descriptor address
Output A: result code
BC: number of bytes actually read
DE: next destination address
Flags Set S if I/O error
Clobbered HL

file_load_paged

Load binary file into paged memory.
Input A: page
BC: maximum length
DE: start address
HL: string descriptor address
Output A: result code
BC: number of bytes actually read
DE: next destination address
H: destination page
Flags Set Z if llegal page
C if page overflow
S if I/O error
Clobbered AF', H
⚠️ **GitHub.com Fallback** ⚠️