Need a windows dev for Kronos.

@cafe-alpha
I will share a link in MP. All games here are working fine on linux, half off them are not working on windows. Benjamin might be able to provide you some names of game.

In order to test, just download game files, do not unzip, add in the directory the file stvbios.zip and choose a STV cartridge in the setup of kronos. You may need also to etup a STV stick in the input part of the settings.
 
Last edited:
@cafe-alpha

Linux and Windows shares the same video core, SH2 core, etc...

https://github.com/FCare/yabause/blob/extui-align/yabause/src/stv.c

Each rom have a specific structure. For non working games (windows port only), it seems the problem comes from game_byte_blob :

Here an example with Astra Superstars :

HEADER_BLOB, "epr20825.13", 0x0000001, 0x0100000,
GAME_BYTE_BLOB, "epr20825.13", 0x0200000, 0x0100000,
GAME_BYTE_BLOB, "epr20825.13", 0x0300000, 0x0100000,
GAME_WORD_BLOB, "mpr20827.2", 0x0400000, 0x0400000,

Games without Game_byte_blob works.
 
@cafe-alpha
I will share a link in MP. All games here are working fine on linux, half off them are not working on windows. Benjamin might be able to provide you some names of game.

In order to test, just download game files, do not unzip, add in the directory the file stvbios.zip and choose a STV cartridge in the setup of kronos. You may need also to etup a STV stick in the input part of the settings.

Thank you for the support !
So far I didn't noticed that STV stick was available in settings menu, so I wasn't able to go further than game title screen :D Thank you for the tip !
I just sent you a PM. Let's continue emulation related discussion there :)

@cafe-alpha

Linux and Windows shares the same video core, SH2 core, etc...

https://github.com/FCare/yabause/blob/extui-align/yabause/src/stv.c

Each rom have a specific structure. For non working games (windows port only), it seems the problem comes from game_byte_blob :

Here an example with Astra Superstars :

HEADER_BLOB, "epr20825.13", 0x0000001, 0x0100000,
GAME_BYTE_BLOB, "epr20825.13", 0x0200000, 0x0100000,
GAME_BYTE_BLOB, "epr20825.13", 0x0300000, 0x0100000,
GAME_WORD_BLOB, "mpr20827.2", 0x0400000, 0x0400000,

Games without Game_byte_blob works.

OK, thank you for the hint :) Astra Superstars doesn't works here too, so I will use it to see what's wrong on WIndows port.
 
@cafe-alpha

OK, thank you for the hint :) Astra Superstars doesn't works here too, so I will use it to see what's wrong on WIndows port.

Thanks :)

here a list with non working games :

Astra Superstars :

Master SH2 invalid opcode

R0 = 060002A8 R12 = 00000000
R1 = 06000650 R13 = 00000000
R2 = 0600064C R14 = 00000000
R3 = FFFFFFFD R15 = 06100000
R4 = 06090000 SR = 00000000
R5 = 22082000 GBR = FFFFFE00
R6 = 00000000 VBR = 06000000
R7 = 06010000 MACH = 00000000
R8 = 00000000 MACL = 00000000
R9 = 00000000 PR = 000044A2
R10 = 00000000 PC = 06010000
R11 = 00000000

Baku Baku Animal :
Master SH2 invalid opcode

R0 = 060002A8 R12 = 00000000
R1 = 06000650 R13 = 00000000
R2 = 0600064C R14 = 00000000
R3 = FFFFFFFD R15 = 06100000
R4 = 06090000 SR = 00000000
R5 = 22082000 GBR = FFFFFE00
R6 = 00000000 VBR = 06000000
R7 = 06010000 MACH = 00000000
R8 = 00000000 MACL = 00000000
R9 = 00000000 PR = 000044A2
R10 = 00000000 PC = 06010000
R11 = 00000000

Columns :

Master SH2 invalid opcode

R0 = 060002A8 R12 = 00000000
R1 = 06000650 R13 = 00000000
R2 = 0600064C R14 = 00000000
R3 = FFFFFFFD R15 = 06100000
R4 = 06090000 SR = 00000000
R5 = 22082000 GBR = FFFFFE00
R6 = 00000000 VBR = 06000000
R7 = 06010000 MACH = 00000000
R8 = 00000000 MACL = 00000000
R9 = 00000000 PR = 000044A2
R10 = 00000000 PC = 06010000
R11 = 00000000

Ejihon :

Master SH2 invalid opcode

R0 = 060002A8 R12 = 00000000
R1 = 06000650 R13 = 00000000
R2 = 0600064C R14 = 00000000
R3 = FFFFFFFD R15 = 06100000
R4 = 06090000 SR = 00000000
R5 = 22082000 GBR = FFFFFE00
R6 = 00000000 VBR = 06000000
R7 = 06010000 MACH = 00000000
R8 = 00000000 MACL = 00000000
R9 = 00000000 PR = 000044A2
R10 = 00000000 PC = 06010000
R11 = 00000000

