home *** CD-ROM | disk | FTP | other *** search
- JMP START
-
- DB 0Dh,0Ah,"BufferKB v 1.0 A Utility to Enlarge BIOS's Keyboard Buffer.",0Dh,0Ah
- DB 'Written by Ed Derzawiec',0Dh,0Ah
- DB '6 Sweet Fern Rd, Cape Elizabeth, ME 04107',0Dh,0Ah
- DB 'Declared Public Domain, 1990'
- DB 1Ah ;Clean up a listing of this .COM file
-
-
- ParamLen EQU 080 ;PSP offset To Length Of Parameter String
- Params EQU 081 ;PSP offset to Parameters
-
- Head EQU 01A ;BIOS Pointer Location to Current Head and
- Tail EQU 01C ;Tail Of Circular Buffer
- KeyStart EQU 080 ;BIOS Pointer Location of Actual Start and
- KeyEnd EQU 082 ;End of the Circular Buffer
-
- NewStart DW 0B0 ;A variable for the New Starting Offset and
- NewSize DW 2*32 ;Size of the Keyboard Buffer.
- ;Variables Allow Easy Modification in Future
- ;This BIOS area appears unused
- ;It doubles the buffer from 16 to 32 Characters
-
- Start: PUSH ES
- MOV ES,AX,040 ;BIOS Data Segment resides in Page 40
- MOV AX,NewStart
- MOV ES:w[KeyStart],AX
- MOV ES:w[Head],AX
- MOV ES:w[Tail],AX
- ADD AX,NewSize
- MOV ES:w[KeyEnd],AX
- POP ES
- Exit: SUB AH,AH
- INT 21h ;Exit Program
-