*BSD News Article 40757


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.netspace.net.au!serval.net.wsu.edu!netnews.nwnet.net!oracle.pnl.gov!osi-east2.es.net!lll-winken.llnl.gov!koriel!wnoc-sfc-news!fxmxgw!kspgwy!iwagw!jun
From: jun@fox.fax.iwa.fujixerox.co.jp (Junichi Kurokawa)
Newsgroups: comp.os.386bsd.questions
Subject: [summary] has anyone got pcemu working?
Date: 12 Jan 1995 07:14:58 GMT
Organization: Fuji Xerox Co., Ltd., Akasaka, Tokyo.
Lines: 51
Distribution: world
Message-ID: <JUN.95Jan12161458@fox.fax.iwa.fujixerox.co.jp>
NNTP-Posting-Host: fox.fax.iwa.fujixerox.co.jp
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII

Thanks for those responded / replied via e-mail.  I finally got it
working on my FreeBSD box.

    Me> What the hell is `cp /dev/fd0 foo' supposed to mean, anyway?
    Me> /dev/fd0 is a device file, that you don't cat, less or edit.

While I had understood what `device file' is meant to be, my
FreeBSD-1.1.5.1 did give me a yell when I,

    root# cp /dev/fd0 DriveA
    cp: /dev/fd0: invalid argument
    cp: /dev/fd0: invalid argument

I suspect that this is due to some internal bug(s) that resides in the
kernel; EINVAL is so observed when a system call failed in number of
occasions.

Anyway, following the suggestions given by other people, I was able to
duplicate the boot floppy using dd(1).

Following is the modification I made to `cpu.h' so that you won't have
to feed `-DLITTLE_ENDIAN' to your compiler explicitly; defining the
symbol makes your compiler otherwise complain about it being multiplly
defined.

    *** cpu.h       Wed Jun 22 23:24:50 1994
    --- cpu.h.new   Thu Jan 12 11:48:32 1995
    ***************
    *** 20,21 ****
    --- 20,22 ----
      
    + #include <sys/param.h>
      #include "mytypes.h"

Hope this help others as well.

People I owe credits; thanks again for your help.

   gillham@andrews.edu (Andrew Gillham)
   kentp@isy.liu.se (Kent Palmkvist)
   jkh@violet.berkeley.edu (Jordan K. Hubbard)
   chilton@MCS.COM (Christopher Hilton)
   elh@best.com (Ed Hudson)

Regards,
junichi

--
Junichi Kurokawa
Image and Printing System Products Development Center
Fuji Xerox Co., Ltd.