Page 1 of 4
Series of blog posts on C64 JavaScript emulator from scratch
Posted: Wed Apr 27, 2016 2:38 pm
by fastgear
Hi all!
In the last month I have been writing C64 emulator from scratch in JavaScript.
I have decided to write a couple of blog posts detailing my experience as I go along.
One of goals is to eventually be able to load a game from a .tap file (e.g. tape).
For those interested here is the link to my series of blog posts:
http://emufromscratch.blogspot.co.za
Any feedback, comments and suggestions welcome!
Re: Series of blog posts on C64 JavaScript emulator from scr
Posted: Wed Apr 27, 2016 8:38 pm
by BigEd
Good to see that Johan! I can't get the RSS feed on your blog to work, but I've added you on G+.
Oh, and welcome!
Re: Series of blog posts on C64 JavaScript emulator from scr
Posted: Thu Apr 28, 2016 9:40 am
by fastgear
Thanks Ed
I must admit I am quite new to blogging, not even to speak of Blogger
Anyway, I was quickly sniffing around and found that there is a way to get RSS feed to work on Blogger. It was quite a mission to find this out!
To get a RSS feed on Blogger Blog you would use the following form:
http://blogname.blogspot.com/feeds/post ... lt?alt=rss
So my Blog would be:
http://emufromscratch.blogspot.com/feed ... lt?alt=rss
Re: Series of blog posts on C64 JavaScript emulator from scr
Posted: Thu Apr 28, 2016 9:47 am
by BigEd
That's great - subscribed!
Re: Series of blog posts on C64 JavaScript emulator from scr
Posted: Thu Apr 28, 2016 9:04 pm
by joe7
Welcome. I was able to run your Java emulator, very impressive indeed. It starts up okay but I didn't have time to sift through games to see which ones work. (One loaded but didn't run.)
Looking forward to the JavaScript version, good luck.
Re: Series of blog posts on C64 JavaScript emulator from scr
Posted: Fri Apr 29, 2016 6:18 am
by fastgear
Thanks joe7!
While developing the Java Emulator I only tested a handful of .TAP files.
The ones I found to work was the following:
Dan Dare - Pilot of the future (1986)
Blue Max
Up 'N Down
Re: Series of blog posts on C64 JavaScript emulator from scr
Posted: Sat Apr 30, 2016 6:04 pm
by BigEd
I've taken the liberty of putting the first blog post's development into an online sandbox:
https://jsfiddle.net/pxx8nr5f/
(with minor tweaks for convenience)
Re: Series of blog posts on C64 JavaScript emulator from scr
Posted: Sun May 01, 2016 6:01 pm
by fastgear
Hi All
I just published Part 5 of this series : Comparisons and Branching
Here is the link:
http://emufromscratch.blogspot.co.za/20 ... ching.html
Re: Series of blog posts on C64 JavaScript emulator from scr
Posted: Sun May 01, 2016 8:44 pm
by fastgear
Thanks @BigEd Nice tool to have in the JavaScript ToolBox
Re: Series of blog posts on C64 JavaScript emulator from scr
Posted: Thu May 05, 2016 8:03 am
by fastgear
Hi All
I just published Part 6 of this series: The stack and related operations
Here is the link:
http://emufromscratch.blogspot.co.za/20 ... tions.html
Re: Series of blog posts on C64 JavaScript emulator from scr
Posted: Tue May 10, 2016 2:10 pm
by fastgear
I just released Part 7 of my emulator in JavaScript from scratch Series. In this series I finish off the CPU part of the emulator. In subsequent posts I will be covering topics like running the Klaus Test Suite on the emulator and Booting the C64 with its ROMS.
Here is the link
http://emufromscratch.blogspot.co.za/20 ... tions.html
Re: Series of blog posts on C64 JavaScript emulator from scr
Posted: Tue May 10, 2016 6:00 pm
by BigEd
There's a gotcha in the transfer instructions - check TXS! It doesn't set the flags.
Re: Series of blog posts on C64 JavaScript emulator from scr
Posted: Wed May 11, 2016 6:47 am
by fastgear
Good spotting! It actually took me to run the Klaus Test Suite (presented in my next blog) to spot this error.
Re: Series of blog posts on C64 JavaScript emulator from scr
Posted: Wed May 11, 2016 2:35 pm
by HansO
Nice read!
Re: Series of blog posts on C64 JavaScript emulator from scr
Posted: Fri May 13, 2016 8:06 pm
by fastgear
I have just released part 8 of my emulator in JavaScript from scratch series.
http://emufromscratch.blogspot.co.za/20 ... suite.html
In this series we will be running the Klaus Test Suite against our emulator, giving some surprising bugs!
In this blog I will also be extending the Debugging functionality of the emulator, so all in all this is a bit of a lengthy blog post compared to my previous posts.
So, have a cup of coffee handy
