MSXgl – A new C game library for MSX

Page 3/23
1 | 2 | | 4 | 5 | 6 | 7 | 8

Par aoineko

Paladin (1002)

Portrait de aoineko

17-01-2022, 17:48

Still work in progress. Like WYZ format.

The Arkos replayers use compiled data format for the music for optimization purpose ; it make it difficult to handle in C.
I have 2 ways to explore :
- Change my Build Tool to allow to compile music data (I'm not a big fan of this solution)
- Modify the replayers to make data use relative address offset (like many other formats) so that the data can be independent of the program

EDIT: BTW, I haven't tested it yet, but mvac7 already has a WYZ replayer for SDCC : https://github.com/mvac7/SDCC_WYZplayer_Lib

Par ToriHino

Paladin (856)

Portrait de ToriHino

17-01-2022, 18:24

Ok yes, it's not the easiest format to integrate. For RoboPlay i'm currently trying to create an implementation full in C for it, but still have to see how well it works (especially the performance).

But for now i'm going to try your library for sure, it already contains quite a complete set of functionality Smile

Par AxelStone

Prophet (3199)

Portrait de AxelStone

17-01-2022, 19:07

Thanks so much for this great work!!!

Par wimpie3

Champion (435)

Portrait de wimpie3

18-01-2022, 07:46

Is there documentation available somewhere? Or do we have to study the example files to see what's possible?

Par ARTRAG

Enlighted (6935)

Portrait de ARTRAG

18-01-2022, 08:12

Par wimpie3

Champion (435)

Portrait de wimpie3

18-01-2022, 09:20

Yes I've seen that, but that's simply a "how to start" page. Not the full documentation of the library.

Par aoineko

Paladin (1002)

Portrait de aoineko

18-01-2022, 09:29

For the moment, the documentation is very basic. ^^
In addition to the site given by ARTAG, there is the listing of the functions prototype available there: MSXgl/engine/doc/html/index.html.

Par wimpie3

Champion (435)

Portrait de wimpie3

18-01-2022, 10:07

OK... did everything as mentioned on the start page. Opened a command prompt, went to the samples directory, started the build script and tried to compile the first sample. This is what I got:

» Target: 128KB ROM using ASCII-8 mapper (starting at 4000h)
» Machine: MSX 1
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
» Modules: arkos\akm_player,system,bios,vdp,print,input,memory,math,draw

┌───────────────────────────────────────────────────────────────────────────┐
│ COMPILE                                                                   │
└───────────────────────────────────────────────────────────────────────────┘
Compiling C:\MSXgl\projects\samples\\..\..\engine\src\crt0\crt0_rom_mapper.asm using SDASZ80 ASM compiler...
SDASZ80 -o -l -s -IC:\MSXgl\projects\samples\ -IC:\MSXgl\projects\samples\\out -IC:\MSXgl\projects\samples\\..\..\engine\src C:\MSXgl\engine\src\crt0\crt0_rom_mapper.asm
C:\MSXgl\engine\src\crt0\crt0_rom_mapper.asm:16: Error:  .include file error or an .if/.endif mismatch
removing C:\MSXgl\engine\src\crt0\crt0_rom_mapper.rel
Error: Compile failed with error number 2
Error: Build Failed with error number 300
Press any key to continue . . .

Par ARTRAG

Enlighted (6935)

Portrait de ARTRAG

18-01-2022, 10:35

It could be a path problem to the compiler... Have you installed SDCC v4.1.12 ?
In case, have you tried to compile the samples?
https://aoineko.org/msxgl/index.php?title=Testing_library_sa...

Par aoineko

Paladin (1002)

Portrait de aoineko

18-01-2022, 10:37

Can you please give the path you enter in default_config.cmd ?

Or better, send me the "vars.txt" created by set > vars.txt

Page 3/23
1 | 2 | | 4 | 5 | 6 | 7 | 8