_Kartxit proc far C PUBLIC
OWNER: Brian Chang
PURPOSE: Display an exit message and exit to DOS
INPUT: CloseMessage
OUPUT: CloseMessage is displayed and program exits.

changeseg proc near USES ax es cx di dx
Owner:   C.K. Liang
Purpose: overwrites certain part of the ScrSeg segment with the key input
from the user at the DOS prompt
Inputs:  di - offset of the segment to write to
         ScrSeg - segment to write to
         key input 
         _minute, _second, tenthofsecond     
Output:  modified ScrSeg segment
Note:    call KBDIN subroutine from 291 library

pushline proc near  
Owner:   C.K. Liang
Purpose: shifts certain bytes in the segment by 65 bytes to the next line
as in DOS display to leave a line for the current record 
Inputs:  di - offset of the segment to begin the shifting
         es - segment         
Output:  modified segment
Note:    some bytes are lost or the segment doesn't need a change at all

AdjWB
Owner: Brian
Purpose: small helper function to return WALLBUFFER or -WALLBUFFER
Input: carry flag
Output:  BX: WALLBUFFER if Carry bit is low
            -WALLBUFFER if Carry big is hi

ModeGraph proc far C PUBLIC
Owner: Brian Chang
Inputs: none
Outputs: Switches to graphics mode

ModeText proc far C PUBLIC   
Owner: Brian Chang
Inputs: none
Outputs: Switches to text mode