home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GameStar 1998 November (Bonus)
/
GAMESTAR11B.ISO
/
Diverses
/
QPV17E
/
INSTALL.DAT
/
DRVSRC
/
DRVSRC.ZIP
/
ATI3.ASM
< prev
next >
Wrap
Assembly Source File
|
1995-03-31
|
1KB
|
58 lines
;
; QPV/386 video driver
; for ATI chipsets
;
; Modified to work on ATI VGA WONDER 18800 12/12/93 Yaron Keren
.286
Code Segment Para 'Code'
Assume cs:Code
Org 100h
Procs dw Bank,Init,Exit,0
Bank: shl al,1
push ax
mov dx,cs:ExtReg
mov al,0b2h
out dx,al
inc dx
in al,dx
pop dx
and al,0e1h
or al,dl
; 2 lines added
mov ah,al
mov al,0b2h
mov dx,cs:ExtReg
; 1 line removed
; inc dx
; 1 line changed
out dx,ax
retf
ExtReg dw ?
Init: mov ax,0c000h
mov es,ax
mov dx,es:[0010h]
mov cs:ExtReg,dx
mov al,0beh
out dx,al
inc dx
in al,dx
and al,11110111b
out dx,al
retf
Exit: retf
Code Ends
End Procs
; End of source.