Whitespace

This commit is contained in:
Daniel Loffgren 2017-03-21 22:01:55 -07:00
parent 1e62d17a8f
commit a76501bf47
2 changed files with 14 additions and 13 deletions

View File

@ -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;

View File

@ -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");