home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / CPM / ZCPR33 / A-R / HSH33PAT.LBR / HSH33PAT.Z80 < prev   
Text File  |  2000-06-30  |  1KB  |  31 lines

  1.  
  2. ; This is a patch for HSH15.COM to make it NOT skip leading spaces in the
  3. ; user-entered command lines.  This is desirable under ZCPR version 3.3 because
  4. ; a leading space is a signal that the command should be sent directly to the
  5. ; extended command processor without searching for the COM file along the path.
  6. ; The patch consists of replacing a "JP Z,JMPADDR" which only continues if the
  7. ; character checked was not a space or tab to an unconditional jump.
  8. ;
  9. ; The patch is applied by assembling this file to a HEX file and overlaying the
  10. ; result on HSH15.COM using MLOAD:  "MLOAD HSHNEW.COM=HSH15.COM,HSH33PAT".
  11. ;
  12. ;                    Jay Sage, April 21, 1987
  13.  
  14.  
  15. patchaddr    equ    0a02h        ; Address where instruction has to
  16.                     ; ..be changed
  17.  
  18. versaddr    equ    02a9h        ; Address where version message can
  19.                     ; ..be patched
  20.  
  21.         org    versaddr
  22.  
  23.         defb    '1.5A (4/21/87)'
  24.  
  25.  
  26.         org    patchaddr
  27.  
  28.         defb    0c3h        ; Unconditional jump opcode
  29.  
  30.         end
  31.