KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
Structure

Structure of the Bios Font More...

Topics

 Dreamcast-Specific
 Dreamcast-specific BIOS icon offsets.
 

Macros

#define BFONT_NARROW_START   0
 Start of Narrow Characters in Font Block.
 
#define BFONT_OVERBAR   BFONT_NARROW_START
 
#define BFONT_ISO_8859_1_33_126   (BFONT_NARROW_START + ( 1 * BFONT_BYTES_PER_CHAR))
 
#define BFONT_YEN   (BFONT_NARROW_START + (95 * BFONT_BYTES_PER_CHAR))
 
#define BFONT_ISO_8859_1_160_255   (BFONT_NARROW_START + (96 * BFONT_BYTES_PER_CHAR))
 
#define JISX_0208_ROW_SIZE   94
 Size of a row for JISX-0208 characters.
 
#define BFONT_WIDE_START   (288 * BFONT_BYTES_PER_CHAR)
 Start of Wide Characters in Font Block.
 
#define BFONT_JISX_0208_ROW1   BFONT_WIDE_START
 Start of JISX-0208 Rows 1-7 in Font Block.
 
#define BFONT_JISX_0208_ROW16   (BFONT_WIDE_START + (658 * BFONT_BYTES_PER_CHAR))
 Start of JISX-0208 Row 16-47 (Start of Level 1) in Font Block.
 
#define BFONT_JISX_0208_ROW48   (BFONT_JISX_0208_ROW16 + ((32 * JISX_0208_ROW_SIZE) * BFONT_BYTES_PER_CHAR))
 JISX-0208 Row 48-84 (Start of Level 2) in Font Block.
 
#define BFONT_DREAMCAST_SPECIFIC   (BFONT_WIDE_START + (7056 * BFONT_BYTES_PER_CHAR))
 Start of DC Specific Characters in Font Block.
 
#define BFONT_DC_ICON(offset)   (BFONT_DREAMCAST_SPECIFIC + ((offset) * BFONT_BYTES_PER_CHAR))
 Takes a DC-specific icon index and returns a character offset.
 
#define BFONT_ICON_DIMEN   32
 Dimension of vmu icons.
 
#define BFONT_VMU_DREAMCAST_SPECIFIC   (BFONT_DREAMCAST_SPECIFIC+(22 * BFONT_BYTES_PER_CHAR))
 

Enumerations

