> -----Original Message-----
> From: Maarten ter Huurne [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, April 21, 1999 3:18 AM
> To: [EMAIL PROTECTED]
> Subject: JoyDsk & RAMdisk
>
> Hi!
>
> Werner Kai wrote:
>
> >> > I found a program called "RAMDISK.BIN" - That is the 'Mapper Ramdisk
> >> >2.14 by P. te Bokkel'.
> >> Maarten ter Huurne wants that program. Can you please mail it to him?
> >
> > I did send it to him.
>
> Thanks again for sending. I started disassembling it.
>
> What I found out so far is that this RAMdisk doesn't add the drives when
> it's first called (using cartridge mechanism, "AB" etc). On the first
> call,
> it puts a routine on some hook (#FEDA) and later, when that hook is
> called,
> the drives are added.
>
Aha!
This is what the MSX2 technical handbook says (thank you
KonamiMan!!!):
(piece of th-2.txt following)
"* Auto start
In the case of simple game cartridges which do not use the BIOS or
BASIC work
areas, the program can be invoked by writing a starting address for
the
program to "INIT" in ROM header. But using this method prevents the
initial
settings of another cartridge, so disk drives cannot be used.
To prevent this, the hook "H.STKE" is at FEDAH; write the inter-slot
call
command in the program to be invoked at the execution on "INIT"
routine of
the cartridge, and return to the system by RET command. Then after
initialising all cartridges and after preparing the DISK BASIC
environment if
there is a disk, the hook is called, so the objective program can be
invoked.
This method is also effective when there is no disk (see APPENDIX)."
> This probably solves the problem I had: if I added new drives to the table
> at #FB21, those values were overwritten by the internal diskROM.
>
> If this is solved, only one problem remains: how to increase the total
> number of drives. Until now, I have only been able to replace existing
> drives (B-floppy for example). But I think the RAMdisk source will provide
> this answer as well.
>
> I'll keep you people informed!
>
Please do! I still want to continue my ARCnet project, but I didn't
have much time because I'm now working on a MP3 player. And I'm going to the
U.S.A. from may,1 to may,23 so I guess it'll take even more time now...
I will also come to Tilburg. Where can I find you, so we can discuss
a little (if you like).
Greetz,
Patrick
****
MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)
****