summaryrefslogtreecommitdiff
path: root/src/apple.h
blob: f7829e5abb3a3139ea3df44d07e93237e2511723 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

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

#define MEMORY_SIZE 0x0400

#define KBD		0xD010
#define KBD_CR	0xD011
#define DSP		0xD012
#define DSP_CR	0xD013

#define BS      0xDF
#define CR      0x8D
#define ESC     0x9B

void AppleOn();
void AppleReset();
byte UserInput();