From owner-freebsd-small Wed Aug 25 2:39: 5 1999 Delivered-To: freebsd-small@freebsd.org Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (Postfix) with SMTP id 652E215244 for ; Wed, 25 Aug 1999 02:39:01 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id IAA02257; Wed, 25 Aug 1999 08:46:07 +0200 From: Luigi Rizzo Message-Id: <199908250646.IAA02257@labinfo.iet.unipi.it> Subject: Re: porting a DOS application (also DOC booting) To: tim@futuresouth.com (Tim Tsai) Date: Wed, 25 Aug 1999 08:46:07 +0200 (MET DST) Cc: freebsd-small@FreeBSD.ORG In-Reply-To: <19990825035448.A17461@futuresouth.com> from "Tim Tsai" at Aug 25, 99 03:54:29 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1172 Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 3) Can PicoBSD be configured relatively easily to run from a read-only > partition (to minimize any possibility of corruption) or will I have to > go the "run-off-MFS" route? that is what picobsd usually does... > card (the PCMCIA will have to a DOS partition). Since we preallocate > space for all storage in a big file before operations, ideally we do not > want any writes to the FAT table. I don't see any convenient flags in > either mount_msdos or mount to do this. Any problems if I just modify i remember the issue was discussed some time ago to speed up operation with FFS but not sure if it ended up in any mount flag. Davidg or Matt Dillon or Jordan might have an answer... > 6) I've got a POS hardware that we must interface to that'll require about > a 50 nanosecond sleep between byte writes. In DOS I have a carefully _nano_seconds or _micro_seconds ? on a 386/40 50ns is 2 clock and i doubt you can even write to memory so fast. if it is microsecond, i guess you could try to develop a special device driver (or just add an ioctl to sio() or lpt* or whatever...) which takes care of the timing possibly with interrupt disabled . cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message