Comments (1)
-
Display wait is typically implemented easiest by ending a frame when a draw opcode was used or only executing a draw if it is the first opcode of a frame, either one works. As you implement your timing using two accumulators, one for cpu, one for timers, it seems a bit more tricky, like the you could set a flag in the display updated condition and the execute resets it every time it executed an opcode and inside the draw you would reset the pc to say on the draw if that frag is not set.
Also be aware that you don't need three accumulators for screen, delay and sound, as they are all in sync on every CHIP-8 variant, even those that run on non-60Hz frame rates (like the actual HP-48 SCHIP that ran on 64Hz, or Dream6800 CHIIP-8 that ran at 50Hz) the timers are supposed to run at the frame rate. -
The quirks "CLIPPING ERR2" comes from the fact that the initial coordinates of a sprite draw are to be wrapped, no matter if wrapping is selected as quirk or not. The clipping quirk just selects what happens to the pixels drawn inside the draw loop.
-
Scrolling: First of all, legacy SCHIP means SCHIP as on the HP-48SX. On the HP scrolling was always done in display resolution, meaning that e.g. horizontal scroll will scroll by 4 display (hires) pixels, and in lores that looks like scrolling two logical pixels. In modern SCHIP and XO-CHIP scrolling is always done in logical pixels, so lores 4 pixel scroll scrolls 8 physical pixels if one always uses a physical resolution of 128x64 and just scales lores draws.
from jaxe.
Related Issues (4)
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 jaxe.