src/system
Guide: System Library
Files
| File | Description |
|---|---|
bupdata.c | The save signature and sector header template, and link test data nothing reads. |
math_table.c | Trigonometry tables: a quarter-wave sine, tangents and the quadrants' sines. |
number_text.c | The digit characters and place values numbers are written with. |
rom_start.c | The cartridge's first instruction, where the BIOS starts the game: ahead of the cartridge header (rom_header.s), it goes on to the game's start-up. |
sprite_metadata.c | Finding a sprite animation's metadata row. |
system.c | The system library's object: what every other part of the game stands on. |
system_bup.c | Saving: flash sectors, parts and the save state. |
system_debug_text.c | Number text, the debug text screen and the window graphics. |
system_decompress.c | Resource decoding and pixel buffer shading, through RAM copies of ARM code. |
system_event.c | Events: per-tick and VBlank functions in priority order. |
system_frame.c | Interrupt handlers, the tick wait, key repeat and the VBlank handler. |
system_heap.c | The heap: its two bump allocators and heap slots. |
system_internal.h | What every part of the system library's object shares: its includes and the one call into the compiler's library that two parts make. |
system_io_write_queue.c | The register write queue that VBlank carries out after each finished tick. |
system_math.c | Random numbers, angles and square roots. |
system_matrix.c | The 3D transform, its stack, the look-at matrix and the projection. |
system_oam.c | The tick's sprite lists: affine matrices, depth slots and the OAM build. |
system_screen_fade.c | Screen fades through the blend registers: the screen brightens toward white or darkens toward black, BLDY running from 0, the picture as drawn, to FADE_LEVEL_MAX, all white or all black, one step each VBlank. |
system_serial.c | The link cable: payload exchange, block transfers and the link test. |
system_start_up.c | |
system_vram_cache.c | The sprite VRAM cache: blocks, entries and loading pictures. |