Repository navigation
Version 1.22
Español:
He actualizado las instrucciones de instalación (portada del proyecto), ahora se entienden mucho mejor, espero.
Después de este firmware, mis esfuerzos se centrarán en incluir nuevos perfiles y retocar los existentes. Es tedioso y lento, hay multitud de cosas que calculo y compruebo yo mismo, voy a tardar, la IA no puede hacer ese trabajo.
Cuando un firmware incorpora correcciones de escalado, posicionamiento o borde, es recomendable usar la opción de restaurar borde (pestaña IMAGEN), de lo contrario, los nuevos cambios se suman a los del usuario.
Nuevo. Ya disponible el modo 4:3 dentro del 1080p x4 de PC-Engine. Podrás jugar con proporciones de CRT (esto era lo habitual) o píxel perfecto (se ve más nítido pero considero que no es normal jugar así a PCE) si seleccionas el formato 4:3 en tu TV. Si no quieres configurar tu tele, sigue existiendo el modo 16:9 en el que no tendrás que tocar nada.
Nuevo. Modo 1080p x5 de PC-Engine. Medido al completo.
Nuevo. Aviso en rojo cuando no hay ningun modo activado. La interfaz ahora avisa de que no se ha seleccionado ninguna resolución y que el preset actual es genérico.
Nuevo. Memoria de fábrica dentro del apartado relojes (avanzado). Si tocaste la memoria, esto restaura el reloj y su fase (dentro del modo y consola en el que estés) a los valores que introduje en el firmware.
Nuevo. RAM por consola. Ahora, si toqueteas la RAM, ese ajuste ya no te persigue de un perfil a otro provocando anomalías incomprensibles.
Nuevo. Frecuencia de salida ajustable exacta introduciéndola a mano. Eso sí, tirones asegurados cuando fuente y pantalla no van sincronizadas.
Nuevo. Apartado relojes (developer) -> Valores ADC a la vista y ajustables introduciendo la cifra exacta. Misma función que el PLL divider del GBS-Control original pero me es más cómodo así. Los usuarios avanzados podéis toquetearlo, el resto mejor no. Este ajuste se aplica en vivo y no queda guardado, lo uso para probar sin tener que compilar y flashear un firmware tras otro.
Nuevo. Apartado relojes (developer) -> Valores de salida del Si5351 a la vista y ajustable escribiendo la cifra exacta. Forma parte de mis pruebas, no es importante para el usuario común.
Nuevo. Fase del FTL (developer). El GBS va leyendo una imagen mientras escribe la siguiente, y en el punto de la pantalla donde se cruzan puede verse una línea de corte (tearing). Este ajuste decide dónde cae ese cruce: 0° lo pone arriba del todo, 180° por el centro, y de fábrica está en 90°. Los grados son fracciones del fotograma, no alturas exactas de la pantalla, y una parte del fotograma es borrado vertical: por eso en algunos valores la línea no llega a verse. Si ves una raya horizontal fija o un corte que parte o desdobla la imagen, prueba a sacarla fuera de la pantalla. Va en pasos de 15° y no se guarda: al reiniciar vuelve a 90°. Esto sólo forma parte de mis pruebas y no debería tener utilidad para el usuario común.
Corrección. El modo 720px5 320px de Mega Drive ya cuenta con píxel perfecto. Medido de nuevo y corregido. Es un modo que nadie va a usar, en SNES tiene sentido para jugar al Super Game Boy a pantalla completa, pero aquí... Bueno, queda hecho.
Corrección. Retiro el modo 16:9 ancho de Mega Drive. El botón ancho de Mega Drive equivale a usar el modo 4:3 que ya existía. Los dos llenan la misma porción de pantalla, dicho botón era innecesario.
Corrección. Se retira el botón llenar en todos los modos de PC-Engine. Si quieres una imagen estirada, ya la tienes pulsando el botón 4:3.
Corrección. El FTL ya no se desvía al saltar entre 240p ↔ 480i con Sonic 2 (modo dos jugadores), vuelve a medir el reloj a los pocos segundos del cambio.
Corrección. El icono Wi-Fi que aparece cuando se pierde la conexión ya no queda enterrado bajo la barra de estado en la interfaz móvil.
Corrección absurda. He sustituido la palabra "aparato" por "GBS" en todos los textos de la interfaz.
Corrección. Desaparece el aviso de ajuste fino en la barra de estado. No tenía sentido dejar eso ahí, uno mismo ya sabe si ha activado el ajuste fino o no, está en el centro de la cruceta. Era confuso, como si se tratara de un modo de vídeo especial.
Optimizaciones. Ahorrados casi 10KB de RAM en el ESP8266. Creo que los conocidos problemas del Wi-Fi llevan a problemas más graves porque el log se va acumulando, no se envía a tiempo y la poquita RAM que tenemos literalmente colapsa, hasta que el GBS deja de responder, su interfaz se congela y no vuelve a cargar, e incluso en algunos casos he visto cómo el escalador se reinicia. Los arreglos son estos: los textos del log están ahora escritos en la flash (se leen desde ahí, 2,5KB); si el usuario no tiene OLED instalada, el firmware lo detecta, nos ahorramos menú y buffer (7KB); la línea de datos de la barra fija de estado se escribe directamente sin buffer (480bytes).
English:
I've updated the installation instructions (project front page); they should be much clearer now.
After this firmware, my efforts will go into adding new profiles and refining the existing ones. It's tedious and slow, there are plenty of things I work out and check myself, it will take me a while, the AI can't do it on its own.
When a firmware includes scaling, positioning or border corrections, it's a good idea to use the restore border option (IMAGE tab); otherwise the new changes are added on top of your own.
New. The 4:3 mode is now available inside PC-Engine's 1080p x4. You can play with CRT proportions (this was the usual thing) or pixel perfect (it looks sharper but I don't think it's normal to play PCE that way) if you set your TV to the 4:3 format. If you don't want to configure your TV, the 16:9 mode is still there and you won't have to touch anything, of course.
New. PC-Engine's 1080p x5 mode. Fully measured.
New. Red warning when no mode is enabled. The interface now warns you that no resolution has been selected and that the current preset is a generic one.
New. Factory memory inside the clocks section (advanced). If you touched the memory, this restores the clock and its phase (within the mode and console you are in) to the values I put in the firmware.
New. RAM per console. Now, if you fiddle with the RAM, that setting no longer follows you from one profile to another causing baffling anomalies.
New. Exact output frequency, adjustable by typing it in by hand. Mind you, stutter guaranteed when source and display aren't in sync.
New. Clocks section (developer) -> ADC values on show and adjustable by typing the exact figure. Same function as the original GBS-Control's PLL divider, but I find this handier. Advanced users can fiddle with it, everyone else had better not. This adjustment is applied live and isn't saved; I use it to test without having to compile and flash one firmware after another.
New. Clocks section (developer) -> Si5351 output values on show and adjustable by typing the exact figure. It's part of my testing, not important for the ordinary user.
New. FTL phase (developer). The GBS reads one image while it writes the next, and at the point on the screen where they cross you can see a tear line. This setting decides where that crossing falls: 0° puts it right at the top, 180° halfway down, and out of the box it's at 90°. The degrees are fractions of the frame, not exact heights on the screen, and part of the frame is vertical blanking: that's why at some values the line never shows. If you see a fixed horizontal line or a tear splitting or doubling the image, try moving it off the screen. It goes in 15° steps and isn't saved: on restart it goes back to 90°. This is only part of my testing and shouldn't be of any use to the ordinary user.
Fix. Mega Drive's 720px5 320px mode is now pixel perfect. Measured again and corrected. It's a mode nobody is going to use; on SNES it makes sense for playing the Super Game Boy full screen, but here... Well, it's done.
Fix. I'm removing Mega Drive's 16:9 wide mode. Mega Drive's wide button amounts to using the 4:3 mode that already existed. Both fill the same portion of the screen, so that button was unnecessary.
Fix. The fill button is removed from every PC-Engine mode. If you want a stretched image, you already have it by pressing the 4:3 button.
Fix. The FTL no longer drifts when jumping between 240p ↔ 480i with Sonic 2 (two-player mode); it measures the clock again a few seconds after the change.
Fix. The Wi-Fi icon that appears when the connection is lost no longer ends up buried under the status bar in the mobile interface.
Pointless fix. I've replaced the word "device" with "GBS" throughout the interface texts.
Fix. The fine adjustment notice is gone from the status bar. It made no sense having that there; you know yourself whether you've turned fine adjustment on, it's in the middle of the d-pad. It was confusing, as if it were some special video mode.
Optimisations. Almost 10KB of RAM saved on the ESP8266. I think the well-known Wi-Fi problems lead to more serious ones, because the log keeps piling up, isn't sent in time and the little RAM we have literally collapses, until the GBS stops responding, its interface freezes and never loads again, and in some cases I've even seen the scaler reset itself. The fixes are these: the log texts are now written in flash (read from there, 2.5KB); if the user has no OLED installed, the firmware detects it and we save the menu and its buffer (7KB); the fixed status bar's data line is written straight out with no buffer (480 bytes).