home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip: Special Computer Graphics & Animation
/
Chip-Special-Computergrafik.bin
/
programs
/
viewer
/
qpeg13c.exe
/
QPEG
/
DRVSRC
/
ATI-1.ASM
next >
Wrap
Assembly Source File
|
1993-11-04
|
752b
|
43 lines
;
; QPEG video driver
; for ATI chipsets
;
; Note: If this driver doesn't work, try ATI-2.DRV instead.
;
.286
Code Segment Para 'Code'
Assume cs:Code
Org 100h
Procs dw Bank,Init,Exit,0
Bank: mov dl,al
shl al,4
or al,dl
rol al,1
push ax
mov dx,01ceh
mov al,0b2h
out dx,al
inc dx
pop ax
out dx,al
retf
Init: mov dx,01ceh
mov al,0beh
out dx,al
inc dx
in al,dx
or al,08h
out dx,al
retf
Exit: retf
Code Ends
End Procs
; End of source.