XaiJu
JOTEGO
JOTEGO

patreon


Bay Route

Español abajo -  日本語は下記

The core compatible with SEGA System 16 still has some pending work so I went back to it this week. Bay Route, a very nice run and gun, was freezing soon after the game started. The unencrypted version (bayroute1) was just a blank screen. As the unencrypted version had one fewer element -the decrypter-- and it also failed more quickly, I started with it. I spent two days inspecting the CPU activity without finding anything odd. Then I turned to MAME for comparison. It is not easy to compare with emulators because things don’t happen at the same time, but with a couple of tricks I was able to obtain meaninful comparisons. Still, nothing. All CPU activity seemed equivalent. Then, it dawned on me: this game is actually working. I went back to the FPGA and disable the text graphic layer. Then, an image made of solid colour blocks showed up. It was possible to guess that the demo was running and that it didn’t hang up.

It was easy to understand the blank screen: there is no known ROM dump for the sound CPU. So the data requested by the MRA was skipped and that made the rest of the ROM files to shift their location in the download stream to the SDRAM. The graphics were just in the wrong SDRAM location. That was easy to fix. Then, there was the problem with the encrypted games. However, I had seen something similar with the Japanese version of Cotton. The game would hang up because the encryption keys changed on the fly by mistake. The protection system can change keys at any moment upon software demand. The core was a bit too flexible interpreting those demands. Once a more stringent condition was set, the game became stable. This was also what crashed Bullet as far as we can tell. Bullet has not crashed to the JTALPHA team after this bug fix.

So Bay Route is the new game for the week. Enjoy!

Español

El core compatible con SEGA System 16 aún tiene trabajo pendiente por lo que lo retomé esta semana. Bay Route, un run and gun muy cañero, se quedaba fritopoco después de comenzar la partida. La versión sin encriptar(bayroute1) era solo una pantalla en blanco. Como esa versión tenía un elemento menos, el decodificador, y también fallaba antes, comencé con esa.

Pasé dos días inspeccionando la actividad de la CPU sin encontrar nada extraño. Luego recurrí a MAME para comparar. No es fácil comparar con emuladores porque las cosas no suceden al mismo tiempo, pero con un par de trucos pude obtener comparaciones significativas. Aún así, nada. Toda la actividad de la CPU parecía equivalente. Entonces, me di cuenta: este juego realmente funcionaba. Volví a la FPGA y deshabilité la capa gráfica de texto. Luego, apareció una imagen hecha de bloques de colores sólidos. Era posible adivinar que el modo demose estaba ejecutando y no se colgaba.

Fue fácil entender la pantalla en blanco: no hay un volcado de ROM conocido para la CPU de sonido. Así, los datos solicitados por el MRA y eso hizo que el resto de los archivos ROM cambiaran su ubicación en el flujo de descarga a la SDRAM. Los gráficos estaban en la ubicación SDRAM incorrecta. Eso fue fácil de arreglar. Luego, estaba el problema con los juegos encriptados. Sin embargo, había visto algo similar con la versión japonesa de Cotton. El juego se colgaba porque las claves de cifrado cambiaban sobre la marcha por error. El sistema de protección puede cambiar las claves en cualquier momento a petición del software. El núcleo erademasiado flexible al interpretar esas demandas. Una vez que se estableció una condición más estricta, el juego se estabilizó. Esto también fue lo que estrelló Bullet, por lo que sabemos. Bullet no se bloqueó con el equipo de JTALPHA después de esta corrección de errores.

Así que Bay Route es el nuevo juego de la semana. ¡Disfrutar!

日本語

セガシステム16と互換性のあるコアにはまだいくつかの保留中の作業があるので、今週私はそれにかかりました。素晴らしいランアンドガンドであるベイルートは、ゲームが始まってすぐに固まってしまいました。システム16のゲームはほとんど暗号化されています。ただし、ベイルートだと暗号化されていないバージョン(bayroute1)もあります。でもそのバージョンではコアで実行させると単なる真っ黒の画面になりました。暗号化されていないバージョンでは構成が単純のうえ、バッグも最初からだったので、そこに集中しました。

2日をかけて、CPUの動きを調べましたが、何も奇妙なことは見つかりませんでした。それから比較のためにMAMEに目を向けました。同時に物事が起こらないため、エミュレーターと比較するのは簡単ではありませんが、いくつかの技を使用して、意味のある比較を行うことができました。

それでも、何も見つかりませんでした。すべてのCPUの動きは同等のようでした。そのときに気が付きました:このゲームは実際に働いているのです。 FPGAに戻り、テキストグラフィックレイヤーを無効にしました。すると、1色のブロックでできた画像が現れました。デモが実行されていて、固まらないと推測することができました。

真っ黒の画面を理解するのはそれほど苦労ではなかったです。サウンドCPUのROMダンプはないようです。そのため、MRAによって要求されたデータは飛ばされ、残りのROMファイルはその分だけずれてしまいました。グラフィックが間違ったSDRAMの場所にありました。それはすぐに修正できました。次に、暗号化されたバージョンにかかりました。以前に、日本語版のコットンに似たような問題をがありました。暗号のキーが誤って変更されたため、ゲームが固まってしまいました。暗号システムは、ソフトウェアの要求に応じていつでもキーを変更できます。コアは、これらの要求を解釈するのに少し柔軟性がありすぎました。より厳しい条件が設定されると、ゲームは安定しました。これは、私たちが知る限り、Bulletをクラッシュさせたものでもありました。このバグ修正後、Bulletも安定です。

つまり、ベイルートは今週の新しいゲームです。お楽しんでください。

Comments

I have never unzipped jtbeta.zip.

Syro

I never even knew about this one but had great fun playing it. I'm looking forward to what comes next!

Syro

hmmm moved the files over to my mister but i just get a black screen - tried mras in the alternative folder too. not seeing a bayroute.zip in my games\mame folder. doesnt seem like update-all is downloading the rom. Manually downloaded and it worked. Getting tons of CRC errors when running MRA checker script. Am I supposed to be extracting jtbeta.zip or leaving it zipped?

Random Hajile


More Creators