亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? ethernet.inc

?? MenuetOS是一個(gè)用匯編開(kāi)發(fā)的32/64位PC操作系統(tǒng)
?? INC
?? 第 1 頁(yè) / 共 4 頁(yè)
字號(hào):
    mov     [hdrtype], al
    jmp     sb_002

sb_001:
    mov     al, [hdrtype]
    and     al, 0x80
    cmp     al, 0x80
    jne     sb_inc_devf

sb_002:
    mov     edx, PCI_VENDOR_ID
    call    pcibios_read_config_dword
    mov     [vendor_device], eax
    cmp     eax, 0xffffffff
    je      sb_empty
    cmp     eax, 0
    jne     sb_check_vendor

sb_empty:
    mov     [hdrtype], byte 0
    jmp     sb_inc_devf

sb_check_vendor:
    ; iterate though PCICards until end or match found
    mov     esi, PCICards

sb_check:
    cmp     [esi], dword 0
    je      sb_inc_devf                ; Quit if at last entry
    cmp     eax, [esi]
    je      sb_got_card
    add     esi, PCICARDS_ENTRY_SIZE
    jmp     sb_check

sb_got_card:
    ; indicate that we have found the card
    mov     [pci_data], eax
    mov     [pci_dev], ecx
    mov     [pci_bus], ebx

    ; Define the driver functions
    push    eax
    mov     eax, [esi+4]
    mov     [drvr_probe], eax
    mov     eax, [esi+8]
    mov     [drvr_reset], eax
    mov     eax, [esi+12]
    mov     [drvr_poll], eax
    mov     eax, [esi+16]
    mov     [drvr_transmit], eax
    pop     eax

    mov     edx, PCI_BASE_ADDRESS_0

sb_reg_check:
    call    pcibios_read_config_dword
    mov     [io_addr], eax
    and     eax, PCI_BASE_ADDRESS_IO_MASK
    cmp     eax, 0
    je      sb_inc_reg
    mov     eax, [io_addr]
    and     eax, PCI_BASE_ADDRESS_SPACE_IO
    cmp     eax, 0
    je      sb_inc_reg

    mov     eax, [io_addr]
    and     eax, PCI_BASE_ADDRESS_IO_MASK
    mov     [io_addr], eax

sb_exit1:
    ret

sb_inc_reg:
    add     edx, 4
    cmp     edx, PCI_BASE_ADDRESS_5
    jbe     sb_reg_check

sb_inc_devf:
    inc     ecx
    cmp     ecx, 255
    jb      sb_devf_loop
    inc     ebx
    cmp     ebx, 256
    jb      sb_bus_loop

    ; We get here if we didn't find our card
    ; set io_addr to 0 as an indication
    xor     eax, eax
    mov     [io_addr], eax

sb_exit2:
    ret

;***************************************************************************
;
;  DEBUGGING CODE FOLLOWS
;
;  If debugging data output is not required, ALL code & data below may
;  be removed.
;
;***************************************************************************

if DEBUGGING_STATE = DEBUGGING_ENABLED

;***************************************************************************
;   Function
;      eth_dump
;
;   Description
;       Dumps a tx or rx ethernet packet over the rs232 link
;       This is a debugging routine that seriously slows down the stack.
;       Use with caution.
;
;       Baud rate is 57600, 8n1  com1
;         eax : type (0 == rx, 1 == tx )
;          cx : # of bytes in buffer
;         esi : address of buffer start
;         edi : pointer to MACAddress ( tx only )
;
;***************************************************************************
eth_dump:
    pusha

    ; Set the port to the desired speed
    mov     ebx, 0x3f8                     ; combase

    mov     edx, ebx
    add     edx, 3                        ; data format register
    mov     al, 0x80                    ; enable access to divisor latch
    out     dx, al

    mov     edx, ebx
    add     edx, 1                        ; interrupt enable register
    mov     al, 0x00                    ; No interruts enabled
    out     dx, al

    mov     edx, ebx
    mov     al, 0x20 / 16                ; set baud rate to 57600 0x10 =115200
    out     dx, al

    mov     edx, ebx
    add     edx, 3                        ; data format register
    mov     al, 0x03                    ; 8 data bits
    out     dx, al

    mov     edx, ebx
    add     edx, 4                        ; Modem control register
    mov     al, 0x08                    ; out2 enabled. No handshaking.
    out     dx, al

    mov     edx, ebx
    add     edx, 1                        ; interrupt enable register
    mov     al, 0x01                    ; Receive data interrupt enabled,
    out     dx, al

    popa

    ; First, display the type of the buffer.
    ; If it is a tx buffer, display the macaddress

    pusha

    cmp     eax, 0
    jne     dd001

    mov     bl, 0x0a
    call    tx_byted
    mov     bl, 0x0d
    call    tx_byted

    ; Output "RX:"
    mov     bl, 'R'
    call    tx_byted
    mov     bl, 'X'
    call    tx_byted
    mov     bl, ':'
    call    tx_byted
    jmp     dump_data

dd001:
    mov     bl, 0x0a
    call    tx_byted
    mov     bl, 0x0d
    call    tx_byted

    ; Output TX: xxxxxxxxxxxx
    mov     bl, 'T'
    call    tx_byted
    mov     bl, 'X'
    call    tx_byted
    mov     bl, ':'
    call    tx_byted
    mov     bl, ' '
    call    tx_byted

    ; Display MAC address
    xor     eax, eax
    mov     al, [edi]
    shr     al, 4
    mov     bl, [eax + hexchars]
    call    tx_byted ; byte in bl eax ebx edx destroyed

    xor     eax, eax
    mov     al, [edi]
    and     al, 0x0f
    mov     bl, [eax + hexchars]
    call    tx_byted ; byte in bl eax ebx edx destroyed

    inc     edi
    xor     eax, eax
    mov     al, [edi]
    shr     al, 4
    mov     bl, [eax + hexchars]
    call    tx_byted ; byte in bl eax ebx edx destroyed

    xor     eax, eax
    mov     al, [edi]
    and     al, 0x0f
    mov     bl, [eax + hexchars]
    call    tx_byted ; byte in bl eax ebx edx destroyed

    inc     edi
    xor     eax, eax
    mov     al, [edi]
    shr     al, 4
    mov     bl, [eax + hexchars]
    call    tx_byted ; byte in bl eax ebx edx destroyed

    xor     eax, eax
    mov     al, [edi]
    and     al, 0x0f
    mov     bl, [eax + hexchars]
    call    tx_byted ; byte in bl eax ebx edx destroyed

    inc     edi
    xor     eax, eax
    mov     al, [edi]
    shr     al, 4
    mov     bl, [eax + hexchars]
    call    tx_byted ; byte in bl eax ebx edx destroyed

    xor     eax, eax
    mov     al, [edi]
    and     al, 0x0f
    mov     bl, [eax + hexchars]
    call    tx_byted ; byte in bl eax ebx edx destroyed

    inc     edi
    xor     eax, eax
    mov     al, [edi]
    shr     al, 4
    mov     bl, [eax + hexchars]
    call    tx_byted ; byte in bl eax ebx edx destroyed

    xor     eax, eax
    mov     al, [edi]
    and     al, 0x0f
    mov     bl, [eax + hexchars]
    call    tx_byted ; byte in bl eax ebx edx destroyed

    inc     edi
    xor     eax, eax
    mov     al, [edi]
    shr     al, 4
    mov     bl, [eax + hexchars]
    call    tx_byted ; byte in bl eax ebx edx destroyed

    xor     eax, eax
    mov     al, [edi]
    and     al, 0x0f
    mov     bl, [eax + hexchars]
    call    tx_byted ; byte in bl eax ebx edx destroyed

dump_data:
    popa

    ; OK, we come in here with
    ; cx == number of byte to send
    ; esi == buffer start
    ;
dd_000:
    mov     bl, 0x0a
    call    tx_byted
    mov     bl, 0x0d
    call    tx_byted

    mov     eax, 16        ; Number of characters on the line
    mov     edi, esi    ; Save first byte position for later

    push    ecx

dd_001:
    push    eax

    ; Print a byte, and a space
    xor     eax, eax
    mov     al, [esi]
    shr     al, 4
    mov     bl, [eax + hexchars]
    call    tx_byted ; byte in bl eax ebx edx destroyed

    xor     eax, eax
    mov     al, [esi]
    and     al, 0x0f
    mov     bl, [eax + hexchars]
    call    tx_byted ; byte in bl eax ebx edx destroyed

    mov     bl, ' '
    call    tx_byted

    pop     eax

    inc     esi
    dec     ecx
    cmp     ecx, 0
    je      dd_0011            ; Print the ASCII format

    dec     eax

    cmp     eax, 0
    je      dd_002            ; Print the ASCII format
    jmp     dd_001            ; Print rest of line

dd_0011:
    ; First, complete the 16 bytes of data, by printing spaces
    dec     eax
    cmp     eax, 0
    je      dd_002

    push    eax
    mov     bl, ' '
    call    tx_byted
    mov     bl, ' '
    call    tx_byted
    mov     bl, ' '
    call    tx_byted
    pop     eax
    jmp     dd_0011

dd_002:
    pop     ecx
    mov     esi, edi        ; Go back to the start of the line data

    mov     eax, 16

outLineAscii:
    push    eax

    xor     eax, eax
    mov     al, [esi]
    mov     bl, '.'

    cmp     al, 0x1F
    jle     outAscii
    cmp     al, 0x7e
    jge     outAscii

    mov     bl, al

outAscii:
    call    tx_byted ; byte in bl eax ebx edx destroyed

    pop     eax
    dec     ecx
    inc     esi
    cmp     ecx, 0
    je      dd_003

    dec     eax
    cmp     eax, 0
    je      dd_003
    jmp     outLineAscii

dd_003:
    cmp     ecx, 0
    je      dd_004
    jmp     dd_000

dd_004:
    ret

;***************************************************************************
;   Function
;      tx_byte
;
;   Description
;       Send a byte in bl out of the com port 1
;       destroys eax, edx
;
;***************************************************************************
tx_byted:
    push    ebx                     ; Save the byte

    mov     ebx, 0x3f8            ; get the com port address

    ; Wait for transmit buffer to empty. This could take 1ms @ 9600baud

    mov     edx, ebx
    add     edx, 5

wait_txd:
    in      al, dx                   ; read uart serialisation status
    and     al, 0x40
    cmp     al, 0
    jz      wait_txd                  ; loop until free

    mov     edx, ebx
    pop     eax                     ; restore the byte to send
    out     dx, al
    ret

; This is used for translating hex to ASCII for display or output
hexchars    db '0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'

