Rev 9066 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9066 | Rev 9196 | ||
---|---|---|---|
Line 229... | Line 229... | ||
229 | mov ch, cl |
229 | mov ch, cl |
230 | shr cl, 4 |
230 | shr cl, 4 |
231 | and ch, 0x0f |
231 | and ch, 0x0f |
232 | add cx, '00' |
232 | add cx, '00' |
233 | mov [PCIWin + 87], cx |
233 | mov [PCIWin + 87], cx |
234 | mov cl, [PCI_LastBus] ; will only work if [PCI_LastBus] < 10 |
234 | ; mov cl, [PCI_LastBus] ; will only work if [PCI_LastBus] < 10 |
235 | add cl, '0' |
235 | ; add cl, '0' |
236 | mov [PCIWin + 106], cl |
236 | ; mov [PCIWin + 106], cl |
Line 237... | Line 237... | ||
237 | 237 | ||
238 | mov edx, PCIWin |
238 | mov edx, PCIWin |
239 | mov ebx, 20 * 65536 + 25 ; x start, ystart of text |
239 | mov ebx, 20 * 65536 + 25 ; x start, ystart of text |
240 | mov ecx, 0x224466 ; color of text |
240 | mov ecx, 0x224466 ; color of text |
Line 248... | Line 248... | ||
248 | cmp byte[edx], -1 |
248 | cmp byte[edx], -1 |
249 | jne @b |
249 | jne @b |
250 | ; Quantity of devices... |
250 | ; Quantity of devices... |
251 | movzx ecx, byte [total] ; number to draw |
251 | movzx ecx, byte [total] ; number to draw |
252 | mcall SF_DRAW_NUMBER, 0x00020000,,150 * 65536 + 65, 0x224466 |
252 | mcall SF_DRAW_NUMBER, 0x00020000,,150 * 65536 + 65, 0x224466 |
- | 253 | movzx ecx, byte [PCI_LastBus] ; number to draw |
|
- | 254 | mcall SF_DRAW_NUMBER, 0x00020000,,<236, 45>, 0x224466 |
|
- | 255 | ||
Line 253... | Line 256... | ||
253 | 256 | ||
254 | mov ebx,ecx |
257 | mov ebx,ecx |
255 | mov ecx,2 |
258 | mov ecx,2 |
256 | mov edi,[store_text_area_start] |
259 | mov edi,[store_text_area_start] |
Line 733... | Line 736... | ||
733 | ; DATA AREA |
736 | ; DATA AREA |
734 | DATA |
737 | DATA |
Line 735... | Line 738... | ||
735 | 738 | ||
736 | Form: dw 800 ; window width (no more, special for 800x600) |
739 | Form: dw 800 ; window width (no more, special for 800x600) |
737 | dw 100 ; window x start |
740 | dw 100 ; window x start |
738 | dw 620 ; window height |
741 | dw 748 ; window height |
Line 739... | Line 742... | ||
739 | dw 20 ; window y start |
742 | dw 20 ; window y start |
Line 740... | Line 743... | ||
740 | 743 | ||
741 | title db 'PCI Device Enumerator v 2.3', 0 |
744 | title db 'PCI Device Enumerator v 2.3', 0 |
742 | 745 | ||
743 | if lang eq it |
746 | if lang eq it |
744 | PCIWin mls \ |
747 | PCIWin mls \ |
745 | ' Don`t forget to enable PCI Access to Applications in Setup Menu.',\ |
748 | ' Don`t forget to enable PCI Access to Applications in Setup Menu.',\ |
746 | '',\ |
749 | '',\ |
747 | 'Versione PCI = x.xx; Ultimo Bus PCI = x',\ |
750 | 'Versione PCI = x.xx; Ultimo Bus PCI = ',\ |
748 | 'User MMIO channel = 0F.F:F ',\ |
751 | 'User MMIO channel = 0F.F:F ',\ |
749 | 'Numbero di unità PCI = ',\ |
752 | 'Numbero di unità PCI = ',\ |
Line 762... | Line 765... | ||
762 | .1: db '(Premere S)',0 |
765 | .1: db '(Premere S)',0 |
763 | else |
766 | else |
764 | PCIWin mls \ |
767 | PCIWin mls \ |
765 | ' Don`t forget to enable PCI Access to Applications in Setup Menu.',\ |
768 | ' Don`t forget to enable PCI Access to Applications in Setup Menu.',\ |
766 | '',\ |
769 | '',\ |
767 | 'PCI Version = x.xx; Last PCI Bus = x',\ |
770 | 'PCI Version = x.xx; Last PCI Bus = ',\ |
768 | 'User MMIO channel = 0F.F:F ',\ |
771 | 'User MMIO channel = 0F.F:F ',\ |
769 | 'Number of PCI units = ',\ |
772 | 'Number of PCI units = ',\ |
770 | '',\ |
773 | '',\ |
771 | 'VenID DevID Bus# Dev# Fnc Rev Class Subclass/ IRQ Company Description',\ |
774 | 'VenID DevID Bus# Dev# Fnc Rev Class Subclass/ IRQ Company Description',\ |
772 | ' Interface',\ |
775 | ' Interface',\ |