[MSX-C] Q&A official thread

Pagina 47/57
40 | 41 | 42 | 43 | 44 | 45 | 46 | | 48 | 49 | 50 | 51 | 52

Van AxelStone

Prophet (3093)

afbeelding van AxelStone

10-09-2016, 10:37

@Wolverine_nl FM, I'm going to use FM-BIOS player and yes, it seems that plays in background so probably I don't need to make any work Wink . I'll comment advances.

Van Wolverine_nl

Paragon (1159)

afbeelding van Wolverine_nl

11-09-2016, 01:47

AxelStone wrote:

@Wolverine_nl FM, I'm going to use FM-BIOS player and yes, it seems that plays in background so probably I don't need to make any work Wink . I'll comment advances.

May i point you to this resource. it may save you some time. ;)

Van AxelStone

Prophet (3093)

afbeelding van AxelStone

13-09-2016, 11:03

Wolverine_nl wrote:
AxelStone wrote:

@Wolverine_nl FM, I'm going to use FM-BIOS player and yes, it seems that plays in background so probably I don't need to make any work Wink . I'll comment advances.

May i point you to this resource. it may save you some time. ;)

Thanks Wolf, I allready tested it and it works fine. Efectively the Built-in BIOS FM player works as background player. It should be great to locate musics in that format ;)

Van Wolverine_nl

Paragon (1159)

afbeelding van Wolverine_nl

13-09-2016, 12:54

would it be possible to merge mbm files of several tracks and control them in anyway? that would save some file loading times.

Van AxelStone

Prophet (3093)

afbeelding van AxelStone

13-09-2016, 14:51

Wolverine_nl wrote:

would it be possible to merge mbm files of several tracks and control them in anyway? that would save some file loading times.

I'm working in something similar: a MBM to FM-RAW converter. It's still in early stages, but I expect to have it completed during next months.

Van Manuel

Ascended (18697)

afbeelding van Manuel

13-09-2016, 16:26

Perhaps openMSX can be used for this, at least to capture the ROM register writes. Then convert that log into the right raw format.

Van Wolverine_nl

Paragon (1159)

afbeelding van Wolverine_nl

13-09-2016, 22:06

Hi all,
I am trying to do something very simple, but it is not working in MSX-C.Sad
i am trying to put the keyboard click to 0, via CLIKSW (0xF3DB), 0 is off and 1 is on.
Normally in basic you would do screen ,,0 to turn it off.
I tried calbio, callx functions from the msx-bios libraries. But i cannot find any documentation on this sorta thing. I can read values easier than writing Wink
Can someone help me out please? Question

I got this at the moment:

VOID cliksw()
{
struct _regs rv; /* struc is from msxbios.mac file, contains a,f,HL etc etc */
rv.a = 0;
calbio(0xF3DB,&rv);
}

it compiles succesfully, but when i start the com file, it crashes/hangs.

Van kanima

Master (194)

afbeelding van kanima

13-09-2016, 22:18

CLIKSW (0xF3DB) is not a routine, it's part of the BIOS workspace. Just do the equivalent of BASIC's

POKE &HF3DB,0

in C and the click should disappear.

Van Wolverine_nl

Paragon (1159)

afbeelding van Wolverine_nl

13-09-2016, 22:28

Ok, someone on irc chat tolf me it is just a variable.
Looking for a poke equilivant in Msx-c
Didnt find one just yet.

Van kanima

Master (194)

afbeelding van kanima

14-09-2016, 00:27

Wolverine_nl wrote:

Ok, someone on irc chat tolf me it is just a variable.
Looking for a poke equilivant in Msx-c
Didnt find one just yet.

Try:

char *cliksw = (char*)0xf3db;
*cliksw = 0;
Pagina 47/57
40 | 41 | 42 | 43 | 44 | 45 | 46 | | 48 | 49 | 50 | 51 | 52