trunk/src/mess/machine/amstrad.c
| r31513 | r31514 | |
| 2075 | 2075 | |
| 2076 | 2076 | switch (b8b0) |
| 2077 | 2077 | { |
| 2078 | | case 0x00: { |
| 2079 | | /* FDC Motor Control - Bit 0 defines the state of the FDD motor: |
| 2080 | | * "1" the FDD motor will be active. |
| 2081 | | * "0" the FDD motor will be in-active.*/ |
| 2082 | | floppy_image_device *floppy; |
| 2083 | | floppy = machine().device<floppy_connector>(":upd765:0")->get_device(); |
| 2084 | | if(floppy) |
| 2085 | | floppy->mon_w(!BIT(data, 0)); |
| 2086 | | floppy = machine().device<floppy_connector>(":upd765:1")->get_device(); |
| 2087 | | if(floppy) |
| 2088 | | floppy->mon_w(!BIT(data, 0)); |
| 2089 | | break; |
| 2090 | | } |
| 2078 | case 0x00: |
| 2079 | case 0x01: |
| 2080 | { |
| 2081 | /* FDC Motor Control - Bit 0 defines the state of the FDD motor: |
| 2082 | * "1" the FDD motor will be active. |
| 2083 | * "0" the FDD motor will be in-active.*/ |
| 2084 | floppy_image_device *floppy; |
| 2085 | floppy = machine().device<floppy_connector>(":upd765:0")->get_device(); |
| 2086 | if(floppy) |
| 2087 | floppy->mon_w(!BIT(data, 0)); |
| 2088 | floppy = machine().device<floppy_connector>(":upd765:1")->get_device(); |
| 2089 | if(floppy) |
| 2090 | floppy->mon_w(!BIT(data, 0)); |
| 2091 | break; |
| 2092 | } |
| 2091 | 2093 | |
| 2092 | 2094 | case 0x03: /* Write Data register of FDC */ |
| 2093 | 2095 | m_fdc->fifo_w(space, 0,data); |