MSX Application Templates for MS Visual Studio

Pagina 3/5
1 | 2 | | 4 | 5

Van DamnedAngel

Master (184)

afbeelding van DamnedAngel

25-01-2020, 16:26

Version 0.3.0 released, introducing the MSX-DOS application template!

Relevant Link + Downloads.

Changelog:

  • [N] Introduction of the MSX-DOS application template!
  • [N] Added support for filesystem settings (dev/lib directories, output directories, output binary file names).
  • [N] Added support for CODE-LOC and DATA-LOC parameter customization, including automatic CODE-LOC optimization for MSX-DOS.
  • [B] Added global variables initializer.

[N] New feature
[B] Bug correction



Folks, pls let me know of any bugs, difficulties and sugestions!

@konamiman:
1. Github: check.
2. Github releases: check.
3. Markdown documentation: pending.
Almost there. :D

Van ToriHino

Champion (493)

afbeelding van ToriHino

25-01-2020, 22:42

Great work, the update i was waiting for Smile

Van DRomero

Expert (125)

afbeelding van DRomero

30-01-2020, 18:08

Thank you!!!

Van ToriHino

Champion (493)

afbeelding van ToriHino

11-02-2020, 00:58

Finally got some time to test and getting it to work was easy, the example program builds without any problem. I used VS2019 and generated a MSX-DOS Application project.

First thing i noticed is that setting the the paths in TargetConfig_Debug or Release does not do anything i.e. the make.bat file just uses the settings defined in the .bat file itself.

Van akumajo

Resident (43)

afbeelding van akumajo

11-02-2020, 07:36

Thank you for making this achievement available to us, it's always exciting to discover new development tools!

Van DamnedAngel

Master (184)

afbeelding van DamnedAngel

24-02-2020, 13:37

New "service release" available (version 00.03.02), with fixes regarding the inclusion of external Libraries.

Release notes and download links here:
MSX Template Pack for Microsoft Visual Studio -Version 00.03.02 - Codename ISA

ToriHino wrote:

First thing i noticed is that setting the the paths in TargetConfig_Debug or Release does not do anything i.e. the make.bat file just uses the settings defined in the .bat file itself.

Hi ToriHino, could you please share details? The paths seem to work fine here.
Could your problem be related to the issue of inclusion of external libraries, which is (hopefully) addressed in v00.03.02?

best,

Van ToriHino

Champion (493)

afbeelding van ToriHino

24-02-2020, 19:49

As an example I see the following:

I have modified TargetConfig_Debug with the following lines (just as a test):

MSX_DEV_PATH		..\..\
MSX_LIB_PATH		[MSX_DEV_PATH]\mylibs

However sdcc is called with the following arguments:
Processing C file msxdosapp.c... sdcc -mz80 -c -I. -I..\..\..\mylibs\fusion-c\header -o Debug\objs\msxdosapp.rel msxdosapp.c

So the new lib path name indeed is taken into account, however the MSX_DEV_PATH is always ..\..\..\
For now this is quite easy to work around by putting fusion-c one folder further below.

BTW: the default sample program failes in Release build on line 68 but that's most likely because i did not update SDCC yet (and in Debug this code is excluded). This does give some interesting output in VS2019 in the errors tab about line 22: identifier "add" is undefined, and some more, but in the output window the actual error is visible.

EDIT: Indeed upgrading to version 4.0 of SDCC solved the building in Release problem (I was still at version 3.6). And this gives also intermingling of declarations and statements (Yay!)

Van DamnedAngel

Master (184)

afbeelding van DamnedAngel

25-02-2020, 13:07

Oh, I see. That is a problem in DOS Batch variable expansion. I will try to solve it.

Thanks for reporting! I will get back to you as soon as I can.

Van ToriHino

Champion (493)

afbeelding van ToriHino

25-02-2020, 19:37

Took in your latest version and now it works, thanks!

Van DamnedAngel

Master (184)

afbeelding van DamnedAngel

25-02-2020, 20:09

Yes, just released 00.03.03, with that issue fixed. Thanks for reporting!

MSX Template Pack for Microsoft Visual Studio Version 00.03.03 - Codename ISA

Let me know of any problems or suggestions!

Pagina 3/5
1 | 2 | | 4 | 5