Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/h1romas4/maixduino-genplus
Genesis-Plus-GX based MEGADRIVE/GENESIS emulator for the Maixduino
https://github.com/h1romas4/maixduino-genplus
emulator genesis k210 maixduino megadrive risc-v
Last synced: about 3 hours ago
JSON representation
Genesis-Plus-GX based MEGADRIVE/GENESIS emulator for the Maixduino
- Host: GitHub
- URL: https://github.com/h1romas4/maixduino-genplus
- Owner: h1romas4
- Created: 2019-08-10T05:50:40.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-11T04:33:42.000Z (over 4 years ago)
- Last Synced: 2024-04-20T09:06:35.915Z (7 months ago)
- Topics: emulator, genesis, k210, maixduino, megadrive, risc-v
- Language: C
- Homepage: https://another.maple4ever.net/archives/2709/
- Size: 1.31 MB
- Stars: 20
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# maixduino-genplus
[Genesis-Plus-GX](https://github.com/ekeeke/Genesis-Plus-GX) Maixduino K210 porting
## Demo
![image](https://raw.githubusercontent.com/h1romas4/maixduino-genplus/master/assets/progress_02.jpg)
[https://www.youtube.com/watch?v=VV0wlbNg2Bo](https://www.youtube.com/watch?v=VV0wlbNg2Bo)
[https://www.youtube.com/watch?v=yvkTfdkFSPQ](https://www.youtube.com/watch?v=yvkTfdkFSPQ)
LCD bitmap trancefar is not in time due to SPI clock slow.
## Require
* [Kendryte GNU Toolchain v8.2.0-20190213](https://github.com/kendryte/kendryte-gnu-toolchain/releases/tag/v8.2.0-20190213)
* [kflash](https://github.com/kendryte/kflash.py)```
$ 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
![](https://github.com/h1romas4/maixduino-genplus/workflows/K210%20CI/badge.svg)
**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](https://github.com/ekeeke/Genesis-Plus-GX/blob/master/LICENSE.txt) License
## Thanks!
[Genesis-Plus-GX](https://github.com/ekeeke/Genesis-Plus-GX)