Tuesday, 2 July 2013

Sound and Background added.

Slightly further on from the last post.  I have added two things - firstly the ability to use a background rather than just a single colour, and some authentically bad sound effects.

The latter was nicked from the Watchman project - rather than generating a simple tone it's a modulated tone, which gives it that authentic "tuneless Sinclair Spectrum music" sound that goes with cheapo sound hardware.

Sort of working

This is the current working version of the Funtronics emulator. On the left, the debugger window, on the right, a very quick and dirty sample screen. It is written to the design in the documentation.

The screen has 3 LEDs - a Red one, that is on, the Yellow one (top left) and a Green one (bottom centre) that are off. There are two switches - a push button (black square on the left) and a slide switch (on the right).

It is actually running real code - you can see a little bt of it in the window and it doesn't do anything other than switch the RED LED on and off as the slide switch goes from left to right.

There's no sound, yet, though the hooks for it are there.

I really just wrote it for testing so I could see if the whole 'wiring up' thing works. And it appears to work fine. Once the speaker is installed the basic emulator will be finished, and then there is just the matter of writing some code for it. I also want to spruce up the graphic display a bit.

Useless factoid of the day.

The COP411 has an instruction which outputs the current memory location to the "G" port.

Thus in a co-processor system with the CDP1802 one could have the following assembler code.


.... okay, it's been a long day.


Version 0.00001 of the Documentation on how I'm going to make the whole thing wire up together coherently (and some documents regarding the Emulator and Assembler) is now in the links box.

Well, I thought I'd better write some documentation .....