>Hello there,
>
>In MIDIIO4.com there was created a new device MID: , which could be 
>treated as a new drive. (with commands bload, bsave, save and load etc.)
>(MIDIIO4.COM connects two MSX:s equiped with Yamaha SFG-05 through midi 
>cable.)
>
>Question is :
>
>How do you attach a new device (as CON ,AUX, PRN <drive> ) to msx 
>operatimg system ?
>Do you have to catch all the hooks concerning the device handling ?
>
>If somebody knows, please let me know. 
>
>Greetings, Kari
>

hello

It is possible to make a new device. there is not so mutch information 
available aboud this subject. i only have half a page of information about
it
this is , in general, what it says:

inside a cartridge is at offset adress #0006 space for a device entry
the cartridge must be placed at #4000-#7fff
if a device is unknown basic will call this adress with the device name
in the system area (?)
basic will call the adres of the device entry with #ff in acc
if the device is not inside the cartridge carry should be returnd set
if its inside, device id (0-3) must be set in acc. and carry reset 
there can be 4 devices inside a 16Kb cartridge
device name can be 15 bytes long

real i/o takes place with one of the following values in acc.

0 open
2 close
4 random i/o
6 seq. output
8 seq. input
10 loc
12 lof
14 eof
16 fpos
18 back up a char.

futher discripion will follow
( not from me but that is what the book says)

it is from the msx1 technical data book
the msx2 technical data book an the technical handbook don't
mention this subject

I think it's only possible with a basic device and not with a
dos device.

thats all i know. so it is possible
maybe somone else knows more


erik de boer

-- 
-----------------------------------------------------------------
\
\      <><><><><><><><><><><><><><><><><><><><><><><><><><><>   
\      <>   greetings form [EMAIL PROTECTED]  (erik de boer)  <>
\      <>   tel/fax (+31) 20 6459131                       <>
\      <><><><><><><><><><><><><><><><><><><><><><><><><><><>
\      A blown fuse is'nt defective , it's just doing his job. 
\     When you replace it by a new one you can even see it work.   
-----------------------------------------------------------------




Reply via email to