end if

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩www| 欧美精品一区二区不卡| 蜜桃av一区二区| 国产欧美精品一区二区色综合 | 色激情天天射综合网| 日本va欧美va瓶| 成人欧美一区二区三区小说 | 欧美做爰猛烈大尺度电影无法无天| 日韩成人一级大片| 国产嫩草影院久久久久| 欧美一区二区福利视频| 欧美亚洲另类激情小说| 成人久久久精品乱码一区二区三区| 香蕉av福利精品导航| 日本一区二区三区视频视频| 欧美一区二区三区不卡| 欧美亚洲一区三区| 日本一区二区三区免费乱视频| 欧美色区777第一页| www.在线欧美| 国产成a人亚洲精| 美国一区二区三区在线播放| 午夜欧美2019年伦理| 日韩伦理免费电影| 日本一区二区成人| 久久毛片高清国产| 精品久久久久久最新网址| 欧美日韩视频一区二区| 欧洲生活片亚洲生活在线观看| 成人午夜伦理影院| 国产成人a级片| 国产精品羞羞答答xxdd| 韩国成人精品a∨在线观看| 免费观看91视频大全| 丝袜美腿亚洲综合| 亚洲a一区二区| 亚洲风情在线资源站| 一区二区三区在线看| 亚洲人成精品久久久久| 日本一区二区三级电影在线观看| 国产网站一区二区| 久久精品一二三| 国产丝袜在线精品| 国产精品丝袜黑色高跟| 国产精品无人区| 亚洲三级在线免费| 亚洲精品伦理在线| 亚洲主播在线观看| 亚洲va中文字幕| 日韩激情在线观看| 日本不卡123| 精品一区二区在线看| 麻豆中文一区二区| 国产一区二区女| 国产成人av资源| 99视频在线精品| 在线观看av不卡| 欧美精品一二三区| 久久先锋影音av| 国产精品国产馆在线真实露脸| 亚洲欧美日韩在线不卡| 亚洲精品你懂的| 男男视频亚洲欧美| 国产盗摄一区二区三区| 99久久777色| 欧美精品日日鲁夜夜添| 精品久久久久久久久久久久久久久| 精品国产乱码久久| 综合久久国产九一剧情麻豆| 亚洲国产一区二区三区| 久久99九九99精品| 91色porny在线视频| 制服丝袜国产精品| 久久久久国产一区二区三区四区 | 天堂蜜桃91精品| 国产成人综合亚洲91猫咪| 99免费精品视频| 7777精品伊人久久久大香线蕉的 | 欧美电影影音先锋| 久久久蜜臀国产一区二区| 亚洲美女区一区| 久久丁香综合五月国产三级网站| 成人国产一区二区三区精品| 欧美影视一区二区三区| 久久亚洲一级片| 亚洲国产一区二区三区 | 99麻豆久久久国产精品免费| 欧美日韩一区 二区 三区 久久精品| 欧美mv日韩mv国产网站| 樱花草国产18久久久久| 韩国在线一区二区| 在线观看国产一区二区| 久久久精品国产免费观看同学| 一区二区三区成人| 国产乱码一区二区三区| 91麻豆精品国产91| 中文字幕在线视频一区| 美国十次综合导航| 欧美色图第一页| 18成人在线观看| 国产精品1024| 日韩免费观看2025年上映的电影| 亚洲综合区在线| 成人性视频网站| 2欧美一区二区三区在线观看视频 337p粉嫩大胆噜噜噜噜噜91av | 欧美妇女性影城| 亚洲视频免费在线| 国产揄拍国内精品对白| 欧美日韩亚洲综合在线 | 成人一级视频在线观看| 日韩欧美一级在线播放| 亚洲大片精品永久免费| 波多野结衣精品在线| 久久久久久久久99精品| 蜜臀av性久久久久蜜臀aⅴ四虎| 色婷婷综合久久久久中文一区二区 | 久久久久久久久久看片| 免播放器亚洲一区| 欧美日韩不卡在线| 亚洲一二三四久久| 色综合一区二区三区| 国产精品久久久久毛片软件| 国产老女人精品毛片久久| 欧美成人性福生活免费看| 蜜桃av一区二区在线观看| 欧美精品一卡二卡| 亚洲第一狼人社区| 欧美系列一区二区| 亚洲资源在线观看| 欧美在线免费视屏| 一区二区三国产精华液| 色狠狠综合天天综合综合| 亚洲欧美日韩久久精品| 99综合影院在线| 亚洲欧洲av一区二区三区久久| 成人丝袜高跟foot| 中文字幕不卡的av| 成+人+亚洲+综合天堂| 中文字幕欧美国产| 成人精品视频一区| 中文字幕中文在线不卡住| 99在线精品视频| 亚洲精品一二三区| 欧美在线观看你懂的| 五月天久久比比资源色| 777久久久精品| 美女视频一区二区三区| 26uuu精品一区二区三区四区在线| 国产一区二区三区精品视频| 久久精品亚洲精品国产欧美kt∨| 国产精品性做久久久久久| 国产精品久久久久久久久免费樱桃| 大白屁股一区二区视频| 亚洲色图欧美在线| 欧美私人免费视频| 美女在线视频一区| 日本一区二区免费在线观看视频 | 欧美激情艳妇裸体舞| 91视频.com| 五月激情丁香一区二区三区| 91精品国产91久久久久久一区二区 | 亚洲国产中文字幕在线视频综合| 欧美老年两性高潮| 国内精品免费在线观看| 中文字幕永久在线不卡| 在线看不卡av| 激情丁香综合五月| 国产精品初高中害羞小美女文| 91色.com| 日本麻豆一区二区三区视频| 久久精品免视看| 色综合咪咪久久| 美女视频黄频大全不卡视频在线播放| 国产午夜精品久久久久久免费视| 一本久久a久久精品亚洲| 日一区二区三区| 欧美国产视频在线| 欧美日韩电影在线| 国产成人精品三级| 婷婷丁香激情综合| 日本一区二区三区在线不卡| 欧美视频你懂的| 国产寡妇亲子伦一区二区| 亚洲影院在线观看| 日本一区二区三区四区| 欧美精品丝袜中出| av男人天堂一区| 精品一区二区影视| 亚洲影视在线观看| 久久女同互慰一区二区三区| 色综合久久久久久久久久久| 狠狠狠色丁香婷婷综合久久五月| 亚洲人成网站色在线观看| 日韩免费高清电影| 欧美视频一区二区三区| 国产成人av一区二区| 美女脱光内衣内裤视频久久网站 | 国产精品综合视频| 性感美女极品91精品| 国产精品短视频|