home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PROGRAMS / UTILS / DSKCACHE / CACHE_.ZIP / ZENITH.ASM < prev    next >
Encoding:
Assembly Source File  |  1986-11-19  |  530 b   |  33 lines

  1. ; initialise Zenith 151 hard disk driver and reboot
  2. ;
  3. ; thanks to James Vahl for this program.
  4.  
  5. absc800    segment at 0c800h
  6.     org    3
  7. Init_Hard_Disk    label    far
  8. absc800    ends
  9.  
  10. _text segment byte public 'CODE'
  11.     assume    cs:_text,ds:_text
  12.     org    100h
  13. start    proc    near
  14.     call    Init_Hard_Disk
  15.  
  16. ;------    display message
  17.     mov    dx,offset open
  18.     mov    ah,09
  19.     int    21h
  20.  
  21. ; -----    wait for a key
  22.     mov    ah,0
  23.     int    16h
  24.  
  25. ; -----    reboot
  26.     int    19h
  27.  
  28. open    db    10,13,'Please open drive A door then press any key...$'
  29.     
  30. _text    ends
  31.     end    start
  32.  
  33.