-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add week 2 progress on the CHIP-8 AIEP project
- Loading branch information
Showing
2 changed files
with
26 additions
and
6 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
content/aiep/retro-game-console-emulation/week-2/progress.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
title: Display CHIP-8 screen on a window | ||
lead: Sriprad Potukuchi | ||
date: 24 March 2024 | ||
summary: The linker has been conquered, raylib flawlessly integrated with the project and made some good use of! | ||
--- | ||
|
||
## Mentees vs. The Linker | ||
Majority of the time was spent trying to learn the C build process. Countless hours dedicated to defeating the Mighty Linker _finally_ yielded fruit! | ||
|
||
It was especially not easy to build a consistent dev environment across Windows, Mac _and_ Linux! All three of which are being used by the mentees. | ||
|
||
We ended up creating multiple Makefiles. One for each platform, each with its own platform specific quirks. Each with its own set of linker flags. | ||
|
||
## The display | ||
|
||
A clean project structure was decided upon. No more source files in the project root! | ||
|
||
The linker knowledge was put to good use by linking the project against raylib. GUI, here we come! | ||
|
||
![An early implementation of the CHIP-8 interpreter](https://imgur.com/a/WJXS9ag) | ||
*A proof of concept display featuring a 64x32 grid of pixels and a dump of a few registers* | ||
|
||
The mentees have very quickly learnt the usage of raylib (thanks in part to its super simple API) and have learnt what goes into building a GUI application like the one shown above. It is now up to them to make it aesthetically pleasing and more functional. Will they succeed? Stay tuned to find out! | ||
|
||
**Week 2 verdict**: The mentees have showcased ingenuity and a commendable amount of patience as we debugged our way through. |
This file was deleted.
Oops, something went wrong.