comp.lang.ada
 help / color / mirror / Atom feed
From: "chris.danx" <chris.danx@ntlworld.com>
Subject: Re: Ada and Hardware
Date: Thu, 10 May 2001 15:10:48 +0100
Date: 2001-05-10T15:10:48+01:00	[thread overview]
Message-ID: <3jxK6.4356$577.870347@news2-win.server.ntlworld.com> (raw)
In-Reply-To: 9de6j9$e1s1@news.kvaerner.com

> >Hello folks,
> >    I'm implementing a program which reads files on a floppy disk which are
> not
> >stored via the fat12 file system.  I know this is the most popular format
> but i
> >want a simple contigouous fs for the purposes of booting an OS.
>
> There is a lot of utilities for reading and writing DOS disks. Why change
> something which is so standardized?

I don't understand FAT12 yet, and it complicates the boot sector.  Also the fs
can be messed with if it's a fat12 disk easily.  I don't want this.  Would you
want any person coming along and swapping a driver file for another that's got a
similar signiture but does malicious things behind the scenes?  What's more
anyone can come along and delete a critical file easy.  Two clicks and OS is
gone.


> Booting from such a floppy should be well understood since there are at
> least two such systems used in conjunction with Linux and the various BSD
> varieties.

I know how to boot from a floppy for the file system i'm using.  It's really
easy (just look in 2nd inode to get address of primary kernel file, and
calculate offset).  I just need to get the files from my FAT hard disk to my BFS
floppy.  The current driver implements a disk as a file on a HD, and it's really
easy to work with.  The problem is i need to create a bfs enabled disk, write
files to it, read info from it, via an interactive shell.  I don't know how to
do this in Ada (i can do the shell though).  I do know how in C.


Chris Campbell





  reply	other threads:[~2001-05-10 14:10 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-10 13:02 Ada and Hardware chris.danx
2001-05-10 13:36 ` Ted Dennison
2001-05-10 14:00   ` chris.danx
2001-05-10 14:52     ` Ted Dennison
2001-05-10 18:20       ` chris.danx
2001-05-10 20:01         ` Jerry van Dijk
2001-05-10 20:54           ` chris.danx
2001-05-10 13:54 ` Tarjei T. Jensen
2001-05-10 14:10   ` chris.danx [this message]
2001-05-10 14:34     ` Tarjei T. Jensen
2001-05-10 18:28       ` chris.danx
2001-05-14  7:40         ` Kretschmer, Matthias
2001-05-10 17:24 ` Alfred Hilscher
2001-05-10 20:22   ` Ted Dennison
2001-05-10 23:35     ` Jeff Creem
2001-05-10 23:58       ` Fraser Wilson
2001-05-11  1:54         ` Jeff Creem
2001-05-11 19:13       ` Randy Brukardt
2001-05-14 10:27         ` Alfred Hilscher
2001-05-10 20:53   ` chris.danx
2001-05-11 21:45 ` GNAT for DOS chris.danx
2001-05-13 19:52 ` Ada and Hardware chris.danx
2001-05-14  0:18   ` Jeff Creem
replies disabled

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