how to set up Screen 10,11 and 12. (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 3 miembros en línea

Eres un usuario anónimo.
 

Foros MSX


Foros MSX

Development - how to set up Screen 10,11 and 12.

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

how to set up Screen 10,11 and 12.

mth
msx freak
Mensajes: 200
Publicado: Enero 20 2005, 01:48   
The subrom call routine you posted puts code on the stack, sets up the NMI hook (FDD6h) to jump to that code on the stack and then calls the NMI entry point (0066h) in the main ROM using an inter-slot call. The code on the stack performs a call to EXTROM (015Fh).

While this will probably work, I wonder if there is an easier way to perform a subrom call from DOS...

What about this routine:
CALSLT:         equ 001Ch
EXBRSA:         equ 0FAF8h
SetScreen:
                ld      iy,(EXBRSA - 1)
                ld      ix,00D1h
                call    CALSLT
                ret


Sonic_aka_T

msx guru
Mensajes: 2269
Publicado: Enero 20 2005, 02:55   
That, and what's wrong with CHGMOD?
AuroraMSX

msx master
Mensajes: 1277
Publicado: Enero 20 2005, 09:27   
Quote:

That, and what's wrong with CHGMOD?



That it probably won't work on a V9958 enhanced MSX2
Sonic_aka_T

msx guru
Mensajes: 2269
Publicado: Enero 20 2005, 11:53   
Why wouldn't it? Isn't it the same routine on MSX2 as it is on MSX2+?
BiFi
msx guru
Mensajes: 3142
Publicado: Enero 20 2005, 12:01   
The problem is CHGMOD has no entries for setting SCREEN10, 11 and 12 on MSX2+. So you need to set SCREEN 8 yourself and write R#25 to set YJK (and YAE when required) to get either SCREEN 11 or 12. SCREEN 10 differs from SCREEN 11 because of the way MSX-BASIC v3 handles it.
Sonic_aka_T

msx guru
Mensajes: 2269
Publicado: Enero 20 2005, 15:19   
Oh, I didn't know the sub-rom did have an entry... Or is this using the BASIC routines? ($0159?) How do those work anyhoo?
 
Ir a la página ( Página anterior 1 | 2 )
 







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