summaryrefslogtreecommitdiff
path: root/src/video/interface.h
blob: 048aa25899621adca5d199a0beaef16c54caf83d (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.
byte 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(byte n);