Next Generation Emulation banner
1 - 15 of 16 Posts

·
Registered
Joined
·
15 Posts
Hi Guys.

I'm new to this forum and I just stumbled across this thread. I was wondering what the current status of CHIP16 is? I am working my way through writing an emulator for the CHIP16 system which targets the version 1.3 specification.

I was also wondering if you have any hints or things to look out for whilst implementing the emulator. I have written a CHIP8 emulator before but that was with a lot of guidance from tutorials and explanatory documents. I want to try and figure this one out a lot more by myself.
 

·
Registered
Joined
·
15 Posts
Thanks for the comments.

I have just implemented a working prototype after hacking away at it for a few days. I can get the test ROMs to work (BC_TestRom.c16 and Chip1613ST.c16), but when I try to run "Mandel", nothing is displayed on the screen! Thoughts?
 

·
Registered
Joined
·
15 Posts
Do all the other available roms display graphics? or is it just Mandel that isn't working?
Have you tried logging your emulator to see if it does anything weird?
The ROMs I have tried so far all display graphics and work as expected. Even the other Mandelbrot ROMs appear to work fine! I have also logged my emulator and can't seem to find anything abnormal, although I am going to check my file loading routine again along with CPU initialisation etc.
 

·
Registered
Joined
·
15 Posts
Hmm, later on somebody points out to him that the registers have to be unsigned short's and that will fix Mandel (although it fixed some others too).

worth checking i guess!
My registers are unsigned short integers.

Also, I just realized the information in my previous post was incorrect. I was confusing the "TSTI" and the "AND" opcode.
 

·
Registered
Joined
·
15 Posts
Sorry for the double post, I just checked my emulator and Mandel does indeed push flags to the stack, but then it looks like it pops it in to Register X (Opcode C1) rather than back to the flags again.
Ahh, thanks for this! Turns out this was the issue. The way I was manipulating the flags meant that the bits were in the wrong order when it was popped into that register. After changing my implementation, I have managed to get it working.
 

·
Registered
Joined
·
15 Posts
Just one last question I have is about Starfield.c16. This is how it is displayed on the screen:



The animation works but as you can see, no stars appear beyond a certain point around all edges.

Is this the expected output?
 

·
Registered
Joined
·
15 Posts
Hi i've been thinking of making a chip16 emulator since i made a chip8 emulator in python before(although that was with the help of some guides)
The only form of documentation i managed to find is this Home · chip16/chip16 Wiki and it doesn't look very beginner friendly to me
i would really appreciate it if you guys gave me a link to some sort of guide.
Thanks in advance.
Hi there,

As far as I know, this is the main documentation that is available for the CHIP16.
 
1 - 15 of 16 Posts
Top