_ÒCMD10A COMAšCMDPATCHHEX 3tCMDPATCHZ80 ËÀZ3ENVþ* Í/:]þ Ê)þ/˜ÍuCMD, Version 1.0 Syntax: CMD cmd1;cmd2;... or CMD (prompted input) CMD defines the co-mand line in the CL bufferÉÍèÊÍB##ë!‚Í yÍ»ÍûʹÍ Íèë!"�ës#r#FÍB##~#·ÈÂÏ*�6Íu Command Line too Long for BufferÉÍu No Command Line BufferÉ~·È#à ÍuCMD Í xÆAÍ yÍÓ>:Í Í’Ê\~þ ÊfÍ #ÂKÃfÍuNonameÍu>>ÍÙÍB6þ>Í5¯ÍÙÍB##ëO·Ê¬Çþ)Íœ¯É~·Ê™¸Â²#~+¹Â²##¯=ÉÅ ÁÜåÕõÍñwÑáÉõ>ÍÙñÉõ¯ÍÙñÉåÕõÍñwÑáÉÕ*3^#VÕ·áÑÉÕ*3~#fo~#fo~·ÑÉÕ*3"~#fo´ÑÉÕ*3^#V#~ëÑ·É"3É,ÉÃ;Ã-ÕÅ2:"8ë Í*8#~#å…o|Îg6á::·Êoå~·ÊnÍ7w#ÃaáÁÑ+~#ÉãÍ{ãÉÕÅõ~#·ÊÏþ ʹ Í þ ʦþ Ê«þÊ«þʯÀÀ Ày·Ê€ ÀyæG>�G�O> Í ÂÅÀñÁÑÉÅÕõdÍë ÍëÆ0Í ñÑÁÉ�Úõ Ãí€_y·Â²Ê{ÉyÆ0Í {ÉõÅÕåO*. ÕéáÑÁñÉõÕåÍõÿ ÍOñGáÑñÉæþaØþ{Ðæ_Éõ*P}·ÊN$.ñÉRÉÅÕõdÍë ÍëÆ0Í ñÑÁÉ�Úõ Ãí€_y·Â²Ê* "###ˆà †Ã :03010000C38004B5 :01026A000093 :0F0480002A090111220019232323CB86C30B0164 :00000001FF Çsbã�ø˜‚ÿÞscæ€7suâ„ø�…ÿÖxoò„ø¨… ; 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