summaryrefslogtreecommitdiff
path: root/src/video/interface.h
blob: e3244b0597da612320d36bbcd8d74a22f1ab8b39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// interface.h
// Provides the interface with which all video interactions must occur.

#pragma once

#include "../cpu/core.h"
#include <stdlib.h>

// Common procedure for taking in user input.
char UserInput();

// Initialization procedure for the terminal
void TerminalInit();

// Exit procedure for the terminal.
void TerminalClose();

// Deliver an Apple ASCII character to the terminal.
void TerminalInput(char n);