mirror of
https://github.com/RyuKojiro/apple1.git
synced 2024-09-29 02:01:55 +00:00
23 lines
451 B
C
23 lines
451 B
C
|
//
|
||
|
// pia.h
|
||
|
// apple1
|
||
|
//
|
||
|
// Created by Daniel Loffgren on 9/12/15.
|
||
|
// Copyright (c) 2015 Daniel Loffgren. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#ifndef __apple1__pia__
|
||
|
#define __apple1__pia__
|
||
|
|
||
|
#include <v6502/mem.h>
|
||
|
|
||
|
#define A1PIA_KEYBOARD_INPUT 0xD010
|
||
|
#define A1PIA_KEYBOARD_CRLF_REG 0xD011
|
||
|
#define A1PIA_VIDEO_OUTPUT 0xD012
|
||
|
#define A1PIA_VIDEO_CRLF_REG 0xD013
|
||
|
|
||
|
// Assumes stdin/stdout
|
||
|
void pia_map(v6502_memory *mem);
|
||
|
|
||
|
#endif /* defined(__apple1__pia__) */
|