nemossan@uitec.ac.jp (Sakurao NEMOTO) (10/08/90)
This is a quasi hard disk driver for use on the TOSHIBA J-3100SS book typed computer soled as the 'DYNA BOOK' in Japan. This is almost the same as T1000/SE sold in the US/Europa, and "J" may be Japanese-version supports Japanese-Kanji. This computer (Japanese-version) provides one 720K/1.2MB floppy drive and from 1.5MB to 3.5MB battery backed up RAM which is used for the EMS memory or the 'HARD RAM' emulating hard disk. Unfortunately we don't know the detailed specs of the 'overseas version' of this computer, but we hope help will be given by someone who ownes some equivalent. This device driver replaces the kernel/wini.c of Minix1.5 by using the EMS memory as a 'Hard Disk device'. With the 1.2MB floppy disk and this 1.5MB to 3.5MB quasi hard disk drive, we successfully re-compile all the kernel components and commands with little effort. There are two additional problems on J-3100SS as follows. a) The J-3100SS is one of the pc_clones but this machine provides with AT_type floppy drive instead of XT_type. This leads to some conflicts in kernel/floppy.c. b) The floppy drive used in J-3100SS also needs some settling time after head seek movement. Without these patches, we are frequently encounterd read errors after writing data. That is, we *CANNOT* make new boot diskette with J-3100SS itself. So we include two patches for these problems. The installation procedure for this driver is as follows. 0) Secure appropreate size of EMS memory using 'setup' program supplied with MS-DOS in J-3100SS. The rest of EMS memory i.e. the 'HARD RAM' will not be touched by this driver. The all informations in the HARD RAM are alive with Minix1.5 using this driver. We recommend setting the HARD RAM size to zero if possible. The larger memory make easier all the things in Minix. Of course, if you use the EMS memory in MS-DOS, Minix file sysem in EMS memory will be lost. 1) Copy ems_wini.c to kernel/wini.c. 2) Apply two patches to kernel/floppy.c 3) Re-compile kernel and make boot_diskette. 4) Boot Minix1.5 with new boot diskette. 5) Execute mkfs on adequate device one of the /dev/at0, .. at3. These devices are basically same. Only difference is its size checking. Please select appropreate device with your memory size. The /dev/at3 will fit to all possible memory size. Because the reason b) mentioned above, we must use some other machine which can run Minix1.5 from step 1 to 3. Once we can succeed in booting new kernel in J3100SS, we can all the things that we wish. You can include this mechanism into /dev/ram to expand RAM disk and both EMS memory and hard disk drive in other J-3100 (T-3100) machines. We wish you can get the rest of this story from the source code itself. Please enjoy this little program. k.h, nemossan and supisupi @ MIX. PS Some of our friends are in preparation with some SCSI drivers using the 'TOSHIBA J3100-SCSI1 board' and hand made SCSI board. If thre are much interest, we will post it in ready. --------------------------------------------------------------------------- table !"#$%&'()*+,-./0123456789:;<=>? @ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_ begin 644 emswini.shar.Z M'YV-9<:@>0,"#X@6(,JTF?/E3AHW:5R,43"G#!D0)UYXP?)BSHN/)T#X2+BPz MX<.(8T#PX('QQ0D%'%6 H((FS1P09M*P*0-BS!LW=,(\O$D'#<\F29PDP1+#y M10T0<>J$F9,&!!(B(,C(26.GC)R;9M[( :%D1@P8,*9, 5&DR=HV"L7F<0$3x MA(H$+\B4L?,"#1D8"1!.">J&3!@Y%^&VD0L"CE@Z(%#@R&$#Q!(A*>ABL8M7w M+U^_,0*#&!RF\.'$<>7D:?PX<@P:,'!8QJR9<]Z]?<G($%T$#YTRA2V"4,S8v ML1S(*&* :$(;1-V[MS^3F<';-W"]J!>K9GT\LHSEM)\_GVDTZ]:N8^?4@6.<u M#M'R8=FP>>/0S1D0;^!X#4,GS<^;*-1!E7W#E3'''&&<P5-8<K3!WW RI*"#t M>)O)!,*%;7Q!1Q[Z7>@A"$0484420Q3Q(112/#'$%TY(\2$(0SQ1A1-4G/C$s M%$E0D<033EP8!!%22%&$6N.U8.212":IY)),-NEDD^/Q<2$124RQQ!="_@B"r ME)ZE,09/6S8FQQLIN3&6E""(D<=O-X6)GQEF5 29E&+4849C=)P9Y9,MK-"Dq MGTP"NJ2@2A*:)!]1@ECEE5=(D:.)7.[E)9A2PC%FF6=>J":;%Z+Y!IQRAEGGp MG7#DN>6>3QJ*I*I'LFJDJWTVB6B%6TXQ1!!44%&$D$1\L6.D=DS:*7>8ABE'o M&5$9^!N:+P[KGQUXZDDKG]16:ZV3%-I%WH(Z\>034$*Y<=-// &7YVJ./43'n MA!6.=V%] BGKE893K:%# @X^E!!0V]UAE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