| Previous | 199869 Revisions | Next |
| r19077 Tuesday 20th November, 2012 at 20:55:42 UTC by O. Galibert |
|---|
| floppy: Fix index pulse generation when motor is always on [O. Galibert] |
| [src/emu/imagedev] | floppy.c |
| [src/mess/machine] | upd765.c |
| r19076 | r19077 | |
|---|---|---|
| 252 | 252 | image = global_alloc(floppy_image(tracks, sides, form_factor)); |
| 253 | 253 | best_format->load(&io, form_factor, image); |
| 254 | 254 | |
| 255 | revolution_start_time = attotime::never; | |
| 255 | revolution_start_time = motor_always_on ? machine().time() : attotime::never; | |
| 256 | 256 | revolution_count = 0; |
| 257 | 257 | |
| 258 | 258 | index_resync(); |
| r19076 | r19077 | |
|---|---|---|
| 1978 | 1978 | floppy_info &fi = flopi[fid]; |
| 1979 | 1979 | if(fi.dev != floppy) |
| 1980 | 1980 | continue; |
| 1981 | fprintf(stderr, "floppy %d index %d sub_state %d\n", fid, state, fi.sub_state); | |
| 1982 | 1981 | |
| 1983 | 1982 | if(fi.live) |
| 1984 | 1983 | live_sync(); |
| Previous | 199869 Revisions | Next |