Giter Site home page Giter Site logo

prehistorik2 doesn't work about fdpp HOT 5 CLOSED

stsp avatar stsp commented on June 12, 2024
prehistorik2 doesn't work

from fdpp.

Comments (5)

stsp avatar stsp commented on June 12, 2024

Bisect: 785ee04

from fdpp.

stsp avatar stsp commented on June 12, 2024

@ecm-pushbx This is caused by
your ISR detection trick.
I think prehistoric chains to the
previous IRQ5 handler after doing
EOI. :(
Can you work out the solution?

from fdpp.

stsp avatar stsp commented on June 12, 2024

And in fact this is a very reasonable
thing to do, because bios is not supposed
to know that IRQ5 is from SB16.
So bios only does IRET.
As such, chaining to prev irq5 handler
after doing EOI, is not a bug!
Which means, we added a bug.
Such detection can not be used.

from fdpp.

stsp avatar stsp commented on June 12, 2024

In dosemu2 we do this:

    case 8 ... 0x0f:
      SETIVEC(i, BIOSSEG, EOI_OFF);
      break;

I don't think this is correct.
We only need to set some ints
to EOI_OFF, namely those for
which we have the handlers.
Which would then be
8, 9, 11, 12, 14, 15.

from fdpp.

stsp avatar stsp commented on June 12, 2024

OK, so I removed SS handler and
changed GPF handler to only use
IMR.

from fdpp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.