Giter VIP home page Giter VIP logo

Comments (6)

morphx666 avatar morphx666 commented on June 3, 2024

I've always suspected that the code responsible for setting the flags has issues and this appears to confirm it.
Is the source code for branch2 available?

from x8086netemu.

morphx666 avatar morphx666 commented on June 3, 2024

Just tested the program with fake86 (an 8086 emulator that works perfectly) and branch2 also reports FAILED on all tests... so I'm afraid there's some bug in this test utility.

from x8086netemu.

morphx666 avatar morphx666 commented on June 3, 2024

hmmm... interesting. the Program passes all tests under VirtualPC running MS-DOS 6.22.
pce-ibmpc version 0.2.1 also passes all tests.

from x8086netemu.

morphx666 avatar morphx666 commented on June 3, 2024

I've just updated the code with several fixes, including the emulation of the PUSHF, POPF, SAHF and LAHF opcodes. This fix allows the emulator to pass all of branch2.exe tests.
It does not, however, solve any of the per-existing issues with EDIT, QBASIC, DEFRAG, CHECKIT, etc...

from x8086netemu.

DualBrain avatar DualBrain commented on June 3, 2024

I'm attaching the source and binary for the complete tests that I found.

testea_and_branch.zip

For branch2 test; I just adding a jump to the tests that were failing.

Interestingly enough... these are by the author of Fake86 from a forum post. ;-)

I'll continue looking for additional ways to test...

Merged your changes and confirmed that these tests are passing... closing this this issue.

from x8086netemu.

morphx666 avatar morphx666 commented on June 3, 2024

About two years ago, Mike Chambers, the author of fake86, was helping me troubleshoot some of the issues in the emulator... but, for some reason, I lost contact with him.
Even his web sites appear to have been abandoned...

from x8086netemu.

Related Issues (12)

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.