Universal RAM allocator (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 45 invitados y 5 miembros en línea

Eres un usuario anónimo.
 

Foros MSX


Foros MSX

Development - Universal RAM allocator

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

Universal RAM allocator

pitpan
msx master
Mensajes: 1418
Publicado: Julio 13 2005, 22:02   
Getting harder and harder, don't you agree?
Sonic_aka_T

msx guru
Mensajes: 2269
Publicado: Julio 13 2005, 22:04   
Well, here's the easy way out...
	LD	A,($002D)
	CP	$03
	JR	C,L00ZER
	JR	WINNER
I vote we all use this little routine from now on...
Sonic_aka_T

msx guru
Mensajes: 2269
Publicado: Julio 13 2005, 22:06   
Oh, just in case...
L00ZER: RET

flyguille
msx master
Mensajes: 1237
Publicado: Julio 13 2005, 22:24   
yeah, scanning for RAM is BOOOORING!!!

i did that all procedure for MNBIOS initialization...... and looking for two types of mappers instead one.

but, anyway... a mapper that doesn't work in all the 4 z80 pages is not meant to be MSX

pitpan
msx master
Mensajes: 1418
Publicado: Julio 13 2005, 22:35   
Yes, Fly, I agree with that, but try to explain it to the affected user: "I'm so sorry, Mr. X, but your mapper does not verify ASCII's standards. Go to your favourite MSX shop and get a brand new one."
Even if it's not MSX or standard, software developers should try to give some kind of support and solve potential problems related to non-compliant hardware.
flyguille
msx master
Mensajes: 1237
Publicado: Julio 13 2005, 22:45   
Man! it is a soooo complicated matter that for to explain a good and a unbeatable procedure.... you can to write a whole chapter at a book or at a http://map.tni.nl

Overall if you do one thinking in all devices that can be confused with RAM
flyguille
msx master
Mensajes: 1237
Publicado: Julio 13 2005, 22:46   
and this topic always bothers to the programmers....
pitpan
msx master
Mensajes: 1418
Publicado: Julio 13 2005, 23:06   
I hope that the 1CM would be standard... but I guess that I will be (default configuration) an MSX1 with mapper and a ton of RAM. Not many programs expect to find a first-generation computer with memory mapper, but...
flyguille
msx master
Mensajes: 1237
Publicado: Julio 13 2005, 23:09   
MAN! waits until MNBIOS will be on everybody MSX2. You not cares nothing about SLOTS at all.

No support for msx1 ... sorry.
pitpan
msx master
Mensajes: 1418
Publicado: Julio 13 2005, 23:14   
And IIRC you'll need a ton of RAM!

I just need a compact and compatible RAM allocation routine for my ROM to WAV converter (WAVeR). Or maybe I should make it MSX1 compatible only. But these "partial solutions" piss me off!
flyguille
msx master
Mensajes: 1237
Publicado: Julio 13 2005, 23:31   
/OFFTOPIC

jejeje.... the good things needs some ammount of RAM.

256k minimun
512k recommended

did you see ya the new LITTLE hello world example?

www.mnbios.com.ar ---> PROGRAMMING --- > "Example "Hello World"" topic.

get fun!

/ONTOPIC

The problem about scanning for RAM, is that if you want an unbeatable scanner like I see that you are looking for... you needs to test each byte of the whole page where you scan. Why? because in that way you can confuse the RAM with cartridges that have ram paginated in 8k blocks.... or something.... on other ways you needs to check that there is not mirrors....normally is done numerating each byte (that destroys the RAM content) using a secuence of number NOT ^2 ...like 0, 3, 6.... then to check if the numers are where is supposed....

include the MSXBASIC doesn't that method... it only check for all bytes independently if they are RAM.... so if the MSX has a mirror the routine screw up the calculation of ammount of RAM. (and that is the MSX1 rom)

in MSX2 rom, it directly (atleast the Talent Msx2 MSXBASIC ROM) directly sets the RAM where is supposed that it is without scan nothing.



 
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