Contact

ZX Spectrum emulator running on Gadgeteer

17. October 2011 00:29

First off I would like to start with saying that the title on this blog post might be just a little exaggerated.

The Gadgeteer is running C# code that emulates the ZX Spectrum and so far it’s true.

Basically the emulator works by running cycles, showing the screen and repeating.

To get the correct timing this should be done 50 times per second, which means that we have 20ms to complete one cycle and show the screen.

The Gadgeteer is far from fast enough to achieve that, right now it takes 10 seconds to complete a cycle.

But this wasn’t the point, I suspected it wouldn’t be fast enough. The point was that is was possible \o/.
Within hours I managed to connect a screen to the Gadgeteer and make the necessary changes in the code to make it run.

For example I had to change List<> to an array, the .NET Micro framework doesn’t support List<>, and I rewrote the screen rendering to make it faster.

 

I find it fantastic that I can use my C# knowledge to create new hardware prototypes among all the other things like: xbox games, Windows Phone applications and games, Windows applications and games, and even write Iphone and Android applications.

There is no end to the possibilities =)

 

GadgetZX

Tags: ,

Comments

10/17/2011 9:00:42 PM #

Great idea! Is thre a source code for the ZX Spectrum emulator? had the sam idea in my mind but never really got the time to finish it. I would like to check how it's done...

Regards,
Pawel

Paweł | Reply

10/31/2011 3:00:00 PM #

Sorry not open source, for now at least.

Jimmy | Reply

10/18/2011 4:57:45 PM #

Nice! I was a Commodore Kid myself. I like your Lego Spider enclosure. Got a parts list for it? Would love to see details posted on tinyCLR.com

Eric | Reply

10/31/2011 2:59:11 PM #

I can see what I can do =)
There is really no rocket science involved with the lego.
I can take a few more pictures.

Jimmy | Reply

Add comment




biuquote
  • Comment
  • Preview
Loading