This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // drop in to sdl3_template for a fixed framebuffer experience | |
| // | |
| #include <SDL3/SDL.h> | |
| #include <SDL3/SDL_main.h> | |
| #include <SDL3/SDL_stdinc.h> | |
| #include <math.h> | |
| // "game" size | |
| #define APP_WIDTH 384 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <stdint.h> | |
| // make bin\mini.xex with mini.raw at $400 and spritedata at $10000 ( bank 1 ) | |
| // xex -o bin\mini.xex -a 400 bin\mini.raw -a 10000 resources\prince.spr | |
| // -o output.xex | |
| // -a address ( in hex ) filename | |
| void fputw(uint16_t word, FILE *file) |
OlderNewer