Universal RAM allocator (Development MSX Fora)MSX Resource Center PassionMSX MSX2 contest           
            
English Nederlands Español Português Russian         
 Nieuws
   Voorpagina
  Nieuws archief
  Nieuws onderwerpen

 Informatie
   MSX Fora
  Artikelen
  Recensies
  Beursverslagen
  Fotoreportages
  Beurzen en meetings
  Enquêtes
  Links
  Zoek

 Software
   Downloads
  Webshop

 MRC
   Wie we zijn
  Kom bij ons team
  Doneren
  Policies
  Contact met het MRC
  Link naar Ons
  Statistieken

 Zoek
 
  

  

 Login
 

Gebruikersnaam

Wachtwoord




Ben je nog niet lid? Klik hier en word MSX vriend!


 Statistieken
 

Er zijn 120 gasten en 2 MSX vrienden online

Je bent een anonieme bezoeker.
 

MSX Fora


MSX Fora

Development - Universal RAM allocator

Ga naar pagina ( Vorige pagina 1 | 2 )
Schrijver

Universal RAM allocator

pitpan
msx master
Berichten: 1367
Geplaatst: 13 Juli 2005, 22:02   
Getting harder and harder, don't you agree?
Sonic_aka_T

msx guru
Berichten: 2261
Geplaatst: 13 Juli 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
Berichten: 2261
Geplaatst: 13 Juli 2005, 22:06   
Oh, just in case...
L00ZER: RET

flyguille
msx master
Berichten: 1183
Geplaatst: 13 Juli 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
Berichten: 1367
Geplaatst: 13 Juli 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
Berichten: 1183
Geplaatst: 13 Juli 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
Berichten: 1183
Geplaatst: 13 Juli 2005, 22:46   
and this topic always bothers to the programmers....
pitpan
msx master
Berichten: 1367
Geplaatst: 13 Juli 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
Berichten: 1183
Geplaatst: 13 Juli 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
Berichten: 1367
Geplaatst: 13 Juli 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
Berichten: 1183
Geplaatst: 13 Juli 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.



 
Ga naar pagina ( Vorige pagina 1 | 2 )
 







(c) 1994 - 2008 Stichting MSX Resource Center. MSX is een trademark van MSX Licensing Corporation.