| 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 |
| r5723 | r5724 | |
|---|---|---|
| 646 | 646 | // bit 0 = tape end (0=end of tape) |
| 647 | 647 | // bit 1 = tape inserted |
| 648 | 648 | // 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; | |
| 650 | 652 | sub_cmd_length = 1; |
| 651 | 653 | logerror("CMT: Command 0xEB received, returning 0x%02x.\n",sub_val[0]); |
| 652 | 654 | break; |
| Previous | 15994 Revisions | Next |