├── .gitignore ├── .gitmodules ├── CMakeLists.txt ├── assets.sh ├── cmake ├── compiler_flags.cmake ├── example.cmake └── runcommands.cmake ├── examples ├── CMakeLists.txt ├── assets.sh ├── bios │ ├── CMakeLists.txt │ ├── assets.sh │ ├── bios_bitunpack │ │ ├── CMakeLists.txt │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── reference.png │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ └── test.lua │ ├── bios_checksum │ │ ├── CMakeLists.txt │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── reference.png │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ └── test.lua │ ├── bios_decompress │ │ ├── CMakeLists.txt │ │ ├── assets.sh │ │ ├── data │ │ │ ├── main_c.bin │ │ │ ├── main_c_diff_16.bin │ │ │ ├── main_c_diff_8.bin │ │ │ ├── main_c_huff_4.bin │ │ │ ├── main_c_huff_8.bin │ │ │ ├── main_c_lz77_16.bin │ │ │ ├── main_c_lz77_8.bin │ │ │ └── main_c_rl.bin │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── reference.png │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ └── test.lua │ ├── intr_wait │ │ ├── CMakeLists.txt │ │ ├── assets.sh │ │ ├── data │ │ │ └── random.bin │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── reference.png │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ └── test.lua │ ├── math_arctan │ │ ├── CMakeLists.txt │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── reference.png │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ └── test.lua │ ├── math_arctan2 │ │ ├── CMakeLists.txt │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── reference.png │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ ├── test-gba.lua │ │ └── test-sdl2.lua │ ├── math_div │ │ ├── CMakeLists.txt │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── reference.png │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ ├── test-gba.lua │ │ └── test-sdl2.lua │ ├── math_divmod │ │ ├── CMakeLists.txt │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── reference.png │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ ├── test-gba.lua │ │ └── test-sdl2.lua │ └── math_sqrt │ │ ├── CMakeLists.txt │ │ ├── gba │ │ └── CMakeLists.txt │ │ ├── reference.png │ │ ├── sdl2 │ │ └── CMakeLists.txt │ │ ├── source │ │ └── main.c │ │ └── test.lua ├── dma │ ├── CMakeLists.txt │ ├── assets.sh │ ├── basic_dma │ │ ├── CMakeLists.txt │ │ ├── assets.sh │ │ ├── data │ │ │ └── random.bin │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── reference.png │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ └── test.lua │ ├── dma_interrupts │ │ ├── CMakeLists.txt │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── reference.png │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ └── test.lua │ ├── hblank_dma_repeat │ │ ├── CMakeLists.txt │ │ ├── assets.sh │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── graphics │ │ │ └── city.png │ │ ├── reference.png │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ └── test.lua │ ├── hblank_no_during_vblank │ │ ├── CMakeLists.txt │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── reference.png │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ └── test.lua │ ├── invalid_dma │ │ ├── CMakeLists.txt │ │ ├── assets.sh │ │ ├── data │ │ │ └── random.bin │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── reference-gba.png │ │ ├── reference-sdl2.png │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ └── test.lua │ ├── vblank_dma_repeat │ │ ├── CMakeLists.txt │ │ ├── assets.sh │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── graphics │ │ │ └── city.png │ │ ├── reference.png │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ └── test.lua │ └── vblank_hblank_dma │ │ ├── CMakeLists.txt │ │ ├── assets.sh │ │ ├── data │ │ └── random.bin │ │ ├── gba │ │ └── CMakeLists.txt │ │ ├── reference.png │ │ ├── sdl2 │ │ └── CMakeLists.txt │ │ ├── source │ │ └── main.c │ │ └── test.lua ├── graphics │ ├── CMakeLists.txt │ ├── assets.sh │ ├── background_affine │ │ ├── CMakeLists.txt │ │ ├── assets.sh │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── graphics │ │ │ └── city.png │ │ ├── reference-1.png │ │ ├── reference-2.png │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ └── test.lua │ ├── background_regular_16col │ │ ├── CMakeLists.txt │ │ ├── assets.sh │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── graphics │ │ │ └── city.png │ │ ├── reference.png │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ └── test.lua │ ├── background_window │ │ ├── CMakeLists.txt │ │ ├── assets.sh │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── graphics │ │ │ └── city.png │ │ ├── reference.png │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ └── test.lua │ ├── mode3_framebuffer │ │ ├── CMakeLists.txt │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── reference-1.png │ │ ├── reference-2.png │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ └── test.lua │ ├── mode4_framebuffer │ │ ├── CMakeLists.txt │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── reference-1.png │ │ ├── reference-2.png │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ └── test.lua │ ├── mode5_framebuffer │ │ ├── CMakeLists.txt │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── reference-1.png │ │ ├── reference-2.png │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ └── test.lua │ ├── mosaic │ │ ├── CMakeLists.txt │ │ ├── assets.sh │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── graphics │ │ │ ├── ball_green.png │ │ │ ├── ball_red.png │ │ │ └── city.png │ │ ├── reference.png │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ └── test.lua │ ├── priorities │ │ ├── CMakeLists.txt │ │ ├── assets.sh │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── graphics │ │ │ ├── ball_green.png │ │ │ ├── ball_red.png │ │ │ └── city.png │ │ ├── reference.png │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ └── test.lua │ ├── special_effects │ │ ├── CMakeLists.txt │ │ ├── assets.sh │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── graphics │ │ │ ├── ball_green.png │ │ │ ├── ball_red.png │ │ │ └── city.png │ │ ├── reference-1.png │ │ ├── reference-2.png │ │ ├── reference-3.png │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ └── test.lua │ ├── sprite_affine_16col │ │ ├── CMakeLists.txt │ │ ├── assets.sh │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── graphics │ │ │ ├── ball_green.png │ │ │ └── ball_red.png │ │ ├── reference.png │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ └── test.lua │ ├── sprite_lowlevel_16col │ │ ├── CMakeLists.txt │ │ ├── assets.sh │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── graphics │ │ │ └── ball.png │ │ ├── reference.png │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ └── test.lua │ ├── sprite_lowlevel_256col │ │ ├── CMakeLists.txt │ │ ├── assets.sh │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── graphics │ │ │ └── ball.png │ │ ├── reference.png │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ └── test.lua │ ├── sprite_regular_16col │ │ ├── CMakeLists.txt │ │ ├── assets.sh │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── graphics │ │ │ ├── ball_green.png │ │ │ └── ball_red.png │ │ ├── reference.png │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ └── test.lua │ ├── sprite_regular_256col │ │ ├── CMakeLists.txt │ │ ├── assets.sh │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── graphics │ │ │ └── ball.png │ │ ├── reference.png │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ └── test.lua │ ├── text_console │ │ ├── CMakeLists.txt │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── reference-1.png │ │ ├── reference-2.png │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ └── test.lua │ └── windows │ │ ├── CMakeLists.txt │ │ ├── assets.sh │ │ ├── gba │ │ └── CMakeLists.txt │ │ ├── graphics │ │ ├── ball_green.png │ │ ├── ball_red.png │ │ └── city.png │ │ ├── reference.png │ │ ├── sdl2 │ │ └── CMakeLists.txt │ │ ├── source │ │ └── main.c │ │ └── test.lua ├── input │ ├── CMakeLists.txt │ ├── all_input │ │ ├── CMakeLists.txt │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── reference-1.png │ │ ├── reference-2.png │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ └── test.lua │ ├── input_interrupt │ │ ├── CMakeLists.txt │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── reference.png │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ └── test.lua │ └── simple_input │ │ ├── CMakeLists.txt │ │ ├── gba │ │ └── CMakeLists.txt │ │ ├── reference.png │ │ ├── sdl2 │ │ └── CMakeLists.txt │ │ ├── source │ │ └── main.c │ │ └── test.lua ├── interrupts │ ├── CMakeLists.txt │ ├── assets.sh │ ├── hblank_irq_handler │ │ ├── CMakeLists.txt │ │ ├── assets.sh │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── graphics │ │ │ └── city.png │ │ ├── reference.png │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ └── test.lua │ ├── hblank_vcount_lines │ │ ├── CMakeLists.txt │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── reference.png │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ └── test.lua │ ├── multiple_irqs │ │ ├── CMakeLists.txt │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── reference-gba.png │ │ ├── reference-sdl2.png │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ └── test.lua │ ├── nested_irqs │ │ ├── CMakeLists.txt │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── reference-gba.png │ │ ├── reference-sdl2.png │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ └── test.lua │ └── vcount_irq_handler │ │ ├── CMakeLists.txt │ │ ├── gba │ │ └── CMakeLists.txt │ │ ├── reference.png │ │ ├── sdl2 │ │ └── CMakeLists.txt │ │ ├── source │ │ └── main.c │ │ └── test.lua ├── other │ ├── CMakeLists.txt │ ├── assert_disabled │ │ ├── CMakeLists.txt │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── reference.png │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ └── test.lua │ ├── assert_enabled │ │ ├── CMakeLists.txt │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── reference.png │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ └── test.lua │ ├── cpp_example │ │ ├── CMakeLists.txt │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── reference-gba.png │ │ ├── reference-sdl2.png │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.cpp │ │ └── test.lua │ ├── iwram_ewram_sections │ │ ├── CMakeLists.txt │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── reference-gba.png │ │ ├── reference-sdl2.png │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ ├── arm_code.c │ │ │ ├── ewram_code.c │ │ │ ├── iwram_code.c │ │ │ ├── main.c │ │ │ └── thumb_code.c │ │ └── test.lua │ ├── maths_trig │ │ ├── CMakeLists.txt │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── reference.png │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ └── test.lua │ ├── save_sram │ │ ├── CMakeLists.txt │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── reference.png │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ ├── test-1.lua │ │ └── test-2.lua │ ├── version_check │ │ ├── CMakeLists.txt │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── reference.png │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ └── test.lua │ └── waitcnt_value │ │ ├── CMakeLists.txt │ │ ├── gba │ │ └── CMakeLists.txt │ │ ├── reference.png │ │ ├── sdl2 │ │ └── CMakeLists.txt │ │ ├── source │ │ └── main.c │ │ └── test.lua ├── sound │ ├── CMakeLists.txt │ ├── assets.sh │ ├── basic_psg_ch1 │ │ ├── CMakeLists.txt │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── reference-gba.png │ │ ├── reference-gba.wav │ │ ├── reference-sdl2.png │ │ ├── reference-sdl2.wav │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ └── test.lua │ ├── basic_psg_ch2 │ │ ├── CMakeLists.txt │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── reference-gba.png │ │ ├── reference-gba.wav │ │ ├── reference-sdl2.png │ │ ├── reference-sdl2.wav │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ └── test.lua │ ├── basic_psg_ch3 │ │ ├── CMakeLists.txt │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── reference-gba.png │ │ ├── reference-gba.wav │ │ ├── reference-sdl2.png │ │ ├── reference-sdl2.wav │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ └── test.lua │ ├── basic_psg_ch4 │ │ ├── CMakeLists.txt │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── reference-gba.png │ │ ├── reference-gba.wav │ │ ├── reference-sdl2.png │ │ ├── reference-sdl2.wav │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ └── test.lua │ ├── basic_sound_dma │ │ ├── CMakeLists.txt │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── reference-gba.wav │ │ ├── reference-sdl2.wav │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ └── test.lua │ ├── gbt_player │ │ ├── CMakeLists.txt │ │ ├── assets.sh │ │ ├── audio │ │ │ └── template.s3m │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── reference-gba.wav │ │ ├── reference-sdl2.wav │ │ ├── s3m2gbt.py │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ ├── gbt_player.c │ │ │ ├── gbt_player.h │ │ │ └── main.c │ │ └── test.lua │ ├── global_psg │ │ ├── CMakeLists.txt │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── reference-gba.wav │ │ ├── reference-sdl2.wav │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ └── test.lua │ ├── psg_dma_combined │ │ ├── CMakeLists.txt │ │ ├── gba │ │ │ └── CMakeLists.txt │ │ ├── reference-gba.wav │ │ ├── reference-sdl2.wav │ │ ├── sdl2 │ │ │ └── CMakeLists.txt │ │ ├── source │ │ │ └── main.c │ │ └── test.lua │ └── umod │ │ ├── CMakeLists.txt │ │ ├── assets.sh │ │ ├── audio │ │ ├── helicopter.wav │ │ ├── kaos_och_dekadens.mod │ │ └── laser2_1.wav │ │ ├── gba │ │ └── CMakeLists.txt │ │ ├── licenses │ │ ├── cc-by-sa-3.0.txt │ │ ├── cc0-1.0.txt │ │ ├── helicopter.txt │ │ ├── kaos_och_dekadens.txt │ │ ├── laser2_1.txt │ │ ├── mod-archive-faq.txt │ │ ├── mod-archive-terms.txt │ │ └── mod-archive.txt │ │ ├── reference-gba.wav │ │ ├── reference-sdl2.wav │ │ ├── sdl2 │ │ └── CMakeLists.txt │ │ ├── source │ │ └── main.c │ │ └── test.lua └── timers │ ├── CMakeLists.txt │ ├── timer_cascade │ ├── CMakeLists.txt │ ├── gba │ │ └── CMakeLists.txt │ ├── reference.png │ ├── sdl2 │ │ └── CMakeLists.txt │ ├── source │ │ └── main.c │ └── test.lua │ ├── timer_cascade_all │ ├── CMakeLists.txt │ ├── gba │ │ └── CMakeLists.txt │ ├── reference.png │ ├── sdl2 │ │ └── CMakeLists.txt │ ├── source │ │ └── main.c │ └── test.lua │ └── timer_interrupt │ ├── CMakeLists.txt │ ├── gba │ └── CMakeLists.txt │ ├── reference.png │ ├── sdl2 │ └── CMakeLists.txt │ ├── source │ └── main.c │ └── test.lua ├── licenses ├── lgpl-3.0.txt └── mit.txt ├── readme.rst ├── tools ├── CMakeLists.txt ├── bin2c │ ├── CMakeLists.txt │ └── bin2c.c └── pngmatch │ ├── CMakeLists.txt │ └── pngmatch.c └── unittests ├── CMakeLists.txt ├── bios ├── CMakeLists.txt ├── soundbias │ ├── CMakeLists.txt │ └── source │ │ └── main.c └── swi_copy │ ├── CMakeLists.txt │ ├── gba │ └── CMakeLists.txt │ ├── reference-gba.png │ ├── reference-sdl2.png │ ├── sdl2 │ └── CMakeLists.txt │ ├── source │ └── main.c │ └── test.lua ├── cmake └── unittest.cmake ├── interrupts ├── CMakeLists.txt ├── vbl_hbl_vcount_handler_priority │ ├── CMakeLists.txt │ ├── gba │ │ └── CMakeLists.txt │ ├── reference.png │ ├── sdl2 │ │ └── CMakeLists.txt │ ├── source │ │ └── main.c │ └── test.lua └── vbl_hbl_vcount_line_order │ ├── CMakeLists.txt │ ├── gba │ └── CMakeLists.txt │ ├── reference.png │ ├── sdl2 │ └── CMakeLists.txt │ ├── source │ └── main.c │ └── test.lua ├── maths ├── CMakeLists.txt └── error_trig │ ├── CMakeLists.txt │ └── source │ └── main.c ├── sound ├── CMakeLists.txt └── wave_ram │ ├── CMakeLists.txt │ ├── gba │ └── CMakeLists.txt │ ├── reference.png │ ├── sdl2 │ └── CMakeLists.txt │ ├── source │ └── main.c │ └── test.lua └── sram ├── CMakeLists.txt ├── sram_autosave ├── CMakeLists.txt ├── reference.png ├── sdl2 │ └── CMakeLists.txt ├── source │ └── main.c ├── test-1.lua └── test-2.lua └── sram_read_write ├── CMakeLists.txt ├── gba └── CMakeLists.txt ├── reference.png ├── sdl2 └── CMakeLists.txt ├── source └── main.c └── test.lua /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/.gitmodules -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /assets.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/assets.sh -------------------------------------------------------------------------------- /cmake/compiler_flags.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/cmake/compiler_flags.cmake -------------------------------------------------------------------------------- /cmake/example.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/cmake/example.cmake -------------------------------------------------------------------------------- /cmake/runcommands.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/cmake/runcommands.cmake -------------------------------------------------------------------------------- /examples/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/CMakeLists.txt -------------------------------------------------------------------------------- /examples/assets.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/assets.sh -------------------------------------------------------------------------------- /examples/bios/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/bios/CMakeLists.txt -------------------------------------------------------------------------------- /examples/bios/assets.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/bios/assets.sh -------------------------------------------------------------------------------- /examples/bios/bios_bitunpack/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /examples/bios/bios_bitunpack/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/bios/bios_bitunpack/reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/bios/bios_bitunpack/reference.png -------------------------------------------------------------------------------- /examples/bios/bios_bitunpack/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/bios/bios_bitunpack/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/bios/bios_bitunpack/source/main.c -------------------------------------------------------------------------------- /examples/bios/bios_bitunpack/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/bios/bios_bitunpack/test.lua -------------------------------------------------------------------------------- /examples/bios/bios_checksum/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /examples/bios/bios_checksum/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/bios/bios_checksum/reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/bios/bios_checksum/reference.png -------------------------------------------------------------------------------- /examples/bios/bios_checksum/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/bios/bios_checksum/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/bios/bios_checksum/source/main.c -------------------------------------------------------------------------------- /examples/bios/bios_checksum/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/bios/bios_checksum/test.lua -------------------------------------------------------------------------------- /examples/bios/bios_decompress/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /examples/bios/bios_decompress/assets.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/bios/bios_decompress/assets.sh -------------------------------------------------------------------------------- /examples/bios/bios_decompress/data/main_c.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/bios/bios_decompress/data/main_c.bin -------------------------------------------------------------------------------- /examples/bios/bios_decompress/data/main_c_diff_16.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/bios/bios_decompress/data/main_c_diff_16.bin -------------------------------------------------------------------------------- /examples/bios/bios_decompress/data/main_c_diff_8.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/bios/bios_decompress/data/main_c_diff_8.bin -------------------------------------------------------------------------------- /examples/bios/bios_decompress/data/main_c_huff_4.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/bios/bios_decompress/data/main_c_huff_4.bin -------------------------------------------------------------------------------- /examples/bios/bios_decompress/data/main_c_huff_8.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/bios/bios_decompress/data/main_c_huff_8.bin -------------------------------------------------------------------------------- /examples/bios/bios_decompress/data/main_c_lz77_16.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/bios/bios_decompress/data/main_c_lz77_16.bin -------------------------------------------------------------------------------- /examples/bios/bios_decompress/data/main_c_lz77_8.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/bios/bios_decompress/data/main_c_lz77_8.bin -------------------------------------------------------------------------------- /examples/bios/bios_decompress/data/main_c_rl.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/bios/bios_decompress/data/main_c_rl.bin -------------------------------------------------------------------------------- /examples/bios/bios_decompress/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/bios/bios_decompress/reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/bios/bios_decompress/reference.png -------------------------------------------------------------------------------- /examples/bios/bios_decompress/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/bios/bios_decompress/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/bios/bios_decompress/source/main.c -------------------------------------------------------------------------------- /examples/bios/bios_decompress/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/bios/bios_decompress/test.lua -------------------------------------------------------------------------------- /examples/bios/intr_wait/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /examples/bios/intr_wait/assets.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/bios/intr_wait/assets.sh -------------------------------------------------------------------------------- /examples/bios/intr_wait/data/random.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/bios/intr_wait/data/random.bin -------------------------------------------------------------------------------- /examples/bios/intr_wait/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/bios/intr_wait/reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/bios/intr_wait/reference.png -------------------------------------------------------------------------------- /examples/bios/intr_wait/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/bios/intr_wait/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/bios/intr_wait/source/main.c -------------------------------------------------------------------------------- /examples/bios/intr_wait/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/bios/intr_wait/test.lua -------------------------------------------------------------------------------- /examples/bios/math_arctan/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /examples/bios/math_arctan/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/bios/math_arctan/reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/bios/math_arctan/reference.png -------------------------------------------------------------------------------- /examples/bios/math_arctan/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/bios/math_arctan/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/bios/math_arctan/source/main.c -------------------------------------------------------------------------------- /examples/bios/math_arctan/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/bios/math_arctan/test.lua -------------------------------------------------------------------------------- /examples/bios/math_arctan2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /examples/bios/math_arctan2/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/bios/math_arctan2/reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/bios/math_arctan2/reference.png -------------------------------------------------------------------------------- /examples/bios/math_arctan2/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/bios/math_arctan2/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/bios/math_arctan2/source/main.c -------------------------------------------------------------------------------- /examples/bios/math_arctan2/test-gba.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/bios/math_arctan2/test-gba.lua -------------------------------------------------------------------------------- /examples/bios/math_arctan2/test-sdl2.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/bios/math_arctan2/test-sdl2.lua -------------------------------------------------------------------------------- /examples/bios/math_div/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /examples/bios/math_div/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/bios/math_div/reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/bios/math_div/reference.png -------------------------------------------------------------------------------- /examples/bios/math_div/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/bios/math_div/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/bios/math_div/source/main.c -------------------------------------------------------------------------------- /examples/bios/math_div/test-gba.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/bios/math_div/test-gba.lua -------------------------------------------------------------------------------- /examples/bios/math_div/test-sdl2.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/bios/math_div/test-sdl2.lua -------------------------------------------------------------------------------- /examples/bios/math_divmod/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /examples/bios/math_divmod/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/bios/math_divmod/reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/bios/math_divmod/reference.png -------------------------------------------------------------------------------- /examples/bios/math_divmod/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/bios/math_divmod/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/bios/math_divmod/source/main.c -------------------------------------------------------------------------------- /examples/bios/math_divmod/test-gba.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/bios/math_divmod/test-gba.lua -------------------------------------------------------------------------------- /examples/bios/math_divmod/test-sdl2.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/bios/math_divmod/test-sdl2.lua -------------------------------------------------------------------------------- /examples/bios/math_sqrt/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /examples/bios/math_sqrt/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/bios/math_sqrt/reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/bios/math_sqrt/reference.png -------------------------------------------------------------------------------- /examples/bios/math_sqrt/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/bios/math_sqrt/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/bios/math_sqrt/source/main.c -------------------------------------------------------------------------------- /examples/bios/math_sqrt/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/bios/math_sqrt/test.lua -------------------------------------------------------------------------------- /examples/dma/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/dma/CMakeLists.txt -------------------------------------------------------------------------------- /examples/dma/assets.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/dma/assets.sh -------------------------------------------------------------------------------- /examples/dma/basic_dma/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /examples/dma/basic_dma/assets.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/dma/basic_dma/assets.sh -------------------------------------------------------------------------------- /examples/dma/basic_dma/data/random.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/dma/basic_dma/data/random.bin -------------------------------------------------------------------------------- /examples/dma/basic_dma/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/dma/basic_dma/reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/dma/basic_dma/reference.png -------------------------------------------------------------------------------- /examples/dma/basic_dma/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/dma/basic_dma/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/dma/basic_dma/source/main.c -------------------------------------------------------------------------------- /examples/dma/basic_dma/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/dma/basic_dma/test.lua -------------------------------------------------------------------------------- /examples/dma/dma_interrupts/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /examples/dma/dma_interrupts/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/dma/dma_interrupts/reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/dma/dma_interrupts/reference.png -------------------------------------------------------------------------------- /examples/dma/dma_interrupts/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/dma/dma_interrupts/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/dma/dma_interrupts/source/main.c -------------------------------------------------------------------------------- /examples/dma/dma_interrupts/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/dma/dma_interrupts/test.lua -------------------------------------------------------------------------------- /examples/dma/hblank_dma_repeat/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /examples/dma/hblank_dma_repeat/assets.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/dma/hblank_dma_repeat/assets.sh -------------------------------------------------------------------------------- /examples/dma/hblank_dma_repeat/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/dma/hblank_dma_repeat/graphics/city.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/dma/hblank_dma_repeat/graphics/city.png -------------------------------------------------------------------------------- /examples/dma/hblank_dma_repeat/reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/dma/hblank_dma_repeat/reference.png -------------------------------------------------------------------------------- /examples/dma/hblank_dma_repeat/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/dma/hblank_dma_repeat/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/dma/hblank_dma_repeat/source/main.c -------------------------------------------------------------------------------- /examples/dma/hblank_dma_repeat/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/dma/hblank_dma_repeat/test.lua -------------------------------------------------------------------------------- /examples/dma/hblank_no_during_vblank/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /examples/dma/hblank_no_during_vblank/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/dma/hblank_no_during_vblank/reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/dma/hblank_no_during_vblank/reference.png -------------------------------------------------------------------------------- /examples/dma/hblank_no_during_vblank/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/dma/hblank_no_during_vblank/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/dma/hblank_no_during_vblank/source/main.c -------------------------------------------------------------------------------- /examples/dma/hblank_no_during_vblank/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/dma/hblank_no_during_vblank/test.lua -------------------------------------------------------------------------------- /examples/dma/invalid_dma/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /examples/dma/invalid_dma/assets.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/dma/invalid_dma/assets.sh -------------------------------------------------------------------------------- /examples/dma/invalid_dma/data/random.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/dma/invalid_dma/data/random.bin -------------------------------------------------------------------------------- /examples/dma/invalid_dma/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/dma/invalid_dma/reference-gba.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/dma/invalid_dma/reference-gba.png -------------------------------------------------------------------------------- /examples/dma/invalid_dma/reference-sdl2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/dma/invalid_dma/reference-sdl2.png -------------------------------------------------------------------------------- /examples/dma/invalid_dma/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/dma/invalid_dma/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/dma/invalid_dma/source/main.c -------------------------------------------------------------------------------- /examples/dma/invalid_dma/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/dma/invalid_dma/test.lua -------------------------------------------------------------------------------- /examples/dma/vblank_dma_repeat/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /examples/dma/vblank_dma_repeat/assets.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/dma/vblank_dma_repeat/assets.sh -------------------------------------------------------------------------------- /examples/dma/vblank_dma_repeat/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/dma/vblank_dma_repeat/graphics/city.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/dma/vblank_dma_repeat/graphics/city.png -------------------------------------------------------------------------------- /examples/dma/vblank_dma_repeat/reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/dma/vblank_dma_repeat/reference.png -------------------------------------------------------------------------------- /examples/dma/vblank_dma_repeat/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/dma/vblank_dma_repeat/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/dma/vblank_dma_repeat/source/main.c -------------------------------------------------------------------------------- /examples/dma/vblank_dma_repeat/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/dma/vblank_dma_repeat/test.lua -------------------------------------------------------------------------------- /examples/dma/vblank_hblank_dma/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /examples/dma/vblank_hblank_dma/assets.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/dma/vblank_hblank_dma/assets.sh -------------------------------------------------------------------------------- /examples/dma/vblank_hblank_dma/data/random.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/dma/vblank_hblank_dma/data/random.bin -------------------------------------------------------------------------------- /examples/dma/vblank_hblank_dma/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/dma/vblank_hblank_dma/reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/dma/vblank_hblank_dma/reference.png -------------------------------------------------------------------------------- /examples/dma/vblank_hblank_dma/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/dma/vblank_hblank_dma/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/dma/vblank_hblank_dma/source/main.c -------------------------------------------------------------------------------- /examples/dma/vblank_hblank_dma/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/dma/vblank_hblank_dma/test.lua -------------------------------------------------------------------------------- /examples/graphics/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/CMakeLists.txt -------------------------------------------------------------------------------- /examples/graphics/assets.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/assets.sh -------------------------------------------------------------------------------- /examples/graphics/background_affine/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/background_affine/CMakeLists.txt -------------------------------------------------------------------------------- /examples/graphics/background_affine/assets.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/background_affine/assets.sh -------------------------------------------------------------------------------- /examples/graphics/background_affine/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/graphics/background_affine/graphics/city.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/background_affine/graphics/city.png -------------------------------------------------------------------------------- /examples/graphics/background_affine/reference-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/background_affine/reference-1.png -------------------------------------------------------------------------------- /examples/graphics/background_affine/reference-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/background_affine/reference-2.png -------------------------------------------------------------------------------- /examples/graphics/background_affine/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/graphics/background_affine/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/background_affine/source/main.c -------------------------------------------------------------------------------- /examples/graphics/background_affine/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/background_affine/test.lua -------------------------------------------------------------------------------- /examples/graphics/background_regular_16col/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /examples/graphics/background_regular_16col/assets.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/background_regular_16col/assets.sh -------------------------------------------------------------------------------- /examples/graphics/background_regular_16col/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/graphics/background_regular_16col/graphics/city.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/background_regular_16col/graphics/city.png -------------------------------------------------------------------------------- /examples/graphics/background_regular_16col/reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/background_regular_16col/reference.png -------------------------------------------------------------------------------- /examples/graphics/background_regular_16col/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/graphics/background_regular_16col/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/background_regular_16col/source/main.c -------------------------------------------------------------------------------- /examples/graphics/background_regular_16col/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/background_regular_16col/test.lua -------------------------------------------------------------------------------- /examples/graphics/background_window/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /examples/graphics/background_window/assets.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/background_window/assets.sh -------------------------------------------------------------------------------- /examples/graphics/background_window/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/graphics/background_window/graphics/city.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/background_window/graphics/city.png -------------------------------------------------------------------------------- /examples/graphics/background_window/reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/background_window/reference.png -------------------------------------------------------------------------------- /examples/graphics/background_window/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/graphics/background_window/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/background_window/source/main.c -------------------------------------------------------------------------------- /examples/graphics/background_window/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/background_window/test.lua -------------------------------------------------------------------------------- /examples/graphics/mode3_framebuffer/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_two_screenshots() 7 | -------------------------------------------------------------------------------- /examples/graphics/mode3_framebuffer/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/graphics/mode3_framebuffer/reference-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/mode3_framebuffer/reference-1.png -------------------------------------------------------------------------------- /examples/graphics/mode3_framebuffer/reference-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/mode3_framebuffer/reference-2.png -------------------------------------------------------------------------------- /examples/graphics/mode3_framebuffer/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/graphics/mode3_framebuffer/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/mode3_framebuffer/source/main.c -------------------------------------------------------------------------------- /examples/graphics/mode3_framebuffer/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/mode3_framebuffer/test.lua -------------------------------------------------------------------------------- /examples/graphics/mode4_framebuffer/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_two_screenshots() 7 | -------------------------------------------------------------------------------- /examples/graphics/mode4_framebuffer/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/graphics/mode4_framebuffer/reference-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/mode4_framebuffer/reference-1.png -------------------------------------------------------------------------------- /examples/graphics/mode4_framebuffer/reference-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/mode4_framebuffer/reference-2.png -------------------------------------------------------------------------------- /examples/graphics/mode4_framebuffer/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/graphics/mode4_framebuffer/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/mode4_framebuffer/source/main.c -------------------------------------------------------------------------------- /examples/graphics/mode4_framebuffer/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/mode4_framebuffer/test.lua -------------------------------------------------------------------------------- /examples/graphics/mode5_framebuffer/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_two_screenshots() 7 | -------------------------------------------------------------------------------- /examples/graphics/mode5_framebuffer/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/graphics/mode5_framebuffer/reference-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/mode5_framebuffer/reference-1.png -------------------------------------------------------------------------------- /examples/graphics/mode5_framebuffer/reference-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/mode5_framebuffer/reference-2.png -------------------------------------------------------------------------------- /examples/graphics/mode5_framebuffer/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/graphics/mode5_framebuffer/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/mode5_framebuffer/source/main.c -------------------------------------------------------------------------------- /examples/graphics/mode5_framebuffer/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/mode5_framebuffer/test.lua -------------------------------------------------------------------------------- /examples/graphics/mosaic/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /examples/graphics/mosaic/assets.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/mosaic/assets.sh -------------------------------------------------------------------------------- /examples/graphics/mosaic/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/graphics/mosaic/graphics/ball_green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/mosaic/graphics/ball_green.png -------------------------------------------------------------------------------- /examples/graphics/mosaic/graphics/ball_red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/mosaic/graphics/ball_red.png -------------------------------------------------------------------------------- /examples/graphics/mosaic/graphics/city.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/mosaic/graphics/city.png -------------------------------------------------------------------------------- /examples/graphics/mosaic/reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/mosaic/reference.png -------------------------------------------------------------------------------- /examples/graphics/mosaic/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/graphics/mosaic/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/mosaic/source/main.c -------------------------------------------------------------------------------- /examples/graphics/mosaic/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/mosaic/test.lua -------------------------------------------------------------------------------- /examples/graphics/priorities/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /examples/graphics/priorities/assets.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/priorities/assets.sh -------------------------------------------------------------------------------- /examples/graphics/priorities/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/graphics/priorities/graphics/ball_green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/priorities/graphics/ball_green.png -------------------------------------------------------------------------------- /examples/graphics/priorities/graphics/ball_red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/priorities/graphics/ball_red.png -------------------------------------------------------------------------------- /examples/graphics/priorities/graphics/city.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/priorities/graphics/city.png -------------------------------------------------------------------------------- /examples/graphics/priorities/reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/priorities/reference.png -------------------------------------------------------------------------------- /examples/graphics/priorities/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/graphics/priorities/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/priorities/source/main.c -------------------------------------------------------------------------------- /examples/graphics/priorities/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/priorities/test.lua -------------------------------------------------------------------------------- /examples/graphics/special_effects/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_three_screenshots() 7 | -------------------------------------------------------------------------------- /examples/graphics/special_effects/assets.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/special_effects/assets.sh -------------------------------------------------------------------------------- /examples/graphics/special_effects/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/graphics/special_effects/graphics/ball_green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/special_effects/graphics/ball_green.png -------------------------------------------------------------------------------- /examples/graphics/special_effects/graphics/ball_red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/special_effects/graphics/ball_red.png -------------------------------------------------------------------------------- /examples/graphics/special_effects/graphics/city.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/special_effects/graphics/city.png -------------------------------------------------------------------------------- /examples/graphics/special_effects/reference-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/special_effects/reference-1.png -------------------------------------------------------------------------------- /examples/graphics/special_effects/reference-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/special_effects/reference-2.png -------------------------------------------------------------------------------- /examples/graphics/special_effects/reference-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/special_effects/reference-3.png -------------------------------------------------------------------------------- /examples/graphics/special_effects/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/graphics/special_effects/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/special_effects/source/main.c -------------------------------------------------------------------------------- /examples/graphics/special_effects/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/special_effects/test.lua -------------------------------------------------------------------------------- /examples/graphics/sprite_affine_16col/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /examples/graphics/sprite_affine_16col/assets.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/sprite_affine_16col/assets.sh -------------------------------------------------------------------------------- /examples/graphics/sprite_affine_16col/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/graphics/sprite_affine_16col/graphics/ball_green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/sprite_affine_16col/graphics/ball_green.png -------------------------------------------------------------------------------- /examples/graphics/sprite_affine_16col/graphics/ball_red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/sprite_affine_16col/graphics/ball_red.png -------------------------------------------------------------------------------- /examples/graphics/sprite_affine_16col/reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/sprite_affine_16col/reference.png -------------------------------------------------------------------------------- /examples/graphics/sprite_affine_16col/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/graphics/sprite_affine_16col/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/sprite_affine_16col/source/main.c -------------------------------------------------------------------------------- /examples/graphics/sprite_affine_16col/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/sprite_affine_16col/test.lua -------------------------------------------------------------------------------- /examples/graphics/sprite_lowlevel_16col/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /examples/graphics/sprite_lowlevel_16col/assets.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/sprite_lowlevel_16col/assets.sh -------------------------------------------------------------------------------- /examples/graphics/sprite_lowlevel_16col/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/graphics/sprite_lowlevel_16col/graphics/ball.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/sprite_lowlevel_16col/graphics/ball.png -------------------------------------------------------------------------------- /examples/graphics/sprite_lowlevel_16col/reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/sprite_lowlevel_16col/reference.png -------------------------------------------------------------------------------- /examples/graphics/sprite_lowlevel_16col/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/graphics/sprite_lowlevel_16col/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/sprite_lowlevel_16col/source/main.c -------------------------------------------------------------------------------- /examples/graphics/sprite_lowlevel_16col/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/sprite_lowlevel_16col/test.lua -------------------------------------------------------------------------------- /examples/graphics/sprite_lowlevel_256col/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /examples/graphics/sprite_lowlevel_256col/assets.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/sprite_lowlevel_256col/assets.sh -------------------------------------------------------------------------------- /examples/graphics/sprite_lowlevel_256col/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/graphics/sprite_lowlevel_256col/graphics/ball.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/sprite_lowlevel_256col/graphics/ball.png -------------------------------------------------------------------------------- /examples/graphics/sprite_lowlevel_256col/reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/sprite_lowlevel_256col/reference.png -------------------------------------------------------------------------------- /examples/graphics/sprite_lowlevel_256col/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/graphics/sprite_lowlevel_256col/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/sprite_lowlevel_256col/source/main.c -------------------------------------------------------------------------------- /examples/graphics/sprite_lowlevel_256col/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/sprite_lowlevel_256col/test.lua -------------------------------------------------------------------------------- /examples/graphics/sprite_regular_16col/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /examples/graphics/sprite_regular_16col/assets.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/sprite_regular_16col/assets.sh -------------------------------------------------------------------------------- /examples/graphics/sprite_regular_16col/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/graphics/sprite_regular_16col/graphics/ball_green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/sprite_regular_16col/graphics/ball_green.png -------------------------------------------------------------------------------- /examples/graphics/sprite_regular_16col/graphics/ball_red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/sprite_regular_16col/graphics/ball_red.png -------------------------------------------------------------------------------- /examples/graphics/sprite_regular_16col/reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/sprite_regular_16col/reference.png -------------------------------------------------------------------------------- /examples/graphics/sprite_regular_16col/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/graphics/sprite_regular_16col/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/sprite_regular_16col/source/main.c -------------------------------------------------------------------------------- /examples/graphics/sprite_regular_16col/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/sprite_regular_16col/test.lua -------------------------------------------------------------------------------- /examples/graphics/sprite_regular_256col/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /examples/graphics/sprite_regular_256col/assets.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/sprite_regular_256col/assets.sh -------------------------------------------------------------------------------- /examples/graphics/sprite_regular_256col/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/graphics/sprite_regular_256col/graphics/ball.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/sprite_regular_256col/graphics/ball.png -------------------------------------------------------------------------------- /examples/graphics/sprite_regular_256col/reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/sprite_regular_256col/reference.png -------------------------------------------------------------------------------- /examples/graphics/sprite_regular_256col/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/graphics/sprite_regular_256col/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/sprite_regular_256col/source/main.c -------------------------------------------------------------------------------- /examples/graphics/sprite_regular_256col/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/sprite_regular_256col/test.lua -------------------------------------------------------------------------------- /examples/graphics/text_console/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_two_screenshots() 7 | -------------------------------------------------------------------------------- /examples/graphics/text_console/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/graphics/text_console/reference-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/text_console/reference-1.png -------------------------------------------------------------------------------- /examples/graphics/text_console/reference-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/text_console/reference-2.png -------------------------------------------------------------------------------- /examples/graphics/text_console/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/graphics/text_console/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/text_console/source/main.c -------------------------------------------------------------------------------- /examples/graphics/text_console/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/text_console/test.lua -------------------------------------------------------------------------------- /examples/graphics/windows/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /examples/graphics/windows/assets.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/windows/assets.sh -------------------------------------------------------------------------------- /examples/graphics/windows/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/graphics/windows/graphics/ball_green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/windows/graphics/ball_green.png -------------------------------------------------------------------------------- /examples/graphics/windows/graphics/ball_red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/windows/graphics/ball_red.png -------------------------------------------------------------------------------- /examples/graphics/windows/graphics/city.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/windows/graphics/city.png -------------------------------------------------------------------------------- /examples/graphics/windows/reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/windows/reference.png -------------------------------------------------------------------------------- /examples/graphics/windows/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/graphics/windows/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/windows/source/main.c -------------------------------------------------------------------------------- /examples/graphics/windows/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/graphics/windows/test.lua -------------------------------------------------------------------------------- /examples/input/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/input/CMakeLists.txt -------------------------------------------------------------------------------- /examples/input/all_input/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_two_screenshots() 7 | -------------------------------------------------------------------------------- /examples/input/all_input/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/input/all_input/reference-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/input/all_input/reference-1.png -------------------------------------------------------------------------------- /examples/input/all_input/reference-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/input/all_input/reference-2.png -------------------------------------------------------------------------------- /examples/input/all_input/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/input/all_input/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/input/all_input/source/main.c -------------------------------------------------------------------------------- /examples/input/all_input/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/input/all_input/test.lua -------------------------------------------------------------------------------- /examples/input/input_interrupt/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /examples/input/input_interrupt/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/input/input_interrupt/reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/input/input_interrupt/reference.png -------------------------------------------------------------------------------- /examples/input/input_interrupt/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/input/input_interrupt/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/input/input_interrupt/source/main.c -------------------------------------------------------------------------------- /examples/input/input_interrupt/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/input/input_interrupt/test.lua -------------------------------------------------------------------------------- /examples/input/simple_input/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /examples/input/simple_input/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/input/simple_input/reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/input/simple_input/reference.png -------------------------------------------------------------------------------- /examples/input/simple_input/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/input/simple_input/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/input/simple_input/source/main.c -------------------------------------------------------------------------------- /examples/input/simple_input/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/input/simple_input/test.lua -------------------------------------------------------------------------------- /examples/interrupts/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/interrupts/CMakeLists.txt -------------------------------------------------------------------------------- /examples/interrupts/assets.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/interrupts/assets.sh -------------------------------------------------------------------------------- /examples/interrupts/hblank_irq_handler/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /examples/interrupts/hblank_irq_handler/assets.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/interrupts/hblank_irq_handler/assets.sh -------------------------------------------------------------------------------- /examples/interrupts/hblank_irq_handler/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/interrupts/hblank_irq_handler/graphics/city.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/interrupts/hblank_irq_handler/graphics/city.png -------------------------------------------------------------------------------- /examples/interrupts/hblank_irq_handler/reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/interrupts/hblank_irq_handler/reference.png -------------------------------------------------------------------------------- /examples/interrupts/hblank_irq_handler/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/interrupts/hblank_irq_handler/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/interrupts/hblank_irq_handler/source/main.c -------------------------------------------------------------------------------- /examples/interrupts/hblank_irq_handler/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/interrupts/hblank_irq_handler/test.lua -------------------------------------------------------------------------------- /examples/interrupts/hblank_vcount_lines/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /examples/interrupts/hblank_vcount_lines/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/interrupts/hblank_vcount_lines/reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/interrupts/hblank_vcount_lines/reference.png -------------------------------------------------------------------------------- /examples/interrupts/hblank_vcount_lines/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/interrupts/hblank_vcount_lines/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/interrupts/hblank_vcount_lines/source/main.c -------------------------------------------------------------------------------- /examples/interrupts/hblank_vcount_lines/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/interrupts/hblank_vcount_lines/test.lua -------------------------------------------------------------------------------- /examples/interrupts/multiple_irqs/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /examples/interrupts/multiple_irqs/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/interrupts/multiple_irqs/reference-gba.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/interrupts/multiple_irqs/reference-gba.png -------------------------------------------------------------------------------- /examples/interrupts/multiple_irqs/reference-sdl2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/interrupts/multiple_irqs/reference-sdl2.png -------------------------------------------------------------------------------- /examples/interrupts/multiple_irqs/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/interrupts/multiple_irqs/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/interrupts/multiple_irqs/source/main.c -------------------------------------------------------------------------------- /examples/interrupts/multiple_irqs/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/interrupts/multiple_irqs/test.lua -------------------------------------------------------------------------------- /examples/interrupts/nested_irqs/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /examples/interrupts/nested_irqs/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/interrupts/nested_irqs/reference-gba.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/interrupts/nested_irqs/reference-gba.png -------------------------------------------------------------------------------- /examples/interrupts/nested_irqs/reference-sdl2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/interrupts/nested_irqs/reference-sdl2.png -------------------------------------------------------------------------------- /examples/interrupts/nested_irqs/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/interrupts/nested_irqs/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/interrupts/nested_irqs/source/main.c -------------------------------------------------------------------------------- /examples/interrupts/nested_irqs/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/interrupts/nested_irqs/test.lua -------------------------------------------------------------------------------- /examples/interrupts/vcount_irq_handler/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /examples/interrupts/vcount_irq_handler/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/interrupts/vcount_irq_handler/reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/interrupts/vcount_irq_handler/reference.png -------------------------------------------------------------------------------- /examples/interrupts/vcount_irq_handler/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/interrupts/vcount_irq_handler/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/interrupts/vcount_irq_handler/source/main.c -------------------------------------------------------------------------------- /examples/interrupts/vcount_irq_handler/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/interrupts/vcount_irq_handler/test.lua -------------------------------------------------------------------------------- /examples/other/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/other/CMakeLists.txt -------------------------------------------------------------------------------- /examples/other/assert_disabled/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /examples/other/assert_disabled/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/other/assert_disabled/reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/other/assert_disabled/reference.png -------------------------------------------------------------------------------- /examples/other/assert_disabled/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/other/assert_disabled/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/other/assert_disabled/source/main.c -------------------------------------------------------------------------------- /examples/other/assert_disabled/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/other/assert_disabled/test.lua -------------------------------------------------------------------------------- /examples/other/assert_enabled/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/other/assert_enabled/CMakeLists.txt -------------------------------------------------------------------------------- /examples/other/assert_enabled/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/other/assert_enabled/reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/other/assert_enabled/reference.png -------------------------------------------------------------------------------- /examples/other/assert_enabled/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/other/assert_enabled/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/other/assert_enabled/source/main.c -------------------------------------------------------------------------------- /examples/other/assert_enabled/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/other/assert_enabled/test.lua -------------------------------------------------------------------------------- /examples/other/cpp_example/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /examples/other/cpp_example/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/other/cpp_example/reference-gba.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/other/cpp_example/reference-gba.png -------------------------------------------------------------------------------- /examples/other/cpp_example/reference-sdl2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/other/cpp_example/reference-sdl2.png -------------------------------------------------------------------------------- /examples/other/cpp_example/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/other/cpp_example/source/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/other/cpp_example/source/main.cpp -------------------------------------------------------------------------------- /examples/other/cpp_example/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/other/cpp_example/test.lua -------------------------------------------------------------------------------- /examples/other/iwram_ewram_sections/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /examples/other/iwram_ewram_sections/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/other/iwram_ewram_sections/reference-gba.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/other/iwram_ewram_sections/reference-gba.png -------------------------------------------------------------------------------- /examples/other/iwram_ewram_sections/reference-sdl2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/other/iwram_ewram_sections/reference-sdl2.png -------------------------------------------------------------------------------- /examples/other/iwram_ewram_sections/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/other/iwram_ewram_sections/source/arm_code.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/other/iwram_ewram_sections/source/arm_code.c -------------------------------------------------------------------------------- /examples/other/iwram_ewram_sections/source/ewram_code.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/other/iwram_ewram_sections/source/ewram_code.c -------------------------------------------------------------------------------- /examples/other/iwram_ewram_sections/source/iwram_code.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/other/iwram_ewram_sections/source/iwram_code.c -------------------------------------------------------------------------------- /examples/other/iwram_ewram_sections/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/other/iwram_ewram_sections/source/main.c -------------------------------------------------------------------------------- /examples/other/iwram_ewram_sections/source/thumb_code.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/other/iwram_ewram_sections/source/thumb_code.c -------------------------------------------------------------------------------- /examples/other/iwram_ewram_sections/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/other/iwram_ewram_sections/test.lua -------------------------------------------------------------------------------- /examples/other/maths_trig/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /examples/other/maths_trig/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/other/maths_trig/reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/other/maths_trig/reference.png -------------------------------------------------------------------------------- /examples/other/maths_trig/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/other/maths_trig/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/other/maths_trig/source/main.c -------------------------------------------------------------------------------- /examples/other/maths_trig/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/other/maths_trig/test.lua -------------------------------------------------------------------------------- /examples/other/save_sram/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_sram() 7 | -------------------------------------------------------------------------------- /examples/other/save_sram/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/other/save_sram/reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/other/save_sram/reference.png -------------------------------------------------------------------------------- /examples/other/save_sram/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/other/save_sram/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/other/save_sram/source/main.c -------------------------------------------------------------------------------- /examples/other/save_sram/test-1.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/other/save_sram/test-1.lua -------------------------------------------------------------------------------- /examples/other/save_sram/test-2.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/other/save_sram/test-2.lua -------------------------------------------------------------------------------- /examples/other/version_check/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /examples/other/version_check/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/other/version_check/reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/other/version_check/reference.png -------------------------------------------------------------------------------- /examples/other/version_check/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/other/version_check/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/other/version_check/source/main.c -------------------------------------------------------------------------------- /examples/other/version_check/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/other/version_check/test.lua -------------------------------------------------------------------------------- /examples/other/waitcnt_value/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /examples/other/waitcnt_value/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/other/waitcnt_value/reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/other/waitcnt_value/reference.png -------------------------------------------------------------------------------- /examples/other/waitcnt_value/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/other/waitcnt_value/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/other/waitcnt_value/source/main.c -------------------------------------------------------------------------------- /examples/other/waitcnt_value/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/other/waitcnt_value/test.lua -------------------------------------------------------------------------------- /examples/sound/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/CMakeLists.txt -------------------------------------------------------------------------------- /examples/sound/assets.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/assets.sh -------------------------------------------------------------------------------- /examples/sound/basic_psg_ch1/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_audio_screenshot() 7 | -------------------------------------------------------------------------------- /examples/sound/basic_psg_ch1/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/sound/basic_psg_ch1/reference-gba.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/basic_psg_ch1/reference-gba.png -------------------------------------------------------------------------------- /examples/sound/basic_psg_ch1/reference-gba.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/basic_psg_ch1/reference-gba.wav -------------------------------------------------------------------------------- /examples/sound/basic_psg_ch1/reference-sdl2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/basic_psg_ch1/reference-sdl2.png -------------------------------------------------------------------------------- /examples/sound/basic_psg_ch1/reference-sdl2.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/basic_psg_ch1/reference-sdl2.wav -------------------------------------------------------------------------------- /examples/sound/basic_psg_ch1/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/sound/basic_psg_ch1/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/basic_psg_ch1/source/main.c -------------------------------------------------------------------------------- /examples/sound/basic_psg_ch1/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/basic_psg_ch1/test.lua -------------------------------------------------------------------------------- /examples/sound/basic_psg_ch2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_audio_screenshot() 7 | -------------------------------------------------------------------------------- /examples/sound/basic_psg_ch2/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/sound/basic_psg_ch2/reference-gba.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/basic_psg_ch2/reference-gba.png -------------------------------------------------------------------------------- /examples/sound/basic_psg_ch2/reference-gba.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/basic_psg_ch2/reference-gba.wav -------------------------------------------------------------------------------- /examples/sound/basic_psg_ch2/reference-sdl2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/basic_psg_ch2/reference-sdl2.png -------------------------------------------------------------------------------- /examples/sound/basic_psg_ch2/reference-sdl2.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/basic_psg_ch2/reference-sdl2.wav -------------------------------------------------------------------------------- /examples/sound/basic_psg_ch2/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/sound/basic_psg_ch2/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/basic_psg_ch2/source/main.c -------------------------------------------------------------------------------- /examples/sound/basic_psg_ch2/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/basic_psg_ch2/test.lua -------------------------------------------------------------------------------- /examples/sound/basic_psg_ch3/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_audio_screenshot() 7 | -------------------------------------------------------------------------------- /examples/sound/basic_psg_ch3/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/sound/basic_psg_ch3/reference-gba.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/basic_psg_ch3/reference-gba.png -------------------------------------------------------------------------------- /examples/sound/basic_psg_ch3/reference-gba.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/basic_psg_ch3/reference-gba.wav -------------------------------------------------------------------------------- /examples/sound/basic_psg_ch3/reference-sdl2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/basic_psg_ch3/reference-sdl2.png -------------------------------------------------------------------------------- /examples/sound/basic_psg_ch3/reference-sdl2.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/basic_psg_ch3/reference-sdl2.wav -------------------------------------------------------------------------------- /examples/sound/basic_psg_ch3/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/sound/basic_psg_ch3/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/basic_psg_ch3/source/main.c -------------------------------------------------------------------------------- /examples/sound/basic_psg_ch3/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/basic_psg_ch3/test.lua -------------------------------------------------------------------------------- /examples/sound/basic_psg_ch4/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_audio_screenshot() 7 | -------------------------------------------------------------------------------- /examples/sound/basic_psg_ch4/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/sound/basic_psg_ch4/reference-gba.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/basic_psg_ch4/reference-gba.png -------------------------------------------------------------------------------- /examples/sound/basic_psg_ch4/reference-gba.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/basic_psg_ch4/reference-gba.wav -------------------------------------------------------------------------------- /examples/sound/basic_psg_ch4/reference-sdl2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/basic_psg_ch4/reference-sdl2.png -------------------------------------------------------------------------------- /examples/sound/basic_psg_ch4/reference-sdl2.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/basic_psg_ch4/reference-sdl2.wav -------------------------------------------------------------------------------- /examples/sound/basic_psg_ch4/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/sound/basic_psg_ch4/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/basic_psg_ch4/source/main.c -------------------------------------------------------------------------------- /examples/sound/basic_psg_ch4/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/basic_psg_ch4/test.lua -------------------------------------------------------------------------------- /examples/sound/basic_sound_dma/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_audio() 7 | -------------------------------------------------------------------------------- /examples/sound/basic_sound_dma/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/sound/basic_sound_dma/reference-gba.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/basic_sound_dma/reference-gba.wav -------------------------------------------------------------------------------- /examples/sound/basic_sound_dma/reference-sdl2.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/basic_sound_dma/reference-sdl2.wav -------------------------------------------------------------------------------- /examples/sound/basic_sound_dma/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/sound/basic_sound_dma/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/basic_sound_dma/source/main.c -------------------------------------------------------------------------------- /examples/sound/basic_sound_dma/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/basic_sound_dma/test.lua -------------------------------------------------------------------------------- /examples/sound/gbt_player/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/gbt_player/CMakeLists.txt -------------------------------------------------------------------------------- /examples/sound/gbt_player/assets.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/gbt_player/assets.sh -------------------------------------------------------------------------------- /examples/sound/gbt_player/audio/template.s3m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/gbt_player/audio/template.s3m -------------------------------------------------------------------------------- /examples/sound/gbt_player/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/sound/gbt_player/reference-gba.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/gbt_player/reference-gba.wav -------------------------------------------------------------------------------- /examples/sound/gbt_player/reference-sdl2.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/gbt_player/reference-sdl2.wav -------------------------------------------------------------------------------- /examples/sound/gbt_player/s3m2gbt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/gbt_player/s3m2gbt.py -------------------------------------------------------------------------------- /examples/sound/gbt_player/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/sound/gbt_player/source/gbt_player.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/gbt_player/source/gbt_player.c -------------------------------------------------------------------------------- /examples/sound/gbt_player/source/gbt_player.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/gbt_player/source/gbt_player.h -------------------------------------------------------------------------------- /examples/sound/gbt_player/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/gbt_player/source/main.c -------------------------------------------------------------------------------- /examples/sound/gbt_player/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/gbt_player/test.lua -------------------------------------------------------------------------------- /examples/sound/global_psg/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_audio() 7 | -------------------------------------------------------------------------------- /examples/sound/global_psg/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/sound/global_psg/reference-gba.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/global_psg/reference-gba.wav -------------------------------------------------------------------------------- /examples/sound/global_psg/reference-sdl2.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/global_psg/reference-sdl2.wav -------------------------------------------------------------------------------- /examples/sound/global_psg/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/sound/global_psg/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/global_psg/source/main.c -------------------------------------------------------------------------------- /examples/sound/global_psg/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/global_psg/test.lua -------------------------------------------------------------------------------- /examples/sound/psg_dma_combined/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_audio() 7 | -------------------------------------------------------------------------------- /examples/sound/psg_dma_combined/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/sound/psg_dma_combined/reference-gba.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/psg_dma_combined/reference-gba.wav -------------------------------------------------------------------------------- /examples/sound/psg_dma_combined/reference-sdl2.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/psg_dma_combined/reference-sdl2.wav -------------------------------------------------------------------------------- /examples/sound/psg_dma_combined/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/sound/psg_dma_combined/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/psg_dma_combined/source/main.c -------------------------------------------------------------------------------- /examples/sound/psg_dma_combined/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/psg_dma_combined/test.lua -------------------------------------------------------------------------------- /examples/sound/umod/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_audio() 7 | -------------------------------------------------------------------------------- /examples/sound/umod/assets.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/umod/assets.sh -------------------------------------------------------------------------------- /examples/sound/umod/audio/helicopter.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/umod/audio/helicopter.wav -------------------------------------------------------------------------------- /examples/sound/umod/audio/kaos_och_dekadens.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/umod/audio/kaos_och_dekadens.mod -------------------------------------------------------------------------------- /examples/sound/umod/audio/laser2_1.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/umod/audio/laser2_1.wav -------------------------------------------------------------------------------- /examples/sound/umod/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/sound/umod/licenses/cc-by-sa-3.0.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/umod/licenses/cc-by-sa-3.0.txt -------------------------------------------------------------------------------- /examples/sound/umod/licenses/cc0-1.0.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/umod/licenses/cc0-1.0.txt -------------------------------------------------------------------------------- /examples/sound/umod/licenses/helicopter.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/umod/licenses/helicopter.txt -------------------------------------------------------------------------------- /examples/sound/umod/licenses/kaos_och_dekadens.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/umod/licenses/kaos_och_dekadens.txt -------------------------------------------------------------------------------- /examples/sound/umod/licenses/laser2_1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/umod/licenses/laser2_1.txt -------------------------------------------------------------------------------- /examples/sound/umod/licenses/mod-archive-faq.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/umod/licenses/mod-archive-faq.txt -------------------------------------------------------------------------------- /examples/sound/umod/licenses/mod-archive-terms.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/umod/licenses/mod-archive-terms.txt -------------------------------------------------------------------------------- /examples/sound/umod/licenses/mod-archive.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/umod/licenses/mod-archive.txt -------------------------------------------------------------------------------- /examples/sound/umod/reference-gba.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/umod/reference-gba.wav -------------------------------------------------------------------------------- /examples/sound/umod/reference-sdl2.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/umod/reference-sdl2.wav -------------------------------------------------------------------------------- /examples/sound/umod/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/sound/umod/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/umod/source/main.c -------------------------------------------------------------------------------- /examples/sound/umod/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/sound/umod/test.lua -------------------------------------------------------------------------------- /examples/timers/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/timers/CMakeLists.txt -------------------------------------------------------------------------------- /examples/timers/timer_cascade/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /examples/timers/timer_cascade/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/timers/timer_cascade/reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/timers/timer_cascade/reference.png -------------------------------------------------------------------------------- /examples/timers/timer_cascade/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/timers/timer_cascade/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/timers/timer_cascade/source/main.c -------------------------------------------------------------------------------- /examples/timers/timer_cascade/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/timers/timer_cascade/test.lua -------------------------------------------------------------------------------- /examples/timers/timer_cascade_all/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /examples/timers/timer_cascade_all/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/timers/timer_cascade_all/reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/timers/timer_cascade_all/reference.png -------------------------------------------------------------------------------- /examples/timers/timer_cascade_all/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/timers/timer_cascade_all/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/timers/timer_cascade_all/source/main.c -------------------------------------------------------------------------------- /examples/timers/timer_cascade_all/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/timers/timer_cascade_all/test.lua -------------------------------------------------------------------------------- /examples/timers/timer_interrupt/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /examples/timers/timer_interrupt/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /examples/timers/timer_interrupt/reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/timers/timer_interrupt/reference.png -------------------------------------------------------------------------------- /examples/timers/timer_interrupt/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /examples/timers/timer_interrupt/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/timers/timer_interrupt/source/main.c -------------------------------------------------------------------------------- /examples/timers/timer_interrupt/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/examples/timers/timer_interrupt/test.lua -------------------------------------------------------------------------------- /licenses/lgpl-3.0.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/licenses/lgpl-3.0.txt -------------------------------------------------------------------------------- /licenses/mit.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/licenses/mit.txt -------------------------------------------------------------------------------- /readme.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/readme.rst -------------------------------------------------------------------------------- /tools/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | add_subdirectory(pngmatch) 6 | -------------------------------------------------------------------------------- /tools/bin2c/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/tools/bin2c/CMakeLists.txt -------------------------------------------------------------------------------- /tools/bin2c/bin2c.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/tools/bin2c/bin2c.c -------------------------------------------------------------------------------- /tools/pngmatch/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/tools/pngmatch/CMakeLists.txt -------------------------------------------------------------------------------- /tools/pngmatch/pngmatch.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/tools/pngmatch/pngmatch.c -------------------------------------------------------------------------------- /unittests/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/unittests/CMakeLists.txt -------------------------------------------------------------------------------- /unittests/bios/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/unittests/bios/CMakeLists.txt -------------------------------------------------------------------------------- /unittests/bios/soundbias/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_unittest() 6 | -------------------------------------------------------------------------------- /unittests/bios/soundbias/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/unittests/bios/soundbias/source/main.c -------------------------------------------------------------------------------- /unittests/bios/swi_copy/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /unittests/bios/swi_copy/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /unittests/bios/swi_copy/reference-gba.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/unittests/bios/swi_copy/reference-gba.png -------------------------------------------------------------------------------- /unittests/bios/swi_copy/reference-sdl2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/unittests/bios/swi_copy/reference-sdl2.png -------------------------------------------------------------------------------- /unittests/bios/swi_copy/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /unittests/bios/swi_copy/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/unittests/bios/swi_copy/source/main.c -------------------------------------------------------------------------------- /unittests/bios/swi_copy/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/unittests/bios/swi_copy/test.lua -------------------------------------------------------------------------------- /unittests/cmake/unittest.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/unittests/cmake/unittest.cmake -------------------------------------------------------------------------------- /unittests/interrupts/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/unittests/interrupts/CMakeLists.txt -------------------------------------------------------------------------------- /unittests/interrupts/vbl_hbl_vcount_handler_priority/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /unittests/interrupts/vbl_hbl_vcount_handler_priority/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /unittests/interrupts/vbl_hbl_vcount_handler_priority/reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/unittests/interrupts/vbl_hbl_vcount_handler_priority/reference.png -------------------------------------------------------------------------------- /unittests/interrupts/vbl_hbl_vcount_handler_priority/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /unittests/interrupts/vbl_hbl_vcount_handler_priority/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/unittests/interrupts/vbl_hbl_vcount_handler_priority/source/main.c -------------------------------------------------------------------------------- /unittests/interrupts/vbl_hbl_vcount_handler_priority/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/unittests/interrupts/vbl_hbl_vcount_handler_priority/test.lua -------------------------------------------------------------------------------- /unittests/interrupts/vbl_hbl_vcount_line_order/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /unittests/interrupts/vbl_hbl_vcount_line_order/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /unittests/interrupts/vbl_hbl_vcount_line_order/reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/unittests/interrupts/vbl_hbl_vcount_line_order/reference.png -------------------------------------------------------------------------------- /unittests/interrupts/vbl_hbl_vcount_line_order/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /unittests/interrupts/vbl_hbl_vcount_line_order/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/unittests/interrupts/vbl_hbl_vcount_line_order/source/main.c -------------------------------------------------------------------------------- /unittests/interrupts/vbl_hbl_vcount_line_order/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/unittests/interrupts/vbl_hbl_vcount_line_order/test.lua -------------------------------------------------------------------------------- /unittests/maths/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | add_subdirectory(error_trig) 6 | -------------------------------------------------------------------------------- /unittests/maths/error_trig/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_unittest() 6 | -------------------------------------------------------------------------------- /unittests/maths/error_trig/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/unittests/maths/error_trig/source/main.c -------------------------------------------------------------------------------- /unittests/sound/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | add_subdirectory(wave_ram) 6 | -------------------------------------------------------------------------------- /unittests/sound/wave_ram/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /unittests/sound/wave_ram/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /unittests/sound/wave_ram/reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/unittests/sound/wave_ram/reference.png -------------------------------------------------------------------------------- /unittests/sound/wave_ram/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /unittests/sound/wave_ram/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/unittests/sound/wave_ram/source/main.c -------------------------------------------------------------------------------- /unittests/sound/wave_ram/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/unittests/sound/wave_ram/test.lua -------------------------------------------------------------------------------- /unittests/sram/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/unittests/sram/CMakeLists.txt -------------------------------------------------------------------------------- /unittests/sram/sram_autosave/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/unittests/sram/sram_autosave/CMakeLists.txt -------------------------------------------------------------------------------- /unittests/sram/sram_autosave/reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/unittests/sram/sram_autosave/reference.png -------------------------------------------------------------------------------- /unittests/sram/sram_autosave/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /unittests/sram/sram_autosave/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/unittests/sram/sram_autosave/source/main.c -------------------------------------------------------------------------------- /unittests/sram/sram_autosave/test-1.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/unittests/sram/sram_autosave/test-1.lua -------------------------------------------------------------------------------- /unittests/sram/sram_autosave/test-2.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/unittests/sram/sram_autosave/test-2.lua -------------------------------------------------------------------------------- /unittests/sram/sram_read_write/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2020 Antonio Niño Díaz 4 | 5 | define_example() 6 | unittest_screenshot() 7 | -------------------------------------------------------------------------------- /unittests/sram/sram_read_write/gba/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_gba() 6 | -------------------------------------------------------------------------------- /unittests/sram/sram_read_write/reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/unittests/sram/sram_read_write/reference.png -------------------------------------------------------------------------------- /unittests/sram/sram_read_write/sdl2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # 3 | # Copyright (c) 2021 Antonio Niño Díaz 4 | 5 | example_build_sdl2() 6 | -------------------------------------------------------------------------------- /unittests/sram/sram_read_write/source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/unittests/sram/sram_read_write/source/main.c -------------------------------------------------------------------------------- /unittests/sram/sram_read_write/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AntonioND/ugba-testing/HEAD/unittests/sram/sram_read_write/test.lua --------------------------------------------------------------------------------