src/system/system.c
The system library's object: power-up and the interrupt handlers, the tick wait and VBlank, input, the register write queue, fades, the sprite lists and VRAM cache, events, maths, debug text, the heap, the 3D transform, decoding, saving, the link cable and the game flags. More…
#include "system_internal.h"#include "system_start_up.c"#include "system_frame.c"#include "system_io_write_queue.c"#include "system_screen_fade.c"#include "system_oam.c"#include "system_vram_cache.c"#include "system_event.c"#include "system_math.c"#include "system_debug_text.c"#include "system_heap.c"#include "system_matrix.c"#include "system_decompress.c"#include "system_bup.c"#include "system_serial.c"#include "system_flags.c"
Description
The system library's object: power-up and the interrupt handlers, the tick
wait and VBlank, input, the register write queue, fades, the sprite lists and
VRAM cache, events, maths, debug text, the heap, the 3D transform, decoding,
saving, the link cable and the game flags.
system_internal.h holds what every part shares (its includes); the code is in
the files under system/, included here in the order it has in the ROM, cut
where The Broken Seal's parts are. Where to start:
- power-up:
syInit(system_start_up.c); - ticks:
sySynch()and the VBlank handler (system_frame.c), events (system_event.c); - the screen: fades (
system_screen_fade.c), sprite depth slots (system_oam.c), spriteVRAM(system_vram_cache.c); - memory: the heap (
system_heap.c); - 3D:
syMatrixRotateTranslateandsyConvert3Dto2D(system_matrix.c); - saving:
syBupWritePartandsyBupReadPart(system_bup.c); - the link cable:
sySerialInit(system_serial.c).