home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / jsage / znode3 / z3shell / hsh15pat.z80 < prev    next >
Encoding:
Text File  |  1993-06-08  |  640 b   |  21 lines

  1. ; This is a patch that can be applied to HSH Version 1.5 to prevent it from
  2. ; being rerun with the GO command (I often forget that HSH is running and try
  3. ; to use GO).  It works by changing the intial JP command to a RET.  To apply
  4. ; this patch, assemble it to a HEX file and overlay it using MLOAD as follows:
  5. ;
  6. ;        MLOAD HSHNEW=HSH.COM,HSH15PAT
  7. ;
  8. ;                    Jay Sage, January 4, 1987
  9.  
  10.     org    100h
  11.  
  12.     jp    2180h            ; Jump to patch at end of HSH
  13.  
  14.     org    2180h
  15.  
  16.     ld    a,0c9h            ; RET opcode
  17.     ld    (100h),a        ; Stick it in at 100h
  18.     jp    16b8h            ; Continue with original HSH code
  19.  
  20.     end
  21.