libmsx
C library for MSX
Loading...
Searching...
No Matches

Initialization functions for TEXT 1 and 2 mode. More...

+ Collaboration diagram for TEXT mode:

Functions

void screen0 (void)
 MSX SCREEN 0: WIDTH 40 (TEXT 1 mode).
 
void screen0_W80 (void)
 MSX2 SCREEN 0: WIDTH 80 (TEXT 2 mode).
 

Detailed Description

Initialization functions for TEXT 1 and 2 mode.

Function Documentation

◆ screen0()

void screen0 ( void  )

MSX SCREEN 0: WIDTH 40 (TEXT 1 mode).

  • 40 columns x 24 lines text mode.
  • No sprites.

VRAM memory map

VRAM address size contents
0x00000 0x03c0 Pattern name table
0x00800 0x0800 Pattern generator table
Note
Patterns can be defined for each 256-character fonts (pattern generator table in VRAM).

◆ screen0_W80()

void screen0_W80 ( void  )

MSX2 SCREEN 0: WIDTH 80 (TEXT 2 mode).

  • 80 columns x 24 lines text mode.
  • No sprites.

VRAM memory map

VRAM address size contents
0x00000 0x0780 Pattern name table
0x01000 0x0800 Pattern generator table
0x00800 0x010e Color table

Color table is used as blink table (1-bit * 80 columns * 24 lines). Characters blinks if the corresponding bit of the color table is set, according to the value of VDP control register R#12 and R#13.

Note
Patterns can be defined for each 256-character fonts (pattern generator table in VRAM).