This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
load data from floppy
- From: davidw at dedasys dot com (David N. Welton)
- To: eCos discussion <ecos-discuss at sources dot redhat dot com>
- Date: 06 Jul 2003 11:31:48 +0200
- Subject: [ECOS] load data from floppy
Hi,
I am in the midst of writing an article on eCos, and of course I
wanted to create a neat hack to write the article about!
To make a long story short, I have a bunch of data that I would like
to load up off the raw floppy image. Probably up until the end of the
floppy if possible.
Loading the data as a .h file doesn't seem to work as it makes the
disk image too big (I get errors when linking). So I was trying to
determine the best way to get the data in memory. I experimented a
bit with making the load not stop at _edata, but I'm not sure exactly
where the payload might end up being stashed if I do that. Maybe
another pair of routines instead of endload that keep reading from the
disk to a known good location? Other thoughts?
Thankyou,
--
David N. Welton
Consulting: http://www.dedasys.com/
Personal: http://www.dedasys.com/davidw/
Free Software: http://www.dedasys.com/freesoftware/
Apache Tcl: http://tcl.apache.org/
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss