...
Code Block |
---|
language | none |
---|
title | NQ_Slt ($8903), Read slot type information (system use only) |
---|
|
IN:
BC = NQ_Slt
D = slot
E = bank
OUT: A = configuration (bank usage definition):
BU_NOT = 0 bank is empty
BU_EPR = 1 bank is EPROM
BU_ROM = 2 bank is ROM
BU_WRK = 4 work memory
BU_FIX = 8 fixed memory
BU_RES = 16 reserved memory
BU_APL = 32 bank is application RAM
BU_FRE = 128 bank is available RAM
Registers changed after return:
..BCDEHL/IXIY same
AF....../.... different |
NQ_Mfp
Code Block |
---|
language | none |
---|
title | NQ_Mfp ($8906), Get total of free RAM pages in slot A (OZ V4.2 and newer) |
---|
|
IN:
A = slot number (0 for internal)
BC = NQ_Mfp
OUT:
Fc = 0, it is a RAM device
A = total number of banks in Ram Card ($40 for 1MB)
DE = free pages (1 page = 256 bytes)
Fc = 1, it is not a RAM device
A = RC_ONF (Object not found)
Registers changed after return:
..BC..HL/IXIY same
AF..DE../... different |
Notes
This is a new system API call which was implemented in OZ 4.2. Calling OS_Nq with BC = NQ_Mfp will return Fc = 1, A = RC_Unk in previous OZ releases.
NQ_Mup
Code Block |
---|
title | NQ_Mup ($8909), Get memory used in pool |
---|
|
IN:
IX = memory pool handle
OUT:
Fc = 0,
DE = number of pages used (1 page = 256 bytes)
Fc = 1,
A = RC_HND (bad handle)
Registers changed after return:
A.BC..HL/IXIY same
.F..DE../... different |
Notes
API call implemented in OZ 5.0.