Previous 15994 Revisions Next

r5724 Monday 14th September, 2009 at 01:59:27 UTC by Barry Rodewald
[X1] Implemented CMT 'tape inserted' bit.
[src/mess/drivers]x1.c

src/mess/drivers/x1.c
r5723r5724
646646                  // bit 0 = tape end (0=end of tape)
647647               // bit 1 = tape inserted
648648               // bit 2 = record status (1=OK, 0=write protect?)
649         sub_val[0] = 0x07;  // assume a tape is inserted for now
649         sub_val[0] = 0x05;
650         if(cassette_get_image(devtag_get_device(space->machine,"cass")) != NULL)
651            sub_val[0] |= 0x02;
650652         sub_cmd_length = 1;
651653         logerror("CMT: Command 0xEB received, returning 0x%02x.\n",sub_val[0]);
652654         break;

Previous 15994 Revisions Next


© 1998-2018 The MESS Team