MSX Template Pack for MS Visual Studio v00.04.00 released - introducing ROM support

By DamnedAngel

Master (214)

Аватар пользователя DamnedAngel

20-05-2020, 04:47

MSX Template Pack for MS Visual Studio Version 00.04.00 - Codename GZIP and BYTE* released, introducing the MSX ROM application template!

*This release is a tribute to GZIP and BYTE, Piter Punk's and Rafael Rigues' kittens respectively, which just passed away. RIP GZIP and BYTE, you will be missed.

Relevant Link + Downloads.

Changelog since 00.03.00:

00.04.00:
[.N] (TKT_00001) Implement initial support for MSX ROM projects.
[.N] (TKT_00003) Add support for Call expansion in ROM projects.
[.N] (TKT_00011) Add basic support for Device expansion in ROM projects.

00.03.03
[.B] (TKT_00009) Fixed resolution of filesystem variables updated within TargetConfig files. - - Thanks MRC user ToriHino for spotting and reporting the bug.

00.03.02
[.B] (TKT_00002) Fixed usage of Include Directories in the compilation of modules (they were being used only in the final build). - Thanks Pål Frogner Hansen for spotting the bug and helping to solve it.
[.E] (TKT_00006) Renamed RelocatableLibraries.txt to Libraries.txt to make it semantically compatible with LIB files.

00.03.01
[.E] Renamed RELs.txt to RelocatableLibraries.txt (although this is a minor release, this breaks compatibility with former versions's Make Script).
[.E] Removed build script parameter related to name of the output binary (the name and extension are now parameters in TargetConfig_Debug.txt and TargetConfig_Release.txt; although this is a minor release, this breaks compatibility with former versions's Make Script).
[.E] Updated project to Visual Studio 2019 (but should work with 2017 as well).
[.E] Updated BIN application to make the return to BASIC clearer.
[.E] Added comment to help clean the application templates (remove example functionalities).
[.N] Added example on how to use parameters (argv and argc) in MSX-DOS template.

[.E] Enhancement
[.N] New feature
[.B] Bug correction

Some teasers:

Selecting the ROM template to create a ROM project


Compiling the ROM application project


Cartridge initialization routine (this is where you want to put your game!)


BASIC's CALL command extension...


... which is implemented just by this...


... and this!


BASIC's devices extension...


... which is implemented just by this...


... and this!

Want a clean template, without CALL and devices extension support?

Just turn off extensions support here and get a pure, clean application for your game!

Well, hope you guys find this useful and have fun coding!
Happy ROMming, and stay safe!

Для того, чтобы оставить комментарий, необходимо регистрация или !login

By ToriHino

Hero (653)

Аватар пользователя ToriHino

20-05-2020, 10:08

Great work, thanks for the update!

By Bengalack

Champion (331)

Аватар пользователя Bengalack

20-05-2020, 15:55

This really sweet. Smart setup with that "msxromcrt0"! Smile

Megarom coming up next? Big smile

By DamnedAngel

Master (214)

Аватар пользователя DamnedAngel

14-12-2020, 13:40

TEMPLATE PACK VERSION 00.04.01 - CODENAME JUNIOR RELEASED!

Hi Folks, this is to inform you that yesterday I released version 00.04.01 of the template pack, with some issues corrected.

Relevant Link + Downloads: https://github.com/DamnedAngel/MSX-Templates-for-VisualStudio/releases/tag/v00.04.01

Changelog:
(B) (TKT_00014) Global variables not properly initialized in ROM projects.
(B) (TKT_00015) Code areas being messed up due to incorrect file order in the link command.
(E) (TKT_00017) Standardize crt0s and segment order.

(B) Bug correction
(E) Enhancement

Note: You CAN use the templates in other IDEs as well. Just forget the MSVS-related files and run the makefile manually or configure the IDE to call it.

Happy XMas coding!

By ToriHino

Hero (653)

Аватар пользователя ToriHino

14-12-2020, 17:48

Nice, especially on the global variables Smile

By Bengalack

Champion (331)

Аватар пользователя Bengalack

15-12-2020, 20:50

Thanks. I will probably look more into roms soon and this will just kick-start that. Thumbs up.

By DamnedAngel

Master (214)

Аватар пользователя DamnedAngel

28-02-2021, 01:35

MSX C/ASM template projects go LINUX and Mac OS!


http://angelo.eng.br/msx/danilo/Visual%20Studio%20Templates/screenshots/Teaser%2000.05.00%20-%2001.png
Build Script on linux


http://angelo.eng.br/msx/danilo/Visual%20Studio%20Templates/screenshots/Teaser%2000.05.00%20-%2002.png
Build Script on Mac OS

Release 00.05.00 to be out soon with support for LINUX and Mac OS!
Stay tuned :D.

--------------
Edit: For some reason embedding the images didn't work properly on my browsers (with the exception os Safari), so I added the URLs in the text as well.