Xemu [doxygen]  hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
Data Structures | Macros | Functions | Variables
matrix_mode.c File Reference
#include "xemu/emutools.h"
#include "matrix_mode.h"
#include "xemu/emutools_hid.h"
#include "xemu/cpu65.h"
#include "hypervisor.h"
#include "vic4.h"
#include "mega65.h"
#include "io_mapper.h"
#include "memory_mapper.h"
#include <ctype.h>
#include "rom.h"
Include dependency graph for matrix_mode.c:

Go to the source code of this file.

Data Structures

struct  command_tab_st
 

Macros

#define DEBUGMATRIX(...)
 
#define MATRIX(...)
 
#define CURSOR_CHAR   0xDB
 
#define CURSOR_COLOUR   4
 
#define CLI_START_LINE   4
 
#define NORMAL_COLOUR   1
 
#define BANNER_COLOUR   2
 
#define PARTIAL_OSD_TEXTURE_UPDATE
 

Functions

void matrix_mode_toggle (int status)
 

Variables

int in_the_matrix = 0
 

Macro Definition Documentation

◆ BANNER_COLOUR

#define BANNER_COLOUR   2

Definition at line 61 of file matrix_mode.c.

◆ CLI_START_LINE

#define CLI_START_LINE   4

Definition at line 59 of file matrix_mode.c.

◆ CURSOR_CHAR

#define CURSOR_CHAR   0xDB

Definition at line 57 of file matrix_mode.c.

◆ CURSOR_COLOUR

#define CURSOR_COLOUR   4

Definition at line 58 of file matrix_mode.c.

◆ DEBUGMATRIX

#define DEBUGMATRIX (   ...)

Definition at line 36 of file matrix_mode.c.

◆ MATRIX

#define MATRIX (   ...)
Value:
do { \
char _buf_for_msg_[4096]; \
CHECK_SNPRINTF(snprintf(_buf_for_msg_, sizeof _buf_for_msg_, __VA_ARGS__), sizeof _buf_for_msg_); \
matrix_write_string(_buf_for_msg_); \
} while(0)

Definition at line 51 of file matrix_mode.c.

◆ NORMAL_COLOUR

#define NORMAL_COLOUR   1

Definition at line 60 of file matrix_mode.c.

◆ PARTIAL_OSD_TEXTURE_UPDATE

#define PARTIAL_OSD_TEXTURE_UPDATE

Definition at line 85 of file matrix_mode.c.

Function Documentation

◆ matrix_mode_toggle()

void matrix_mode_toggle ( int  status)

Definition at line 518 of file matrix_mode.c.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ in_the_matrix

int in_the_matrix = 0

Definition at line 39 of file matrix_mode.c.