Blog: http://jamesmcm.github.io/
You can see my main projects below:
A simple CHIP-8 interpreter/emulator in Go
License: GNU General Public License v3.0
Blog: http://jamesmcm.github.io/
You can see my main projects below:
Hey! Found your emulator on reddit. You've done some great research here to be accurate!
But you implement screen wrapping, and say this:
X-wrapping should be enabled, that is part of a sprite that exceeds the screen width should wrap around, and a draw instruction to draw off-screen should normally also wrap around the screen horizontally.
However, I don't think that's the case. I'm not aware of any original CHIP-8 interpreters that wrapped sprites that exceeded the screen width.
As you say, sprites should wrap when the starting coordinate is outside the screen โ in other words, the starting X and Y coordinates for DXYN should be the values in VX and VY modulo (or just AND) 64 and 32, respectively, like the 1979 Breakout depends on.
On the other hand, if the sprite hits the edge of the screen while it's being drawn, however, it should be clipped, and should not wrap around (ie. the exact same way you implement Y wrapping now). As far as I know that is how it has always worked. You can see it in the disassembly of the COSMAC VIP interpreter here: http://laurencescotford.co.uk/?p=304
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.