don't click here

Utility clownmdemu - The Greatest Mega Drive Emulator Ever (Someday)

Discussion in 'Technical Discussion' started by Clownacy, Jun 23, 2022.

  1. Brainulator

    Brainulator

    Regular garden-variety member Member
    If you want me to give you a serious answer, how about SRAM support? It would be neat to save my progress in various games.
     
  2. nineko

    nineko

    I am the Holy Cat Tech Member
    6,316
    489
    63
    italy
    Italian translation.
     
  3. OrionNavattan

    OrionNavattan

    Tech Member
    172
    166
    43
    Oregon
    While probably not the most important, optional emulation of the TMSS would be a nice little touch. Could probably even write a custom bootrom for you.
     
  4. Kilo

    Kilo

    That inbetween sprite from S&K's title screen Tech Member
    400
    414
    63
    Canada
    Decided to start using this emulator since there was some weird bug with Windows not allowing me to associate .gen files with Blastem. So far it's very nice. I like that hovering over a tile in the VRAM viewer tells you the ID, that's saved me a ton of time. Would be nice too if along with the tile ID it showed the base address of the tile. It'd also be nice if the debugger windows were external windows, since I don't usually want to be using fullscreen mode.
    upload_2024-5-1_7-55-26.png
    There is an inconsistency with how sound fading takes priority in Sonic 1 works between hardware (and Blastem) and clownmdemu. However my code is extremely janky since I wrote these menus from scratch and by the time I finish my project it won't be an issue, I hope.
     
  5. Hey there, been a while since I've been here, but I got the recent version of the emulator compiled on my Linux computer! I automatically went to try the Sega CD support an it's pretty cool, although some games don't seem to work unfortunately, which is a bit unfortunate but expected since it is a fairly recent feature and certainly not an easy one to add I'd assume. If you're curious, the games that I wanted to try that didn't work are the following: Wheel of Fortune, Trivial Pursuit, and Midnight Raiders. But nonetheless, an awesome update and I'm excited to see more Sega CD support in the future! Great work clownacy and friends!

    Btw, here's some screenshots of the latest build running on my computer! Screenshot_20240505_195408.jpg Screenshot_20240505_195432.jpg Screenshot_20240505_195546.jpg
     

    Attached Files:

  6. Devon

    Devon

    A̸ ̴S̴ ̵C̵ ̷E̶ ̸N̸ ̴D̶ ̵E̶ ̸D̶ Tech Member
    1,272
    1,451
    93
    your mom
    I sent in a pull request to get this fixed. The DMA delay for Word RAM was only applied in 1M/1M mode, but forgot to apply it in 2M mode.

    EDIT: It's been accepted.
     
    Last edited: May 6, 2024
  7. OrionNavattan

    OrionNavattan

    Tech Member
    172
    166
    43
    Oregon
    The DMA delay issue affects 1M mode as well? I had been under the impression that it didn't, given that Sonic CD's FMV handlers DMA directly from wordram 1M without any workarounds (though that could have been an oversight).
     
  8. Devon

    Devon

    A̸ ̴S̴ ̵C̵ ̷E̶ ̸N̸ ̴D̶ ̵E̶ ̸D̶ Tech Member
    1,272
    1,451
    93
    your mom
    1M/1M or 2M mode, it's still the same set of memory. 2M mode is basically just the 2 1M banks interlaced into each other. The BIOS function (0x2D4) Sonic CD uses is specifically made for transferring from Word RAM, too, which takes into account the delay.

    Note that I did have those BIOS functions documented at the time I was making the disassembly, and as such, the name I did give it was a tad misleading. It did indeed perform a DMA transfer, but it was specifically meant for Word RAM.