Giter Site home page Giter Site logo

ym2020's People

Contributors

andwn avatar pvalkone avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ym2020's Issues

Compiled ROM does has display issues (and some running the music) on real hardware

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.
ym2020

YM2017 works without an issue.

Built ROM fails to run on MiSTer and Mega EverDrive X5

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.

ym2020-rom-address-error

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"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.