;       Static Name Aliases
;
        TITLE   setmode
;       NAME    setmode.C

        .287
_TEXT   SEGMENT  BYTE PUBLIC 'CODE'
_TEXT   ENDS
_DATA   SEGMENT  WORD PUBLIC 'DATA'
_DATA   ENDS
CONST   SEGMENT  WORD PUBLIC 'CONST'
CONST   ENDS
_BSS    SEGMENT  WORD PUBLIC 'BSS'
_BSS    ENDS
DGROUP  GROUP   CONST,  _BSS,   _DATA
        ASSUME  CS: _TEXT, DS: DGROUP, SS: DGROUP, ES: DGROUP
_TEXT      SEGMENT
; Line 5
        PUBLIC  _setmode
_setmode        PROC NEAR

;       mode = 4

        push    bp
        mov     bp,sp
        mov     ax,[bp+4]       ;mode
        int     10h
        xor     ah,ah
        mov     sp,bp
        pop     bp
        ret

_setmode        ENDP
_TEXT   ENDS
END
