mirror of
https://github.com/jscrane/Apple1.git
synced 2024-12-05 00:50:42 +00:00
using sd_filer
This commit is contained in:
parent
f2abbe9dfd
commit
c32c2b5098
@ -4,6 +4,7 @@
|
||||
#include <r65emu.h>
|
||||
#include <r6502.h>
|
||||
#include <pia.h>
|
||||
#include <sd_filer.h>
|
||||
|
||||
#include "io.h"
|
||||
#include "config.h"
|
||||
@ -20,7 +21,11 @@ prom m(monitor, sizeof(monitor));
|
||||
|
||||
ram pages[RAM_PAGES];
|
||||
//socket_filer files("apple1");
|
||||
#if defined(USE_SD)
|
||||
sd_filer files(PROGRAMS);
|
||||
#else
|
||||
flash_filer files(PROGRAMS);
|
||||
#endif
|
||||
io io(files);
|
||||
|
||||
r6502 cpu(memory);
|
||||
|
4
Makefile
4
Makefile
@ -11,12 +11,12 @@ F_CPU := 80
|
||||
CPPFLAGS = -DUSER_SETUP_LOADED -DILI9341_DRIVER -DTFT_CS=PIN_D8 -DTFT_DC=PIN_D1 \
|
||||
-DTFT_RST=-1 -DSPI_FREQUENCY=40000000 -DLOAD_GLCD \
|
||||
-DHARDWARE_H=\"hw/esp8bit.h\" -DTERMINAL_SPEED=$(TERMINAL_SPEED) -DDEBUGGING=1
|
||||
LIBRARIES := TFT_eSPI SpiRAM
|
||||
LIBRARIES := TFT_eSPI SpiRAM LittleFS
|
||||
endif
|
||||
|
||||
ifeq ($t, tivac)
|
||||
BOARD := EK-LM4F120XL
|
||||
CPPFLAGS := -DDEBUGGING -DHARDWARE_H=\"hw/stellarpad-example.h\" -DTERMINAL_SPEED=$(TERMINAL_SPEED)
|
||||
CPPFLAGS := -DHARDWARE_H=\"hw/stellarpad-example.h\" -DTERMINAL_SPEED=$(TERMINAL_SPEED)
|
||||
LIBRARIES := UTFT SD SpiRAM
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user