Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Networking with QEMU 0.9.1? (Emulation)

posted by rr(R) Homepage E-mail, Berlin, Germany, 17.02.2008, 22:13

> > I'm working on that. ;-) As a work around change
> rtspkt.com
> > at file offset 0x53D7 from 76 F9 to 90 90.
>
> Interesting. What's the reasoning behind the change?

The packet driver tries to read the "Timer Count Register" (TCTR), which is not emulated by QEMU's default configuration. You have to uncomment macro RTL8139_ONBOARD_TIMER in hw/rtl8139.c to activate it.

Here's Igor Kovalenko's "explanation" (;-)) for any drawbacks: IIRC it needs to fire interrupt if timer expires; currently the code just checks value at PCI timer frequency. It is possible to make that lower overhead than checking each clock cycle but it is not so now.

My patch just ends the loop that checks the card's return value.

 

Complete thread:

Back to the forum
Board view  Mix view
15113 Postings in 1359 Threads, 249 registered users, 22 users online (0 registered, 22 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum