_CMD10A COMACMDPATCHHEX 3tCMDPATCHZ80 ÀZ3ENV* /:] )/˜uCMD, Version 1.0 Syntax: CMD cmd1;cmd2;... or CMD (prompted input) CMD defines the co-mand line in the CL bufferB##! yͻʹ !"s#r#FB##~#*6u Command Line too Long for Bufferu No Command Line Buffer~# uCMD xA y>: ͒\~ f #KfuNonameu>>B6>5B##OʬÇ)œ~ʙ²#~+²##= Üw>w*3^#V*3~#fo~#fo~*3"~#fo*3^#V#~ѷ"3,;-2:"8 *8#~#o|g6::o~n7w#a+~#{~# ʹ  ʦ ʫʫʯÀÀ Àyʀ ÀyG>GO> Àd 0  _y{y0 {O*.  OGa{_*P}N$.Rd 0  _y* "###ˆ  :03010000C38004B5 :01026A000093 :0F0480002A090111220019232323CB86C30B0164 :00000001FF sbsc7suxo ; This file patches two changes into version 1.0 of CMD. The first change ; makes it reset the shell bit in the message buffer command status flag so ; that the external or internal error handler will be invoked for bad commands. ; Before, the error was treated as a shell error, which resulted in the entire ; shell stack being cleared. The second change eliminates the extra space ; after the prompt character '>' in the command prompt. This extra space was ; confusing in cases where one wanted deliberately to enter a command with a ; leading space to force invocation of the ZCPR33 extended command processor. ; ; This file should be assembled to a HEX file and overlaid on CMD.COM using the ; MLOAD command line: MLOAD CMDNEW=CMD.COM,CMDPATCH1. ; ; Jay Sage, April 17, 1987 patch equ 480h ; End of existing program code resume equ 10bh ; Where existing code actually started fix equ 26ah ; Address of extra ' ' in string ; Vector to patch org 100h jp patch ; Fix command prompt string org fix db 0 ; Replace ' ' by null ; New code stuck on end org patch ld hl,(109h) ; Get ENV address ld de,22h ; Offset to Z3MSG add hl,de inc hl ; Offset to command status flag inc hl inc hl res 0,(hl) ; Reset the shell bit jp resume ; Resume original code end