Home » Extra libraries, Code snippets, applications etc. » U++ users applications in progress and useful code snippets, including reference examples! » Chip 8 Emulator 
	
		
		
			   Chip 8 Emulator [message #7566] | 
			Sat, 06 January 2007 15:13   | 
		 
		
			
				
				
				
					
						  
						mobilehunter
						 Messages: 87 Registered: November 2006 
						
					 | 
					Member  | 
					 | 
		 
		 
	 | 
 
	
		Hi everybody 
 
I have created a chip8 emulator with limited function. 
Able to run some chip8 games. Doesn't have debugger function. 
Thanks for GuiMT reference. But i still have some doubts or problems. 
They are: 
1. How to do proper user input(capturing key event)? Previously i used GetKeyState, then i changed to the current codes now. 
 
2. About focusing, first i set focus to my console display(inherited from static rect) then i switch to another window, but when i switched back to my emulator, i lost the focus from my console display, so no user input captured. 
Then i overridden gotfocus event from main window to do setfocus to my console display, but the result i cannot access the menu using alt+f. 
 
Please share your comment.  
 
It's for windows, maybe work in linux. 
Control key:0 to 9,decimal,multiply,divide,return,add,substract located at numpad keys. 
 
The codes are free. Use at your own risk   
		
		
		[Updated on: Sun, 07 January 2007 15:23] Report message to a moderator  
 |  
	| 
		
	 | 
 
 
 |  
	| 
		
 |   
Goto Forum:
 
 Current Time: Tue Nov 04 17:04:43 CET 2025 
 Total time taken to generate the page: 0.04569 seconds 
 |