demo.c File Reference

Multifunction system test for BeRTOS modules. More...

#include <cfg/macros.h>
#include <emul/emul.h>
#include <emul/kfile_posix.h>
#include <kern/irq.h>
#include <kern/proc.h>
#include <kern/monitor.h>
#include <kern/msg.h>
#include <drv/timer.h>
#include <drv/buzzer.h>
#include <drv/lcd_gfx.h>
#include <drv/kbd.h>
#include <gfx/gfx.h>
#include <gfx/win.h>
#include <gfx/text.h>
#include <gfx/font.h>
#include <gui/menu.h>
#include <icons/logo.h>

Go to the source code of this file.


Functions

void schedule (void)
 Draw a pentacle in the provided bitmap.
static void magic (struct Bitmap *bitmap, coord_t x, coord_t y)
 Draw a pentacle in the provided bitmap.
static void bouncing_logo (Bitmap *bm)
 Show the splash screen.

Detailed Description

Multifunction system test for BeRTOS modules.

Version:
Id
demo.c 2754 2009-07-10 17:21:40Z
Author:
Bernie Innocenti <bernie@codewiz.org>

Definition in file demo.c.


Function Documentation

void schedule ( void   ) 

Draw a pentacle in the provided bitmap.

This is invoked by the keyboard polling routine, as a poor man's surrogate of true task switching.

Definition at line 67 of file demo.c.