Comments (2)
I've not done the deep dive to find out exactly what happens cycle by cycle for BUSREQ and RESET handling, but I have done a (very crude) implementation in my Sega multi-emulator which I'm currently adding Mega Drive support to, and it generally works: https://gitlab.com/jgemu/cega/-/blob/master/src/cega_z80.c
from chips.
Ah, I didn't know the MegaDrive uses BUSACK/BUSEQ, first system I know of!
No plans at the moment, since I'm currently busy with non-emulator stuff. I guess it would need to work similar to the WAIT handling (except that it needs to be checked each clock cycle? - I haven't looked yet into how BUSREQ works).
One thing I've been thinking about is to add a few config-defines to the header to switch on or off certain implementation features (for instance the WAIT handling is quite expensive, but many emulated systems don't even use wait states). The BUSREQ handling would probably be even more expensive, but also isn't needed by most systems.
from chips.
Related Issues (20)
- Imgui 1.79 breaks debugger HOT 3
- Question about memory allocation HOT 2
- [c64.h] glitch implementing a mapped I/O device HOT 4
- [vic20] [6522] cassette SENSE pin not working HOT 1
- 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: 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
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.