GE-115 Emulator
An Emulator of the General Electrics GE-115 computer
Data Structures | Macros | Enumerations | Functions
console.h File Reference
#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  ge_console_lamps
 
struct  ge_console_switches
 Console switches. More...
 
struct  ge_console_buttons
 
struct  ge_console
 

Macros

#define PACKED   __attribute__((packed))
 

Enumerations

enum  ge_console_rotary {
  RS_V4 , RS_L3 , RS_V3 , RS_R1_L2 ,
  RS_V2 , RS_L1 , RS_V1 , RS_V1_SCR ,
  RS_V1_LETT , RS_NORM , RS_PO , RS_FI_UR ,
  RS_SO , RS_FO
}
 

Functions

void ge_fill_console_data (struct ge *, struct ge_console *)
 
void ge_set_console_switches (struct ge *, struct ge_console_switches *)
 
void ge_set_console_rotary (struct ge *, enum ge_console_rotary)
 

Macro Definition Documentation

◆ PACKED

#define PACKED   __attribute__((packed))

Definition at line 6 of file console.h.

Enumeration Type Documentation

◆ ge_console_rotary

Enumerator
RS_V4 
RS_L3 
RS_V3 
RS_R1_L2 
RS_V2 
RS_L1 
RS_V1 
RS_V1_SCR 
RS_V1_LETT 
RS_NORM 
RS_PO 
RS_FI_UR 
RS_SO 
RS_FO 

Definition at line 8 of file console.h.

Function Documentation

◆ ge_fill_console_data()

void ge_fill_console_data ( struct ge ge,
struct ge_console console 
)

Definition at line 7 of file console.c.

◆ ge_set_console_rotary()

void ge_set_console_rotary ( struct ge ge,
enum  ge_console_rotary 
)

Definition at line 58 of file console.c.

◆ ge_set_console_switches()

void ge_set_console_switches ( struct ge ge,
struct ge_console_switches switches 
)

Definition at line 45 of file console.c.