Metropoli BBS
VIEWER: vga28.asm MODE: TEXT (ASCII)
; vga28.asm
;
; than 80.  However, here is VGA28.SCR, a simple debug script that will
; create a .COM file that will set a 28-row text mode on a VGA display.
; (On other displays it simply clears the screen.)  Since it's not a TSR,
; the effect doesn't "stick," and it needs to be re-run after every time
; a program resets the video mode.
; --Donald Davis
.model       small
.code

org          100h

start:

MOV AX,1202h ;set up 400 scan lines
MOV BL,30h
INT 10h
MOV AX,3 ;set up normal text mode
INT 10h
MOV AX,1111h ;load ega character set
MOV BL,0
INT 10h
mov          ax,4c00h
int          21h
end          start


[ RETURN TO DIRECTORY ]