NDSummary.OnToolTipsLoaded("File:dos_mapper.h",{1352:"
bool DOSMapper_Init()
Initializes DOS extended BIOS
",1353:"
inline DOS_VarTable* DOSMapper_GetVarTable()
Gets Memory Mappers variable table
",1355:"
bool DOSMapper_Alloc(
u8 type,
u8 slot,
DOS_Segment* seg
)
Allocates a segment.  Implementation of extenpended BIOS\'s ALL_SEG routine.
",1356:"
bool DOSMapper_Free(
u8 seg,
u8 slot
)
Frees a segment.  Implementation of extenpended BIOS\'s FRE_SEG routine.
",1357:"
inline bool DOSMapper_FreeStruct(
DOS_Segment* seg
)
Frees a segment through a structure.
",1359:"
u8 DOSMapper_ReadByte(
u8 seg,
u16 addr
)
Reads byte from given address.  Implementation of extenpended BIOS\'s RD_SEG routine.  /!\\ Warning: The mapper RAM slot must be selected in page-2 when this routine is called.
",1360:"
void DOSMapper_WriteByte(
u8 seg,
u16 addr,
u8 val
)
Writes byte to given address.  Implementation of extenpended BIOS\'s WR_SEG routine.  /!\\ Warning: The mapper RAM slot must be selected in page-2 when this routine is called.
",1362:"
void DOSMapper_SetPage(
u8 page,
u8 seg
)
Selects a segment on the corresponding memory page at the specified address.  Implementation of extenpended BIOS\'s PUT_PH routine.
",1363:"
void DOSMapper_SetPage0(
u8 seg
)
Selects a segment on page 0 (0000h~3FFFh).  Implementation of extenpended BIOS\'s PUT_P0 routine.
",1364:"
void DOSMapper_SetPage1(
u8 seg
)
Selects a segment on page 1 (4000h~7FFFh).  Implementation of extenpended BIOS\'s PUT_P1 routine.
",1365:"
void DOSMapper_SetPage2(
u8 seg
)
Selects a segment on page 2 (8000h~BFFFh).  Implementation of extenpended BIOS\'s PUT_P2 routine.
",1366:"
u8 DOSMapper_GetPage(
u8 page
)
Gets the selected segment number on the corresponding memory page at the specified address.  Implementation of extenpended BIOS\'s GET_PH routine.
",1367:"
u8 DOSMapper_GetPage0()
Gets the segment number on page 0 (0000h~3FFFh).  Implementation of extenpended BIOS\'s GET_P0 routine.
",1368:"
u8 DOSMapper_GetPage1()
Gets the segment number on page 1 (4000h~7FFFh).  Implementation of extenpended BIOS\'s GET_P1 routine.
",1369:"
u8 DOSMapper_GetPage2()
Gets the segment number on page 2 (8000h~BFFFh).  Implementation of extenpended BIOS\'s GET_P2 routine.
",1370:"
u8 DOSMapper_GetPage3()
Gets the segment number on page 3 (C000h~FFFFh).  Implementation of extenpended BIOS\'s GET_P3 routine.
"});