mirror of
https://github.com/RyuKojiro/apple1.git
synced 2024-05-27 23:48:25 +00:00
Whitespace
This commit is contained in:
parent
1e62d17a8f
commit
a76501bf47
17
src/main.c
17
src/main.c
|
@ -22,15 +22,16 @@
|
|||
|
||||
#include "pia.h"
|
||||
|
||||
#define BASIC_LOAD_ADDRESS 0xE000
|
||||
#define ROM_START 0xF000
|
||||
#define ROM_SIZE 0x00FF
|
||||
#define RESET_VECTOR 0xFF00
|
||||
#define DEBUGGER_MESSAGE " [ Hit ` for debugger ] "
|
||||
#define BASIC_LOAD_ADDRESS 0xE000
|
||||
#define ROM_START 0xF000
|
||||
#define ROM_SIZE 0x00FF
|
||||
#define RESET_VECTOR 0xFF00
|
||||
|
||||
#define DEFAULT_FILENAME_ROM "apple1.rom"
|
||||
#define DEFAULT_FILENAME_BASIC "apple1basic.bin"
|
||||
#define DEFAULT_FILENAME_DEBUG "apple1.dbg"
|
||||
#define DEBUGGER_MESSAGE " [ Hit ` for debugger ] "
|
||||
|
||||
#define DEFAULT_FILENAME_ROM "apple1.rom"
|
||||
#define DEFAULT_FILENAME_BASIC "apple1basic.bin"
|
||||
#define DEFAULT_FILENAME_DEBUG "apple1.dbg"
|
||||
|
||||
static v6502_cpu *cpu;
|
||||
static a1pia *pia;
|
||||
|
|
10
src/pia.c
10
src/pia.c
|
@ -14,11 +14,11 @@
|
|||
#include <assert.h>
|
||||
|
||||
#define FIXME_I_SHOULDNT_BE_NULL NULL
|
||||
#define KEYBOARD_READY 0xFF // This just needs to meet the requirements of being a negative number in the eyes of the 6502
|
||||
#define KEYBOARD_NOTREADY 0x00
|
||||
#define ANSI_BGCOLOR_GREEN "\x1b[42;1m"
|
||||
#define CURSES_BACKSPACE 0x7F
|
||||
#define A1_BACKSPACE 0xDF
|
||||
#define KEYBOARD_READY 0xFF // This just needs to meet the requirements of being a negative number in the eyes of the 6502
|
||||
#define KEYBOARD_NOTREADY 0x00
|
||||
#define ANSI_BGCOLOR_GREEN "\x1b[42;1m"
|
||||
#define CURSES_BACKSPACE 0x7F
|
||||
#define A1_BACKSPACE 0xDF
|
||||
|
||||
void saveFreeze(a1pia *pia, const char *fname) {
|
||||
FILE *f = fopen(fname, "w");
|
||||
|
|
Loading…
Reference in New Issue
Block a user