GE-115 Emulator
An Emulator of the General Electrics GE-115 computer
Data Fields
ge::ge_integrated_printer Struct Reference

Integrated printer / console typewriter (channel 2) — pragmatic model. More...

#include <ge.h>

Data Fields

int present
 
char out [65536]
 
int out_len
 
uint8_t kbd [256]
 
int kbd_head
 
int kbd_tail
 
int out_active
 
int out_remaining
 
int out_total
 
int out_line_mode
 
uint8_t out_saved_so
 

Detailed Description

Integrated printer / console typewriter (channel 2) — pragmatic model.

present is set only when a printer peripheral is registered (interactive /wasm runs), so the faithful bootstrap channel states are untouched. When present, the channel-2 external-wait (state b8) for a print/typewriter op is completed (B8 -> alpha) instead of hanging, and output bytes are captured into out[]. kbd[] is the operator-keyboard input queue (two-way).

Definition at line 605 of file ge.h.

Field Documentation

◆ kbd

uint8_t kbd[256]

Definition at line 613 of file ge.h.

◆ kbd_head

int kbd_head

Definition at line 614 of file ge.h.

◆ kbd_tail

int kbd_tail

Definition at line 614 of file ge.h.

◆ out

char out[65536]

Definition at line 607 of file ge.h.

◆ out_active

int out_active

Definition at line 621 of file ge.h.

◆ out_len

int out_len

Definition at line 612 of file ge.h.

◆ out_line_mode

int out_line_mode

Definition at line 624 of file ge.h.

◆ out_remaining

int out_remaining

Definition at line 622 of file ge.h.

◆ out_saved_so

uint8_t out_saved_so

Definition at line 625 of file ge.h.

◆ out_total

int out_total

Definition at line 623 of file ge.h.

◆ present

int present

Definition at line 606 of file ge.h.