add krusader rom and make config option

This commit is contained in:
Stephen Crane 2014-11-17 20:14:31 +00:00
parent 82c51380f1
commit fe71ccd497
8 changed files with 2067 additions and 2 deletions

View File

@ -2,3 +2,4 @@ Apple-1 Emulator
================
- see [napple1](https://github.com/nobuh/napple1)
- see also [krusader](http://school.anhb.uwa.edu.au/personalpages/kwessen/apple1/Krusader.htm)

View File

@ -5,14 +5,20 @@
#include <UTFT.h>
#include <r65emu.h>
#include "roms/basic.h"
#include "roms/monitor.h"
#include "pia.h"
#include "io.h"
#include "config.h"
#if defined(KRUSADER)
#include "roms/krusader6502.h"
prom b(krusader6502, sizeof(krusader6502));
#else
#include "roms/basic.h"
#include "roms/monitor.h"
prom b(basic, sizeof(basic));
prom m(monitor, sizeof(monitor));
#endif
ram pages[RAM_SIZE / 1024];
io io;
@ -54,8 +60,12 @@ void setup() {
memory.put(sram, SPIRAM_BASE, SPIRAM_EXTENT);
memory.put(io, 0xd000);
#if defined(KRUSADER)
memory.put(b, 0xe000);
#else
memory.put(b, 0xe000);
memory.put(m, 0xff00);
#endif
reset();
}

View File

@ -11,4 +11,6 @@
#define TFT_BG VGA_BLACK
#define PROGRAMS "/apple1/"
#define KRUSADER 1
#endif

BIN
docs/krusader13.pdf Normal file

Binary file not shown.

BIN
images/6502.rom Normal file

Binary file not shown.

BIN
images/65C02.rom Normal file

Binary file not shown.

1026
roms/krusader6502.h Normal file

File diff suppressed because it is too large Load Diff

1026
roms/krusader65c02.h Normal file

File diff suppressed because it is too large Load Diff