Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Extra libraries, Code snippets, applications etc. » U++ users applications in progress and useful code snippets, including reference examples! » Chip 8 Emulator
icon7.gif  Chip 8 Emulator [message #7566] Sat, 06 January 2007 15:13 Go to next message
mobilehunter is currently offline  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 Smile

[Updated on: Sun, 07 January 2007 15:23]

Report message to a moderator

Re: Chip 8 Emulator [message #7581 is a reply to message #7566] Sun, 07 January 2007 15:26 Go to previous message
mobilehunter is currently offline  mobilehunter
Messages: 87
Registered: November 2006
Member
New codes.
Fix focus problem.
Hope cleaner codes.

Updated:
- Fix shift left problem.
- Fix keyboard problem.
- Add debug module.
  • Attachment: RSChip8.rar
    (Size: 10.27KB, Downloaded 407 times)

[Updated on: Fri, 12 January 2007 11:46]

Report message to a moderator

Previous Topic: MASM Implementation
Next Topic: Invalid conversion
Goto Forum:
  


Current Time: Tue Aug 20 14:47:51 CEST 2019

Total time taken to generate the page: 0.00942 seconds