Coder Social home page Coder Social logo

Zalaga crash? about beebfpga HOT 6 CLOSED

hoglet67 avatar hoglet67 commented on July 29, 2024
Zalaga crash?

from beebfpga.

Comments (6)

hoglet67 avatar hoglet67 commented on July 29, 2024

That's because it uses one of the 6502 illegal opcodes, which isn't present on the 65C02 core that you are probably using by default..

If you only care about a model B, then set UseT65Core to true and UseAlanDCore to false, then you should find Zalaga works fine.

from beebfpga.

sharpie7 avatar sharpie7 commented on July 29, 2024

Doh! Never thought about it using illegal opcodes!

from beebfpga.

sharpie7 avatar sharpie7 commented on July 29, 2024

This might all be useless to you, but I thought it was worth writing up just in case.

I tried to build my project using the T65 core to test Zalaga with a 6502. Unfortunately the T65 core causes Quartus to crash doing the build. I therefore added the original PeterW 6502 from FPGA64 to the project and build with that. It is supposed to implement the illegal 6502 instructions.

It produces a very odd effect. Zalaga runs, but with long pauses and lots of screen corruption. A couple of other common BBC games I tried worked fine.

from beebfpga.

hoglet67 avatar hoglet67 commented on July 29, 2024

What version of Quartus are you using?

I have a Cyclone II board (a DE1) and so I have to use 13.1.

It builds/runs fine with this version.

Is there any warning/error associated with the crash that indicates the source of the problem?

There was an interested thread on T65/Zalaga here:
https://stardot.org.uk/forums/viewtopic.php?t=20350

from beebfpga.

sharpie7 avatar sharpie7 commented on July 29, 2024

Thanks. Here's a odd thing. Previously the compile process was crashing during the layout/optimization phase somewhere. But with a few changes in aparently unrelated areas it now compiles with the T65, Obviously whatever corner case was causing the crash is no longer there.

With T65 in then Zalaga does work fine.

For future reference I am using Quartus 17.0.2 SJ Lite.

from beebfpga.

hoglet67 avatar hoglet67 commented on July 29, 2024

I'll close this issue then.

from beebfpga.

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.