6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Nov 16, 2024 1:15 pm

All times are UTC




Post new topic Reply to topic  [ 49 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
PostPosted: Wed Apr 27, 2016 2:38 pm 
Offline

Joined: Wed Apr 27, 2016 2:15 pm
Posts: 141
Location: South Africa
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!


Top
 Profile  
Reply with quote  
PostPosted: Wed Apr 27, 2016 8:38 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10980
Location: England
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!


Top
 Profile  
Reply with quote  
PostPosted: Thu Apr 28, 2016 9:40 am 
Offline

Joined: Wed Apr 27, 2016 2:15 pm
Posts: 141
Location: South Africa
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


Top
 Profile  
Reply with quote  
PostPosted: Thu Apr 28, 2016 9:47 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10980
Location: England
That's great - subscribed!


Top
 Profile  
Reply with quote  
PostPosted: Thu Apr 28, 2016 9:04 pm 
Offline

Joined: Sun Feb 23, 2014 2:43 am
Posts: 78
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.


Top
 Profile  
Reply with quote  
PostPosted: Fri Apr 29, 2016 6:18 am 
Offline

Joined: Wed Apr 27, 2016 2:15 pm
Posts: 141
Location: South Africa
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


Top
 Profile  
Reply with quote  
PostPosted: Sat Apr 30, 2016 6:04 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10980
Location: England
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)


Top
 Profile  
Reply with quote  
PostPosted: Sun May 01, 2016 6:01 pm 
Offline

Joined: Wed Apr 27, 2016 2:15 pm
Posts: 141
Location: South Africa
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


Top
 Profile  
Reply with quote  
PostPosted: Sun May 01, 2016 8:44 pm 
Offline

Joined: Wed Apr 27, 2016 2:15 pm
Posts: 141
Location: South Africa
Thanks @BigEd Nice tool to have in the JavaScript ToolBox


Top
 Profile  
Reply with quote  
PostPosted: Thu May 05, 2016 8:03 am 
Offline

Joined: Wed Apr 27, 2016 2:15 pm
Posts: 141
Location: South Africa
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


Top
 Profile  
Reply with quote  
PostPosted: Tue May 10, 2016 2:10 pm 
Offline

Joined: Wed Apr 27, 2016 2:15 pm
Posts: 141
Location: South Africa
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


Top
 Profile  
Reply with quote  
PostPosted: Tue May 10, 2016 6:00 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10980
Location: England
There's a gotcha in the transfer instructions - check TXS! It doesn't set the flags.


Top
 Profile  
Reply with quote  
PostPosted: Wed May 11, 2016 6:47 am 
Offline

Joined: Wed Apr 27, 2016 2:15 pm
Posts: 141
Location: South Africa
Good spotting! It actually took me to run the Klaus Test Suite (presented in my next blog) to spot this error.


Top
 Profile  
Reply with quote  
PostPosted: Wed May 11, 2016 2:35 pm 
Offline
User avatar

Joined: Fri Oct 31, 2003 10:00 pm
Posts: 200
Nice read!


Top
 Profile  
Reply with quote  
PostPosted: Fri May 13, 2016 8:06 pm 
Offline

Joined: Wed Apr 27, 2016 2:15 pm
Posts: 141
Location: South Africa
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 :-)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 49 posts ]  Go to page 1, 2, 3, 4  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: