Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* mtools / floppy on Alpha 250 4/266
@ 1995-10-17  4:00 Nick Goldman
  1995-10-17  4:00 ` Jari Vaario
  0 siblings, 1 reply; 2+ messages in thread
From: Nick Goldman @ 1995-10-17  4:00 UTC (permalink / raw)


I picked up mtools, intending to read/write to DOS disks using my Alpha's
floppy drive, but there are a lot of things I seem to need to know, but
don't, to get it to work on my Alpha 250 4/266.  These seem to be:

  do I need to set the pre-processor variables BSD (systems without System V
    style strings functions or System V style utime()) and/or INT16 (machines
    with 16 bit integers)?

  which locking method(s) do I have out of LOCKF, FLOCK and FCNTL?

  which device setup should I use -- none of the list ISC, UNIXPC, SPARC, ...,
    RT_ACIS, SPARC_ODD seems to fit?

  what is the base return type of signal(), and how do I configure SIG_TYPE in
    msdos.h to it?

  how do I fill in the database in devices.c -- I'm not sure what to do with
    offset, fat_bits, mode, and (*gioctl) (), and the examples don't make this
    clear to me

Thanks for any help,

  Nick Goldman



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: mtools / floppy on Alpha 250 4/266
  1995-10-17  4:00 mtools / floppy on Alpha 250 4/266 Nick Goldman
@ 1995-10-17  4:00 ` Jari Vaario
  0 siblings, 0 replies; 2+ messages in thread
From: Jari Vaario @ 1995-10-17  4:00 UTC (permalink / raw)




I made the following guess, and it seems to work on my Alpha 400 4/233.
If some one has better hack, please let me know.

Makefile:
	CFLAGS  = -O -DALPHA -DBSD -DLOCKF

devices.c:
	#ifdef ALPHA
	struct device devices[] = {
	        {'A', "/dev/rfd0a", 0L, 12, 0, (int (*) ()) 0, 80, 2, 18},
	        {'A', "/dev/rfd0a", 0L, 12, 0, (int (*) ()) 0, 80, 2, 9},
	        {'\0', (char *) NULL, 0L, 0, 0, (int (*) ()) 0, 0, 0, 0}
	};
	#endif /* ALPHA */

Good luck,
Jari Vaario




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1995-10-17  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-10-17  4:00 mtools / floppy on Alpha 250 4/266 Nick Goldman
1995-10-17  4:00 ` Jari Vaario

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox