Clean Split Screen / How to ? (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 47 invitados y 4 miembros en línea

Eres un usuario anónimo.
 

Foros MSX


Foros MSX

Development - Clean Split Screen / How to ?

Ir a la página ( Página anterior 1 | 2 | 3 | 4 Siguiente página )
Autor

Clean Split Screen / How to ?

sjoerd
msx addict
Mensajes: 450
Publicado: Octubre 07 2003, 14:54   
Quote:

remember that when using the scroll register you also have to adjust the LNI line (it will also 'scroll') so add the amount of 'scroll' to the LNI Y position to keep it save...
know what I mean?

Yes, I thought of that too. The splitline is clearly visible and always halfway the screen. Isn't it strange this split affects the background when I only change the spat-register?
Quote:

btw. you don't need to use the DI command, it's disabled when entering ISR by default

Thanks. Didn't think of that.
Maggoo
msx professional
Mensajes: 591
Publicado: Octubre 07 2003, 15:21   
Quote:

>>remember that when using the scroll register you also have to adjust the LNI line (it will also 'scroll') so add the amount of 'scroll' to the LNI Y position to keep it save...
know what I mean?<<Yes, I thought of that too. The splitline is clearly visible and always halfway the screen. Isn't it strange this split affects the background when I only change the spat-register?>>btw. you don't need to use the DI command, it's disabled when entering ISR by default<<Thanks. Didn't think of that.



Split on sprites do not affect the background as far as I know, are you sure you're not doing anything else ? What does the split look like BTW ?
ro
msx guru
Mensajes: 2347
Publicado: Octubre 07 2003, 15:32   
Quote:

>>remember that when using the scroll register you also have to adjust the LNI line (it will also 'scroll') so add the amount of 'scroll' to the LNI Y position to keep it save...
know what I mean?<<Yes, I thought of that too. The splitline is clearly visible and always halfway the screen. Isn't it strange this split affects the background when I only change the spat-register?>>btw. you don't need to use the DI command, it's disabled when entering ISR by default<<Thanks. Didn't think of that.



Are u sure you're having the sprite allocation tables set correct etc.
sjoerd
msx addict
Mensajes: 450
Publicado: Octubre 07 2003, 17:19   
Quote:

Split on sprites do not affect the background as far as I know, are you sure you're not doing anything else ? What does the split look like BTW ?

I also updated the scroll registers in cause of a line interrupt.
But now on the sprite split line, no sprites are displayed.
Quote:

Are u sure you're having the sprite allocation tables set correct etc.

Yes, all other sprites are displayed as they should.

sjoerd
msx addict
Mensajes: 450
Publicado: Octubre 07 2003, 17:40   
It works when sprites on the splitline have the same position in the spat. 8)
Stupid V9938
ro
msx guru
Mensajes: 2347
Publicado: Octubre 07 2003, 17:58   
What I meant Sjoerd: Do you have the sprite data on the same Vram page you're displaying. 'coz that would show up the sprite data als background garbage when scrolling ->> when you scroll up you will uncover the sprite data and becomes visible.

You know the sprite data is stored, standard, at the bottom of Vram page 0 (wasn't it?!?).
What you have to do is adjust the sprite attribute tables to another vram position.

if you give me your email I'll send you some interesting articels I've written yeeeears ago explaining exactly this. (it's in dutch, but it seems SJOERD will unhide your native tongue as being dutch alright)
sjoerd
msx addict
Mensajes: 450
Publicado: Octubre 07 2003, 18:33   
Quote:

What I meant Sjoerd: Do you have the sprite data on the same Vram page you're displaying. 'coz that would show up the sprite data als background garbage when scrolling ->> when you scroll up you will uncover the sprite data and becomes visible.

You know the sprite data is stored, standard, at the bottom of Vram page 0 (wasn't it?!?).
What you have to do is adjust the sprite attribute tables to another vram position.

Yes, I have moved the table to someplace else. The scroll is working now, I had to time the register settings better.
Quote:

if you give me your email I'll send you some interesting articels I've written yeeeears ago explaining exactly this. (it's in dutch, but it seems SJOERD will unhide your native tongue as being dutch alright)

onzegrotevriend at wxs dot nl - always ready to learn 8)
ro
msx guru
Mensajes: 2347
Publicado: Octubre 07 2003, 18:35   
n'kay.

So, you got it working already?

I'll send ya the docs anyway

regards, ro
sjoerd
msx addict
Mensajes: 450
Publicado: Octubre 07 2003, 19:49   
Thanks 8)
Grauw
msx professional
Mensajes: 1006
Publicado: Octubre 07 2003, 21:36   
Quote:

Yes, I have moved the table to someplace else. The scroll is working now, I had to time the register settings better.


Did you time it with HR? And does it still work on 7MHz or R800 mode?

With a scrollsplit, I would think it's tough to get it seemless without a blanked line, without CPU dependant timing.

~Grauw
sjoerd
msx addict
Mensajes: 450
Publicado: Octubre 07 2003, 22:51   
Quote:

>>Yes, I have moved the table to someplace else. The scroll is working now, I had to time the register settings better.<<
Did you time it with HR? And does it still work on 7MHz or R800 mode?

No HR, just the routine I posted earlier in this thread (without the DI). Works on 3.5MHz and 7MHz. Don't know about R800.
Quote:

With a scrollsplit, I would think it's tough to get it seemless without a blanked line, without CPU dependant timing.

The sprites on the splitline use the same position (same layer?) in the two sprite attribute tables. I only tested it with the sprites to mask the border yet, but these border mask sprites are seamless now.

pitpan
msx master
Mensajes: 1390
Publicado: Octubre 08 2003, 08:26   
This thread demonstrates me that I am lucky 'cause I am still coding for the old MSX1 system, and thus, its TMS9918/9928 is so simple that you don't have to think really carefully about it. If you can pass all the video data fast, then everything is fine.

I know that it is the bottleneck of the MSX1 system, but sometimes is good to code focusing mainly in the CPU.

Kind regards,

Ed Robsy

Grauw
msx professional
Mensajes: 1006
Publicado: Octubre 08 2003, 19:20   
Yeah that's funny, on MSX2 you can say that if a game runs much faster on 7MHz, it is probably badly coded, as the VDP should usually be the limiting factor, however on MSX1 it's kind of the opposite ^_^.

~Grauw
Grauw
msx professional
Mensajes: 1006
Publicado: Octubre 08 2003, 19:24   
Quote:

The sprites on the splitline use the same position (same layer?) in the two sprite attribute tables. I only tested it with the sprites to mask the border yet, but these border mask sprites are seamless now.



Oh, hehe, it's a spritesplit ^_^. Oops. Well, anyways, yeah, spritesplits are easy to make seamless by multiplexing the sprites on the split ('using the same position').


~Grauw
GuyveR800
msx guru
Mensajes: 3048
Publicado: Octubre 08 2003, 19:49   
Heh, that's a new definition of multiplexing ^^;
Just remember spritedata is read one line BEFORE the actual display line. So if you change sprite tables on the split line, the first line with sprites will be one line lower.

 
Ir a la página ( Página anterior 1 | 2 | 3 | 4 Siguiente página )
 







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