Golden Axe duel :

Master SH2 invalid opcode

R0 = 060002A8 R12 = 00000000
R1 = 06000650 R13 = 00000000
R2 = 0600064C R14 = 00000000
R3 = FFFFFFFD R15 = 06100000
R4 = 06090000 SR = 00000000
R5 = 22082000 GBR = FFFFFE00
R6 = 00000000 VBR = 06000000
R7 = 06010000 MACH = 00000000
R8 = 00000000 MACL = 00000000
R9 = 00000000 PR = 000044A2
R10 = 00000000 PC = 06010000
R11 = 00000000

Peeble Beach Golf :

Master SH2 invalid opcode

R0 = 060002A8 R12 = 00000000
R1 = 06000650 R13 = 00000000
R2 = 0600064C R14 = 00000000
R3 = FFFFFFFD R15 = 06100000
R4 = 06090000 SR = 00000000
R5 = 22082000 GBR = FFFFFE00
R6 = 00000000 VBR = 06000000
R7 = 06010000 MACH = 00000000
R8 = 00000000 MACL = 00000000
R9 = 00000000 PR = 000044A2
R10 = 00000000 PC = 06010000
R11 = 00000000

Puyo puyo sun :

Master SH2 invalid opcode

R0 = 060002A8 R12 = 00000000
R1 = 06000650 R13 = 00000000
R2 = 0600064C R14 = 00000000
R3 = FFFFFFFD R15 = 06100000
R4 = 06090000 SR = 00000000
R5 = 22082000 GBR = FFFFFE00
R6 = 00000000 VBR = 06000000
R7 = 06010000 MACH = 00000000
R8 = 00000000 MACL = 00000000
R9 = 00000000 PR = 000044A2
R10 = 00000000 PC = 06010000
R11 = 00000000
 
That's always the same error ? If so, maybe it is happening when emulating BIOS ?
Also, some games taken from some download sites may be incomplete or not contain dump files at expected names, causing emulation errors.
So if not already done, it would be good for testers and developers to use the same ROMs for testing ?


As an example, here is the log when Astra Superstar crashes. It happens during the "system checking" screen.
Code:
Error: Master SH2 invalid opcode

R0 =  25A7A000	R12 =  060FFED0
R1 =  060CF888	R13 =  00000000
R2 =  060CF7E4	R14 =  53454741
R3 =  060CF88C	R15 =  060FFEA4
R4 =  53454741	SR =   00000000
R5 =  00000103	GBR =  FFFFFE00
R6 =  00000099	VBR =  06000000
R7 =  00000002	MACH = 00000000
R8 =  060A495C	MACL = 00000000
R9 =  00000000	PR =   06062FBA
R10 = 060CC2C0	PC =   53454741
R11 = 00000001

Note : 53454741 = "SEGA" = uninitialized memory.
 
kronos 1.4.0 is released.

changelog :
Features : Redump zip archive support.
Features : QT5.11.1 and Visual Studio 2017 support.
Features : Options added to command line : scanline, ST-V (bios and iso) keyboard ST-V support (Only Linux).
Features : New BR2Z filter. If you have a low end GPU, try it.
Saturn Emulation : fixed glitches in the game Doom.
Saturn Emulation : fixed a GFX problem with the car cockpit in the game F1 Challenge.
Saturn Emulation : fixed a messed screen in the game F1 Challenge.
Saturn Emulation : fixed a sprite problem with the character in the game Metal Slug.
Saturn Emulation : fixed a GFX problem (transparent strips) with Athlete Kings and Blam Machinehead.
Saturn Emulation : fixed a GFX problem in the game Earthworm Jim.
Saturn Emulation : fixed a shadow problem with menu in the game Tsuukai!! Slot Shooting (J).
ST-V : fixed a problem with the STV bios (Linux and Windows). Now, STV emulation works on Linux and STV.
ST-V : games ascending sort order.
ST-V : fixed the screen posotion in game for the game Shienryu.
Translation : updated spanish language (Kris Tophe)
Translation : updated french language (Benjamin Siskoo)
Translation : updated english language (Benjamin Siskoo)
Translation : translations strings added : ST-V cabinet Configuration, ST-V Cabinet, SH2 Kronos Interpreter.
Translation : translations strings removed : Tesselation, Triangles using perspective correction, CPU Tesselation, GPU Tesselation.
Misc : added a new readme.html file.
Misc : fixed a crash with an old ini file and a recent version of Kronos.
Misc : Removed QT4 support (depreciated).
Misc : removed Tesselation support. It seems this option is useless.
 
I hope that somebody will compile this for android, yaba sanshiro aka uoyabause requires Android 5.0 to install and there are many heavy android devices with lower Android versions and no custom roms that is probably able to run Kronos very well, even the xperia play with overclocking could possibly run 2d games if Kronos was ported.

Keep up the good work.
 
Back
Top