summaryrefslogtreecommitdiff
path: root/src/video/interface.h
blob: 2443b626e60ebd3878f21e773d91a62db26e72e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// 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();

// Common way to print processor information.
void PrintInfo();

// 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);