libmsx
C library for MSX
Loading...
Searching...
No Matches
bios_const.h File Reference

Constant variables in the MSX BIOS ROM. More...

#include <stdint.h>
#include "config.h"
+ Include dependency graph for bios_const.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  font
 MSX Structure of MSX bitmap fonts (256 pattern x 8x8 pix x 1bpp). More...
 

Macros

#define BIOS_CONST_H
 

Variables

static const struct font *const CGTBL
 MSX Pointer to MSX fonts in MAIN ROM (0004H / MAIN).
 
static const uint8_t INTERNATIONAL_ID_1
 MSX International identifier code #1 of MSX BIOS (002BH / MAIN).
 
static const uint8_t INTERNATIONAL_ID_2
 MSX International identifier code #2 of MSX BIOS (002CH / MAIN).
 
static const uint8_t MSX_SYSTEM_VERSION_CODE
 MSX System version code of MSX BIOS (002DH / MAIN).
 

Detailed Description

Constant variables in the MSX BIOS ROM.

Note
This defines address, type, and name of variables.

Definition in file bios_const.h.


Data Structure Documentation

◆ font

struct font

MSX Structure of MSX bitmap fonts (256 pattern x 8x8 pix x 1bpp).

See also
CGTBL
CGPNT

Definition at line 31 of file bios_const.h.

Data Fields
uint8_t data[256][8]

Macro Definition Documentation

◆ BIOS_CONST_H

#define BIOS_CONST_H

Definition at line 21 of file bios_const.h.

Variable Documentation

◆ CGTBL

const struct font* const CGTBL
static

MSX Pointer to MSX fonts in MAIN ROM (0004H / MAIN).

See also
CGPNT

Definition at line 39 of file bios_const.h.

◆ INTERNATIONAL_ID_1

const uint8_t INTERNATIONAL_ID_1
static

MSX International identifier code #1 of MSX BIOS (002BH / MAIN).

See also
MSX Datapack Volume 1, pp.322

Definition at line 46 of file bios_const.h.

◆ INTERNATIONAL_ID_2

const uint8_t INTERNATIONAL_ID_2
static

MSX International identifier code #2 of MSX BIOS (002CH / MAIN).

See also
MSX Datapack Volume 1, pp.322

Definition at line 53 of file bios_const.h.

◆ MSX_SYSTEM_VERSION_CODE

const uint8_t MSX_SYSTEM_VERSION_CODE
static

MSX System version code of MSX BIOS (002DH / MAIN).

The system version code written to address 002DH in MAIN ROM is as follows:

platform BASIC version value at 002DH
MSX BASIC 1.xx 0
MSX2 BASIC 2.xx 1
MSX2+ BASIC 3.xx 2
MSXturboR BASIC 4.xx 3
See also
MSX Datapack Volume 1, pp.322
MSX Datapack Volume 3, pp.43

Definition at line 70 of file bios_const.h.