trunk/src/lib/formats/ap2_dsk.c
| r243288 | r243289 | |
| 615 | 615 | static const unsigned char dos33_block1[4] = { 0xa2, 0x02, 0x8e, 0x52 }; |
| 616 | 616 | static const unsigned char sos_block1[4] = { 0xc9, 0x20, 0xf0, 0x3e }; |
| 617 | 617 | static const unsigned char a3a2emul_block1[6] = { 0x8d, 0xd0, 0x03, 0x4c, 0xc7, 0xa4 }; |
| 618 | static const unsigned char cpm22_block1[8] = { 0xa2, 0x55, 0xa9, 0x00, 0x9d, 0x00, 0x0d, 0xca }; |
| 618 | 619 | |
| 619 | 620 | io_generic_read(io, sector_data, fpos, 256*16); |
| 620 | 621 | |
| r243288 | r243289 | |
| 658 | 659 | else if (!memcmp(pascal2_block1, §or_data[0x100], 4)) |
| 659 | 660 | { |
| 660 | 661 | m_prodos_order = true; |
| 662 | } // check for CP/M disks in ProDOS order |
| 663 | else if (!memcmp(cpm22_block1, §or_data[0x100], 8)) |
| 664 | { |
| 665 | m_prodos_order = true; |
| 661 | 666 | } |
| 662 | 667 | } |
| 663 | 668 | |