Up one EASy68K Example programmes. By Lee Davison. Up to top

Introduction
The best 68000 simulator - ever

"EASy68K is a 68000 Structured Assembly Language IDE. EASy68K allows you to edit, assemble and run 68000 programs on a Windows PC. No additional hardware is required. EASy68K is an open source project distributed under the GNU general public use license."

EASy68K is available for download from its home page.

I use EASy68K a great deal and have found it invaluable in developing software for fun and for real 680x0 systems. So to get you started here are some example programmes for it.

Documentation for each example is embedded in the source, not as a separate file.

Programmes

BattleZone like volcano effect Bitmap manipulation

Volcano is a volcano effect similar to the volcano in BattleZone.

Bitmap shows how an image can be offset, zoomed and rotated using a mix of fixed point and integer maths.

EASyZONE, a BattleZone type game DigiClock, a digital type clock

EASyZONE is a BattleZone type game that offers both the traditional green wireframe view and a red/blue 3D wireframe view. This update for EASy68K 3.6 beta or above adds window size control, new sounds and new enemies.

DigiClock is a digital clock with both red LED type and blue/green VFD type colour schemes.

MHz benchmark Flame simulation

MHz is a benchmark test that attempts to gauge the clock speed of the 68000. In tests on real 68000 hardware it has given results accurate to better than 2%

Flame is a simple, double buffered, flame simualtion.

Raindrops on tiles More raindrops

Rain is a simple raindrop simualtion with a patterned background. This is fairly slow but the source is not too hard to follow.

Rain 2 is a developement from Rain and features selectable pallettes and a switchable background. While much faster than the original the source is correspondingly harder to follow.

Text out digital clock Random numbers

TermClock is a digital clock that only uses the text I/O functions in Sim68K. This would allow it to be run on any 68000 system that can emulate the corresponding Sim68K TRAP #15 I/O calls.

Random generates a binary file of 65536 pseudo random bytes which can be analysed to gauge the effectiveness of the random number generator.

EhBASIC interpreter Eight eights puzzle

EhBASIC is a full featured BASIC interpreter for the 680x0 microprocessor. A version of EhBASIC for EASy68K has it's own page here

The objective of Eight eights is to get all eight digits of the LED display lit. This can be done using the eight toggle switches below the display in as few as forty five switches.

3D drawing demo Hardware LED clock

Draw 3D is a short 3D demo that renders a bounding box, a flat plane object and the normal to that object. The object is highlit when the front face is visible. Source is in both EhBASIC and assembly.

LED clock is another EASy68K clock. This one differs in that it uses the simulated LED hardware for the display.

The Matrix type screen Green bees chase red wasps

The Matrix is a simulation of the familiar green column text as seen in The Matrix series of films. This update for EASy68K 3.6 beta or above adds window size control.

Swarm has individual wasps being chased round the screen by swarms of bees. Bee and wasp speed and acceleration parameters can be changed while the program is running. This update for EASy68K 3.6 beta or above adds window size control and treats the mouse pointer as a wasp.

Green bees chase red wasps
            In a box! Bitmap image loader

3D swarm is a Frankenstein like combination of Draw 3D and Swarm and has individual wasps being chased round a 3D environment by swarms of bees. This update for EASy68K 3.6 beta or above adds window size control.

Bitmap loader shows how bitmap image files can be loaded and displayed in EASy68K. It also demonstrates the new file dialog function of the simulator.

Lights Out

Lightsout A recreation of the 'Lights Out' game by Tiger. This game has sounds, has two modes and over 1000 puzzles. Requires EASy68K 3.6 or later.


Last page update: 17th July, 2008. e-mail me e-mail