Giter Site home page Giter Site logo

status of c1530 emulation? about chips HOT 2 OPEN

floooh avatar floooh commented on June 12, 2024
status of c1530 emulation?

from chips.

Comments (2)

floooh avatar floooh commented on June 12, 2024

The tape emulation worked at one point, but you're right, it appears to be broken currently (in the C64 at least, since this should work: https://floooh.github.io/tiny8bit/c64-ui.html?file=c64/boulderdash_c64.tap ), most likely when I moved the tape loader code out of the C64 emulation and into its own header (but I could've sworn that I tested tape loading at that time, so it probably broke later when I rewrote the C64 from 'instrution ticked' to 'cycle ticked').

After calling the play_tape function, at least the SENSE pin should switch from 1 to 0, I'm not sure why the c1530_play() function would also clear the MOTOR pin though. I should add a C1530 debug UI to better see what's going on there.

Glancing over this changelog which moved the tape code out into its own header:

362d41f#diff-9936031ddd3b8f394a5ea4d8c278df21

...I can't find an obvious problem, what's now the C64_CASPORT_SENSE flag was a bool "tape_button" before (with the only difference that CASPORT_SENSE is "active low", so tape_button==true is CASPORT_SENSE==0.

...but as with your pull requests unfortunately I don't currently have time to look into this, it needs to wait until I return to a week or two of emulator coding.

from chips.

floooh avatar floooh commented on June 12, 2024

not sure why the c1530_play() function would also clear the MOTOR pin though

it appears that the "old code" (search for the c64_start_tape function here: 362d41f#diff-9936031ddd3b8f394a5ea4d8c278df21) also switched the motor flag, so that doesn't seem to be the problem...

from chips.

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.