Quote from: Typhon on Yesterday at 20:53Do those cpctelera routines use the alternate registers?I tried these alternative files with no effects but..... you are right with alternate registers. Tilemap functions use these registers, so when playSound is called registers are overwritten and game crash. The easy solution is save these registers before sound is played and restore after. PlaySound look lke this
Because that's a known issue with AK2 it seems.
From the demo zip you linked above:
// Uncomment if your code use alternate registers
//#include "optional/setInterruptHandler.h"
..
// If your code use alternate registers use this function instead of cpct_setInterruptHandler
// asm_setInterruptHandler(sInterruptHandler);
if (_fxChanged)
{
PLAYER_ARKOS_PLAYSOUNDEFFECT(_fxNumber, _fxChannel, _fxVolume);
_fxChanged = 0;
}
if (_songChanged)
{
PLAYER_ARKOS_INIT(_currentMusic, _songNumber);
_songChanged = 0;
}
__asm
// Save registers before calling PLY_AKM_PLAY
exx
ex af',af
push af
push bc
push de
push hl
call _PLAYER_ARKOS_PLAY
//Revert back registers after calling
pop hl
pop de
pop bc
pop af
ex af',af
exx
__endasm;
Quote from: eliot on Yesterday at 20:19Hello,Quote from: OneVision on Yesterday at 09:18Hi there,Is it an update "just for fun" or does the project come back to life?
I took some time to update a bit gfx for level 1.
Mainly, trees looks better (imho) and have closer colors to arcade. Leaves are larger and the ground pattern too.
The HUD is a bit more in the mood of the arcade's.
Left : before Right : after
Arcade :
You tell me !
Quote from: SerErris on 13:32, 29 May 24I am not sure what upper ram you test. Can you disable the ram expansion of the Ulifac ?I'm using the Ulifac to launch the diagnostic utility and don't have any other ROM board, so I don't know how I could run this same tool without it, but I did try copying some games and demos to a disk and running them without the Ulifac, and it had the same graphical glitches.
It might be actually paging in the ULIFAC RAM instead of the original RAM and you are testing the wrong thing.
This is just a suspect of mine, not knowing how the ULIFAC works, but it might be that the external RAM completely overwrites the internal second 64kb and you actually never use it.
Quote from: ervin on Today at 00:05Quote from: Amagni on 06:45, 24 May 24Ticket sales are now open: https://www.eventbrite.com.au/e/the-acms-presents-40-years-of-amstrad-tickets-910149189727
If you have any way of getting to Sydney on the 22nd, you should come along, as I can't imagine there being any other Aussie Amstrad events in my lifetime unless I organise those too!
I would love to come along to this, but I'll have to miss out, as travelling from Adelaide and renting accommodation is a bit too hard at the moment.
I hope it all goes well.
Quote from: chinnyhill10 on Yesterday at 18:12Book a flight to Sydney, I'll be playing it for the attendees on the 22nd!Quote from: Amagni on Yesterday at 14:34I spoke with Rod Lawton last night, he was really nice and had some great stories to tell!When can we see/hear this?
Page created in 0.046 seconds with 17 queries.