Autor
| time for the screensplit
| norakomi msx professional Mensajes: 861 | Publicado: Julio 16 2005, 16:17   | Ok, Im gathering all the experience of the last few months and it's time for
the screensplit which separates the scroreboard from the playable part of the screen.
I've used cas cremers' little file. and in basic with a simple picture the split works.
In assembly within the game it doesn't.
My interrupt is being called like this:
LD HL,$FD9F
LD DE,OLDHOO
LD BC,5
LDIR
LD A,$C3
LD ($FD9F),A
LD HL,STARS
LD ($FDA0),HL
And the interrupt in the screensplit file is called at $fda9,
Is this why its not working???
What should i do, I cant seem to change my interrupt handler to the same
one as the screensplit example.....
| | Sonic_aka_T
 msx guru Mensajes: 2269 | Publicado: Julio 16 2005, 20:15   | First off, I hope you disable ints before running that piece of code. Second, we'd need to look at your 'stars' routine. Remember you also have to set the line at which your line-int is to occur, plus you have to enable line ints. Apart from that, you have to check if it's the normal vblank int that occurs, or the actual line int you're looking for. Apart from that, make sure the routines you're using on the VBLANK int don't take too much time. I assume you're score-split-thingy occurs somewhere around line 16. If your VBLANK routines take more time than that, you'll either have to enable interrupts in the VBLANK thingy or move stuff from the VBLANK interrupt to your main routines.
| |
| |
| |