SDL based host with extram mapped to framebuffer and simple gfx app to accompany it

This commit is contained in:
Toby Jaffey 2025-12-11 23:31:10 +00:00
parent 577aaadacd
commit e7485d5972
8 changed files with 336 additions and 0 deletions

13
apps/gfx/Makefile Normal file
View file

@ -0,0 +1,13 @@
TOPDIR=../..
PROJECT:=$(shell basename ${PWD})
OPT=-Os
SRCS=${PROJECT}.c ${TOPDIR}/apps/crt0.S
HOST_EXTRA=-i 4294967295
all: all_common
test: all
${TOPDIR}/hosts/host-sdl/host-sdl ${HOST_EXTRA} ${PWD}/${PROJECT}.bin
clean: clean_common
include ${TOPDIR}/apps/makefile.common