Giter Club home page Giter Club logo

Comments (2)

frozen-signal avatar frozen-signal commented on July 28, 2024

There seems to be a problem with CASEN_N and EN80_N.

This is a logic analyzer capture of the game ALIENS, with a trigger on the falling edge of EN80_N:
Both captures are without a 80-Col Card present, on an enhanced Apple IIe.
With the ASIC MMU:
image
With the MMU from this repository:
image

For some reason, the CASEN_N and EN80_N signals are wrong in the prototype.

from apple_iie_mmu_iou.

frozen-signal avatar frozen-signal commented on July 28, 2024

Fixed in 5f5cba5

At first, I though that the SELMB_N computation of the emulator schematics was incorrect. So, I re-wrote SELMB_N to be closer to the ASIC schematics. This new implementation is much simpler than the other schematics one, but do not fix the problem described above.

Later, I was convinced that PG2 somehow ended up with the wrong value and started searching through the logic analyzer traces until I found this:
image
The CPU places $C054 on the address bus to reset the soft-switch PG2, But while the address is crumbling, the MMU momentarily sees $C055 and sets it back.

To fix, the latch enabling that control these soft-switches must be forced HIGH during PHI_1 (i.e. during PHI_0 LOW).

This fixes the problem with ALIENS, Apple IIe Diagnostic v2.1, as well as almost every game. Except "The Black Cauldron" that seems to have an problem. Will open a different issue for that one.

from apple_iie_mmu_iou.

Related Issues (19)

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.