Skip to content

Genesis-Plus-GX based MEGADRIVE/GENESIS emulator for the Maixduino

Notifications You must be signed in to change notification settings

h1romas4/maixduino-genplus

Repository files navigation

maixduino-genplus

Genesis-Plus-GX Maixduino K210 porting

Demo

image

https://www.youtube.com/watch?v=VV0wlbNg2Bo

https://www.youtube.com/watch?v=yvkTfdkFSPQ

LCD bitmap trancefar is not in time due to SPI clock slow.

Require

$ pwd
/opt/kendryte-toolchain/bin
$ ./riscv64-unknown-elf-gcc -v
gcc version 8.2.0 (GCC)
$ kflash -h
...
positional arguments:
  firmware              firmware bin path
...

Build

Compile

git clone --recursive https://github.com/h1romas4/maixduino-genplus.git
cd maixduino-genplus
mkdir build && cd build
# set -DTOOLCHAIN to directory Kendryte GNU Toolchain bin path
cmake .. -DPROJ=genplus -DSDK_ROOT=./kendryte-standalone-sdk -DTOOLCHAIN=/opt/kendryte-toolchain/bin
make

Insert SD card with COLUMS.BIN (filename and size fixed, oncoding now)

genplus/maixduino/fileio.c

if((ret = f_open(&file, "COLUMS.BIN", FA_READ)) == FR_OK) {
    ret = f_read(&file, (void *)buffer, 131072, &size);

CMakeLists.txt

    -DMAXROMSIZE=655360

Flash

kflash -p /dev/ttyUSB0 -b 1500000 -B goE -s -t genplus.bin

License

Genesis-Plus-GX License

Thanks!

Genesis-Plus-GX

About

Genesis-Plus-GX based MEGADRIVE/GENESIS emulator for the Maixduino

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages