Subversion Repositories Kolibri OS

Rev

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

Rev 1993 Rev 1995
Line 232... Line 232...
232
	jne	@b
232
	jne	@b
233
	; Quantity of devices...
233
	; Quantity of devices...
234
	movzx	ecx, byte [total]	; number to draw
234
	movzx	ecx, byte [total]	; number to draw
235
	mcall	47, 0x00020000,,150 * 65536 + 65, 0x224466
235
	mcall	47, 0x00020000,,150 * 65536 + 65, 0x224466
Line -... Line 236...
-
 
236
	
-
 
237
	mov	ebx,ecx
-
 
238
	mov	ecx,2
-
 
239
	mov	edi,[store_text_area_start]
-
 
240
	add	edi,157
-
 
241
	push	edi
-
 
242
	call	binary_to_hex_string
-
 
243
	pop	edi
-
 
244
	mov	[edi+2],byte 'h'
236
	
245
	
237
	mov	ah, [MMIO_allowed]
246
	mov	ah, [MMIO_allowed]
238
	or 	ah, ah
247
	or 	ah, ah
239
	jz 	@f
248
	jz 	@f
240
	mov	ah, [MMIO_Bus]	; =255 if MMIO disabled / not found
249
	mov	ah, [MMIO_Bus]	; =255 if MMIO disabled / not found
Line 651... Line 660...
651
	mov	ebx,edx
660
	mov	ebx,edx
652
	mcall	4,,0x80000000,text_NA
661
	mcall	4,,0x80000000,text_NA
653
	mov	edi,[store_text_area_end]
662
	mov	edi,[store_text_area_end]
654
	mov	ax,[edx]
663
	mov	ax,[edx]
655
	mov	[edi+1],ax
664
	mov	[edi+1],ax
656
	jmp	store_2_digits.1
665
	add	[store_text_area_end],dword 5
-
 
666
	popa
-
 
667
	ret
657
;-----------------------------------------------------------------------------
668
;-----------------------------------------------------------------------------
658
store_2_digits:
669
store_2_digits:
659
	pusha
670
	pusha
660
	inc	[store_text_area_end]
671
	inc	[store_text_area_end]
661
	mov	ebx,ecx
672
	mov	ebx,ecx
662
	mov	ecx,2
673
	mov	ecx,2
663
	mov	edi,[store_text_area_end]
674
	mov	edi,[store_text_area_end]
664
	call	binary_to_hex_string
675
	call	binary_to_hex_string
665
.1:
-
 
666
	add	[store_text_area_end],dword 4
676
	add	[store_text_area_end],dword 4
667
	popa
677
	popa
668
	ret
678
	ret
669
;-----------------------------------------------------------------------------
679
;-----------------------------------------------------------------------------
670
store_4_digits:
680
store_4_digits:
Line 731... Line 741...
731
text_save_button:
741
text_save_button:
732
	db 'Save PCI list',0
742
	db 'Save PCI list',0
733
.1:	db '(Press S key)',0
743
.1:	db '(Press S key)',0
Line 734... Line 744...
734
 
744
 
735
text_NA:
745
text_NA:
736
	db 'NA',0
746
	db '--',0
737
;---------------------------------------------------------------------
747
;---------------------------------------------------------------------
Line 738... Line 748...
738
system_dir_ProcLib	db '/sys/lib/proc_lib.obj',0
748
system_dir_ProcLib	db '/sys/lib/proc_lib.obj',0