NDSummary.OnToolTipsLoaded("File:bios.h",{1443:"
void BIOS_Exit(
u8 ret
)
Handle clean exit form Basic or MSX-DOS environment
",1444:"
inline void BIOS_SetKeyClick(
bool enable
)
Enable or disable key click
",1445:"
inline u8 BIOS_GetMSXVersion()
Get MSX generation version
",654:"
inline void BIOS_Reboot()
Tests RAM and sets RAM slot for the system.  Wrapper for CHKRAM routine.
",1545:"
u8 BIOS_InterSlotRead(
u8 slot,
u16 addr
)
Reads the value of an address in another slot.  Wrapper for RDSLT routine.
",1546:"
void BIOS_InterSlotWrite(
u8 slot,
u16 addr,
u8 value
)
Writes a value to an address in another slot.  Wrapper for WRSLT routine.
",1547:"
void BIOS_InterSlotCall(
u8 slot,
u16 addr
)
Executes inter-slot call.  Wrapper for CALSLT routine.
",1548:"
void BIOS_SwitchSlot(
u8 page,
u8 slot
)
Switches to specified slot and page definitively.  Wrapper for ENASLT routine.
",1452:"
Executes an interslot call.  Wrapper for CALLF routine.
",1455:"
inline void BIOS_DisableScreen()
Inhibits the screen display. Wrapper for DISSCR routine.
",1456:"
inline void BIOS_EnableScreen()
Displays the screen. Wrapper for ENASCR routine.
",1457:"
Display or disable the screen.
",1458:"
void BIOS_WriteVDP(
u8 reg,
u8 value
)
Writes data in the VDP-register. Wrapper for WRTVDP routine.
",1549:"
inline u8 BIOS_ReadVDP(
u8 reg
)
Reads data from the VDP-register.
",1467:"
inline u8 BIOS_ReadVRAM(
u16 addr
)
Reads the content of VRAM. Wrapper for RDVRM routine.
",1468:"
void BIOS_WriteVRAM(
u8 value,
u16 addr
)
Writes data in VRAM. Wrapper for WRTVRM routine.
",1469:"
inline void BIOS_SetAddressForRead(
u16 addr
)
Enables VDP to read. Wrapper for SETRD routine.
",1470:"
inline void BIOS_SetAddressForWrite(
u16 addr
)
Enables VDP to write. Wrapper for SETWRT routine.
",1471:"
void BIOS_FillVRAM(
u16 addr,
u16 length,
u8 value
)
Fills VRAM with value. Wrapper for FILVRM routine.
",1472:"
void BIOS_CopyVRAMtoRAM(
u16 vram,
voidram,
u16 length
)
Block transfer to memory from VRAM. Wrapper for LDIRMV routine.
",1473:"
void BIOS_CopyRAMtoVRAM(
const voidram,
u16 vram,
u16 length
)
Block transfer to VRAM from memory. Wrapper for LDIRVM routine.
",1474:"
inline void BIOS_SetScreenMode(
u8 screen
)
Switches to given screen mode. Wrapper for CHGMOD routine.
",1475:"
inline void BIOS_SetColor(
u8 text,
u8 back,
u8 border
)
Set screen colors.
",1476:"
inline void BIOS_ApplyColor(
u8 text,
u8 back,
u8 border
)
Changes the screen colors. Wrapper for CHGCLR routine.
",1477:"
inline void BIOS_ApplyBorder(
u8 border
)
Changes the screen colors. Wrapper for CHGCLR routine.
",1478:"
inline void BIOS_SetWidth40(
u8 width
)
",1479:"
inline void BIOS_InitScreen0()
Switches to SCREEN 0 (text screen with 40*24 characters). Wrapper for INITXT routine.
",1480:"
inline void BIOS_InitScreen0Color(
u8 width,
u8 text,
u8 back,
u8 border
)
Switches to SCREEN 0 (text screen with 40*24 characters). Wrapper for INITXT routine.
",1481:"
inline void BIOS_InitScreen0Ex(
u16 pnt,
u16 pgt,
u8 width,
u8 text,
u8 back,
u8 border
)
Switches to SCREEN 0 (text screen with 40*24 characters). Wrapper for INITXT routine.
",1482:"
inline void BIOS_SetScreen0()
Switches VDP in SCREEN 0 mode. Wrapper for SETTXT routine.
",1483:"
inline void BIOS_SetWidth32(
u8 width
)
",1484:"
inline void BIOS_InitScreen1()
Switches to SCREEN 1 (text screen with 32*24 characters). Wrapper for INIT32 routine.
",1485:"
inline void BIOS_InitScreen1Color(
u8 width,
u8 text,
u8 back,
u8 border
)
Switches to SCREEN 1 (text screen with 32*24 characters). Wrapper for INIT32 routine.
",1486:"
inline void BIOS_InitScreen1Ex(
u16 pnt,
u16 ct,
u16 pgt,
u16 sat,
u16 sgt,
u8 width,
u8 text,
u8 back,
u8 border
)
Switches to SCREEN 1 (text screen with 32*24 characters). Wrapper for INIT32 routine.
",1487:"
inline void BIOS_SetScreen1()
Switches VDP in SCREEN 1 mode. Wrapper for SETT32 routine.
",1488:"
inline void BIOS_InitScreen2()
Switches to SCREEN 2 (high resolution screen with 256*192 pixels). Wrapper for INIGRP routine.
",1489:"
inline void BIOS_InitScreen2Color(
u8 width,
u8 text,
u8 back,
u8 border
)
Switches to SCREEN 2 (high resolution screen with 256*192 pixels). Wrapper for INIGRP routine.
",1490:"
inline void BIOS_InitScreen2Ex(
u16 pnt,
u16 ct,
u16 pgt,
u16 sat,
u16 sgt,
u8 width,
u8 text,
u8 back,
u8 border
)
Switches to SCREEN 2 (high resolution screen with 256*192 pixels). Wrapper for INIGRP routine.
",1491:"
inline void BIOS_SetScreen2()
Switches VDP to SCREEN 2 mode. Wrapper for SETGRP routine.
",1550:"
inline void BIOS_InitScreen3()
Switches to SCREEN 3 (multi-color screen 64*48 pixels). Wrapper for INIMLT routine.
",1551:"
void BIOS_InitScreen3Ex(
u16 pnt,
u16 ct,
u16 pgt,
u16 sat,
u16 sgt,
u8 text,
u8 bg,
u8 border
)
Switches to SCREEN 3 (multi-color screen 64*48 pixels). Wrapper for INIMLT routine.
",1552:"
inline void BIOS_SetScreen3()
Switches VDP to SCREEN 3 mode. Wrapper for SETMLT routine.
",1553:"
inline void BIOS_ClearSprites()
Initialises all sprites.
",1496:"
inline void BIOS_SetSpriteMode(
u8 size,
u8 mag
)
Set sprite size (8x8 or 16x16) and magnification mode (x1 or x2).
",1497:"
u16 BIOS_GetSpritePatternAddress(
u8 id
)
Returns the address of the sprite pattern table. Wrapper for CALPAT routine.
",1498:"
u16 BIOS_GetSpriteAttributeAddress(
u8 id
)
Returns the address of the sprite attribute table. Wrapper for CALATR routine.
",1499:"
inline void BIOS_SetSpritePosition(
u8 id,
u8 x,
u8 y
)
Set the position of a sprite on the screen.
",1500:"
inline void BIOS_SetSpritePattern(
u8 id,
u8 pat
)
Set the pattern of a sprite.
",1501:"
inline void BIOS_SetSpriteColor(
u8 id,
u8 color
)
Set the color of a sprite.
",1502:"
inline void BIOS_SetSprite(
u8 id,
u8 x,
u8 y,
u8 pat,
u8 color
)
Set sprite attributes.
",1503:"
inline void BIOS_SetSpriteData(
u8 id,
const BIOS_SpriteAttributes* attrs
)
Set a sprite attributes.
",1504:"
inline u8 BIOS_GetSpriteSize()
Returns current sprite size in bytes (8 or 32). Wrapper for GSPSIZ routine.
",1505:"
inline bool BIOS_IsSpriteCollision()
Returns FALSE if no collision occured during the previous frame, otherwise returns S00_C.  This function use value of VDP status register S#0 that BIOS backup in RAM (STATFL).
",1506:"
inline bool BIOS_IsSpriteOverScan()
Returns FALSE if no over-scan occured during the previous frame (more than 4/8 sprites on the same line), otherwise returns S00_5S.  This function use value of VDP status register S#0 that BIOS backup in RAM (STATFL).
",1507:"
inline u8 BIOS_GetSpriteOverScanId()
Returns index of the over-scaned sprite (5th/8th sprite on line). Value is in 0-31 range.  This function use value of VDP status register S#0 that BIOS backup in RAM (STATFL).
",1508:"
inline void BIOS_GraphSetCursor(
u16 x,
u16 y
)
Moves graphical cursor to the specified position.
",1509:"
inline void BIOS_GraphPrintChar(
u8 chr
)
Displays a character on the graphic screen. Wrapper for GRPPRT routine.
",1510:"
inline void BIOS_GraphPrint(
const c8* str
)
Displays a string on the graphic screen. Wrapper for GRPPRT routine.
",1511:"
inline void BIOS_GraphPrintAt(
u16 x,
u16 y,
const c8* str
)
Displays a string on the graphic screen. Wrapper for GRPPRT routine.
",1512:"
inline void BIOS_GraphSetOperator(
u8 op
)
Changes the operator used for graphical print.
",1514:"
inline void BIOS_InitPSG()
Initialises PSG and sets initial value for the PLAY statement. Wrapper for GICINI routine.
",1540:"
void BIOS_WritePSG(
u8 reg,
u8 value
)
Writes data to PSG-register. Wrapper for WRTPSG routine.
",1515:"
inline u8 BIOS_ReadPSG(
u8 reg
)
Reads value from PSG-register. Wrapper for RDPSG routine.
",1516:"
inline void BIOS_PlayPSG()
Tests whether the PLAY statement is being executed as a background task. Wrapper for STRTMS routine.
",1519:"
inline c8 BIOS_GetCharacter()
One character input (waiting). Wrapper for CHGET routine.
",1554:"
u8 BIOS_HasCharacter()
Get a character input (if any) or return 0.
",1521:"
void BIOS_TextSetCursor(
u8 x,
u8 y
)
Moves cursor to the specified position. Wrapper for POSIT routine.
",1522:"
inline void BIOS_TextPrintChar(
c8 chr
)
Displays one character. Wrapper for CHPUT routine.
",1523:"
inline void BIOS_TextPrint(
const c8* str
)
Displays a null-terminated string.
",1524:"
inline void BIOS_TextPrintAt(
u8 x,
u8 y,
const c8* str
)
Print a text at the specified position
",1525:"
inline void BIOS_Beep()
Generates beep. Wrapper for BEEP routine.
",1526:"
void BIOS_ClearScreen()
Clears the screen. Wrapper for CLS routine.
",1528:"
inline u8 BIOS_GetJoystickDirection(
u8 port
)
Returns the state of the joystick or the cursor keys.  Wrapper for GTSTCK routine.
",1529:"
inline bool BIOS_GetJoystickTrigger(
u8 trigger
)
Returns the state of the mouse, joystick or keyboard space bar buttons.  Wrapper for GTTRIG routine.
",1530:"
inline u8 BIOS_GetTouchPad(
u8 entry
)
Returns the touch pad status.  Wrapper for GTPAD routine.
",1531:"
inline u8 BIOS_GetPaddle(
u8 num
)
Returns the paddle position.  Wrapper for GTPDL routine.
",1555:"
inline u8 BIOS_GetKeyboardMatrix(
u8 line
)
Returns the value of the specified line from the keyboard matrix. Wrapper for SNSMAT routine.
",1556:"
inline bool BIOS_IsKeyPressed(
u8 key
)
Check if the given key is pressed
",1557:"
inline void BIOS_SetCPUMode(
u8 mode
)
Changes CPU mode. Wrapper for CHGCPU routine.
",1558:"
inline u8 BIOS_GetCPUMode()
Returns current CPU mode. Wrapper for GETCPU routine.
"});