summaryrefslogtreecommitdiff
path: root/src/video/interface.h
blob: dc074b2dac6d9ff146b56dabe7c4b89f43ce7c87 (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 DisplayInit();

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

// Deliver an Apple ASCII character to the terminal.
void DisplayInput(byte n);