Xemu [doxygen]  hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
Macros | Functions | Variables
console.c File Reference
#include "xemu/emutools.h"
#include "xemu/emutools_hid.h"
#include "console.h"
#include <string.h>
#include "xemu/vgafonts.c"
Include dependency graph for console.c:

Go to the source code of this file.

Macros

#define CHARACTER_SET_DEFINER_8X16   static const Uint8 chargen[]
 

Functions

void console_output (Uint8 data)
 
void conputs (const char *s)
 
int console_status (void)
 
int console_input (void)
 
void console_cursor_blink (int delay)
 
void console_iteration (void)
 
void clear_emu_events (void)
 
int emu_callback_key (int pos, SDL_Scancode key, int pressed, int handled)
 
void emu_callback_key_raw_sdl (SDL_KeyboardEvent *ev)
 
void emu_callback_key_textinput_sdl (SDL_TextInputEvent *ev)
 
int console_init (int width, int height, int zoom_percent, Uint8 *video_mapped, Uint8 *color_mapped, int sdlrenderquality)
 

Variables

int console_io_traffic = 0
 

Macro Definition Documentation

◆ CHARACTER_SET_DEFINER_8X16

#define CHARACTER_SET_DEFINER_8X16   static const Uint8 chargen[]

Definition at line 40 of file console.c.

Function Documentation

◆ clear_emu_events()

void clear_emu_events ( void  )

Definition at line 220 of file console.c.

Here is the call graph for this function:

◆ conputs()

void conputs ( const char *  s)

Definition at line 140 of file console.c.

Here is the caller graph for this function:

◆ console_cursor_blink()

void console_cursor_blink ( int  delay)

Definition at line 172 of file console.c.

◆ console_init()

int console_init ( int  width,
int  height,
int  zoom_percent,
Uint8 video_mapped,
Uint8 color_mapped,
int  sdlrenderquality 
)

Definition at line 279 of file console.c.

Here is the call graph for this function:

◆ console_input()

int console_input ( void  )

Definition at line 157 of file console.c.

Here is the caller graph for this function:

◆ console_iteration()

void console_iteration ( void  )

Definition at line 185 of file console.c.

◆ console_output()

void console_output ( Uint8  data)

Definition at line 106 of file console.c.

Here is the caller graph for this function:

◆ console_status()

int console_status ( void  )

Definition at line 148 of file console.c.

Here is the caller graph for this function:

◆ emu_callback_key()

int emu_callback_key ( int  pos,
SDL_Scancode  key,
int  pressed,
int  handled 
)

Definition at line 226 of file console.c.

◆ emu_callback_key_raw_sdl()

void emu_callback_key_raw_sdl ( SDL_KeyboardEvent *  ev)

Definition at line 247 of file console.c.

◆ emu_callback_key_textinput_sdl()

void emu_callback_key_textinput_sdl ( SDL_TextInputEvent *  ev)

Definition at line 267 of file console.c.

Variable Documentation

◆ blinking

int blinking

Definition at line 31 of file console.c.

◆ console_io_traffic

int console_io_traffic = 0

Definition at line 66 of file console.c.

◆ cursor_color

Uint8 cursor_color

Definition at line 34 of file console.c.

◆ escape

int escape

Definition at line 32 of file console.c.

◆ phase

int phase

Definition at line 29 of file console.c.

◆ phase_counter

int phase_counter

Definition at line 30 of file console.c.

◆ text_color

Uint8 text_color

Definition at line 33 of file console.c.

◆ visible

int visible

Definition at line 28 of file console.c.

◆ x

int x

Definition at line 27 of file console.c.

◆ y

int y

Definition at line 27 of file console.c.