KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
vmu.c File Reference
#include <kos.h>

Macros

#define ICON_SIZE   (32 * 32 / 2)
 
#define NB_ICONS_MAX   3
 
#define DATA_LEN   4096
 
#define SCREEN_W   640
 
#define SCREEN_H   480
 
#define INFO_Y   88
 
#define ROW_SPACER   24
 

Functions

void draw_dir (void)
 
void clear_screen_info (void)
 
void new_vmu (void)
 
int wait_start (void)
 
void write_entry (void)
 
int main (int argc, char **argv)
 

Variables

bool dev_found = false
 
static unsigned char vmu_icon [ICON_SIZE *NB_ICONS_MAX]
 

Macro Definition Documentation

◆ DATA_LEN

#define DATA_LEN   4096

Referenced by write_entry().

◆ ICON_SIZE

#define ICON_SIZE   (32 * 32 / 2)

◆ INFO_Y

#define INFO_Y   88

◆ NB_ICONS_MAX

#define NB_ICONS_MAX   3

Referenced by write_entry().

◆ ROW_SPACER

#define ROW_SPACER   24

Referenced by draw_dir().

◆ SCREEN_H

#define SCREEN_H   480

Referenced by clear_screen_info(), and draw_dir().

◆ SCREEN_W

#define SCREEN_W   640

Function Documentation

◆ clear_screen_info()

void clear_screen_info ( void )

References INFO_Y, SCREEN_H, SCREEN_W, and vram_s.

Referenced by new_vmu(), and wait_start().

◆ draw_dir()

◆ main()

int main ( int argc,
char ** argv )

◆ new_vmu()

void new_vmu ( void )

◆ wait_start()

◆ write_entry()

Variable Documentation

◆ dev_found

bool dev_found = false

Referenced by main(), and new_vmu().

◆ vmu_icon

unsigned char vmu_icon[ICON_SIZE *NB_ICONS_MAX]
static

Referenced by write_entry().