Subversion Repositories Kolibri OS

Rev

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

Rev 1683 Rev 1700
Line 9... Line 9...
9
;;  KolibriOS 16-bit loader,                                    ;;
9
;;  KolibriOS 16-bit loader,                                    ;;
10
;;                        based on bootcode for MenuetOS        ;;
10
;;                        based on bootcode for MenuetOS        ;;
11
;;                                                              ;;
11
;;                                                              ;;
12
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
12
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 13... Line 13...
13
 
13
 
Line 14... Line 14...
14
$Revision: 1683 $
14
$Revision: 1700 $
15
 
15
 
16
 
16
 
Line 207... Line 207...
207
	dec	dx
207
	dec	dx
208
	jnz	dfl1
208
	jnz	dfl1
209
; draw bottom
209
; draw bottom
210
	mov	si, d80x25_bottom
210
	mov	si, d80x25_bottom
211
	mov	cx, d80x25_bottom_num * 80
211
	mov	cx, d80x25_bottom_num * 80
212
@@:
212
;@@:
213
	lodsb
213
;	lodsb
214
	stosw
214
;	stoswvmode
215
	loop	@b
215
;	loop	@b
Line 216... Line 216...
216
 
216
 
Line 217... Line 217...
217
	mov	byte [space_msg+80], 0	  ; now space_msg is null terminated
217
	mov	byte [space_msg+80], 0	  ; now space_msg is null terminated
Line 218... Line -...
218
 
-
 
219
	_setcursor d80x25_top_num,0
-
 
220
 
-
 
221
 
-
 
222
; TEST FOR 386+
-
 
223
	jmp	cpugood
-
 
224
;        mov     bx, 0x4000
-
 
225
;        pushf
-
 
226
;        pop     ax
-
 
227
;        mov     dx, ax
-
 
228
;        xor     ax, bx
-
 
229
;        push    ax
-
 
230
;        popf
-
 
231
;        pushf
-
 
232
;        pop     ax
-
 
233
;        and     ax, bx
-
 
234
;        and     dx, bx
218
 
235
;        cmp     ax, dx
219
	_setcursor d80x25_top_num,0
236
;        jnz     cpugood
220
 
237
;        mov     si, not386
221
 
Line 401... Line 385...
401
	mov	si, current_cfg_msg
385
	mov	si, current_cfg_msg
402
	call	print
386
	call	print
403
	mov	si, curvideo_msg
387
	mov	si, curvideo_msg
404
	call	print
388
	call	print
Line 405... Line 389...
405
 
389
 
Line 406... Line 390...
406
	    call    draw_current_vmode
390
;<<	    call    draw_current_vmode
407
 
391
 
408
	mov	si, usebd_msg
392
	mov	si, usebd_msg
409
	cmp	[preboot_biosdisk], 1
393
	cmp	[preboot_biosdisk], 1