home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Hack-Phreak Scene Programs
/
cleanhpvac.zip
/
cleanhpvac
/
VGAKIT60.ZIP
/
svga320.asm
< prev
next >
Wrap
Assembly Source File
|
1994-01-01
|
860b
|
42 lines
include model.inc
include vesa.inc
;
; VGAKIT Version 6.0
;
; Copyright 1988,89,90,91,92,93,94 John Bridges
; Free for use in commercial, shareware or freeware applications
;
; SVGA320.ASM
;
;
.data
extrn cirrus:byte,everex:byte,paradise:byte,tseng:byte,trident:byte
extrn t8900:byte,ativga:byte,aheada:byte,aheadb:byte
extrn oaktech:byte,video7:byte,chipstech:byte,tseng4:byte,genoa:byte
extrn ncr:byte,compaq:byte,acumos:byte,vesa:byte
extrn maxx:word,maxy:word,scanline:word,ourseg:word
.code
public svga320
extrn mkadrtbl:proc,txtmode:proc,setmany:proc,vesaset:proc
svga320 proc ;Set 320x200x256 on most VGA cards
mov [ourseg],0a000h
mov ax,320
mov [maxx],ax ;default width to 320
mov [scanline],ax
mov ax,13h
int 10h
mov ax,200
mov [maxy],ax
call mkadrtbl
notr: ret
svga320 endp
end