Giter VIP home page Giter VIP logo

sonic-2-clone-driver-v2's Introduction

Clownacy's Sonic 2 Clone Driver v2 (v2.8.0.1)

This is a heavily-modified version of Sonic 1's SMPS sound driver (which itself is a modified SMPS 68k Type 1b). It is designed to maximise compatibility with music from Sonic 2, Sonic 3 & Knuckles, and Chaotix.

You can find more information at the GitHub repository's wiki: https://github.com/Clownacy/Sonic-2-Clone-Driver-v2/wiki

This driver is designed for use with 'The Macroassembler AS', found here: http://john.ccac.rwth-aachen.de:8000/as/

More information at: https://forums.sonicretro.org/index.php?showtopic=32801 https://sonicresearch.org/community/index.php?threads/sonic-2-clone-driver-v2.4621/

sonic-2-clone-driver-v2's People

Contributors

clownacy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

sonic-2-clone-driver-v2's Issues

please politely disable interrupts

You have a nasty bug when loading a Z80 driver. In an incredibly rare chance, an interrupt can happen after z80 is stopped and before the Z80 stop check is cleared, soft locking the entire consol. Worse, once it happens, its consistent (at least on emulators). Please go here to disable your interrupts, politely of course

Assemble separately

It appears that the original SMPS drivers were binary blobs. Doing the same for this driver should help with compatibility, and ease-of-use. Then again, only one disasm primarily uses asm68k, and the actual music would need building at assemble-time, too, making SMPS2ASM a dependency. Problem is, SMPS2ASM is bound to AS in its current state.

Perhaps the driver should be pre-assembled, and music should be assembled separately, with a copy of AS.

Adding a 32x PWM install guide to the wiki

While not a lot of people may use it, i feel like it's a nice thing to have if someone is wanting to make there ROM hack work with the 32x/PWM channel for, well anything

PSG playing wrong notes on hardware

PSG plays fine on Fusion, Regen, and Genesis Plus GX, but on hardware, it plays incorrect notes. I don't even know how this is caused.

I can also confirm this does this to the stock Sonic 1 music as well.

Clone Driver occasionally locks up 68k waiting for Z80

Very rarely, the Clone Driver v2 will freeze gameplay when attempting to change songs. It seems to happen in the SMPS_waitZ80 macro under "DACUpdateSample". The odd thing is, if I skip past the bne loop using regens' debugger, everything continues as normal. The music plays properly, DAC samples work as normal, and gameplay is completely unaffected.

I can provide a savestate, rom and maybe even some source code in private if necessary.

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.