Subversion Repositories Kolibri OS

Rev

Rev 2 | Rev 102 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2 Rev 5
Line 25... Line 25...
25
;
25
;
26
;
26
;
27
; Modifying the set_bank -function is mostly enough
27
; Modifying the set_bank -function is mostly enough
28
; for different Vesa 1.2 setups.
28
; for different Vesa 1.2 setups.
Line 29... Line 29...
29
 
29
 
-
 
30
;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-
 
31
; set_bank for Trident videocards, work on Trident 9440
-
 
32
; modified by Mario79
-
 
33
;set_bank:
-
 
34
;cli
-
 
35
;cmp al,[0xfff2]
-
 
36
;je retsb
-
 
37
;mov [0xfff2],al
-
 
38
;push dx
-
 
39
;mov dx,3D8h
-
 
40
;out  dx,al
-
 
41
;pop dx
-
 
42
;retsb:
-
 
43
;sti
Line -... Line 44...
-
 
44
;ret
-
 
45
 
-
 
46
 
30
;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!{
47
;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
31
 
48
; set_bank for S3 videocards, work on S3 ViRGE PCI (325)
32
; set_bank modified by kmeaw 
49
; modified by kmeaw 
33
set_bank: 
50
set_bank: 
34
cli 
51
cli 
35
cmp al,[0xfff2] 
52
cmp al,[0xfff2]