aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--atr2xfd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/atr2xfd.c b/atr2xfd.c
index 5929433..900ec86 100644
--- a/atr2xfd.c
+++ b/atr2xfd.c
@@ -268,6 +268,8 @@ unsigned char superdos2_sig[] = "\x29\x03\x00\x07\x40\x15\xa0";
unsigned char superdos5_sig[] = "\x64\x03\x00\x07\x40\x15\xa9\x07";
unsigned char smartdos_sig[] = "\x00\x03\x00\x07\xd4\x15\x4c\x14";
unsigned char dosxe_sig[] = "\x58\x03\x00\x07\xca\x0c\x4c\x30";
+unsigned char fenders_sig[] = "\x00\x03\x00\x07\x77\xe4\xa0\x00\x8c\x44";
+unsigned char fenders2_sig[] = "\x00\x03\x00\x07\x77\xe4\xa0\x01\x8c\x44";
/* both of these claim to be "Turbo DOS XE version 2.1" */
unsigned char turbodos_sig[] = "\x04\x03\x00\x07\x40\x15\x4c\x16";
@@ -358,6 +360,9 @@ void classify_boot_sector(FILE *f) {
} else if(SIG_MATCH(buf, smartdos_sig)) {
dos_type = "Smart DOS";
bootable = dos2_bootable;
+ } else if(SIG_MATCH(buf, fenders_sig) || SIG_MATCH(buf, fenders2_sig)) {
+ dos_type = "Fenders 3-sector loader";
+ bootable = 1;
} else if(SIG_MATCH(buf, blank_sig)) {
dos_type = "None (empty boot sector)";
bootable = 0;