If you can use mapper, you can use ramhelpr and use a mapper segment for your interrupt routine, I've made an UNAPI driver this way and it works really well (my current driver no longer uses interrupts but the first concepts did use it), then just place the ramhelpr hook call to execute your code an place it into the third segment. Just remember that you have no assurance that bios or DOS will be on page 0,so any routines you may need, you must ensure to do interslot calls.
Sounds good. You can use CALLF, which is exactly 5 bytes and fits in a hook, then you won’t need the small helper routine.
The new version of FUSION_C 1.2 is available.
What's up...
Fixes, optimizations, and new features, including MSX2 VDP features, Support of the V9990 and GR8NET TCPIP
- CheckBreak: Check Break sequence in MSX-DOS console
- PutCharHex: Pint Hex conversion of a char on console
- PrintHex: Print Hex conversion of an integer on console
- HMMM: Vram to Vram
- LMMC: Ram to Vram Fast Copy Function
- YMMM: Vram to Vram Fast Copy to Y Position
- HMMV: High speed draw filled rectangle
- LMMV: High speed filled rectangle with operator
- MouseReadTo: Fast Read mouse state and buttons to variable structure
- Itoa: Integer to Char conversion
- StrReverse: Reverse a string
- BoxFill: Fast Draw of a box on screen (easy version of HMMV / LMMV)
- BoxLine: Fast Draw of an empty box on screen
Added support for the V9990 by porting the TeamBomba's GFX9K graphics library to SDCC (Thanks to Sylvain). (beta, no manual, but a .h file to read!)
Added TCP TCP Support for GR8NET Cartridge (Thanks to Eugeny) (beta. No manual but a .h to read!)
The library is still free.
To download this version, 2 possibilities:
on the Repro-Factory Site: http://www.ebsoft.fr/shop/es/19-fusion-c
or on GitHub: https://github.com/ericb59
Be happy and code for MSX !
See you
Oh, nice!
Will there also be a version to use natively on a real MSX with MSX-C version 1.2?
I think Eugeny's library is for UNAPI TCP-IP devices in general, so it is not only for GR8NET support but all network adapters for MSX that support UNAPI (Denyonet, SM-X, Obsonet, XSWIFI, etc), which was really great from him not going through GR8NET specific code only...
The PutText function doesn't work since the V1.1. The compiler says "error102: too few parameters"
Since the V1.1a PutText has a fourth parameter (logical operator). Please see the V1.2 Quick Manual
Since the V1.1a PutText has a fourth parameter (logical operator). Please see the V1.2 Quick Manual
Thank you. I tested with brick breaker code, putting 0 in the last parameter, and compiles well.
Brick Breaker Demo, was updated to be compiled without error with Fusion-C 1.2
Please download the new source code from repro-factory.com or the GitHub repository.
Maybe this is not the right location but hopefully someone can help me.
i am trying to set-up the fusion environment with subfolders for diffrent projects.
But when when a project is in a folder i can't compile it, it needs to be in the root of the working folder.
is there a way to compile it within the project folder? and not have all the other files and tools in all the project folders?