Use arrow keys in pong to control those babies and use cpu speed to fit my emu according to your machine :bye3:sethmcdoogle said:Well it kinda works, pong puts stuff on the screen but how do you control it now? Also, the cpu speeds could do with a bit of work. =)
Does not. Try emulating the more complex games.refraction said:couple of bugs there in your op codes, causing the text to mess up, heres the op codes under my old chip8 emu, the fonts work on it and most games which is a start
and pixel wise, i wouldnt worry which is faster, the emu works too fast as it is!! tho i imagine DX will be faster than plotting with MFC.
Note: this file is same as my new one, but i thought switch case's would be easier to understand than jump tables dont just copy the code tho.. understand why ive done mine like i have and check it against the technical docs so you know where you went wrong
MXP said::yucky: Well i am having a problem with Direct X i want coordinates of DX attached with my window, How can i obtain coordinates of the window client area(drawing area) top left ,and bottom right (see image attached for details).(Or what arguments shoul i use in creating back surface for window)
Also i have attached new my emu when i run Tank on it something starnge happens what??? it will produdce a debug.txt for helping you conatining
Memory Loaction: OPcode
I can`nt figure it out lets see if u can
I have implemented all opcodes of chip 8 and the warining appears due to eog(end of game).(PC goes beyond instructions)refraction said:have you finished all your opcodes yet? cos im getting an invalid opcode error in tetris, but its not showing anything in the debug thats not a valid opcode....
MXP said:I have implemented all opcodes of chip 8 and the warining appears due to eog(end of game).(PC goes beyond instructions)
and by the way in NEOCHIP8 emu it shows wrong memory locations i.e. PC
MXP said:and by the way in NEOCHIP8 emu it shows wrong memory locations i.e. PC
int key = [ (opcode & 0x0F00) >> 8 ];
case 0x9E:
if (keys[key])
PC += 4;
case 0xA1:
if (!keys[key])
PC += 4;
MXP said:What values are stored against keys in registers;
I launched the site for my emu
http://www.chirp.co.nr