;************************************************ ;* FILE: MOD820II.ASM * ;* * ;* This overlays the BIOS in the * ;* Xerox to provide the Mulitiple * ;* command line buffer. The buffer * ;* is 128 bytes long and starts at * ;* EF00h. I have allowed space for * ;* a 4 character command upon cold * ;* boot, this gives room for MENU or * ;* the such. To do this I have chopped * ;* the logon message down so there * ;* would be room. There might be * ;* problems that I have yet uncovered * ;* so far it has worked for me. * ;* * ;* Pete McAfee * ;* Xerox El Segundo, CA * ;* 8*823-5456 * ;* * ;* ADAPTED TO MY SYSTEM * ;* Doug Gilbert * ;* May 29, 1983 * ;* July 15, 1983 Rev. 2 * ;* 8*823-7702 * ;************************************************ ; base equ 0ea00h ;start of CBIOS buflen equ 128 ;128 byte buffer clbase equ 0EE80h ;where we stick the comd buffer pmsg equ base+115h ;location of pmsg in bios ; ldir macro ; db 0edh,0b0h endm ; org base+0f1h ;start of bios cold boot lxi h,cmdint ;source of buffer init data lxi d,clbase ;destination address lxi b,last-cmdint+1 ;byte count ldir ;and now we move the block ; ;sign on message somewhat shorter ; call pmsg db 26,'ZCPR22' ;shortened message (7-15-83) db 0 ;end of message jmp pmsg ;revision 2 (7-15-83) ; ; command line data ; cmdint: dw clbase+4 ;point to first character db buflen ;size of buffer db 0 ;dummy db 'STAR' ;autostart command, 0 for none last: db 0 ;terminate command with a 0 END