This module contains high level file handling routines.
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 |
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
|