Need to have a little bit of a break from the JSEmu coding. The reason being I’ve discovered that I need to research a little more into the MOS6502. All this addressing mode and paging thing is totally new to me. I may have to redo the way the addressing is handled. Probably won’t be able to do much for a week or so while I get my head around it and also there’s the embedded systems course that I’m studying. Hopefully it won’t be on hold for too long. I’ll get the CHIP-8 one looking a bit better with other options and possibly a way to play on a mobile device as well over the Chinese New Year holiday.

Just finished a JavaScript based Chip-8 emulator that has taken a little while to complete. At least it is now working to an acceptable level. No support at the moment for playing on a tablet device or with a gamepad (I know the HTML5 spec does have that option), but it does kind of work to a level that I am happy with. Now I will move on to something a bit chunkier… Maybe Galaxian hardware or even the Master System or NES.

Anyway, there are two places you can get the emulator from. Either you can play it directly at:

Or you can clone / fork from GitHub at:

Have fun!

As a personal learning experience, I’ve decided I want to learn more about emulation and also to brush up on those skill which pay the bills. Instead of falling into a rut and doing the same things, here’s an attempt at something fresh (at least for me):

The aim of this project is to start be emulating the most simplest system, Chip-8, in JavaScript with a HTML5 interface to it. After that, I plan to expand (hopefully) to the Sega Master System or maybe an arcade hardware. Since this is a personal project, it might hit a milestone and stall for a while as I study what I have created. Feel free to fork and add to it. Pull request back to have other parts added.

We’ve also got an implementation of a self-balancing binary tree in JavaScript. You can grab it from our GitHub at

By nature, AVLTrees cannot contain duplicates, but have the benefit that all information entered into them is immediately sorted and operations are generally fast. If you’re going to use this with objects, you’ll have to specify your own sort method when you instantiate your AVLTree.

We’ve created a module that will provide the ability to create Linked Lists in JavaScript. You can get it on GitHub now at

Linked lists are only better than arrays in the fact that insterting, removing and structurally altering the list are less memory intensive. This implementation is a singularly linked list (traversal in one direction), but we are considering adding bi-directional traversal as an enhancement in a future release as well as a ‘sortOnAdd’ function.

Resistive Load: These are appliances which convert the electricity to other forms of energy like heat and light. They don’t have an inrush of current when they are powered up and instantly use the full power available. Light bulbs, heaters, kettles… These are all resistive.

Inductive (Reactive) Loads: These are appliances which require a ‘surge’ of power to get them started. They will draw an inrush of current before settling down to normal power levels. Most things with a motor will do this, like electric fans, air conditioners, fridges. If you have ever plugged a floor lamp into the same mains ring as an air conditioner, you would have seen the light flicker when the air conditioner powers on. That’s it drawing the inrush.

If you just want to control lights, then the resistive circuit is for you.If you want to control fans and fridges, take a look at inductive.

Optoisolated AC Switch Inductive Load

Optoisolated AC Switch (Inductive Load)

Yesterday I posted the circuit for a resistive load circuit and now I’ve just knocked up the circuit for inductive loads. I will be adding in a quick ‘aside’ post explaining the differenct for those that don’t know which will be found HERE. Ensure you have the correct circuit for […]

Prepare yourselves!

We’ve just set up our anti-spam modules and opened registration and comments. You will require approval from moderators/admins before your post appears, but once we can see you’re not a bot, you’ll have the restriction lifted. All of our videos will be added pretty soon… PEPPER YOUR ANGUS! I mean… […]