Series of blog posts on C64 JavaScript emulator from scratch

Topics pertaining to the emulation or simulation of the 65xx microprocessors and their peripheral chips.
User avatar
BigEd
Posts: 11464
Joined: 11 Dec 2008
Location: England
Contact:

Re: Series of blog posts on C64 JavaScript emulator from scr

Post by BigEd »

Does it misbehave the same way from a webserver? I've a feeling file:// is treated specially. Not that it helps you...
whartung
Posts: 1004
Joined: 13 Dec 2003

Re: Series of blog posts on C64 JavaScript emulator from scr

Post by whartung »

Bother. Way to rain on the parade. Sorry it didn't quite work out.
fastgear
Posts: 141
Joined: 27 Apr 2016
Location: South Africa

Re: Series of blog posts on C64 JavaScript emulator from scr

Post by fastgear »

The local file limitations of JavaScript is a bit of a dissapointment.

This limitation is probably for the good. Just imagine visiting a malicious web site and javascript code start uploading some of your local files to a foreign site.
fastgear
Posts: 141
Joined: 27 Apr 2016
Location: South Africa

Re: Series of blog posts on C64 JavaScript emulator from scr

Post by fastgear »

I just released Part 11 on my series on a Emulator in JavaScript. In this blog we investigate why our emulator doesn't show a flashing cursor.

Here is the link:

http://emufromscratch.blogspot.co.za/20 ... ursor.html
fastgear
Posts: 141
Joined: 27 Apr 2016
Location: South Africa

Re: Series of blog posts on C64 JavaScript emulator from scr

Post by fastgear »

Hi All

I Just released part 12 on my series on a Emulator in JavaScript. In this blog I will try to simulate a keypress. This will be the first step in integrating our emulator with a real keyboard.

Here is the link:

http://emufromscratch.blogspot.co.za/20 ... press.html
User avatar
BigEd
Posts: 11464
Joined: 11 Dec 2008
Location: England
Contact:

Re: Series of blog posts on C64 JavaScript emulator from scr

Post by BigEd »

I do like the step by step refinement with small, manageable, and well motivated changes - it feels like it should make the whole enterprise much less daunting for the reader considering writing their own.
fastgear
Posts: 141
Joined: 27 Apr 2016
Location: South Africa

Re: Series of blog posts on C64 JavaScript emulator from scr

Post by fastgear »

Thanks Ed! I hope these posts motivates more people to start writing an emulator, especially those that wants to start, but is overwhelmed by all the detail. One can certainly get a long why by tackling the task bit by bit.
fastgear
Posts: 141
Joined: 27 Apr 2016
Location: South Africa

Re: Series of blog posts on C64 JavaScript emulator from scr

Post by fastgear »

I just published part 13 in blog series on writing an emulator in JavaScript. In this blog we finish off in interfacing a keyboard with our emulator. This will enable you to enter some simple BASIC programs into the emulator and running it.

Here is the link:

https://emufromscratch.blogspot.co.za/2 ... board.html
fastgear
Posts: 141
Joined: 27 Apr 2016
Location: South Africa

Re: Series of blog posts on C64 JavaScript emulator from scr

Post by fastgear »

I have just released Part 14 of my emulator in JavaScript. In this blog we will focus on tape emulation. Here is the link:

http://emufromscratch.blogspot.co.za/20 ... ation.html

Enjoy!
fastgear
Posts: 141
Joined: 27 Apr 2016
Location: South Africa

Re: Series of blog posts on C64 JavaScript emulator from scr

Post by fastgear »

Just released part 15 of my blog series on an emulator in JavaScript. In this blog I will be finishing off tape emulation. Here is the link:
http://emufromscratch.blogspot.co.za/20 ... ation.html
fastgear
Posts: 141
Joined: 27 Apr 2016
Location: South Africa

Re: Series of blog posts on C64 JavaScript emulator from scr

Post by fastgear »

I have just released part 16 of my series on a JavaScript emulator from scratch. In this blog we will attempt to emulate the flashing borders of a tape loader.

Here is the link:

https://emufromscratch.blogspot.co.za/2 ... rders.html
fastgear
Posts: 141
Joined: 27 Apr 2016
Location: South Africa

Re: Series of blog posts on C64 JavaScript emulator from scr

Post by fastgear »

I just released part 17 on my series on JavaScript Emulator from scratch. In this blog we emulate the splash screen of the loader.

Here is the link

http://emufromscratch.blogspot.co.za/20 ... creen.html
fastgear
Posts: 141
Joined: 27 Apr 2016
Location: South Africa

Re: Series of blog posts on C64 JavaScript emulator from scr

Post by fastgear »

I have just released part 18 in my series on a JavaScript emulator from scratch. In this blog we fix the garbled intro screen.

Here is the link:

http://emufromscratch.blogspot.co.za/20 ... creen.html
fastgear
Posts: 141
Joined: 27 Apr 2016
Location: South Africa

Re: Series of blog posts on C64 JavaScript emulator from scr

Post by fastgear »

I have just released part 19 on my series of an JavaScript emulator from scratch. In this blog we will implement joystick emulation and see what happens when we start the game with the fire button.

Here is the link:

http://emufromscratch.blogspot.co.za/20 ... stick.html
fastgear
Posts: 141
Joined: 27 Apr 2016
Location: South Africa

Re: Series of blog posts on C64 JavaScript emulator from scr

Post by fastgear »

I have just released part 20 on my series on a JavaScript emulator from scratch. In this blog we debug the garbled screen we are presented with when the game starts.

Here is the link: http://emufromscratch.blogspot.com/2016 ... creen.html
Post Reply