Hack Forums
[.NET] Chip8 Emulator - Embed Mini Games in your project - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] Chip8 Emulator - Embed Mini Games in your project (/showthread.php?tid=5684124)



Chip8 Emulator - Embed Mini Games in your project - Barret - Aug 1, 2017

Not so long ago i saw TUP's emulator of sorts and that had me intrigued to make my own, i decided to go with the old chip8 game chip.

Initial screenshots (the github version is subject to change)

[Image: PyCm3zW.png][Image: pa81xpt.png]
[Image: j5EPj5C.png][Image: tSaLFOm.png]



Project Object Model
I made it look like each class is an actual device that hooks onto a 'machine' so it kinda makes sense in both circuit and programming terms,
So you basically have a class that is called Machine and you can add a cpu, memory and keyboard, etc etc
all these devices will then interact with each other like it would on a physical concept.

All classes can be easily modified, such as sound or display output to whatever your desires, i was thinking off making this as control
so you could drop this onto a credit (about) form in your project so you have this mini-game embedded into your application to make your project somewhat unique. :)

Keyboard Layout (fuck it, screenshot a text to show text...i know...dont ask)
[Image: VrOLV09.png]


Download: https://github.com/TheBarret/C8


* - Stenly21 - Aug 2, 2017

@Barret sup hehe ;)

Nice job!


* - Barret - Aug 2, 2017

Made a few fixes and changes, would be nice if you lads could give a shout out :)


* - Dredd - Aug 3, 2017

Very cool project dude, every now and then I check this section and find something worth looking into.

#KeepingVBAlive 🤝


* - hfTP54 - Aug 3, 2017

2nd like this in the .net section. I'm very happy to see some variety here!


* - Barret - Aug 3, 2017

Currently busy adding the SuperChip8 opcodes and routines, its not entirely 100% but most games work in higher resolution.
[Image: unknown.png][Image: unknown.png][Image: unknown.png]

This is not yet uploaded, perhaps when i fix the problems later.


* - My Computer - Aug 3, 2017

This is pretty neat! Nice work OP. 👍


* - Rhez - Aug 4, 2017

Ah. What a talented guy. I hope I can be one, someday.
TUP also has this one, does he inspire you? 😏


* - Barret - Aug 4, 2017

(Aug 4, 2017 12:05 AM)Rhez Wrote:  Ah. What a talented guy. I hope I can be one, someday.
TUP also has this one, does he inspire you? 😏

He sure did, TUP's a good coder.

Added a tracer so you can debug your roms too :)

[Image: bjWLXQE.png]


* - GreyPhantom - Aug 12, 2017

Cool Project, will be looking time by time on your github page.


* - mrharmful - Aug 22, 2017

(Aug 2, 2017 01:50 AM)Stenly21 Wrote:  @Barret sup hehe ;)

Nice job!