andwn / ym2020 Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://catskullelectronics.com/
License: Other
Home Page: https://catskullelectronics.com/
License: Other
Hi.
I compiled the "game" with latest marsdev including latest SGDK but unfortunately it does not work properly on real hardware.
Everything graphics related seems broken. The "Press Start" screen is simplay black with the font. After that no graphics are displayed. Text seem fine.
Also at some point the Music crashes on the first song (haven't tested all) and it seems when switching songs.
With blastem everything works as expected. Using the Mega Everdrive Pro with my Mega Drive II.
I tested it in NTSC US mode.
YM2017 works without an issue.
I'm trying to build a working YM2020 ROM on Debian 11 and Marsdev 2022.02.
The built ROM seems to work on OpenEmu v2.3.3 on OS X (GenesisPlus 1.7.4.14 core), as well as on the Mega Sg (v7.8 Jailbreak firmware), but fails to load on the MiSTer (Genesis v20220626, Main v20220712) as well as on a Japanese Mega Drive II and the Mega EverDrive X5 (MegaOS v3.14).
I have the physical cart which works fine on the MD II and the Mega Sg, but unfortunately I don't have any means to dump it in order to see whether the dumped ROM would work on the MiSTer and Mega ED (I assume it would).
The behaviour I'm seeing seems to be related to issue #1, but I either get an address error (on the MiSTer; see attached screenshot) or a black screen (on the Mega EverDrive) instead of a garbled UI.
I'm using the latest revision:
❯ git rev-parse HEAD
0b4419e0db905b1772b73a8d871cb261cfefc193
Here's a small Dockerfile
that can be used to build a failing ROM:
FROM debian:bullseye-slim@sha256:f576b8067b77ff85c70725c976b7b6cde960898e2f19b9abab3fb148407614e2
RUN apt-get update && \
apt-get install \
--assume-yes \
--no-install-recommends \
--quiet=2 \
ca-certificates=20210119 \
curl=7.74.0-1.3+deb11u1 \
make=4.3-4.1 \
openjdk-11-jre=11.0.15+10-1~deb11u1 \
unzip=6.0-26 && \
rm -rf /var/lib/apt/lists/*
RUN curl --silent \
--location \
--remote-name https://github.com/andwn/marsdev/releases/download/2022.02/mars-2022.02-linux-x64.zip && \
echo '0d0a1409ca4bae3177fadc513d8996fdb85921d9a9f4110e6528d52c4db7b3aa mars-2022.02-linux-x64.zip' | sha256sum --check && \
unzip -d "${HOME}" mars-2022.02-linux-x64.zip
WORKDIR /src
After creating the Dockerfile
, run the following commands to first build the Docker image and then the ROM (out.bin
):
❯ docker build --tag ym2020:latest .
❯ docker run --volume "$(pwd):/src" --rm --name ym2020 ym2020:latest /bin/bash -c "make clean all"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.