Switch RAM/ROM in page 1

Page 3/4
1 | 2 | | 4

By Kwik

Expert (127)

Kwik's picture

04-06-2007, 10:17

I think you might have accidentally copied the wrong code... Wink

By ASK

Expert (66)

ASK's picture

04-06-2007, 10:25

Thx ro !!!

I have import the bios procedure to enable the slots.

I imagine that your procedure is seemed.

The question is, is correct this code?

ENASLT: EQU #0024
RAMAD1: EQU #F342
EXPTBL: EQU #FCC1

Enable_RAM: ld a,(RAMAD1)
ld h,#40
call ENASLT

I mean, is the RAMAD diskrom variable or search ram variable in idslot format?

The ram variable must have the slot and subslot page.

I think that it is correct the format, but I haven´t tested that.

Thx!!!

By ro

Scribe (4451)

ro's picture

04-06-2007, 10:41

I think you might have accidentally copied the wrong code... Wink
maybe, didn't check. something wrong?

The routine should work exactly like the BIOS call, same input, same output, same results.

By Kwik

Expert (127)

Kwik's picture

04-06-2007, 12:10

It is a copy of what is inside a standard diskrom...

By ro

Scribe (4451)

ro's picture

04-06-2007, 13:27

I may look like that yeah, since it does exactly the same, duh.
But frankly, I never tested the code WITHOUT any diskdrive. It's embedded in the F-kernel system which simply does not run from tape Wink

By Kwik

Expert (127)

Kwik's picture

04-06-2007, 14:42

I may look like that yeah, since it does exactly the same, duh.

Euhm... it doesn't just look like it, it is the exact same code. Byte-for-byte.

By ro

Scribe (4451)

ro's picture

05-06-2007, 09:25

it is? haha, cool. man, I "wrote" (or ripped) this one more then a decay ago... Can't remember the details, so it might as wel be a rip indeed. Smile
(and why not)

By Kwik

Expert (127)

Kwik's picture

05-06-2007, 10:04

b.t.w what is the 'F-Kernel system'?

By ro

Scribe (4451)

ro's picture

05-06-2007, 10:59

FK a.k.a. "Midas" is an (partially?) replacement for the standard MSX BIOS Kernel.
It's more than that actually. It's an OS kernel complete with memory/disk/data management.

It appeared on most Fuzzy Logic software products and also UMAX used it to develop their games around it.

www.thefuzz.nl/msx should keep you updated, somewhat atleast.

By Kwik

Expert (127)

Kwik's picture

05-06-2007, 13:48

Interesting project, i never heard of it...

Page 3/4
1 | 2 | | 4