30static volatile __at (0xf323) void ** 
DISKVE;
 
   35static volatile __at (0xf325) 
void ** 
BREAKV;
 
   44static volatile __at (0xf341) uint8_t 
RAMAD0;
 
   53static volatile __at (0xf342) uint8_t 
RAMAD1;
 
   62static volatile __at (0xf343) uint8_t 
RAMAD2;
 
   71static volatile __at (0xf344) uint8_t 
RAMAD3;
 
   80static volatile __at (0xf348) uint8_t 
MASTERS;
 
   83static volatile __at (0xf380) uint8_t 
RDPRIM[5]; 
 
   84static volatile __at (0xf385) uint8_t 
WRPRIM[7]; 
 
   85static volatile __at (0xf38c) uint8_t 
CLPRIM[14]; 
 
   88static volatile __at (0xf39a) 
void * 
USRTAB[10]; 
 
   90static volatile __at (0xf3ae) uint8_t 
LINL40; 
 
   91static volatile __at (0xf3af) uint8_t 
LINL32; 
 
   92static volatile __at (0xf3b0) uint8_t 
LINLEN; 
 
   93static volatile __at (0xf3b1) uint8_t 
CRTCNT; 
 
   94static volatile __at (0xf3b2) uint8_t 
CLMLST; 
 
   97static volatile __at (0xf3b3) uint16_t 
TXTNAM; 
 
   98static volatile __at (0xf3b5) uint16_t 
TXTCOL; 
 
   99static volatile __at (0xf3b7) uint16_t 
TXTCGP; 
 
  100static volatile __at (0xf3b9) uint16_t 
TXTATR; 
 
  101static volatile __at (0xf3bb) uint16_t 
TXTPAT; 
 
  103static volatile __at (0xf3bd) uint16_t 
T32NAM; 
 
  104static volatile __at (0xf3bf) uint16_t 
T32COL; 
 
  105static volatile __at (0xf3c1) uint16_t 
T32CGP; 
 
  106static volatile __at (0xf3c3) uint16_t 
T32ATR; 
 
  107static volatile __at (0xf3c5) uint16_t 
T32PAT; 
 
  109static volatile __at (0xf3c7) uint16_t 
GRPNAM; 
 
  110static volatile __at (0xf3c9) uint16_t 
GRPCOL; 
 
  111static volatile __at (0xf3cb) uint16_t 
GRPCGP; 
 
  112static volatile __at (0xf3cd) uint16_t 
GRPATR; 
 
  113static volatile __at (0xf3cf) uint16_t 
GRPPAT; 
 
  115static volatile __at (0xf3d1) uint16_t 
MLTNAM; 
 
  116static volatile __at (0xf3d3) uint16_t 
MLTCOL; 
 
  117static volatile __at (0xf3d5) uint16_t 
MLTCGP; 
 
  118static volatile __at (0xf3d7) uint16_t 
MLTATR; 
 
  119static volatile __at (0xf3d9) uint16_t 
MLTPAT; 
 
  122static volatile __at (0xf3db) uint8_t 
CLIKSW; 
 
  123static volatile __at (0xf3dc) uint8_t 
CSRY;   
 
  124static volatile __at (0xf3dd) uint8_t 
CSRX;   
 
  125static volatile __at (0xf3de) uint8_t 
CNSDFG; 
 
  128static volatile __at (0xf3df) uint8_t 
RG0SAV; 
 
  129static volatile __at (0xf3e0) uint8_t 
RG1SAV; 
 
  130static volatile __at (0xf3e1) uint8_t 
RG2SAV; 
 
  131static volatile __at (0xf3e2) uint8_t 
RG3SAV; 
 
  132static volatile __at (0xf3e3) uint8_t 
RG4SAV; 
 
  133static volatile __at (0xf3e4) uint8_t 
RG5SAV; 
 
  134static volatile __at (0xf3e5) uint8_t 
RG6SAV; 
 
  135static volatile __at (0xf3e6) uint8_t 
RG7SAV; 
 
  137static volatile __at (0xf3e7) uint8_t 
STATFL; 
 
  140static volatile __at (0xf3e8) uint8_t 
TRGFLG; 
 
  142static volatile __at (0xf3e9) uint8_t 
FORCLR; 
 
  143static volatile __at (0xf3ea) uint8_t 
BAKCLR; 
 
  144static volatile __at (0xf3eb) uint8_t 
