MSX FUSION-C, Talking about bugs, errors, mistakes

Page 9/13
2 | 3 | 4 | 5 | 6 | 7 | 8 | | 10 | 11 | 12 | 13

By konamiman

Paragon (1044)

konamiman's picture

24-04-2019, 15:45

erikmaas wrote:
.globl	l__INITIALIZED
.globl	l__INITIALIZER
.globl	s__INITIALIZED
.globl	s__INITIALIZER
        .area   _GSINIT
gsinit::
	ld	bc, #l__INITIALIZED
	ld	a, b
	or	a, c
	jr	z, gsinit_next
	ld	de, #s__INITIALIZED
	ld	hl, #s__INITIALIZER
	ldir
gsinit_next:
.area   _GSFINAL
	ret

This seems indeed the way to go. The fun part is that I had found this myself while working on OPC: https://github.com/Konamiman/OPC/blob/master/Server/msx/crt0... - but forgot to backport it to the MSX-DOS crt0's. D'oh! :(

By wimpie3

Champion (264)

wimpie3's picture

26-04-2019, 15:53

Seems that there is a problem with keySound(0) to turn off the keyboard click. Calling this function causes a "too many parameters" error.

By ericb59

Paladin (875)

ericb59's picture

26-04-2019, 18:05

Please let me know more information about what you are calling "parameters errors"

By wimpie3

Champion (264)

wimpie3's picture

02-05-2019, 10:30

The exact error I get when using keySound(0) is:
warning 112: function 'keySound' implicit declaration
error 101: too many parameters

By ToriHino

Champion (383)

ToriHino's picture

02-05-2019, 11:02

Looks like you are either missing an include or misspelled the function, since it does not recognize the declared function .

By wimpie3

Champion (264)

wimpie3's picture

02-05-2019, 11:21

Stupid me... it's KeySound and not keySound.

OK, other question: anyone know how to get pt3replayer and ayfx_player working at the same time? I can play sound effects but this has a serious impact on the quality of the music, even it the music only plays on one track. Can I "force" sound effects on one channel and music on the other?

By ericb59

Paladin (875)

ericb59's picture

31-05-2019, 14:17


After more than 220 downloaded Package since 5 months, the world wide's MSX community proved its interest in a complete easy language package usable on recent computers to program our good old MSX !

The new version 1.1 of FUSION-C is available.

Now more stability, less memory used in compiled programs, a lot BUGS fixed, and new features available.
Some functions have been fully reprogrammed to consume less memory and be faster.
The new functions now allow:
- Manage an MSX mouse
- Have a real time timer variable
- Decompress RLEWB data (Compressor include)
- Read and write data directly on disk's sectors
- Play Samples via a Covox module
- Manage an automatic interruption
- the new crt0 now initialize global variables.
and more...

FUSION-C 1.1 is always free, downloadable from www.repro-factory.com
The book FUSION-C Complete Journey has been updated and corrected, is still available on Amazon:
https://www.amazon.com/FUSION-C-MSX-Library-complete-journey/dp/1730828612/ref=sr_1_3

Code, play, publish!

Eric.

By ToriHino

Champion (383)

ToriHino's picture

31-05-2019, 14:41

Great work! Thanks for the update, i'll update my projects as soon as possible.

By Eugeny_Brychkov

Paragon (1106)

Eugeny_Brychkov's picture

17-06-2019, 15:31

Totally forgot to put update here: I have released libraries for Fusion-C to access TCP/IP UNAPI. While I explicitly targeted them for GR8NET, they will work with any adapter supporting the specification.

Well, these are not libraries per se, but the set of routines. I am sure people who know how to configure Fusion-C will be able to make dynamically linkable code.

The archive contains sources as well as testbentch which I used to debug code and GR8NET's UNAPI implementation.
If you find the mistake, error or bug please let me know ASAP.

By ericb59

Paladin (875)

ericb59's picture

17-06-2019, 19:16

Thank you Eugeny ! Wink
I will include your routine in the next evolution of Fusion-C.

Page 9/13
2 | 3 | 4 | 5 | 6 | 7 | 8 | | 10 | 11 | 12 | 13