Subversion Repositories Kolibri OS

Rev

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

Rev 3163 Rev 3169
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 -... Line 14...
-
 
14
$Revision: 3169 $
Line 14... Line 15...
14
$Revision: 3163 $
15
 
15
 
16
boot_dev  db	  0  ; 0=floppy, 1=hd
16
 
17
 
17
;==========================================================================
18
;==========================================================================
Line 85... Line 86...
85
;
86
;
86
;                           16 BIT CODE
87
;                           16 BIT CODE
87
;
88
;
88
;=========================================================================
89
;=========================================================================
Line 89... Line 90...
89
 
90
 
Line 90... Line 91...
90
include 'bootvesa.inc'		       ;Include source for boot vesa
91
diff16 "start_of_code: ",0,$
91
 
92
 
92
start_of_code:
93
start_of_code:
93
	cld
94
	cld
Line 170... Line 171...
170
	and	cx, 0xFFF0	; clear address decode type
171
	and	cx, 0xFFF0	; clear address decode type
171
	mov	[es:0x9031], cx
172
	mov	[es:0x9031], cx
172
.nopci:
173
.nopci:
173
; \end{Mario79}
174
; \end{Mario79}
Line 174... Line 175...
174
 
175
 
175
; --------------- APM ---------------------
176
; --------------- APM - removed--------------------
176
	and	word [es:0x9044], 0	; ver = 0.0 (APM not found)
177
	and	word [es:0x9044], 0	; ver = 0.0 (APM not found)
177
 if 0
178
 if 0
178
	mov	ax, 0x5300
179
	mov	ax, 0x5300
179
	xor	bx, bx
180
	xor	bx, bx