BDRCLR; 
 
  146static volatile __at (0xf3ec) uint8_t 
MAXUPD[3]; 
 
  147static volatile __at (0xf3ef) uint8_t 
MINUPD[3]; 
 
  148static volatile __at (0xf3f2) uint8_t 
ATRBYT; 
 
  150static volatile __at (0xf3f3) 
void * 
QUEUES; 
 
  152static volatile __at (0xf3f5) uint8_t 
FRCNEW; 
 
  153static volatile __at (0xf3f6) uint8_t 
SCNCNT; 
 
  154static volatile __at (0xf3f7) uint8_t 
REPCNT; 
 
  155static volatile __at (0xf3f8) 
void *  
PUTPNT; 
 
  156static volatile __at (0xf3fa) 
void *  
GETPNT; 
 
  176static volatile __at (0xf87f) uint8_t 
FNKSTR[10][16];
 
  197static volatile __at (0xf922) uint16_t 
NAMBAS; 
 
  198static volatile __at (0xf924) uint16_t 
CGPBAS; 
 
  199static volatile __at (0xf926) uint16_t 
PATBAS; 
 
  200static volatile __at (0xf928) uint16_t 
ATRBAS; 
 
  216static volatile __at (0xfaf8) uint8_t 
EXBRSA;
 
  221static volatile __at (0xfb20) uint8_t 
HOKVLD; 
 
  241static volatile __at (0xfb21) uint8_t 
DRVTBL[8];
 
  246static volatile __at (0xfc4a) uint16_t 
HIMEM;
 
  258static volatile __at (0xfc9e) uint16_t 
JIFFY;
 
  277static volatile __at (0xfcc1) uint8_t 
EXPTBL[4];
 
  290static volatile __at (0xfcc5) uint8_t 
SLTTBL[4];
 
  316static volatile __at (0xfcc9) uint8_t 
SLTATR[64];
 
  332static volatile __at (0xfd09) uint8_t 
SLTWRK[128];
 
  337static volatile __at(0xfd9a) uint8_t 
H_KEYI[5]; 
 
  338static volatile __at(0xfd9f) uint8_t 
H_TIMI[5]; 
 
  350static volatile __at (0xffca) uint8_t 
FCALL[5];  
 
  351static volatile __at (0xffcf) uint8_t 
DISINT[5]; 
 
  352static volatile __at (0xffd4) uint8_t 
ENAINT[5]; 
 
  356static volatile __at (0xffe7) uint8_t 
RG8SAV; 
 
  357static volatile __at (0xffe8) uint8_t 
RG9SAV; 
 
  358static volatile __at (0xffe9) uint8_t 
RG10SA; 
 
  359static volatile __at (0xffea) uint8_t 
RG11SA; 
 
  360static volatile __at (0xffeb) uint8_t 
RG12SA; 
 
  361static volatile __at (0xffec) uint8_t 
RG13SA; 
 
  362static volatile __at (0xffed) uint8_t 
RG14SA; 
 
  363static volatile __at (0xffee) uint8_t 
RG15SA; 
 
  364static volatile __at (0xffef) uint8_t 
RG16SA; 
 
  365static volatile __at (0xfff0) uint8_t 
RG17SA; 
 
  366static volatile __at (0xfff1) uint8_t 
RG18SA; 
 
  367static volatile __at (0xfff2) uint8_t 
RG19SA; 
 
  368static volatile __at (0xfff3) uint8_t 
RG20SA; 
 
  369static volatile __at (0xfff4) uint8_t 
RG21SA; 
 
  370static volatile __at (0xfff5) uint8_t 
RG22SA; 
 
  371static volatile __at (0xfff6) uint8_t 
RG23SA; 
 
  374static volatile __at (0xfffa) uint8_t 
RG25SA; 
 
  375static volatile __at (0xfffb) uint8_t 
RG26SA; 
 
  376static volatile __at (0xfffc) uint8_t 
RG27SA; 
 
Constant variables in the MSX BIOS ROM.
 
MSX Structure of MSX bitmap fonts (256 pattern x 8x8 pix x 1bpp).
 
Hack for C Compiler portability.
 
static volatile uint16_t NAMBAS
MSX Current pattern name table address.
 
static volatile uint8_t HOKVLD
MSX Extended BIOS flag.
 
static volatile struct cgpnt const CGPNT
MSX Location of the current fonts.
 
static volatile uint8_t RG1SAV
MSX Saved value for VDP R#1 register.
 
