v6502_textmode_video * textMode_create(v6502_memory *mem)
Create v6502_textmode_video.
Definition: textmode.c:52
void textMode_refreshVideo(v6502_textmode_video *vid)
Force a fullscreen refresh.
Definition: textmode.c:71
void textMode_destroy(v6502_textmode_video *vid)
Destroy v6502_textmode_video.
Definition: textmode.c:60
WINDOW * screen
Curses output object.
Definition: textmode.h:56
void textMode_updateCharacter(v6502_textmode_video *vid, int x, int y)
Refresh a single character of the output (When memory is trapped, this is called automatically on mem...
Definition: textmode.c:84
uint16_t textMode_addressForLocation(int x, int y)
Convert x, y coordinates to the address in memory that is expected to hold the character.
Definition: textmode.c:95
void textMode_rest(v6502_textmode_video *vid)
Put virtual video into "rest" mode, where the hosting terminal is restored, but the video data is pre...
Definition: textmode.c:65
Virtual Text-Mode Hardware Object.
Definition: textmode.h:54
v6502_memory * memory
Hardwired memory used to trap video activity and report keyboard input.
Definition: textmode.h:58