Saturday, July 6, 2019

Chip-8 for the Studio II - part 3

Hi folks!

The last update on the subject was on January 30, 2017 but the "Hello World" i have tried wasn't working properly and it always nagged me since then. After making research, i finally may have found the problem i have with "Hello World" as the author (Thomas Daley) of the Chip-8 emulator Kiwi8" find an interesting "Quirk" as he wrote this on his Github page:

Shift Quirk: Shift instructions 0x8XY6 and 0x8XYE originally shift register VY and store results in register VX. Some Chip-8 programs incorrectly assume that the VX register is shifted by this instruction, and VY remains unmodified. Enabling this quirk cause VX to be shifted and VY remains untouched.

So in the Kiwi8 and the Octo ....., both emulator makes the "Hello World" as a single row of garbage on the top of the screen but if you uses the "shift quirk", then you end up seeing the "Hello World" correctly.

Go here: http://johnearnest.github.io/Octo/index.html?key=uOQJTu8Y and after you will see the "Hello World" program make it's garbage row. Then click on the big X in the left upper screen


And you will go to the "compiling/debugging" page (that's how i call it) and then click on "Toolbox" in the right upper corner:


and after, you will see the Toolbox:


and then, click on "Options" in the right-down corner:


and after, click/choose under compability:


and finally, click on "Run":


and you will see "Hello World" as it should be!


But my main problem is how the heck do i make it work on a real machine like the RCA Studio II or VIP ?? I may have found the problem but still haven't find the solution on how to correct it as i'm no programmer...sigh!

But...i know how to use an hex editor...go figure !! LOL!!!

Until next folks, take care! =)

No comments:

Post a Comment