Comments (5)
Hi, which ROM are you referring to? Can you attach a file so that I can take a look?
Thanks
from chip8.
Attached is the ROM I was referring to. I had the same problem in my emulator and I found the problem was within my implementation of the opcode 0xFx65 where I was only loading contents from memory Location I+x to V[0]-V[x-1] opposed to V[x]. I'm not sure if the issue is the same for you though.
PONG.zip
from chip8.
I've disassembled the ROM and then annotated it so that I can see how the program works.
The annotated disassembly is attached here:
PONG.asm.zip
I then ran the ROM on my emulator with the built-in debugger. It seems the problem is in my implementation of the Fx33 instruction that does not properly break the score down into its BCD digits
from chip8.
@jakears93 It turns out it was my implementation of the Fx65 that did the same thing, copying one too few bytes. I will upload a fix shortly
from chip8.
I pushed my fix
from chip8.
Related Issues (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 chip8.