PLEASE GET THE FILES FROM THE MOST RECENT BETA POST
(español abajo)
This week we have achieved a major milestone: on-the-fly ROM decryption, just as the original system does.
CPS2 games are encrypted by shuffling bits and exoring with the keys over and over again. The encryption key is 64-bit wide, and it gets merged with the address of the data to generate a second key. There are many stages of combinational logic used involved. I am no surprised that bootleggers did not decrypt it during the system's commercial life.
The FPGA implementation went quite smooth, despite the complexity. Last night I finally got the original games to boot.
Sadly, I haven't had the time to prepare more games for today, and we are still limited to Super Puzzle Fighter 2 Turbo, although all versions work now.
Other improvements:
-NVRAM Support (press F2 or enter the menu through the OSD DIPs)
-Sprite wrap around corrected
-DMA speed fixed (from CPS1 core)
-CPU bus waits accurate (although I have to check again after encryption)
-HDMI default aspect ratio correct
Having cleared most of the hurdles, I will focus on deploying more games for next week.
Español
Esta semana hemos logrado un hito importante: el descifrado de la ROM al vuelo, tal como lo hace el sistema original.
Los juegos de CPS2 se cifran mezclando bits y haciendo XOR con las claves una y otra vez. La clave de cifrado tiene un ancho de 64 bits y se mezclan con la dirección de los datos para generar una segunda clave. Hay muchas etapas de lógica combinacional utilizadas. No me sorprende que los piratas no lo descifraran durante la vida comercial del sistema.
La implementación de FPGA ha ido bastante bien, a pesar de la complejidad. Anoche finalmente conseguí arrancar los juegos originales.
Lamentablemente, no he tenido tiempo de preparar más juegos para hoy, y todavía estamos limitados a Super Puzzle Fighter 2 Turbo, aunque todas las versiones funcionan ahora.
Otras mejoras:
-Soporte de NVRAM (presione F2 o ingrese al menú a través de los DIP de OSD)
-Corregidos fallos en los sprites
-Velocidad de DMA corregida (del cor de CPS1)
-Las esperas de bus ahora son precisas (aunque tengo que verificarlas nuevamente tras añadir el cifrado)
-Relación de aspecto predeterminada de HDMI correcta
Habiendo superado ya la mayoría de los obstáculos, me concentraré en implementar más juegos para la próxima semana.
Turboman UK
2021-02-26 11:38:36 +0000 UTCThomas Williams
2021-02-24 11:55:08 +0000 UTC