home *** CD-ROM | disk | FTP | other *** search
/ Amiga Elysian Archive / AmigaElysianArchive.iso / emulate / a2001sdm.lha / spdhlt.asm < prev    next >
Assembly Source File  |  1987-11-11  |  924b  |  37 lines

  1.     TITLE 'SpdHLT - Speed up Head Load Time for A2088 diskettes'
  2. ;
  3. ;  More effective then "speed" if you just want to get to par (about 33% faster
  4. ;  than it started out).  Can be combined with "speed" if you want to go
  5. ;  another 33% faster, and can live with the clanks when the stepper goes
  6. ;  all the way from one end to the other).
  7. ;
  8. ;  A bit puzzling why the A2088 BIOS used 100 (32H) when both the
  9. ;  IBM PC-AT and XT use 4 millisec (2) for the Head Load Time.
  10. ;
  11. ;  10 Nov 87  S.D. Maley   Same creation steps apply as for "speed" (if
  12. ;  the executable gets trashed):
  13. ;    masm spdhlt;
  14. ;    link spdhlt;
  15. ;    exe2bin spdhlt.exe spdhlt.com
  16. ;    del spdhlt.exe
  17. ;  to execute:
  18. ;    spdhlt
  19. ;
  20. CSEG    SEGMENT PARA PUBLIC 'CODE'
  21.     ASSUME CS:CSEG,DS:CSEG,ES:CSEG
  22.     ORG 100H
  23. SPDHLT    PROC FAR
  24.     PUSH    DS
  25.     XOR    AX,AX
  26.     PUSH    AX
  27.     PUSH    DS
  28.     MOV    DS,AX
  29.     LDS    DI,DWORD PTR DS:78H
  30.     MOV    BYTE PTR [DI+1],2
  31.     INT    13H
  32.     POP    DS
  33.     INT    20H
  34. SPDHLT    ENDP
  35. CSEG    ENDS
  36.     END    SPDHLT
  37.