static volatile uint8_t REPCNT
MSX Interval time until auto repeat of key input.
 
static volatile uint8_t CSRX
MSX X coordinate of cursor.
 
static volatile void ** DISKVE
MSX Pointer to pointer to disk error routine.
 
static volatile uint8_t MASTERS
MSX Slot address of the master FDC cartridge.
 
static volatile uint8_t RG2SAV
MSX Saved value for VDP R#2 register.
 
static volatile uint16_t GRPPAT
MSX SCREEN 2 / Sprite pattern generator table address.
 
static volatile void * PUTPNT
MSX Pointer to key buffer for writing.
 
static volatile uint8_t RG22SA
MSX2 Saved value for VDP R#22 register.
 
static volatile uint16_t T32CGP
MSX SCREEN 1 / Pattern generator table address.
 
static volatile uint8_t RG18SA
MSX2 Saved value for VDP R#18 register.
 
static volatile uint8_t RG21SA
MSX2 Saved value for VDP R#21 register.
 
static volatile uint8_t RG11SA
MSX2 Saved value for VDP R#11 register.
 
static volatile uint8_t SLTWRK[128]
MSX Workarea for applications (cartridge).
 
static volatile uint8_t FRCNEW
MSX Internal use of BASIC interpreter.
 
static volatile uint8_t RAMAD0
MSX Slot address of page #0 of RAM.
 
uint8_t slot
Slot of the current fonts.
 
static volatile uint8_t STATFL
MSX Saved value for VDP S#0 register.
 
static volatile uint8_t RG8SAV
MSX2 Saved value for VDP R#8 register.
 
static volatile uint8_t DISINT[5]
MSX Used by DOS.
 
static volatile uint8_t RG7SAV
MSX Saved value for VDP R#7 register.
 
static volatile uint16_t T32COL
MSX SCREEN 1 / Color table address.
 
static volatile void ** BREAKV
MSX Pointer to pointer to CTRL+C routine.
 
static volatile uint16_t GRPCGP
MSX SCREEN 2 / Pattern generator table address.
 
static volatile uint16_t ATRBAS
MSX Current sprite attribute table address.
 
static volatile uint16_t GRPCOL
MSX SCREEN 2 / Color table address.
 
static volatile uint8_t FCALL[5]
MSX Used by extended BIOS.
 
static volatile uint8_t MAXUPD[3]
MSX Internal use of LINE statement.
 
static volatile uint8_t RG4SAV
MSX Saved value for VDP R#4 register.
 
static volatile uint8_t ENAINT[5]
MSX Used by DOS
 
static volatile uint16_t JIFFY
MSX Free-running counter that counts up every VSYNC interrupts.
 
static volatile uint8_t RG3SAV
MSX Saved value for VDP R#3 register.
 
static volatile uint8_t RG10SA
MSX2 Saved value for VDP R#10 register.
 
static volatile uint8_t LINLEN
MSX WIDTH of the current screen.
 
static volatile uint16_t HIMEM
MSX The highest address of free area (bottom of stack).
 
static volatile uint8_t RG20SA
MSX2 Saved value for VDP R#20 register.
 
static volatile uint8_t RG23SA
MSX2 Saved value for VDP R#23 register.
 
static volatile uint16_t T32ATR
MSX SCREEN 1 / Sprite attribute table address.
 
static volatile uint16_t TXTNAM
MSX SCREEN 0 / Pattern name table address.
 
static volatile uint8_t MINUPD[3]
MSX Internal use of LINE statement.
 
static volatile uint8_t RG5SAV
MSX Saved value for VDP R#5 register.
 
static volatile uint8_t LINL40
MSX WIDTH in SCREEN 0
 
static volatile uint8_t CNSDFG
MSX Function Key display switch (0:off, non-zero:on).
 
static volatile uint8_t EXBRSA
MSX2 The slot address of SUB ROM
 
static volatile uint8_t ATRBYT
MSX Color in graphic mode / attribute byte.
 
static volatile uint16_t MLTCGP
MSX SCREEN 3 / Pattern generator table address.
 
static volatile uint8_t RG6SAV
MSX Saved value for VDP R#6 register.
 
static volatile uint8_t H_TIMI[5]
Hook for timer interrupts (VSYNC).
 
static volatile void * GETPNT
MSX Pointer to key buffer for reading.
 
static volatile uint8_t CLMLST
MSX Used for PRINT statement.
 
