KSS format (Development Foros MSX)MSX Resource Center MSXdev 2008 - MSX1 development bonanza!           
                       
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 132 invitados y 10 miembros en línea

Eres un usuario anónimo.
 

Foros MSX


Foros MSX

Development - KSS format

Autor

KSS format

stilton
msx friend
Mensajes: 9
Publicado: Marzo 10 2004, 23:08   
Could anyone explain the KSS format for me? I do have the spec sheet, but I am a beginning z80 asm coder, so I'm a little lost. Since this data is ripped from rom files, is it actual code? I guess I am confused because there are converters for moonsound and other non-ripped formats.

What I am interested in doing is making a converter to the vgm log format - my main interest is in the Sega Master System, and I thought it would be fun to play MSX music on the SMS with PSG and FM. So my basic question is: how would I go about getting all PSG and FM commands in the kss file? Would I have to disassemble it?

stilton
NYYRIKKI
msx master
Mensajes: 1509
Publicado: Marzo 10 2004, 23:44   

Here is a very good document about KSS format:
www.purose.net/befis/download/nezplug/kssspec.txt

another good place to look is:
www102.sakura.ne.jp/~ok/dsa/msxplug_doc.html

Actually I have made a KSS player for MSX using these documents. (It included Z80 emulator)

... what this document does not tell is that actually HALT command is used to end interrupt and stack is used to store the end of interrupt routine. I made this by writeing following bytes to #F37A:

DEFB #7C,#F3,#76,#18,#FE

... and initializing SP to same address. This is same code as used in MSXplug.

~NYYRIKKI

NYYRIKKI
msx master
Mensajes: 1509
Publicado: Marzo 10 2004, 23:54   
Oops, I didn't read your question well enough... Yes, it is actual code. You need to emulate Z80 and MSX memory layout to get the I/O data for FM/PSG.

 
 







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