Arkos replayer code

Por aoineko

Master (160)

Imagen del aoineko

17-06-2021, 20:51

Does anyone have versions of Arkos replayers adapted to MSX?
I am a C programmer and even if I was able to understand and adapt the PT3 assembler replayer thanks to the work of the MSX community, I can't get anything with the assembler code provided by the Arkos team.
I tried to follow the intructions to convert the code to an assembler I can compile (sdasz80), but I can't get anything working.
The many switches for the different supported platforms make the code unbearable for my assembler skills.

Login sesión o register para postear comentarios

Por thegeps

Paladin (828)

Imagen del thegeps

17-06-2021, 22:33

Tomorrow I'll provide what you need: do you want a ROM or a RAM player? If you want a ROM player you need in any case a 256 bytes buffer (so need a fixed address). Let me know your mail. I'll provide an already "translated" source and a tutorial on how to do Wink

Por aoineko

Master (160)

Imagen del aoineko

18-06-2021, 01:16

Thank you very much.
I'm looking for a ROM player (no problem for the buffer).
My email is on my MRC profil.
Can I distribute the source code of your replayer version in my C game library (https://github.com/aoineko-fr/CMSX) ?

Por thegeps

Paladin (828)

Imagen del thegeps

18-06-2021, 01:38

The replayer isn't mine. It is the one included in arkos tracker package. And you can freely use it and distribute (and even modify it). But if you jave some doubt you xan ask directly to julien (thargan) on arkos website forum Wink

Por theNestruo

Champion (296)

Imagen del theNestruo

18-06-2021, 09:36

Not a C coder nor Arkos user myself (so I haven't tested it), but Reidrac's ubox MSX lib: https://github.com/reidrac/ubox-msx-lib . The replayer section is within the src/mplayer folder

Por ToriHino

Paladin (710)

Imagen del ToriHino

18-06-2021, 12:21

Looks like the ubox implementation is exactly what aoineko needs: a thin C wrapper around the assembly code generated when following the instructions on the Arkos site.

Por aoineko

Master (160)

Imagen del aoineko

18-06-2021, 14:21

ToriHino wrote:

Looks like the ubox implementation is exactly what aoineko needs: a thin C wrapper around the assembly code generated when following the instructions on the Arkos site.

I'm not looking for a C wrapper but a "clean" MSX version of the assembler code.
Ubox seem to use the code provided by Arkos "as it" (https://github.com/reidrac/ubox-msx-lib/blob/master/src/mpla...).
RASM assembler + macros + plateform specific switch makes the code unbearable for me.
I tried to clean it up by myself some time ago but never manage to make it run.
If I could start from a "clean" working version, it would help me to adapt it to my needs and create my C wrapper.
If it doesn't exist, it's ok, I'll try again using the code provided by the Arkos team.

Por thegeps

Paladin (828)

Imagen del thegeps

18-06-2021, 19:44

you've got a mail