Notes
Check for "oz" File Eprom (on a conventional Eprom or on a Flash Memory)
...
On partial success, if a Header is not found, Fz = 0 and the returned BHL pointer indicates that the card might hold a file area, beginning at this location.
If the routine returns Fz = 1, it's an identified File Area Header (pointing to 64 byte header in the top of bank B).
Register parameters
Code Block | ||
---|---|---|
| ||
In: C = slot number (0, 1, 2 or 3) Out: Success, File Area (or potential) available: Fc = 0, BHL = pointer to File Header for slot C (B = absolute bank of slot). (or pointer to free space in potential new File Area). C = size of File Eprom Area in 16K banks Fz = 1, File Header found A = "oz" File Eprom sub type D = size of card in 16K banks (0 - 64) Fz = 0, File Header not found A undefined D undefined Failure: Fc = 1, C = C(in) A = RC_ONF (File Eprom Card/Area not available; possibly no card in slot) A = RC_ROOM (No room for File Area; all banks used for applications) Registers changed after return: .....E../IXIY same AFBCD.HL/.... different |