Replica 1 / Apple 1 rebuilt in VHDL
Posted: 14 Aug 2025 15:23
I finished the first version of the Replica 1 / Apple 1 in VHDL
it can be found here: https://github.com/6502addict/Replica1
CPU 6502 or 6800 from 1hz to 30Mhz
RAM from 8k to 48k
PIA console in D010 as on a replica1 but this console is directed to an uart 115200 bauds 8N1
ACI tape interface from C000 to C1FF (if enabled)
SPI-MASTER from C200 to C20F (if enabled)
TIMER from C210 to C21F (if enabled)
WOZMON only or WOZMON + BASIC in 6502 mode
WOZMON only in 6800 mode
actually only support the Terasic DE10-Lite
I planned to add the support of the DE1 in a near future
a few software in C are in the software directory
a few AI generated games in the game directory
some libraries
SPI library to use the SPI-MASTER controller in C200-C20F
TIMER library to use the TIMER controller in C210-C21F
SDCARD library to initialize / read / write a sdcard
W25QXX library to initialize / read / write / erase windbond spi-flash
some test program
hello just display "hello, world"
sdcard test the sdcard library BEWARE TRASH THE SCARD INSERTED use a blank one
w25qxx test the w25qxx library BEWARE TRASH THE SPI-FLASH INSERTED use a blank one
to use cc65 to compile for the Replica 1
you need to install cc65 source code
and the replica 1 patches...
I modified my cc65 replica 1 config to accept 48k ram
the base version only accept 32k ram
If some people are intersted I may port it to other boards
it can be found here: https://github.com/6502addict/Replica1
CPU 6502 or 6800 from 1hz to 30Mhz
RAM from 8k to 48k
PIA console in D010 as on a replica1 but this console is directed to an uart 115200 bauds 8N1
ACI tape interface from C000 to C1FF (if enabled)
SPI-MASTER from C200 to C20F (if enabled)
TIMER from C210 to C21F (if enabled)
WOZMON only or WOZMON + BASIC in 6502 mode
WOZMON only in 6800 mode
actually only support the Terasic DE10-Lite
I planned to add the support of the DE1 in a near future
a few software in C are in the software directory
a few AI generated games in the game directory
some libraries
SPI library to use the SPI-MASTER controller in C200-C20F
TIMER library to use the TIMER controller in C210-C21F
SDCARD library to initialize / read / write a sdcard
W25QXX library to initialize / read / write / erase windbond spi-flash
some test program
hello just display "hello, world"
sdcard test the sdcard library BEWARE TRASH THE SCARD INSERTED use a blank one
w25qxx test the w25qxx library BEWARE TRASH THE SPI-FLASH INSERTED use a blank one
to use cc65 to compile for the Replica 1
you need to install cc65 source code
and the replica 1 patches...
I modified my cc65 replica 1 config to accept 48k ram
the base version only accept 32k ram
If some people are intersted I may port it to other boards