Xemu [doxygen]  hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
Macros | Functions
console.c File Reference
#include "xemu/emutools.h"
#include "xemu/emutools_hid.h"
#include "console.h"
#include "hardware.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, int *map_to_ram, int baud_emu)
 

Macro Definition Documentation

◆ CHARACTER_SET_DEFINER_8X16

#define CHARACTER_SET_DEFINER_8X16   static const Uint8 chargen[]

Definition at line 39 of file console.c.

Function Documentation

◆ clear_emu_events()

void clear_emu_events ( void  )

Definition at line 209 of file console.c.

Here is the call graph for this function:

◆ conputs()

void conputs ( const char *  s)

Definition at line 129 of file console.c.

Here is the call graph for this function:

◆ console_cursor_blink()

void console_cursor_blink ( int  delay)

Definition at line 161 of file console.c.

◆ console_init()

int console_init ( int  width,
int  height,
int  zoom_percent,
int *  map_to_ram,
int  baud_emu 
)

Definition at line 268 of file console.c.

Here is the call graph for this function:

◆ console_input()

int console_input ( void  )

Definition at line 146 of file console.c.

Here is the call graph for this function:

◆ console_iteration()

void console_iteration ( void  )

Definition at line 174 of file console.c.

◆ console_output()

void console_output ( Uint8  data)

Definition at line 105 of file console.c.

◆ console_status()

int console_status ( void  )

Definition at line 137 of file console.c.

◆ emu_callback_key()

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

Definition at line 215 of file console.c.

◆ emu_callback_key_raw_sdl()

void emu_callback_key_raw_sdl ( SDL_KeyboardEvent *  ev)

Definition at line 236 of file console.c.

◆ emu_callback_key_textinput_sdl()

void emu_callback_key_textinput_sdl ( SDL_TextInputEvent *  ev)

Definition at line 256 of file console.c.

Variable Documentation

◆ blinking

int blinking

Definition at line 31 of file console.c.

◆ cursor_color

Uint8 cursor_color

Definition at line 33 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 32 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.