Subversion Repositories Kolibri OS

Rev

Rev 6716 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6716 Rev 8356
Line 339... Line 339...
339
  .notsupp:
339
  .notsupp:
340
        DEBUGF  1,"Unsupported PCI network card detected: 0x%x:0x%x\n", [PCI_Vendor]:4, [PCI_Device]:4
340
        DEBUGF  1,"Unsupported PCI network card detected: 0x%x:0x%x\n", [PCI_Vendor]:4, [PCI_Device]:4
341
        jmp     .next
341
        jmp     .next
Line 342... Line 342...
342
 
342
 
343
 
343
 
344
 
344
ITEM_H = 15
345
;------------------------------------------------------------------
345
;------------------------------------------------------------------
Line 346... Line 346...
346
;* Print device info to screen
346
;* Print device info to screen
Line 353... Line 353...
353
        sub     bx, 36
353
        sub     bx, 36
Line 354... Line 354...
354
 
354
 
355
        mov     cx, dx
355
        mov     cx, dx
356
        dec     cx
356
        dec     cx
357
        shl     ecx, 16
357
        shl     ecx, 16
Line 358... Line 358...
358
        add     ecx, 9
358
        add     ecx, ITEM_H
359
 
359
 
360
        xor     edx, edx
360
        xor     edx, edx
Line 361... Line 361...
361
        mov     dh, [V_Bus]
361
        mov     dh, [V_Bus]
362
        mov     dl, [V_Dev]
362
        mov     dl, [V_Dev]
363
 
363
 
364
        mov     esi, 0x0000c0ff        ; color: yellow if selected, blue otherwise
364
        mov     esi, 0x0059DFFF        ; color: yellow if selected, blue otherwise
365
        cmp     [selected], dx
365
        cmp     [selected], dx
Line 366... Line 366...
366
        jne     @f
366
        jne     @f
367
        mov     esi, 0x00c0c000
367
        mov     esi, 0x00FFCD0B
Line 368... Line 368...
368
       @@:
368
       @@:
369
 
369
 
Line 370... Line 370...
370
        shl     edx, 8
370
        shl     edx, 8
371
        or      dl, 0xff
371
        or      dl, 0xff
-
 
372
 
372
 
373
        mcall   8
Line 373... Line 374...
373
        mcall   8
374
        pop     edx
374
        pop     edx
375
 
375
 
376
        xor     esi, esi                ; Color of text
Line 505... Line 506...
505
 
506
 
Line 506... Line 507...
506
 
507
 
507
DATA
508
DATA
508
 
509
 
509
 
510
 
Line 510... Line 511...
510
Form:   dw 800 ; window width (no more, special for 800x600)
511
Form:   dw 740 ; window width (no more, special for 800x600)