Previous 199869 Revisions Next

r31674 Sunday 17th August, 2014 at 04:02:13 UTC by R. Belmont
(MESS) Support ProDOS-order Pascal 1.3 images [R. Belmont]
[src/lib/formats]ap2_dsk.c

trunk/src/lib/formats/ap2_dsk.c
r31673r31674
611611      UINT8 sector_data[256*16];
612612      int offset = 0;
613613      static const unsigned char pascal_block1[4] = { 0x08, 0xa5, 0x0f, 0x29 };
614      static const unsigned char pascal2_block1[4] = { 0xff, 0xa2, 0x00, 0x8e };
614615      static const unsigned char dos33_block1[4] = { 0xa2, 0x02, 0x8e, 0x52 };
615616      static const unsigned char sos_block1[4] = { 0xc9, 0x20, 0xf0, 0x3e };
616617      static const unsigned char a3a2emul_block1[6] = { 0x8d, 0xd0, 0x03, 0x4c, 0xc7, 0xa4 };
r31673r31674
650651         else if (!memcmp(dos33_block1, &sector_data[0x100], 4))
651652         {
652653            m_prodos_order = true;
654         }   // check for a later version of the Pascal boot block
655         else if (!memcmp(pascal2_block1, &sector_data[0x100], 4))
656         {
657            m_prodos_order = true;
653658         }
654659      }
655660

Previous 199869 Revisions Next


© 1997-2024 The MAME Team