summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats
diff options
context:
space:
mode:
author arbee <rb6502@users.noreply.github.com>2019-08-08 20:25:37 -0400
committer arbee <rb6502@users.noreply.github.com>2019-08-08 20:25:37 -0400
commitcea22e64e7bbe13548ad5f557041c0b7b63be432 (patch)
tree62e72538695e8bd219817cbf16fde7abf928afff /src/lib/formats
parent7d2e0355c55805d750370e4bd6ceef216ca103bd (diff)
ap2_dsk: recognize ProDOS 2.5 boot block (nw)
Diffstat (limited to 'src/lib/formats')
-rw-r--r--src/lib/formats/ap2_dsk.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/formats/ap2_dsk.cpp b/src/lib/formats/ap2_dsk.cpp
index 2aa883ca143..af141906ef4 100644
--- a/src/lib/formats/ap2_dsk.cpp
+++ b/src/lib/formats/ap2_dsk.cpp
@@ -673,6 +673,10 @@ bool a2_16sect_format::load(io_generic *io, uint32_t form_factor, floppy_image *
else if (!memcmp(subnod_block1, &sector_data[0x100], 8))
{
m_prodos_order = true;
+ } // check for ProDOS 2.5's new boot block
+ else if (!memcmp("PRODOS", &sector_data[0x3a], 6))
+ {
+ m_prodos_order = true;
}
}