-
Hi there! What WinUAE version is Amiberry based on? I'm specially interested in emulating Marbella Vice laserdisc, which is supported by latest stable WinUAE. Also, is it possible for Amiberry to properly synchronize framerate with the host framerate? NTSC and PAL games on the Amiga use different non-exact 50/60Hz video modes, so not synchronizing to host framerate would cause micro-stuttering. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 11 replies
-
Amiberry v5.x is a bit of a mix: The CPU emulation is stripped down and based on older WinUAE releases (pre-4.x), the core (custom chipset, drawing, CIA, etc) is based on WinUAE 4.4.0, and some other parts around it come from the latest version. Amiberry v6.x is based on the latest WinUAE, including the newer CPU code (and includes JIT support for x86). Some parts are not implemented, such as custom hardware emulation. Some parts are emulated but not yet exposed to the GUI. Regarding the specific laserdisc emulation you asked about, the code is there, but I think it may be missing some parts in the GUI to activate the Arcadia platform correctly. Regarding the framerate: Amiberry uses V-Sync always, but it does not change/control the actual refresh rate of the screen opened. That can be done from the OS itself, so if your monitor supports 50Hz and you want to emulate a PAL machine, you can set your OS to use a 50Hz mode. The VSync options that WinUAE shows are also available in Amiberry, but they only change the internal state of the emulation (not the screen mode). You can use them if you want, but they only make sense to activate if you've already set your monitor to the desired refresh rate from the OS, first. |
Beta Was this translation helpful? Give feedback.
-
Not seeing that here -- Lemmings_v1.5_Files_NTSC_0901.lha is a NTSC title, refresh rate of my monitor is 60Hz, I can enable Vsync (standard) in amiberry (game title and display refresh rate the same) ; scrolling text on main menu screen is smooth.... ... Lemmings_v1.5_Files_2089.lha is a PAL title ...my main display won't do 50Hz refresh, so I have to use my 5:4 50Hz capable display, I enable Vsync (standard) in amiberry ; scrolling text on main menu screen is smooth.... If I run the PAL title (Lemmings_v1.5_Files_2089.lha) on my 60Hz monitor, Vsync is not applicable (game title and display refresh rate are NOT the same) ... and I see some jitter/judder wrt the scrolling text on main menu screen (which is to be expected ;) In saying that however, the jitter/judder happens 2 to 3 times per second, not every 2 to 3 seconds as you describe. I can only imagine this has something to do with the Tested with amiberry |
Beta Was this translation helpful? Give feedback.
-
@midwan According to Toni Wilen on this thread: https://eab.abime.net/showthread.php?t=118242 |
Beta Was this translation helpful? Give feedback.
-
@midwan I'm trying to understand, please lend me a hand here: where do you get the host monitor refresh rate from? amiberry/src/osdep/amiberry_gfx.cpp Line 794 in 6c7b584 But that will get you a refresh_rate that is an integer (ie: for a 60.020000 Hz mode, it will give you simply 60). That's why it's impossible to get the precise refresh rate in the logs, because the integer is printed here: amiberry/src/osdep/amiberry_gfx.cpp Line 870 in 6c7b584 You seem to be using that value to adjust the emulated machine vblank: amiberry/src/osdep/amiberry_gfx.cpp Line 805 in 6c7b584 amiberry/src/osdep/amiberry_gfx.cpp Line 899 in 6c7b584 Then I see this function: amiberry/src/osdep/amiberry_gfx.cpp Line 2337 in 6c7b584 But that's for getting emulated refresh rate instead of host refresh rate..? And that will get you the same integer, imprecise host refresh rate in the end because it uses amiberry/src/osdep/amiberry_gfx.cpp Line 203 in 6c7b584 If I am right on this, that could be causing the hiccups I am seeing when emulating an NTSC Amiga on a near-60Hz physical display mode. |
Beta Was this translation helpful? Give feedback.
Amiberry v5.x is a bit of a mix: The CPU emulation is stripped down and based on older WinUAE releases (pre-4.x), the core (custom chipset, drawing, CIA, etc) is based on WinUAE 4.4.0, and some other parts around it come from the latest version.
Amiberry v6.x is based on the latest WinUAE, including the newer CPU code (and includes JIT support for x86). Some parts are not implemented, such as custom hardware emulation. Some parts are emulated but not yet exposed to the GUI.
Regarding the specific laserdisc emulation you asked about, the code is there, but I think it may be missing some parts in the GUI to activate the Arcadia platform correctly.
Regarding the framerate: Amiberry uses V-Sy…