-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
So far so good, with fixing a small indentation issue and 32 bit building I managed to get all binaries:
diff --git a/imdcat.cpp b/imdcat.cpp
index 376f991..3f941a8 100644
--- a/imdcat.cpp
+++ b/imdcat.cpp
@@ -73,11 +73,11 @@ public:
int sec;
SHC_t(int c, int h, int s) : cyl(c), head(h), sec(s) {}
bool operator <(const SHC_t& rhs) const {
- if (this->cyl < rhs.cyl) return true;
- if (this->cyl > rhs.cyl) return false;
+ if (this->cyl < rhs.cyl) return true;
+ if (this->cyl > rhs.cyl) return false;
if (this->head < rhs.head) return true;
if (this->head > rhs.head) return false;
- if (this->sec < rhs.sec) return true;
+ if (this->sec < rhs.sec) return true;
return false;
}
};
./configure --host=i686-linux-gnu "CFLAGS=-m32" "CXXFLAGS=-m32" "LDFLAGS=-m32" && make
Unfortunately, I cannot read any data from my USB-FDD, because to linux it looks like a blockdevice on /dev/sda. I made a link from /dev/fd0 to /dev/sda without success:
sudo ln -s /dev/sda /dev/fd0
But the dumpfloppy tool gives me:
sudo ./dumpfloppy -d 0 test.imd
opening /dev/fd0
cannot get drive parameters: Invalid argument
I suppose its only ready to work with real floppy devices?
Metadata
Metadata
Assignees
Labels
No labels