src/mess/machine/wd17xx.c
| r5918 | r5919 | |
| 63 | 63 | 2009-July-08 Roberto Lavarone: |
| 64 | 64 | - Fixed a bug in head load flag handling: einstein and samcoupe now working again |
| 65 | 65 | |
| 66 | 2009-September-30 Robbbert: |
| 67 | - Modified what status flags are returned after a Forced Interrupt, |
| 68 | to allow Microbee to boot CP/M. |
| 69 | |
| 66 | 70 | TODO: |
| 67 | 71 | - Multiple record write |
| 68 | 72 | - What happens if a track is read that doesn't have any id's on it? |
| r5918 | r5919 | |
| 1165 | 1169 | wd17xx_callback(device, WD17XX_IRQ_CLR); |
| 1166 | 1170 | |
| 1167 | 1171 | /* type 1 command or force int command? */ |
| 1168 | | // if ((w->command_type==TYPE_I) || (w->command_type==TYPE_IV)) /* microbee doesn't like this */ |
| 1169 | | if (w->command_type==TYPE_I) |
| 1172 | if ((w->command_type==TYPE_I) || (w->command_type==TYPE_IV)) |
| 1170 | 1173 | { |
| 1171 | 1174 | /* toggle index pulse */ |
| 1172 | 1175 | result &= ~STA_1_IPL; |
| r5918 | r5919 | |
| 1199 | 1202 | else |
| 1200 | 1203 | w->status &= ~ STA_1_HD_LOADED; |
| 1201 | 1204 | } |
| 1205 | if (w->command_type==TYPE_IV) result &= 0x63; /* to allow microbee to boot up */ |
| 1202 | 1206 | } |
| 1203 | 1207 | |
| 1204 | 1208 | /* eventually set data request bit */ |