#include "misc.h"
Go to the source code of this file.
Macros | |
#define | MAIN_CONSOLE 0 |
#define | CONSOLE_OUTPUT_ONLY -1 |
Functions | |
void | console_deinit_main (void) |
void | console_sigcont (int x) |
void | console_makeavail (int handle, char ch) |
int | console_charavail (int handle) |
int | console_readchar (int handle) |
void | console_putchar (int handle, int ch) |
void | console_flush (void) |
void | console_mouse_coordinates (int x, int y, int fb_nr) |
void | console_mouse_button (int, int) |
void | console_getmouse (int *x, int *y, int *buttons, int *fb_nr) |
void | console_slave (const char *arg) |
int | console_are_slaves_allowed (void) |
int | console_warn_if_slaves_are_needed (int init) |
int | console_start_slave (struct machine *, const char *consolename, int use_for_input) |
int | console_start_slave_inputonly (struct machine *, const char *consolename, int use_for_input) |
int | console_change_inputability (int handle, int inputability) |
void | console_init_main (struct emul *) |
void | console_debug_dump (struct machine *) |
void | console_allow_slaves (int) |
void | console_init (void) |
void | console_deinit (void) |
#define CONSOLE_OUTPUT_ONLY -1 |
Definition at line 39 of file console.h.
Referenced by dev_vga_init(), and DEVINIT().
#define MAIN_CONSOLE 0 |
Definition at line 37 of file console.h.
Referenced by debugger_readchar().
void console_allow_slaves | ( | int | ) |
Definition at line 880 of file console.cc.
int console_are_slaves_allowed | ( | void | ) |
Definition at line 891 of file console.cc.
int console_change_inputability | ( | int | handle, |
int | inputability | ||
) |
Definition at line 747 of file console.cc.
Referenced by console_putchar().
int console_charavail | ( | int | handle | ) |
Definition at line 336 of file console.cc.
Referenced by console_readchar(), DEVICE_ACCESS(), DEVICE_TICK(), lk201_tick(), and playstation2_sifbios_emul().
void console_debug_dump | ( | struct machine * | ) |
Definition at line 837 of file console.cc.
References debug, DEBUG_INDENTATION, and verbose.
Referenced by emul_machine_setup().
void console_deinit | ( | void | ) |
Definition at line 982 of file console.cc.
References settings_remove().
void console_deinit_main | ( | void | ) |
Definition at line 139 of file console.cc.
void console_flush | ( | void | ) |
Definition at line 447 of file console.cc.
void console_getmouse | ( | int * | x, |
int * | y, | ||
int * | buttons, | ||
int * | fb_nr | ||
) |
Definition at line 497 of file console.cc.
Referenced by lk201_tick().
void console_init | ( | void | ) |
Definition at line 953 of file console.cc.
References settings_add(), SETTINGS_FORMAT_YESNO, settings_new(), SETTINGS_TYPE_INT, and SETTINGS_TYPE_SUBSETTINGS.
Referenced by main().
void console_init_main | ( | struct emul * | ) |
Definition at line 785 of file console.cc.
void console_makeavail | ( | int | handle, |
char | ch | ||
) |
Definition at line 296 of file console.cc.
References CONSOLE_FIFO_LEN, fatal(), console_handle::fifo, console_handle::fifo_head, and console_handle::fifo_tail.
Referenced by DEVICE_ACCESS(), and x11_check_event().
void console_mouse_button | ( | int | , |
int | |||
) |
Definition at line 480 of file console.cc.
Referenced by x11_check_event().
void console_mouse_coordinates | ( | int | x, |
int | y, | ||
int | fb_nr | ||
) |
Definition at line 463 of file console.cc.
Referenced by x11_check_event().
void console_putchar | ( | int | handle, |
int | ch | ||
) |
Definition at line 405 of file console.cc.
References console_change_inputability(), console_handle::in_use_for_input, and console_handle::outputonly.
Referenced by alpha_prom_call(), dec_jumptable_func(), DEVICE_ACCESS(), DEVICE_TICK(), lk201_tx_data(), luna88kprom_emul(), mvmeprom_emul(), OF_SERVICE(), playstation2_sifbios_emul(), and yamon_emul().
int console_readchar | ( | int | handle | ) |
Definition at line 385 of file console.cc.
References console_charavail(), CONSOLE_FIFO_LEN, console_handle::fifo, and console_handle::fifo_tail.
Referenced by arcbios_emul(), debugger_readchar(), DEVICE_ACCESS(), DEVICE_TICK(), lk201_tick(), OF_SERVICE(), playstation2_sifbios_emul(), and yamon_emul().
void console_sigcont | ( | int | x | ) |
Definition at line 159 of file console.cc.
void console_slave | ( | const char * | arg | ) |
Definition at line 544 of file console.cc.
Referenced by internal_w().
int console_start_slave | ( | struct machine * | , |
const char * | consolename, | ||
int | use_for_input | ||
) |
Definition at line 668 of file console.cc.
Referenced by dev_dc7085_init(), dev_scc_init(), dev_ssc_init(), dev_vga_init(), and DEVINIT().
int console_start_slave_inputonly | ( | struct machine * | , |
const char * | consolename, | ||
int | use_for_input | ||
) |
Definition at line 714 of file console.cc.
Referenced by dev_pckbc_init(), dev_vr41xx_init(), and DEVINIT().
int console_warn_if_slaves_are_needed | ( | int | init | ) |
Definition at line 912 of file console.cc.