Thread: CHIP8 thread
View Single Post
Old January 11th, 2009   #55 (permalink)
dreampeppers99
Registered User
 
dreampeppers99's Avatar
 
Join Date: Jul 2006
Location: you know...
Posts: 506
Quote:
Originally Posted by runawayprisoner View Post
Nice... I think it's looking very good. I like the two-way disassembler. You may be able to write a complete IDE for Chip-8 and Super Chip from that.

Oh, as for adding, I think you can try doing some logical bit operations, too:
VF = ([VX] + value > 0xFF) ? 1 : 0; (sets carry flag)
VX = ([VX] + value) & 0xFF (this means keep the maximum as 0xFF)

I did a lot of logical bit operations in my interpreter.
Thanks for the info I'll try to improve this!
Could you give me some tips about the opengl.
I know how to use (jogl) however I thought there is a way to sent my Matrix[128][64] and opengl prints it (as framebuffer stuff)? Or even use QUADS (I guess it is more approprieted)? [in case of using QUADS the coordinates x and y is a pain for my noob knowlegemente]

And you, what you use on graphics for your implementation?
__________________
The Empyrean
dreampeppers99 is offline   Reply With Quote