enum  bfont_vmu_icon_t {
  BFONT_ICON_INVALID_VMU = 0x00 , BFONT_ICON_HOURGLASS_ONE = 0x01 , BFONT_ICON_HOURGLASS_TWO = 0x02 , BFONT_ICON_HOURGLASS_THREE = 0x03 ,
  BFONT_ICON_HOURGLASS_FOUR = 0x04 , BFONT_ICON_VMUICON = 0x05 , BFONT_ICON_EARTH = 0x06 , BFONT_ICON_SATURN = 0x07 ,
  BFONT_ICON_QUARTER_MOON = 0x08 , BFONT_ICON_LAUGHING_FACE = 0x09 , BFONT_ICON_SMILING_FACE = 0x0A , BFONT_ICON_CASUAL_FACE = 0x0B ,
  BFONT_ICON_ANGRY_FACE = 0x0C , BFONT_ICON_COW = 0x0D , BFONT_ICON_HORSE = 0x0E , BFONT_ICON_RABBIT = 0x0F ,
  BFONT_ICON_CAT = 0x10 , BFONT_ICON_CHICK = 0x11 , BFONT_ICON_LION = 0x12 , BFONT_ICON_MONKEY = 0x13 ,
  BFONT_ICON_PANDA = 0x14 , BFONT_ICON_BEAR = 0x15 , BFONT_ICON_PIG = 0x16 , BFONT_ICON_DOG = 0x17 ,
  BFONT_ICON_FISH = 0x18 , BFONT_ICON_OCTOPUS = 0x19 , BFONT_ICON_SQUID = 0x1A , BFONT_ICON_WHALE = 0x1B ,
  BFONT_ICON_CRAB = 0x1C , BFONT_ICON_BUTTERFLY = 0x1D , BFONT_ICON_LADYBUG = 0x1E , BFONT_ICON_ANGLER_FISH = 0x1F ,
  BFONT_ICON_PENGUIN = 0x20 , BFONT_ICON_CHERRIES = 0x21 , BFONT_ICON_TULIP = 0x22 , BFONT_ICON_LEAF = 0x23 ,
  BFONT_ICON_SAKURA = 0x24 , BFONT_ICON_APPLE = 0x25 , BFONT_ICON_ICECREAM = 0x26 , BFONT_ICON_CACTUS = 0x27 ,
  BFONT_ICON_PIANO = 0x28 , BFONT_ICON_GUITAR = 0x29 , BFONT_ICON_EIGHTH_NOTE = 0x2A , BFONT_ICON_TREBLE_CLEF = 0x2B ,
  BFONT_ICON_BOAT = 0x2C , BFONT_ICON_CAR = 0x2D , BFONT_ICON_HELMET = 0x2E , BFONT_ICON_MOTORCYCLE = 0x2F ,
  BFONT_ICON_VAN = 0x30 , BFONT_ICON_TRUCK = 0x31 , BFONT_ICON_CLOCK = 0x32 , BFONT_ICON_TELEPHONE = 0x33 ,
  BFONT_ICON_PENCIL = 0x34 , BFONT_ICON_CUP = 0x35 , BFONT_ICON_SILVERWARE = 0x36 , BFONT_ICON_HOUSE = 0x37 ,
  BFONT_ICON_BELL = 0x38 , BFONT_ICON_CROWN = 0x39 , BFONT_ICON_SOCK = 0x3A , BFONT_ICON_CAKE = 0x3B ,
  BFONT_ICON_KEY = 0x3C , BFONT_ICON_BOOK = 0x3D , BFONT_ICON_BASEBALL = 0x3E , BFONT_ICON_SOCCER = 0x3F ,
  BFONT_ICON_BULB = 0x40 , BFONT_ICON_TEDDY_BEAR = 0x41 , BFONT_ICON_BOW_TIE = 0x42 , BFONT_ICON_BOW_ARROW = 0x43 ,
  BFONT_ICON_SNOWMAN = 0x44 , BFONT_ICON_LIGHTNING = 0x45 , BFONT_ICON_SUN = 0x46 , BFONT_ICON_CLOUD = 0x47 ,
  BFONT_ICON_UMBRELLA = 0x48 , BFONT_ICON_ONE_STAR = 0x49 , BFONT_ICON_TWO_STARS = 0x4A , BFONT_ICON_THREE_STARS = 0x4B ,
  BFONT_ICON_FOUR_STARS = 0x4C , BFONT_ICON_HEART = 0x4D , BFONT_ICON_DIAMOND = 0x4E , BFONT_ICON_SPADE = 0x4F ,
  BFONT_ICON_CLUB = 0x50 , BFONT_ICON_JACK = 0x51 , BFONT_ICON_QUEEN = 0x52 , BFONT_ICON_KING = 0x53 ,
  BFONT_ICON_JOKER = 0x54 , BFONT_ICON_ISLAND = 0x55 , BFONT_ICON_0 = 0x56 , BFONT_ICON_1 = 0x57 ,
  BFONT_ICON_2 = 0x58 , BFONT_ICON_3 = 0x59 , BFONT_ICON_4 = 0x5A , BFONT_ICON_5 = 0x5B ,
  BFONT_ICON_6 = 0x5C , BFONT_ICON_7 = 0x5D , BFONT_ICON_8 = 0x5E , BFONT_ICON_9 = 0x5F ,
  BFONT_ICON_A = 0x60 , BFONT_ICON_B = 0x61 , BFONT_ICON_C = 0x62 , BFONT_ICON_D = 0x63 ,
  BFONT_ICON_E = 0x64 , BFONT_ICON_F = 0x65 , BFONT_ICON_G = 0x66 , BFONT_ICON_H = 0x67 ,
  BFONT_ICON_I = 0x68 , BFONT_ICON_J = 0x69 , BFONT_ICON_K = 0x6A , BFONT_ICON_L = 0x6B ,
  BFONT_ICON_M = 0x6C , BFONT_ICON_N = 0x6D , BFONT_ICON_O = 0x6E , BFONT_ICON_P = 0x6F ,
  BFONT_ICON_Q = 0x70 , BFONT_ICON_R = 0x71 , BFONT_ICON_S = 0x72 , BFONT_ICON_T = 0x73 ,
  BFONT_ICON_U = 0x74 , BFONT_ICON_V = 0x75 , BFONT_ICON_W = 0x76 , BFONT_ICON_X = 0x77 ,
  BFONT_ICON_Y = 0x78 , BFONT_ICON_Z = 0x79 , BFONT_ICON_CHECKER_BOARD = 0x7A , BFONT_ICON_GRID = 0x7B ,
  BFONT_ICON_LIGHT_GRAY = 0x7C , BFONT_ICON_DIAG_GRID = 0x7D , BFONT_ICON_PACMAN_GRID = 0x7E , BFONT_ICON_DARK_GRAY = 0x7F ,
  BFONT_ICON_EMBROIDERY = 0x80
}
 Builtin VMU Icons. More...
 

Detailed Description

Structure of the Bios Font

Macro Definition Documentation

◆ BFONT_DC_ICON

#define BFONT_DC_ICON ( offset)    (BFONT_DREAMCAST_SPECIFIC + ((offset) * BFONT_BYTES_PER_CHAR))

