martes, 16 de febrero de 2016

Que usar para programar para MSX/MSX2 en tu PC.

De las muchas opciones que hay para programar para MSX y MSX2 os destaco una que pasa por usar el lenguaje de programación Pascal. 

Hace tiempo gracias a Slotman, teníamos el IDE MSXPad el cual compila código Pascal para nuestros MSX. Esto, combinado con las librerías incluidas nos permitía acceder a todas las funcionalidades del MSX desde Pascal. 

Esta idea es muy buena, pero lamentablemente, MSXPad no funciona correctamente en los PC modernos. 

Os presento una alternativa que he desarrollado, usando como base el trabajo realizado por Slotman. 

Esta alternativa es el MSXPad Revived

MSXPad Revived  es : 
  • Un compilador de Pascal para MSX y MSX2.
  • Un pequeño IDE para desarrollar bajo Pascal para MSX y MSX2.
  • Un set de librerías en Pascal que nos permiten usar las capacidades del MSX y MSX2.


Hay que darle las gracias a Slotman por su esfuerzo original. 

Yo he modificado y hackeado la(s) herramienta(s) para poderlas usar en un entorno PC moderno. El MSXPad Revived lo podéis descargar de su página.

Un pequeño vídeo del IDE en acción: 






1 comentario:

Anónimo dijo...

Thank you very much.

I used MSX maaaaaany years ago.
Now, in 2021, I decided to play with MSX emulators a little bit, to remember the past.
I tested the original MSXPAD (which lacks support to Windows 10) and discovered MSXPadRevived here (which brings that support).
To those interested, I'd like to note that there are 3 bugs in MSXPadRevived:
1) F6 gives error if there is already a D.DSK file in the project folder (so, we have to manually delete this file to proceed)
2) F5 silently launches the emulator, even if the source code has not been recompiled, due to the error in F6 (so, what you will see running is the OLD version of the program)
3) Included * .INC files cause crazy (non-existent) syntax errors due to the use of DOSBOX in Windows10.

There is a simple solution to problem 3 above, just use DosBox-X instead of DosBox.
But there is no solution to problems 1 and 2 above in MSXPadRevived.

So, I researched a little more and found that Slotman released a fix for the F5 and F6 bugs (problems 1 and 2), but only here on this page:
https://www.msx.org/forum/msx-talk/development/loac-sc5-screen-in-pascal

Following his instructions, I installed MSXPAD and then overwrote it with that NEW FIXED files and all errors were corrected. MSXPAD is now compiling normally on Windows 10, no errors !!!