static volatile uint16_t TXTCGP
MSX SCREEN 0 / Pattern generator table address.
 
static volatile uint8_t BDRCLR
MSX Border color.
 
static volatile uint8_t RAMAD3
MSX Slot address of page #3 of RAM.
 
static volatile uint8_t RG16SA
MSX2 Saved value for VDP R#16 register.
 
static volatile uint8_t CRTCNT
MSX Number of lines of the current screen.
 
static volatile uint8_t RG25SA
MSX2+ Saved value for VDP R#25 register.
 
static volatile uint8_t CLIKSW
MSX Key click beep switch (0:off, non-zero:on).
 
static volatile uint8_t RG15SA
MSX2 Saved value for VDP R#15 register.
 
static volatile uint8_t RG27SA
MSX2+ Saved value for VDP R#27 register.
 
static volatile uint8_t FORCLR
MSX Foreground color.
 
static volatile uint16_t GRPNAM
MSX SCREEN 2 / Pattern name table address.
 
static volatile void * QUEUES
MSX Pointer to the queue table of PLAY statement.
 
static volatile void * USRTAB[10]
MSX Table of start address of USR0..USR9.
 
static volatile uint16_t TXTPAT
(unused)
 
static volatile uint8_t RG14SA
MSX2 Saved value for VDP R#14 register.
 
static volatile uint16_t TXTATR
(unused)
 
static volatile uint8_t DRVTBL[8]
MSX Slot and number of drives for each Floppy Disk Controller (FDC).
 
struct font * addr
Address of the current fonts.
 
static volatile uint16_t GRPATR
MSX SCREEN 2 / Sprite attribute table address.
 
static volatile uint16_t T32PAT
MSX SCREEN 1 / Sprite pattern generator table address.
 
static volatile uint16_t MLTNAM
MSX SCREEN 3 / Pattern name table address.
 
static volatile uint8_t RAMAD1
MSX Slot address of page #1 of RAM.
 
static volatile uint8_t RG12SA
MSX2 Saved value for VDP R#12 register.
 
static volatile uint8_t LINL32
MSX WIDTH in SCREEN 1
 
static volatile uint8_t SLTTBL[4]
MSX Save area for expanded slot select registers.
 
static volatile uint8_t SCNCNT
MSX Key scanning interval time.
 
static volatile uint8_t FNKSTR[10][16]
MSX String for each function keys.
 
static volatile uint8_t SLTATR[64]
MSX Attributes for application (cartridge).
 
static volatile uint8_t RDPRIM[5]
MSX Inter-slot read from primary slot.
 
static volatile uint16_t CGPBAS
MSX Current pattern generator table address.
 
static volatile uint16_t TXTCOL
MSX2 SCREEN 0 / Color table address.
 
static volatile uint8_t RG17SA
MSX2 Saved value for VDP R#17 register.
 
static volatile uint8_t RAMAD2
MSX Slot address of page #2 of RAM.
 
static volatile uint16_t T32NAM
MSX SCREEN 1 / Pattern name table address.
 
static volatile uint8_t H_KEYI[5]
Hook for interrupts.
 
static volatile uint8_t BAKCLR
MSX Background color.
 
static volatile uint8_t CLPRIM[14]
MSX Inter-slot call to primary slot.
 
static volatile uint8_t TRGFLG
MSX Joystick trigger button state.
 
static volatile uint16_t MLTCOL
(unused)
 
static volatile uint16_t MLTPAT
MSX SCREEN 3 / Sprite pattern generator table address.
 
static volatile uint8_t RG26SA
MSX2+ Saved value for VDP R#26 register.
 
static volatile uint16_t PATBAS
MSX Current sprite pattern generator table address.
 
static volatile uint8_t CSRY
MSX Y coordinate of cursor.
 
static volatile uint8_t RG0SAV
MSX Saved value for VDP R#0 register.
 
static volatile uint8_t RG13SA
MSX2 Saved value for VDP R#13 register.
 
static volatile uint8_t RG9SAV
MSX2 Saved value for VDP R#9 register.
 
static volatile uint8_t RG19SA
MSX2 Saved value for VDP R#19 register.
 
static volatile uint16_t MLTATR
MSX SCREEN 3 / Sprite attribute table address.
 
static volatile uint8_t EXPTBL[4]
MSX Expansion flags for each primary slots.
 
static volatile uint8_t WRPRIM[7]
MSX Inter-slot write to primary slot.