Comments (2)
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.
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)
- Reminder: potential bug in m6502 for NMI detection HOT 3
- Known Issues: CPC
- Are you interested in 8086? HOT 2
- Z80 Chip doesn't handle LD A,(IX+n) correctly HOT 4
- Z80 BUSACK/BUSREQ/RESET pins HOT 2
- z80: fetch opcode timing HOT 1
- surprising behaviour of cycle-stepped z80 after PC reset HOT 2
- Z80 wait state handling incorrect? HOT 1
- m6502 doesn't clear D on BRK HOT 1
- Q: page-cross behaviour on 6502 SHY opcode HOT 3
- Unable to use the space bar when there's a CPC_JOYSTICK_DIGITAL attached HOT 2
- Cycle-stepped Motorola 68K HOT 2
- m6569: c accesses half a cycle too late? HOT 2
- Caps Shift doesn't work on ZX Spectrum
- Z80: having _wait() before _mwrite(addr, data) looks incorrect. HOT 3
- Z80 XOR Malfunction HOT 12
- Glitch after snapshot save and load HOT 1
- CPC: Implement Version 3 Snapshots
- [c1541] State of 1541 emulation? HOT 1
- Please consider adding the i8259 interrupt controller HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chips.