Date: Mon, 22 Sep 1997 10:05:33 +0800 From: Peter Wemm <peter@spinner.netplex.com.au> To: "Jordan K. Hubbard" <jkh@time.cdrom.com> Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: Re: cvs commit: src/sys/i386/i386 locore.s machdep.c mp_machdep.c swtch.s src/sys/i386/include asnames.h Message-ID: <199709220205.KAA13929@spinner.netplex.com.au> In-Reply-To: Your message of "Sun, 21 Sep 1997 10:15:50 MST." <22690.874862150@time.cdrom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
"Jordan K. Hubbard" wrote: > > Peter Wemm wrote: > > > peter 1997/09/21 08:03:59 PDT > > > > > > Modified files: > > > sys/i386/i386 locore.s machdep.c mp_machdep.c swtch.s > > > sys/i386/include asnames.h > > > Log: > > > Implement the parts needed for VM86 under SMP. > > > > And I might add that it's damn eerie to fire up a dos-box style gadget unde r > > FreeBSD.... > > Are there any "quick start" instructions anywhere? I did read the man > page but found myself somewhat confused as to just what exactly I had > to prepare in the DOS domain to set this up. It might be nice if we > could come up with a little 'starter kit' which would DTRT assuming > /dev/fd0 as the A drive and a possible disk slice for the C drive (e.g > I have mine on /dev/sd0s1 and could provide that to the installer if > it wanted to know) - this might help DOS Dummies like myself set it up. :) Umm.. Not sure if it's much use, but: 1: I compiled doscmd with X11 support 2: DOS 5.00 in drive a: pwroot@beast[9:56am]~peter/sys_privpages/compile/BEAST-164# mdir a: Volume in drive A is BOOT Volume Serial Number is 0000-0000 Directory for A:/ command com 47845 04-09-1991 5:00 sys com 13440 04-09-1991 5:00 fdisk exe 57224 04-09-1991 5:00 format com 32911 08-15-1991 23:22 mem exe 39818 04-09-1991 5:00 xcopy exe 15804 04-09-1991 5:00 chkdsk exe 16200 04-09-1991 5:00 more com 2618 04-09-1991 5:00 instbsdi exe 7597 09-21-1997 21:08 instbsdi.exe 9 file(s) 233 457 bytes 1 150 464 bytes free 3: more ~/.doscmdrc boot A: assign A: /dev/rfd0.1440 1440 assign A: /dev/rfd0.720 720 assign hard boot_drive 80 2 2 X11_FONT=8x16 4: Boot dos from a: peter@beast[9:58am]~-160> doscmd -x -b Init: 0 Unknown interrupt 15 function 4101 Unknown interrupt 15 function 87ee [DOS 5.00 command.com prompt in an X11 window at this point, dir etc work] ^C peter@beast[9:58am]~-161> However, I sometimes get: peter@beast[9:57am]~-159> doscmd -x -b Init: 0 fatal sti Killed peter@beast[9:58am]~-160> I'm not sure if that's a problem with what I've done to get it to compile/ run under SMP, or whether it's something else. The src/usr.bin/doscmd/ README.* files have more detailed instructions on what order to do things to boot from a virtual drive within a 'file'. How one would use a slice, I'm not sure. Beware that the doscmd docs use BSD/OS pathnames for devices.. ie: /dev/rfd0_1440_3.5 vs. /dev/rfd0.1440 I have not built a virtual hard drive for the dos box, that's unknown territory to me. The X11 code wants a "vga" X11 font. I changed it to something else to get it to load.. BTW: src/usr.bin/doscmd/i386-pinsn.c is GPL'ed... :-O > Jordan Cheers, -Peter
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709220205.KAA13929>