time for the screensplit (Development MSX Fora)MSX Resource Center            
            
English Nederlands Espa�ol Portugu�s Russian         
 Nieuws
   Voorpagina
  Nieuws archief
  Nieuws onderwerpen

 Informatie
   MSX Fora
  Artikelen
  Recensies
  Beursverslagen
  Fotoreportages
  Beurzen en meetings
  Enquêtes
  Links
  Zoek

 Software
   Downloads
  Webshop

 MRC
   Wie we zijn
  Kom bij ons team
  Doneren
  Policies
  Contact met het MRC
  Link naar Ons
  Statistieken

 Zoek
 
  

  

 Login
 

Gebruikersnaam

Wachtwoord




Ben je nog niet lid? Klik hier en word MSX vriend!


 Statistieken
 

Er zijn 62 gasten en 5 MSX vrienden online

Je bent een anonieme bezoeker.
 

MSX Fora


MSX Fora

Development - time for the screensplit

Schrijver

time for the screensplit

norakomi
msx professional
Berichten: 861
Geplaatst: 16 Juli 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
Berichten: 2269
Geplaatst: 16 Juli 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.
 
 







(c) 1994 - 2008 Stichting MSX Resource Center. MSX is een trademark van MSX Licensing Corporation.