time for the screensplit (Development Foros MSX)MSX Resource Center            
                       
English Nederlands Espa�ol Portugu�s Russian                  
 Noticias
   Página principal
  Almacén de noticias
  Temas de noticias

 Recursos
   Foros MSX
  Artículos
  Analisis
  Informe de ferias/RUs
  Álbum de fotos
  Ferias y encuentros
  Encuestas
  Enlaces
  Buscar

 Software
   Descargas
  Tienda Online

 MRC
   Quiénes somos
  Únete a nuestro equipo
  Donar
  Políticas
  Contacta con nosotros
  Enlázanos
  Estadísticas

 Buscar
 
  

  

 Login
 

Login

Contraseña




¿Aún no tienes una cuenta? ¡Conviértete en miembro del MSX Resource Center! ¡Únete a nosotros!.


 Estadísticas
 

Hay 46 invitados y 5 miembros en línea

Eres un usuario anónimo.
 

Foros MSX


Foros MSX

Development - time for the screensplit

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.
 
 







(c) 1994 - 2009 Fundación MSX Resource Center. MSX es una marca registrada de MSX Licensing Corporation