Hi there !
I need some advice concerning the use of the interrupt.
globaly my game looks like this:
org $4000
call playmusic ;plays music made in scc-musixx
ld a,$c3
ld ($fd9f),a ;to make the game jump to stars
ld hl,stars ;every interrupt....
ld ($fda0),hl
scroll:
call backgrscr ;scroll background 1 pix left
jp scroll ;this part is infinitely looped
stars:
call putsprites ;paste 32 sprites in screen
call game ;here the enemy/player movement/interaction is done
ei
I end this stars routine with an ei (but NO ret)
(if I end this routine with an ret the music (scc-musixx) does not play)
And now I have problems (with the interrupt??):
the music does not play fluently when there is a lot
going on in screen .....
If I disable the music everything works fine,
if I enable the music some sprites are affected at some times....
Is the global overview given above a good way to make a game?
Thanx