Chip8-Emulator
- 2 Devlogs
- 3 Total hours
chip 8 basically a a interpreted programing language of ancient times (70s). It kind of mimics a small computer
(8 bit), limiting its max memory to4KB. But the special thing is, its not just a language, it mimics a CPU architecture, making it like a different computer system which doesnt exists phycally, but uses other physical computer to run its own acrhitecture.
Well think of emulator as a extra added layer between the software and low level computer systems. which does some magic to run a software which is not ment to run on that system.
Windows Application –> macOS (Won’t Run)
Windows Application –>
Emulator–> macOS (Will Run)
Emulator (Translates Instruction code for C1 to C2) –> now C2 can run (Translated instructions).Lets say you have a program which was designed in and for Chip8, but now you dont have a chip8 system, how do you run this program?
We basically use an emulator to trick the software to thing that its running in the old Chip8 system but its acctually running on moder computers.
Howwwwww? well
Chip8has 35 standard instructions and only4096bytes of memory, so its faily easy to map each and every of its instruction and instead do it in the modern langauges (like i have used C++).
We store the data in modern
C++ Data Structures, but we trick the target software to thing that it has dorect acces to theRAMof the computer.
4096, weher first 200 are reserved for the chip8 system use, rest is opent to softwares running on it.raylib for nowThis is like my first proper project in low level programing
I wanted to take on the low level for a long time, took the chance this time
I know only the basics of chip 8 interpreter , I read cowgod’s chip8 technical reference last night
this is gonna be a very learning and building like thing,
been into the high level for over 5 (Full Stack) years now, hope I can find some similarities and help from my past experiences in to the low level
is anyone of you guys (gods) know about low level or specifically chip8 , please drop a comment because I thing I am too going to need babysitting 😭