#include <sys/mm.h>
#include <sys/time.h>
#include <sys/tm.h>
#include <sys/irq.h>
#include <sys/lcd.h>
#include <sys/dsensor.h>
#include <sys/dmotor.h>
#include <sys/dsound.h>
#include <sys/lnp.h>
#include <sys/lnp-logical.h>
#include <sys/program.h>
#include <rom/system.h>
#include <dbutton.h>
#include <string.h>
#include <conio.h>
#include <unistd.h>
Include dependency graph for kmain.c:
Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
the user main() | |
void | show_on (void) |
show ON string | |
void | show_off (void) |
show OFF string | |
void | kmain (void) |
the beginning of everything | |
Variables | |
unsigned char * | firmware_string = "Do you byte, when I knock?" |
firmware recognition string | |
char | __bss |
the start of the uninitialized data segment | |
char | __bss_end |
the end of the uninitialized data segment | |
char | __text_hi |
the high memory segment | |
char | __etext_hi |
the high memory segment |
Definition in file kmain.c.
|
the beginning of everything initially called by ROM Definition at line 142 of file kmain.c. References dkey_multi, KEY_ANY, KEY_ONOFF, KEY_PRGM, motor_controller, reset_vector, and rom_reset_vector. |
|
the user main()
|
|
show OFF string
Definition at line 116 of file kmain.c. References cls(), cputc_native_2(), cputc_native_3(), cputc_native_4(), cputs(), lcd_digit, and lcd_refresh(). |
|
show ON string
Definition at line 87 of file kmain.c. References cls(), cputc_native_0(), cputc_native_1(), cputc_native_2(), cputc_native_3(), cputc_native_4(), cputs(), delay(), DSOUND_DEFAULT_16th_ms, dsound_set_duration(), lcd_digit, and lcd_refresh(). |
|
the start of the uninitialized data segment
|
|
the end of the uninitialized data segment
|
|
the high memory segment
|
|
the high memory segment
|
|
firmware recognition string the ROM checks for this string when validating new firmware |
brickOS is released under the
Mozilla Public License.
Original code copyright 1998-2002 by the authors. |