Takes a DC-specific icon index and returns a character offset.

◆ BFONT_DREAMCAST_SPECIFIC

#define BFONT_DREAMCAST_SPECIFIC   (BFONT_WIDE_START + (7056 * BFONT_BYTES_PER_CHAR))

Start of DC Specific Characters in Font Block.

◆ BFONT_ICON_DIMEN

#define BFONT_ICON_DIMEN   32

Dimension of vmu icons.

◆ BFONT_ISO_8859_1_160_255

#define BFONT_ISO_8859_1_160_255   (BFONT_NARROW_START + (96 * BFONT_BYTES_PER_CHAR))

◆ BFONT_ISO_8859_1_33_126

#define BFONT_ISO_8859_1_33_126   (BFONT_NARROW_START + ( 1 * BFONT_BYTES_PER_CHAR))

◆ BFONT_JISX_0208_ROW1

#define BFONT_JISX_0208_ROW1   BFONT_WIDE_START

Start of JISX-0208 Rows 1-7 in Font Block.

◆ BFONT_JISX_0208_ROW16

#define BFONT_JISX_0208_ROW16   (BFONT_WIDE_START + (658 * BFONT_BYTES_PER_CHAR))

Start of JISX-0208 Row 16-47 (Start of Level 1) in Font Block.

◆ BFONT_JISX_0208_ROW48

#define BFONT_JISX_0208_ROW48   (BFONT_JISX_0208_ROW16 + ((32 * JISX_0208_ROW_SIZE) * BFONT_BYTES_PER_CHAR))

JISX-0208 Row 48-84 (Start of Level 2) in Font Block.

◆ BFONT_NARROW_START

#define BFONT_NARROW_START   0

Start of Narrow Characters in Font Block.

◆ BFONT_OVERBAR

#define BFONT_OVERBAR   BFONT_NARROW_START

◆ BFONT_VMU_DREAMCAST_SPECIFIC

#define BFONT_VMU_DREAMCAST_SPECIFIC   (BFONT_DREAMCAST_SPECIFIC+(22 * BFONT_BYTES_PER_CHAR))

◆ BFONT_WIDE_START

#define BFONT_WIDE_START   (288 * BFONT_BYTES_PER_CHAR)

Start of Wide Characters in Font Block.

◆ BFONT_YEN

#define BFONT_YEN   (BFONT_NARROW_START + (95 * BFONT_BYTES_PER_CHAR))

◆ JISX_0208_ROW_SIZE

#define JISX_0208_ROW_SIZE   94

Size of a row for JISX-0208 characters.

Enumeration Type Documentation

◆ bfont_vmu_icon_t

Builtin VMU Icons.

Builtin VMU volume user icons. The Dreamcast's BIOS allows the user to set these when formatting the VMU.

Enumerator
BFONT_ICON_INVALID_VMU 

Invalid.

BFONT_ICON_HOURGLASS_ONE 

Hourglass 1.

BFONT_ICON_HOURGLASS_TWO 

Hourglass 2.

BFONT_ICON_HOURGLASS_THREE 

Hourglass 3.

BFONT_ICON_HOURGLASS_FOUR 

Hourglass 4.

BFONT_ICON_VMUICON 

VMU.

BFONT_ICON_EARTH 

Earth.

BFONT_ICON_SATURN 

Saturn.

BFONT_ICON_QUARTER_MOON 

Quarter moon.

BFONT_ICON_LAUGHING_FACE 

Laughing face.

BFONT_ICON_SMILING_FACE 

Smiling face.

BFONT_ICON_CASUAL_FACE 

Casual face.

BFONT_ICON_ANGRY_FACE 

Angry face.

BFONT_ICON_COW 

Cow.

BFONT_ICON_HORSE 

Horse.

BFONT_ICON_RABBIT 

Rabbit.

BFONT_ICON_CAT 

Cat.

BFONT_ICON_CHICK 

Chick.

BFONT_ICON_LION 

Lion.

BFONT_ICON_MONKEY 

Monkye.

BFONT_ICON_PANDA 

Panda.

BFONT_ICON_BEAR 

Bear.

BFONT_ICON_PIG 

Pig.

BFONT_ICON_DOG 

Dog.

BFONT_ICON_FISH 

Fish.

BFONT_ICON_OCTOPUS 

Octopus.

BFONT_ICON_SQUID 

Squid.

BFONT_ICON_WHALE 

Whale.

BFONT_ICON_CRAB 

Crab.

BFONT_ICON_BUTTERFLY 

Butterfly.

BFONT_ICON_LADYBUG 

Ladybug.

BFONT_ICON_ANGLER_FISH 

Angler fish.

BFONT_ICON_PENGUIN 

Penguin.

BFONT_ICON_CHERRIES 

Cherries.

