Discussion Forum for all things Microbee
An example demo project in C to help Microbee programmers - Printable Version

+- Discussion Forum for all things Microbee (https://microbeetechnology.com.au/forum)
+-- Forum: Microbee Forum (https://microbeetechnology.com.au/forum/forum-1.html)
+--- Forum: Repository Additions (https://microbeetechnology.com.au/forum/forum-3.html)
+--- Thread: An example demo project in C to help Microbee programmers (/thread-500.html)



An example demo project in C to help Microbee programmers - ChickenMan - 22-05-2022

Thanks to Under4Mhz for making these files available and his permission to host them here also.  More info and any future updates can be found at his Github site GitHub - under4mhz/microbee: A simple C program to demo how to write games for the Microbee computer

A simple demo to show how to create games for the Microbee computer. There are no moving parts, but demonstrates how to access the hardware.
Included is
Code:
1. Simple crt0
2. Display pixels, tiles and colours
3. Sound
4. Keyboard
5. Creating a boot disk
6. Running mame


A Makefile is included to build and run the demo
Code:
sudo apt install sdcc gcc automake autoconf make mame libdsk4-dev libncurses5-dev -y
make clean
make

The build environment has been tested on Linux only. The same code should work on Windows with sdcc.


So in the Public Repository in the new Public\Projects folder we placed

Demo_C_code_for_Games.zip