mirror of
https://github.com/GearsProgress/Poke_Transporter_GB.git
synced 2026-07-14 15:23:23 -05:00
Memory manufacturers and AAA game studios hate her! With some clever rearranging, PTGB now uses only 36 KiB of the 64 KiB BG VRAM. This means the remaining 28 KiB is free to use in the future. Caveats: The flex tileset must not use more that 6 KiB. There is a check for it added. VRAM Map 06000000 - 06000800 ( 2K): Eternal backdrop and textbox tileset 06000800 - 06002000 ( 6K): Flex BG tileset 06002000 - 06002400 ( 2K): BG0: Backdrop tilemap 06002800 - 06003000 ( 2K): BG1: Flex BG tilemap 06003000 - 06003800 ( 2K): BG2: Textbox tilemap 06003800 - 06004000 ( 2K): BG3: Text tilemap 06004000 -~06009000 (20K): Text rendering bitmap 06009000 - 06010000 (28K): Free work RAM 06010000 - 06018000 (32K): Sprite tileset Additionally: - Explicitly clear VRAM on boot - Dirty workaround to fix box drawing buffer overflow. - Flex backgrounds use a table instead of a huge switch statement - Textbox tile IDs are now const u16[] instead of int[] |
||
|---|---|---|
| .. | ||
| dbg | ||
| libraries/libmgba | ||
| background_engine.cpp | ||
| box_menu.cpp | ||
| button_handler.cpp | ||
| button_menu.cpp | ||
| custom_malloc.cpp | ||
| delays.cpp | ||
| dex_handler.cpp | ||
| flash_mem.cpp | ||
| gameboy_colour.cpp | ||
| Gen3CartridgeSaveReader.cpp | ||
| global_frame_controller.cpp | ||
| interrupt.cpp | ||
| interrupts_gba.c | ||
| irq_handler.s | ||
| libstd_replacements.cpp | ||
| linker_optimizations.cpp | ||
| main.cpp | ||
| memory.c | ||
| multiboot_upload.cpp | ||
| mystery_gift_builder.cpp | ||
| mystery_gift_injector.cpp | ||
| payload_file_reader.cpp | ||
| pkmn_font.s | ||
| pokedex.cpp | ||
| pokemon_party.cpp | ||
| ptgb_save_data_manager.cpp | ||
| random.cpp | ||
| rom_data.cpp | ||
| save.cpp | ||
| script_array.cpp | ||
| script_obj.cpp | ||
| script_var.cpp | ||
| select_menu.cpp | ||
| sound.c | ||
| sprite_data.cpp | ||
| text_data_table.cpp | ||
| text_engine.cpp | ||
| vertical_menu_cursor_handler.cpp | ||
| vertical_menu.cpp | ||