BFONT_ICON_TULIP 

Tulip.

BFONT_ICON_LEAF 

Leaf.

BFONT_ICON_SAKURA 

Sakura.

BFONT_ICON_APPLE 

Apple.

BFONT_ICON_ICECREAM 

Ice cream.

BFONT_ICON_CACTUS 

Cactus.

BFONT_ICON_PIANO 

Piano.

BFONT_ICON_GUITAR 

Guitar.

BFONT_ICON_EIGHTH_NOTE 

Eighth note.

BFONT_ICON_TREBLE_CLEF 

Treble clef.

BFONT_ICON_BOAT 

Boat.

BFONT_ICON_CAR 

Car.

BFONT_ICON_HELMET 

Helmet.

BFONT_ICON_MOTORCYCLE 

Motorcycle.

BFONT_ICON_VAN 

Van.

BFONT_ICON_TRUCK 

Truck.

BFONT_ICON_CLOCK 

Clock.

BFONT_ICON_TELEPHONE 

Telephone.

BFONT_ICON_PENCIL 

Pencil.

BFONT_ICON_CUP 

Cup.

BFONT_ICON_SILVERWARE 

Silverware.

BFONT_ICON_HOUSE 

House.

BFONT_ICON_BELL 

Bell.

BFONT_ICON_CROWN 

Crown.

BFONT_ICON_SOCK 

Sock.

BFONT_ICON_CAKE 

cake

BFONT_ICON_KEY 

Key.

BFONT_ICON_BOOK 

Book.

BFONT_ICON_BASEBALL 

Baseball.

BFONT_ICON_SOCCER 

Soccer.

BFONT_ICON_BULB 

Bulb.

BFONT_ICON_TEDDY_BEAR 

Teddy bear.

BFONT_ICON_BOW_TIE 

Bow tie.

BFONT_ICON_BOW_ARROW 

Bow and arrow.

BFONT_ICON_SNOWMAN 

Snowman.

BFONT_ICON_LIGHTNING 

Lightning.

BFONT_ICON_SUN 

Sun.

BFONT_ICON_CLOUD 

Cloud.

BFONT_ICON_UMBRELLA 

Umbrella.

BFONT_ICON_ONE_STAR 

One star.

BFONT_ICON_TWO_STARS 

Two stars.

BFONT_ICON_THREE_STARS 

Three stars.

BFONT_ICON_FOUR_STARS 

Four stars.

BFONT_ICON_HEART 

Heart.

BFONT_ICON_DIAMOND 

Diamond.

BFONT_ICON_SPADE 

Spade.

BFONT_ICON_CLUB 

Club.

BFONT_ICON_JACK 

Jack.

BFONT_ICON_QUEEN 

Queen.

BFONT_ICON_KING 

King.

BFONT_ICON_JOKER 

Joker.

BFONT_ICON_ISLAND 

Island.

BFONT_ICON_0 

0 digit

BFONT_ICON_1 

1 digit

BFONT_ICON_2 

2 digit

BFONT_ICON_3 

3 digit

BFONT_ICON_4 

4 digit

BFONT_ICON_5 

5 digit

BFONT_ICON_6 

6 digit

BFONT_ICON_7 

7 digit

BFONT_ICON_8 

8 digit

BFONT_ICON_9 

9 digit

BFONT_ICON_A 

A letter

BFONT_ICON_B 

B letter

BFONT_ICON_C 

C letter

BFONT_ICON_D 

D letter

BFONT_ICON_E 

E letter

BFONT_ICON_F 

F letter

BFONT_ICON_G 

G letter

BFONT_ICON_H 

H letter

BFONT_ICON_I 

I letter

BFONT_ICON_J 

J letter

BFONT_ICON_K 

K letter

BFONT_ICON_L 

L letter

BFONT_ICON_M 

M letter

BFONT_ICON_N 

N letter

BFONT_ICON_O 

O letter

BFONT_ICON_P 

P letter

BFONT_ICON_Q 

Q letter

BFONT_ICON_R 

R letter

BFONT_ICON_S 

S letter

BFONT_ICON_T 

T letter

BFONT_ICON_U 

U letter

BFONT_ICON_V 

V letter

BFONT_ICON_W 

W letter

BFONT_ICON_X 

X letter

BFONT_ICON_Y 

Y letter

BFONT_ICON_Z 

Z letter

BFONT_ICON_CHECKER_BOARD 

Checker board.

BFONT_ICON_GRID 

Grid.

BFONT_ICON_LIGHT_GRAY 

Light gray.

BFONT_ICON_DIAG_GRID 

Diagonal grid.

BFONT_ICON_PACMAN_GRID 

Pacman grid.

BFONT_ICON_DARK_GRAY 

Dark gray.

BFONT_ICON_EMBROIDERY 

Embroidery.