Subversion Repositories Kolibri OS

Rev

Rev 3176 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3176 Rev 3194
Line 9... Line 9...
9
;;  Kolibri-A auxiliary 16-bit code,                            ;;
9
;;  Kolibri-A auxiliary 16-bit code,                            ;;
10
;;                        based on bootcode for KolibriOS       ;;
10
;;                        based on bootcode for KolibriOS       ;;
11
;;                                                              ;;
11
;;                                                              ;;
12
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
12
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 13... Line 13...
13
 
13
 
Line 14... Line 14...
14
$Revision: 3176 $
14
$Revision: 3194 $
Line 15... Line 15...
15
 
15
 
Line 37... Line 37...
37
	push	cs
37
	push	cs
38
	pop	es
38
	pop	es
Line 39... Line 39...
39
 
39
 
40
 
40
 
41
cpugood:
41
cpugood:
42
        xor     ax, ax
42
	xor	ax, ax
43
	push	ax
43
	push	ax
Line 44... Line 44...
44
	popf
44
	popf
45
	sti
45
	sti
Line 46... Line 46...
46
 
46
 
47
; set up esp
47
; set up esp
48
	movzx	esp, sp
-
 
49
 
-
 
50
	push	ax
-
 
51
	pop	es
-
 
Line 52... Line 48...
52
	mov	[es:0x9031], ax
48
	movzx	esp, sp
Line 53... Line 49...
53
 
49
 
Line 54... Line 50...
54
; --------------- APM - removed--------------------
50
	push	ax
55
	and	word [es:0x9044], 0	; ver = 0.0 (APM not found)
-
 
Line 56... Line 51...
56
 
51
	pop	es
57
cfgmanager:
52
 
58
 
53
cfgmanager:
Line 59... Line 54...
59
 
54
 
Line 60... Line 55...
60
; DMA ACCESS TO HD
55
 
61
 
-
 
Line 62... Line 56...
62
	mov	al, 1
56
; DMA ACCESS TO HD
Line 63... Line 57...
63
	mov	[es:0x901F], al
57
 
64
 
58
;        mov     al, 1
65
; GRAPHICS ACCELERATION
59
 
66
; force yes
-
 
Line 67... Line 60...
67
	mov	[es:0x901C], al
60
; GRAPHICS ACCELERATION
Line 68... Line 61...
68
 
61
; force yes
69
 
62
;        mov     [es:0x901C], al