disabled seek delay on WD2010 (Unix seems to work fine without it)

Thu, 17 Apr 2014 01:58:05 -0600

author
andrew@localhost
date
Thu, 17 Apr 2014 01:58:05 -0600
changeset 149
1124f0f5409d
parent 148
b0eac383e342
child 150
c19afa2c81db

disabled seek delay on WD2010 (Unix seems to work fine without it)

src/wd2010.c file | annotate | diff | revisions
     1.1 diff -r b0eac383e342 -r 1124f0f5409d src/wd2010.c
     1.2 --- a/src/wd2010.c	Thu Apr 17 01:50:41 2014 -0600
     1.3 +++ b/src/wd2010.c	Thu Apr 17 01:58:05 2014 -0600
     1.4 @@ -390,7 +390,8 @@
     1.5  
     1.6  							ctx->status = 0;
     1.7  							ctx->status |= (ctx->data_pos < ctx->data_len) ? SR_DRQ | SR_COMMAND_IN_PROGRESS | SR_BUSY : 0x00;
     1.8 -							SDL_AddTimer(WD2010_SEEK_DELAY, (SDL_NewTimerCallback)transfer_seek_complete, ctx);
     1.9 +							/*SDL_AddTimer(WD2010_SEEK_DELAY, (SDL_NewTimerCallback)transfer_seek_complete, ctx);*/
    1.10 +							ctx->drq = true;
    1.11  
    1.12  							break;
    1.13  						case CMD_WRITE_FORMAT:
    1.14 @@ -432,7 +433,8 @@
    1.15  
    1.16  							ctx->status = 0;
    1.17  							ctx->status |= (ctx->data_pos < ctx->data_len) ? SR_DRQ | SR_COMMAND_IN_PROGRESS | SR_BUSY : 0x00;
    1.18 -							SDL_AddTimer(WD2010_SEEK_DELAY, (SDL_NewTimerCallback)transfer_seek_complete, ctx);
    1.19 +							/*SDL_AddTimer(WD2010_SEEK_DELAY, (SDL_NewTimerCallback)transfer_seek_complete, ctx);*/
    1.20 +							ctx->drq = true;
    1.21  
    1.22  							break;
    1.23  						default: