;Smartkey II (8 bit) user patch area: ; ;this file contains an assembly language listing of the user ;patchable areas of Smartkey II v1.0. It may be used to patch ;the program for changes outside the scope of Skpatch ; ;t mak changes us th DD S(e memory command notin tha ;th patc are commence a locatio 180 (280 i th ;SMARTKEY.CO fil ha bee configure fo CP Plu usin GENCOM) ; ; u s e r p a t c h a r e a ; ;the following variables are located here for ease of mod- ;ification. they are moved into the resident data area by ;setup during initialization. default values shown are for ;televideo terminals ; ; org 0180h usrpat: db 1bh ;default setup character () db 0ffh ;value to return for console status ;while expanding definitions db '/' ;supershift character/terminal leadin db 1 ;length of preamble including leadin. db 0 ;length of post-amble. db 1 ;supershift/terminal string flag: ; set to 1 to enable supershift ; set to 2 to have smartkey respond ; to a second terminal string format. db 1 ;lead in character for terminal ; escape sequences (^A) db 1 ;length of terminal string pre- ; amble including leadin. db 1 ;length of post-amble. db 0 ;terminal string flag, non zero to enable db 80h ;mask character to XOR with ; significant char of string dw 1000h ;delay constant for string recognition ; this value is usually adequate but may ; need to be changed with extreme combinations ; of terminal and processor speed. if it is ; too small, the terminal strings wont be ; recognized, if it is too large, a fast ; typist might beat it db 1bh ;escape char to end variable entry - set by ; SKPATCH to correspond with setup so this ; must be altered later if you ; want to change it wbe: db 0 ;flag non-zero to return to ccp ; in lieu of warm boot db 0 ;flag non-zero to enable hex mode db 07fh ;mask for characters returned to the system ; 07fh to reset bit 7, 0ffh to leave it ; unaltered tabk: db 0 ;table size (# of Kbytes - 1) max value 7 dw 1 ;console status delay. specifies the ; number of not ready responses to console ; status requests during definition expansion ; and thus controls expansion speed. must ; be set to at least 1 for compatibility ; with dBase II. db 0 ;flag non-zero to require ; the routine patched in below ; to be used for console input ; in lieu of the bios routine usrlth equ $ - usrpat inpt: db 0,0,0,0,0 ;these 16 bytes may be used for db 0,0,0,0,0 ; a console input routine ret- db 0,0,0,0,0 ; urning 8 bit key codes. the ret ; routine is only called when ; the console is ready and ; should not check status. no ; addresses local to smartkey ; may be referenced. ;