These tutorials are designed to help people of all abilities. Im starting off with a few basic examples
and will be working up to some more complex ideas. If you have anything you would like to add to this
page please email me. I will try to add both assembler and C versions of the examples.
Vertical Blanking Interrupt
This tutorial shows how to set up a vertical blanking interrupt. It uses this to implement a simple clock
counter. It also uses the vertical blanking interrupt to handle a halt call to save battery time (more on
this later). Other features of this example are; Graphics uploading, Memory clear, Screen enabling/disabling
and Palette setting. If you have any questions about this or any other example please email me.
True Colour Fading
This tutorial shows how to fade between palettes correctly. It uses the distance between the current
and wanted colours, divides it down for the number of steps required and then uses that as a step value
. The advantage with this sort of fade routine is that all the colours will reach the wanted palette
at the same time, giving a smoother fade. I am currently rewriting this code to make it quicker, smaller
and easier to read but I thought id upload this version anyway. Please ignore all the extra code that is
in this file as its not needed. Press any key to fade up and then down again. If you have any questions about this or any other example please email me.
Text Demo by Benjamin Goodrich
This tutorial shows off a number of techniques including screen use, joypad reading, vertical blank and video ram access.
Well worth downloading and looking through. To contact him email Ben@nospam.Deathsgateway.com (case sensative - remove the no-spam),