.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! :(
Seems that there is a problem with keySound(0) to turn off the keyboard click. Calling this function causes a "too many parameters" error.
Please let me know more information about what you are calling "parameters errors"
The exact error I get when using keySound(0) is:
warning 112: function 'keySound' implicit declaration
error 101: too many parameters
Looks like you are either missing an include or misspelled the function, since it does not recognize the declared function .
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?
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.
Great work! Thanks for the update, i'll update my projects as soon as possible.
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.
Thank you Eugeny !
I will include your routine in the next evolution of Fusion-C.