NDSummary.OnToolTipsLoaded("File:system.h",{638:"
Functions to read and write memory
",639:"
inline void Poke(
u16 addr,
u8 val
)
Set a 8-bit value at the given address
",640:"
inline void Poke16(
u16 addr,
u16 val
)
Set a 16-bit value at the given address
",641:"
inline u8 Peek(
u16 addr
)
Get the 8-bit value at the given address
",642:"
inline u16 Peek16(
u16 addr
)
Get the 16-bit value at the given address
",643:"
Functions to access low level functions
",644:"
inline void EnableInterrupt()
Enable interruption
",645:"
inline void DisableInterrupt()
Disable interruption
",646:"
inline void Halt()
Pause the CPU until a new interruption occured
",647:"
Functions to get information from the system
",648:"
inline u8 Sys_GetBIOSInfo()
Get BIOS information (frequency, keyboard type, etc.)
",649:"
inline u8 Sys_GetMSXVersion()
Get the MSX version
",650:"
inline u8 Sys_GetFrequency()
Get the system frequency (from BIOS)
",651:"
inline bool Sys_Is60Hz()
Get the system frequency (from BIOS)
",652:"
inline bool Sys_Is50Hz()
Get the system frequency (from BIOS)
",653:"
Functions to call routines
",1425:"
inline void Call(
u16 addr
)
Direct call a routine at a given address (generate ASM code: "call XXXX") No extra cost due to calling a C function.
",1426:"
inline u8 CallToA(
u16 addr
)
Direct call a routine at a given address (generate ASM code: "call XXXX") No extra cost due to calling a C function.
",655:"
inline void CallA(
u16 addr,
u8 a
)
Direct call a routine at a given address with a 8-bits parameter in register A (generate ASM code: "call XXXX") No extra cost due to calling a C function.
",1427:"
inline u8 CallAToA(
u16 addr,
u8 a
)
Direct call a routine at a given address with a 8-bits parameter in register A (generate ASM code: "call XXXX") No extra cost due to calling a C function.
",656:"
inline void CallL(
u16 addr,
u8 l
)
Direct call a routine at a given address with a 8-bits parameter in register L (generate ASM code: "call XXXX") No extra cost due to calling a C function.
",1428:"
inline u8 CallLToA(
u16 addr,
u8 l
)
Direct call a routine at a given address with a 8-bits parameter in register L (generate ASM code: "call XXXX") No extra cost due to calling a C function.
",657:"
inline void CallHL(
u16 addr,
u16 hl
)
Direct call a routine at a given address with a 16-bits parameter in register HL (generate ASM code: "call XXXX") No extra cost due to calling a C function.
",1429:"
inline u8 CallHLToA(
u16 addr,
u16 hl
)
Direct call a routine at a given address with a 16-bits parameter in register HL (generate ASM code: "call XXXX") No extra cost due to calling a C function.
",658:"
inline u8 CallDriver(
u16 addr,
u8 val
)
Direct call a routine at a given address with a 8-bits parameter in register A (generate ASM code: "call XXXX") No extra cost due to calling a C function.
",659:"
Slot handling functions
",660:"
u8 Sys_GetPageSlot(
u8 page
)
Get the slot ID of a given page
",661:"
void Sys_SetPageSlot(
u8 page,
u8 slotId
)
Select a slot in a given page
",662:"
inline bool Sys_IsSlotExpanded(
u8 slot
)
Check if slot is expanded
",663:"
void Sys_SetPage0Slot(
u8 slotId
)
Select a given slot in page 0
",664:"
inline bool Sys_SlotIsExpended(
u8 slotId
)
Check expended flag from slot ID
",665:"
inline u8 Sys_SlotGetPrimary(
u8 slotId
)
Get primary slot from slot ID
",666:"
inline u8 Sys_SlotGetSecondary(
u8 slotId
)
Get secondary slot from slot ID
",667:"
u8 Sys_CheckSlot(
CheckSlotCallback cb
)
Check all slots with a given callback function
",668:"
Binary address functions
",669:"
inline u16 Sys_GetFirstAddr()
Get first address of program binary
",670:"
inline u16 Sys_GetHeaderAddr()
Get address of program header (if any)
",671:"
inline u16 Sys_GetLastAddr()
Get last address of program binary
",672:"
Miscellaneous helper functions
",673:"
inline void Sys_PlayClickSound()
Play the click sound
",674:"
inline void Sys_StopClickSound()
Stop the click sound
"});