‚‹PRINTPCHHEXPRINTPCHZ80šýPRN24PCHDOC ãœZ3PRNPCHHEX 9Ùÿ ÿ ÿ :0201720018ACC7 :100120002323E506093E3ABE23280510F8E11844CA :03013000F1184182 :0000000000FALSE EQU 0 TRUE EQU NOT FALSE Z3 EQU FALSE IF Z3 FCB EQU 05CH BDOS EQU 5 GSUSER EQU 32 CONTNU EQU 140H ORG 101H JR ZBEGIN ; Call the patch address. ENDIF ORG 172H JR BEGIN ; Branch to patch address. PATRET EQU $ ; ORG 120H BEGIN: INC HL ; Duplicate PRINT24A code to INC HL ; reach start of command tail. PUSH HL ; Save on stack. LD B,9 ; Colon must be within 9 bytes. LOOP: LD A,':' ; Looking for this character. CP (HL) ; Do the compare with "M" reg. INC HL ; Bump to next character. JR Z,BACK ; Colon, return with HL as-is. DJNZ LOOP ; Otherwise loop through all. POP HL ; Not found, get back "old" HL. JR PATRET ; Return to PRINT24A. ; BACK: POP AF ; POP old HL harmlessly via PSW. JR PATRET ; Return to PRINT24A. IF Z3 ZBEGIN: LD A,(FCB+13) ; Z3 parses user code here, LD E,A ; Over to E for BDOS. LD C,GSUSER ; Function # in C. CALL BDOS ; Call it in. JR CONTNU ; Might be non-NOPs, so jump. ENDIF END  :020101001830B4 :0201720018ACC7 :100120002323E506093E3ABE23280510F8E11844CA :0E013000F118413A69005F0E20CD050018025B :0000000000101001830B4 :0201720018ACC7 :100120002323E506093E3ABE23280510F8E11844CA :0E013000F118413A69005F0E20CD050018025B :00000This patch eliminates the drive letter and colon in page headers* generated by PRINT24A.COM by Eric Meyer. By setting the "Z3" equate true, it also enables PRINT24A to respond to DU: and named directory references when run in a ZCPR3 environment. The only tradeoff in this modification is that the space available for the printer initialization string shrinks to 14 bytes - still pretty generous in my book - Bruce Morgen 12/5/86. Patch with: ZAS PRINTPCH H or Z80ASM PRINTPCH/H followed by: MLOAD PRINT=PRINT24A.COM,PRINTPCH or A>DDT PRINT24A.COM -IPRINTPCH.HEX -R -G0 A>SAVE 4 PRINT.COM The preassembled HEX files provided are: PRINTPCH.HEX - The vanilla header patch. Z3PRNPCH.HEX - The above plus the ZCPR3 patch. *It should be noted that drive letters and colons appear in the page header only if they have been specified on the initial command line.