nouveau fichier : CPC.g1a

nouveau fichier : Makefile
	nouveau fichier : assets-cg/icon-cg-sel.png
	nouveau fichier : assets-cg/icon-cg-uns.png
	nouveau fichier : assets-fx/icon-fx.png
	nouveau fichier : assets-fx/img/1.png
	nouveau fichier : assets-fx/img/10.png
	nouveau fichier : assets-fx/img/11.png
	nouveau fichier : assets-fx/img/12.png
	nouveau fichier : assets-fx/img/13.png
	nouveau fichier : assets-fx/img/14.png
	nouveau fichier : assets-fx/img/15.png
	nouveau fichier : assets-fx/img/2.png
	nouveau fichier : assets-fx/img/3.png
	nouveau fichier : assets-fx/img/4.png
	nouveau fichier : assets-fx/img/5.png
	nouveau fichier : assets-fx/img/6.png
	nouveau fichier : assets-fx/img/7.png
	nouveau fichier : assets-fx/img/8.png
	nouveau fichier : assets-fx/img/9.png
	nouveau fichier : assets-fx/img/Porte.png
	nouveau fichier : assets-fx/img/Rebond.png
	nouveau fichier : assets-fx/img/Vitesse.png
	nouveau fichier : assets-fx/img/t0.png
	nouveau fichier : assets-fx/img/t1.png
	nouveau fichier : assets-fx/img/t10.png
	nouveau fichier : assets-fx/img/t11.png
	nouveau fichier : assets-fx/img/t12.png
	nouveau fichier : assets-fx/img/t13.png
	nouveau fichier : assets-fx/img/t14.png
	nouveau fichier : assets-fx/img/t15.png
	nouveau fichier : assets-fx/img/t2.png
	nouveau fichier : assets-fx/img/t3.png
	nouveau fichier : assets-fx/img/t4.png
	nouveau fichier : assets-fx/img/t5.png
	nouveau fichier : assets-fx/img/t6.png
	nouveau fichier : assets-fx/img/t7.png
	nouveau fichier : assets-fx/img/t8.png
	nouveau fichier : assets-fx/img/t9.png
	nouveau fichier : build-fx/CPC.bin
	nouveau fichier : build-fx/CPC.elf
	nouveau fichier : build-fx/assets/img/1.png.o
	nouveau fichier : build-fx/assets/img/10.png.o
	nouveau fichier : build-fx/assets/img/11.png.o
	nouveau fichier : build-fx/assets/img/12.png.o
	nouveau fichier : build-fx/assets/img/13.png.o
	nouveau fichier : build-fx/assets/img/14.png.o
	nouveau fichier : build-fx/assets/img/15.png.o
	nouveau fichier : build-fx/assets/img/2.png.o
	nouveau fichier : build-fx/assets/img/3.png.o
	nouveau fichier : build-fx/assets/img/4.png.o
	nouveau fichier : build-fx/assets/img/5.png.o
	nouveau fichier : build-fx/assets/img/6.png.o
	nouveau fichier : build-fx/assets/img/7.png.o
	nouveau fichier : build-fx/assets/img/8.png.o
	nouveau fichier : build-fx/assets/img/9.png.o
	nouveau fichier : build-fx/assets/img/Porte.png.o
	nouveau fichier : build-fx/assets/img/Rebond.png.o
	nouveau fichier : build-fx/assets/img/Vitesse.png.o
	nouveau fichier : build-fx/assets/img/t0.png.o
	nouveau fichier : build-fx/assets/img/t1.png.o
	nouveau fichier : build-fx/assets/img/t10.png.o
	nouveau fichier : build-fx/assets/img/t11.png.o
	nouveau fichier : build-fx/assets/img/t12.png.o
	nouveau fichier : build-fx/assets/img/t13.png.o
	nouveau fichier : build-fx/assets/img/t14.png.o
	nouveau fichier : build-fx/assets/img/t15.png.o
	nouveau fichier : build-fx/assets/img/t2.png.o
	nouveau fichier : build-fx/assets/img/t3.png.o
	nouveau fichier : build-fx/assets/img/t4.png.o
	nouveau fichier : build-fx/assets/img/t5.png.o
	nouveau fichier : build-fx/assets/img/t6.png.o
	nouveau fichier : build-fx/assets/img/t7.png.o
	nouveau fichier : build-fx/assets/img/t8.png.o
	nouveau fichier : build-fx/assets/img/t9.png.o
	nouveau fichier : build-fx/map
	nouveau fichier : build-fx/src/main.c.d
	nouveau fichier : build-fx/src/main.c.o
	nouveau fichier : project.cfg
	nouveau fichier : src/main.c
This commit is contained in:
Michel vespier 2020-03-16 23:23:47 +01:00
parent cceb3a717d
commit c485cfedd8
80 changed files with 1116 additions and 0 deletions

BIN
CPC.g1a Normal file

Binary file not shown.

194
Makefile Normal file
View File

@ -0,0 +1,194 @@
#! /usr/bin/make -f
# Default Makefile for fxSDK add-ins. This file was probably copied there by
# the [fxsdk] program.
#---
#
# Configuration
#
include project.cfg
# Compiler flags
CFLAGSFX := $(CFLAGS) $(CFLAGS_FX) $(INCLUDE)
CFLAGSCG := $(CFLAGS) $(CFLAGS_CG) $(INCLUDE)
# Linker flags
LDFLAGSFX := $(LDFLAGS) $(LDFLAGS_FX)
LDFLAGSCG := $(LDFLAGS) $(LDFLAGS_CG)
# Dependency list generation flags
depflags = -MMD -MT $@ -MF $(@:.o=.d) -MP
# ELF to binary flags
BINFLAGS := -R .bss -R .gint_bss
# G1A and G3A generation flags
NAME_G1A ?= $(NAME)
NAME_G3A ?= $(NAME)
G1AF := -i "$(ICON_FX)" -n "$(NAME_G1A)" --internal="$(INTERNAL)"
G3AF := -n basic:"$(NAME_G3A)" -i uns:"$(ICON_CG_UNS)" -i sel:"$(ICON_CG_SEL)"
ifeq "$(TOOLCHAIN_FX)" ""
TOOLCHAIN_FX := sh3eb-elf
endif
ifeq "$(TOOLCHAIN_CG)" ""
TOOLCHAIN_CG := sh4eb-elf
endif
# fxconv flags
FXCONVFX := --fx --toolchain=$(TOOLCHAIN_FX)
FXCONVCG := --cg --toolchain=$(TOOLCHAIN_CG)
#
# File listings
#
NULL :=
TARGET := $(subst $(NULL) $(NULL),-,$(NAME))
ifeq "$(TARGET_FX)" ""
TARGET_FX := $(TARGET).g1a
endif
ifeq "$(TARGET_CG)" ""
TARGET_CG := $(TARGET).g3a
endif
ELF_FX := build-fx/$(shell basename -s .g1a $(TARGET_FX)).elf
BIN_FX := $(ELF_FX:.elf=.bin)
ELF_CG := build-cg/$(shell basename -s .g3a $(TARGET_CG)).elf
BIN_CG := $(ELF_CG:.elf=.bin)
# Source files
src := $(wildcard src/*.[csS] \
src/*/*.[csS] \
src/*/*/*.[csS] \
src/*/*/*/*.[csS])
assets-fx := $(wildcard assets-fx/*/*)
assets-cg := $(wildcard assets-cg/*/*)
# Object files
obj-fx := $(src:%=build-fx/%.o) \
$(assets-fx:assets-fx/%=build-fx/assets/%.o)
obj-cg := $(src:%=build-cg/%.o) \
$(assets-cg:assets-cg/%=build-cg/assets/%.o)
# Additional dependencies
deps-fx := $(ICON_FX)
deps-cg := $(ICON_CG_UNS) $(ICON_CG_SEL)
# All targets
all :=
ifneq "$(wildcard build-fx)" ""
all += all-fx
endif
ifneq "$(wildcard build-cg)" ""
all += all-cg
endif
#
# Build rules
#
all: $(all)
all-fx: $(TARGET_FX)
all-cg: $(TARGET_CG)
$(TARGET_FX): $(obj-fx) $(deps-fx)
@ mkdir -p $(dir $@)
$(TOOLCHAIN_FX)-gcc -o $(ELF_FX) $(obj-fx) $(CFLAGSFX) $(LDFLAGSFX)
$(TOOLCHAIN_FX)-objcopy -O binary $(BINFLAGS) $(ELF_FX) $(BIN_FX)
fxg1a $(BIN_FX) -o $@ $(G1AF)
$(TARGET_CG): $(obj-cg) $(deps-cg)
@ mkdir -p $(dir $@)
$(TOOLCHAIN_CG)-gcc -o $(ELF_CG) $(obj-cg) $(CFLAGSCG) $(LDFLAGSCG)
$(TOOLCHAIN_CG)-objcopy -O binary $(BINFLAGS) $(ELF_CG) $(BIN_CG)
mkg3a $(G3AF) $(BIN_CG) $@
# C sources
build-fx/%.c.o: %.c
@ mkdir -p $(dir $@)
$(TOOLCHAIN_FX)-gcc -c $< -o $@ $(CFLAGSFX) $(depflags)
build-cg/%.c.o: %.c
@ mkdir -p $(dir $@)
$(TOOLCHAIN_CG)-gcc -c $< -o $@ $(CFLAGSCG) $(depflags)
# Assembler sources
build-fx/%.s.o: %.s
@ mkdir -p $(dir $@)
$(TOOLCHAIN_FX)-gcc -c $< -o $@
build-cg/%.s.o: %.s
@ mkdir -p $(dir $@)
$(TOOLCHAIN_CG)-gcc -c $< -o $@
# Preprocessed assembler sources
build-fx/%.S.o: %.S
@ mkdir -p $(dir $@)
$(TOOLCHAIN_FX)-gcc -c $< -o $@ $(INCLUDE)
build-cg/%.S.o: %.S
@ mkdir -p $(dir $@)
$(TOOLCHAIN_CG)-gcc -c $< -o $@ $(INCLUDE)
# Images
build-fx/assets/img/%.o: assets-fx/img/%
@ mkdir -p $(dir $@)
fxconv -i $< -o $@ $(FXCONVFX) name:img_$(basename $*) $(IMG.$*)
build-cg/assets/img/%.o: assets-cg/img/%
@ mkdir -p $(dir $@)
fxconv -i $< -o $@ $(FXCONVCG) name:img_$(basename $*) $(IMG.$*)
# Fonts
build-fx/assets/fonts/%.o: assets-fx/fonts/%
@ mkdir -p $(dir $@)
fxconv -f $< -o $@ $(FXCONVFX) name:font_$(basename $*) $(FONT.$*)
build-cg/assets/fonts/%.o: assets-cg/fonts/%
@ mkdir -p $(dir $@)
fxconv -f $< -o $@ $(FXCONVCG) name:font_$(basename $*) $(FONT.$*)
# Binaries
build-fx/assets/bin/%.o: assets-fx/bin/%
@ mkdir -p $(dir $@)
fxconv -b $< -o $@ $(FXCONVFX) name:bin_$(basename $*) $(BIN.$*)
build-cg/assets/bin/%.o: assets-cg/bin/%
@ mkdir -p $(dir $@)
fxconv -b $< -o $@ $(FXCONVCG) name:bin_$(basename $*) $(BIN.$*)
#
# Cleaning and utilities
#
# Dependency information
-include $(shell find build* -name *.d 2> /dev/null)
build-fx/%.d: ;
build-cg/%.d: ;
.PRECIOUS: build-fx build-cg build-fx/%.d build-cg/%.d %/
clean-fx:
@ rm -rf build-fx/
clean-cg:
@ rm -rf build-cg/
distclean-fx: clean-fx
@ rm -f $(TARGET_FX)
distclean-cg: clean-cg
@ rm -f $(TARGET_CG)
clean: clean-fx clean-cg
distclean: distclean-fx distclean-cg
install-fx: $(TARGET_FX)
p7 send -f $<
install-cg: $(TARGET_CG)
@ while [[ ! -h /dev/Prizm1 ]]; do sleep 0.25; done
@ while ! mount /dev/Prizm1; do sleep 0.25; done
@ rm -f /mnt/prizm/$<
@ cp $< /mnt/prizm
@ umount /dev/Prizm1
@- eject /dev/Prizm1
.PHONY: all all-fx all-cg clean distclean install-fx install-cg

BIN
assets-cg/icon-cg-sel.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

BIN
assets-cg/icon-cg-uns.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

BIN
assets-fx/icon-fx.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

BIN
assets-fx/img/1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 588 B

BIN
assets-fx/img/10.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 593 B

BIN
assets-fx/img/11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 593 B

BIN
assets-fx/img/12.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 587 B

BIN
assets-fx/img/13.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 593 B

BIN
assets-fx/img/14.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 594 B

BIN
assets-fx/img/15.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 595 B

BIN
assets-fx/img/2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 591 B

BIN
assets-fx/img/3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 591 B

BIN
assets-fx/img/4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 587 B

BIN
assets-fx/img/5.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 591 B

BIN
assets-fx/img/6.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 595 B

BIN
assets-fx/img/7.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 593 B

BIN
assets-fx/img/8.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 583 B

BIN
assets-fx/img/9.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 591 B

BIN
assets-fx/img/Porte.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 647 B

BIN
assets-fx/img/Rebond.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
assets-fx/img/Vitesse.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
assets-fx/img/t0.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 609 B

BIN
assets-fx/img/t1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 605 B

BIN
assets-fx/img/t10.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 605 B

BIN
assets-fx/img/t11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 599 B

BIN
assets-fx/img/t12.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 601 B

BIN
assets-fx/img/t13.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 596 B

BIN
assets-fx/img/t14.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 598 B

BIN
assets-fx/img/t15.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 592 B

BIN
assets-fx/img/t2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 607 B

BIN
assets-fx/img/t3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 602 B

BIN
assets-fx/img/t4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 603 B

BIN
assets-fx/img/t5.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 597 B

BIN
assets-fx/img/t6.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 598 B

BIN
assets-fx/img/t7.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 593 B

BIN
assets-fx/img/t8.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 606 B

BIN
assets-fx/img/t9.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 601 B

BIN
build-fx/CPC.bin Executable file

Binary file not shown.

BIN
build-fx/CPC.elf Executable file

Binary file not shown.

BIN
build-fx/assets/img/1.png.o Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
build-fx/assets/img/2.png.o Normal file

Binary file not shown.

BIN
build-fx/assets/img/3.png.o Normal file

Binary file not shown.

BIN
build-fx/assets/img/4.png.o Normal file

Binary file not shown.

BIN
build-fx/assets/img/5.png.o Normal file

Binary file not shown.

BIN
build-fx/assets/img/6.png.o Normal file

Binary file not shown.

BIN
build-fx/assets/img/7.png.o Normal file

Binary file not shown.

BIN
build-fx/assets/img/8.png.o Normal file

Binary file not shown.

BIN
build-fx/assets/img/9.png.o Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

739
build-fx/map Normal file
View File

@ -0,0 +1,739 @@
Archive member included to satisfy reference by file (symbol)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(getkey.c.o)
build-fx/src/main.c.o (_getkey)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(getkey.c.o) (_pollevent)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(iokbd.c.o)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o) (_iokbd_scan)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(hardware.c.o)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o) (_gint)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o)
(_start)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(getkey.c.o) (_t6k11_backlight)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o) (_timer_setup)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.s.o)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o) (_inth_tmu)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(memory.c.o)
build-fx/src/main.c.o (_memcpy)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(gimage.c.o)
build-fx/src/main.c.o (_gimage)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(engine.c.o)
build-fx/src/main.c.o (_gray_start)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti.c.o)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(gimage.c.o) (_bopti_render_clip)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dupdate.c.o)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(engine.c.o) (_gint_vram)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti-asm-gray.s.o)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(gimage.c.o) (_bopti_gasm_mono)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(syscalls.S.o)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o) (___os_version)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(setup.c.o)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o) (_gint_install)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(gint.c.o)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o) (_gint_intlevel)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.S.o)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(setup.c.o) (_gint_inth_7305)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o) (_gint_panic)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.s.o)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(setup.c.o) (_gint_exch_tlbh)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(mmu.c.o)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o) (_tlb_mapped_memory)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpg.c.o)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o) (_clock_freq)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dprint.c.o)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o) (_dprint)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o) (_dfont)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(masks.c.o)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti.c.o) (_masks)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dclear.c.o)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o) (_dclear)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) (_topti_font)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dtext.c.o)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o) (_dtext)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti-asm.s.o)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dtext.c.o) (_topti_asm_text)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(font5x7.png.o)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) (_gint_font5x7)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(vbr.s.o)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(setup.c.o) (_gint_setvbr)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dprint.c.o) (_vsnprintf)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_movmem.o)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) (___movmemSI24)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o) (___udivdi3)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o) (___umoddi3)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivsi3.o)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o) (___udivsi3)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udiv_qrnnd_16.o)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o) (___udiv_qrnnd_16)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o)
/home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o) (___clz_tab)
Discarded input sections
.comment 0x0000000000000000 0x12 build-fx/src/main.c.o
.comment 0x0000000000000000 0x12 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(getkey.c.o)
.comment 0x0000000000000000 0x12 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o)
.comment 0x0000000000000000 0x12 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(iokbd.c.o)
.comment 0x0000000000000000 0x12 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(hardware.c.o)
.comment 0x0000000000000000 0x12 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o)
.comment 0x0000000000000000 0x12 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o)
.comment 0x0000000000000000 0x12 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o)
.comment 0x0000000000000000 0x12 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(memory.c.o)
.comment 0x0000000000000000 0x12 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(gimage.c.o)
.comment 0x0000000000000000 0x12 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(engine.c.o)
.comment 0x0000000000000000 0x12 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti.c.o)
.comment 0x0000000000000000 0x12 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dupdate.c.o)
.comment 0x0000000000000000 0x12 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(setup.c.o)
.comment 0x0000000000000000 0x12 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(gint.c.o)
.comment 0x0000000000000000 0x12 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o)
.comment 0x0000000000000000 0x12 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(mmu.c.o)
.comment 0x0000000000000000 0x12 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpg.c.o)
.comment 0x0000000000000000 0x12 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dprint.c.o)
.comment 0x0000000000000000 0x12 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o)
.comment 0x0000000000000000 0x12 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(masks.c.o)
.comment 0x0000000000000000 0x12 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dclear.c.o)
.comment 0x0000000000000000 0x12 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o)
.comment 0x0000000000000000 0x12 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dtext.c.o)
.comment 0x0000000000000000 0x12 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o)
.debug_info 0x0000000000000000 0x737 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o)
.debug_abbrev 0x0000000000000000 0x218 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o)
.debug_loc 0x0000000000000000 0x6eb /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o)
.debug_aranges
0x0000000000000000 0x20 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o)
.debug_ranges 0x0000000000000000 0xe0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o)
.debug_line 0x0000000000000000 0x293 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o)
.debug_str 0x0000000000000000 0x59c /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o)
.comment 0x0000000000000000 0x12 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o)
.eh_frame 0x0000000000000000 0x80 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o)
.debug_info 0x0000000000000000 0x746 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o)
.debug_abbrev 0x0000000000000000 0x229 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o)
.debug_loc 0x0000000000000000 0x679 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o)
.debug_aranges
0x0000000000000000 0x20 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o)
.debug_ranges 0x0000000000000000 0xf0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o)
.debug_line 0x0000000000000000 0x2fe /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o)
.debug_str 0x0000000000000000 0x59c /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o)
.comment 0x0000000000000000 0x12 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o)
.eh_frame 0x0000000000000000 0xac /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o)
.debug_info 0x0000000000000000 0x371 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o)
.debug_abbrev 0x0000000000000000 0xcf /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o)
.debug_aranges
0x0000000000000000 0x18 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o)
.debug_line 0x0000000000000000 0xd6 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o)
.debug_str 0x0000000000000000 0x519 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o)
.comment 0x0000000000000000 0x12 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o)
Memory Configuration
Name Origin Length Attributes
rom 0x0000000000300200 0x0000000000037000 xr
ram 0x0000000008100000 0x0000000000002000 rw
vbr 0x000000008800e000 0x0000000000001400 xrw
rram 0x000000008800f400 0x0000000000000c00 xrw
ilram 0x00000000e5200000 0x0000000000001000 xrw
xram 0x00000000e5007000 0x0000000000002000 xrw
yram 0x00000000e5017000 0x0000000000002000 xrw
*default* 0x0000000000000000 0xffffffffffffffff
Linker script and memory map
LOAD build-fx/src/main.c.o
LOAD build-fx/assets/img/6.png.o
LOAD build-fx/assets/img/t1.png.o
LOAD build-fx/assets/img/t15.png.o
LOAD build-fx/assets/img/11.png.o
LOAD build-fx/assets/img/Porte.png.o
LOAD build-fx/assets/img/3.png.o
LOAD build-fx/assets/img/t7.png.o
LOAD build-fx/assets/img/1.png.o
LOAD build-fx/assets/img/t2.png.o
LOAD build-fx/assets/img/t11.png.o
LOAD build-fx/assets/img/12.png.o
LOAD build-fx/assets/img/t4.png.o
LOAD build-fx/assets/img/t6.png.o
LOAD build-fx/assets/img/Rebond.png.o
LOAD build-fx/assets/img/10.png.o
LOAD build-fx/assets/img/Vitesse.png.o
LOAD build-fx/assets/img/t12.png.o
LOAD build-fx/assets/img/2.png.o
LOAD build-fx/assets/img/9.png.o
LOAD build-fx/assets/img/t5.png.o
LOAD build-fx/assets/img/t3.png.o
LOAD build-fx/assets/img/4.png.o
LOAD build-fx/assets/img/8.png.o
LOAD build-fx/assets/img/14.png.o
LOAD build-fx/assets/img/15.png.o
LOAD build-fx/assets/img/t8.png.o
LOAD build-fx/assets/img/13.png.o
LOAD build-fx/assets/img/t9.png.o
LOAD build-fx/assets/img/7.png.o
LOAD build-fx/assets/img/5.png.o
LOAD build-fx/assets/img/t14.png.o
LOAD build-fx/assets/img/t10.png.o
LOAD build-fx/assets/img/t0.png.o
LOAD build-fx/assets/img/t13.png.o
LOAD /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a
LOAD /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a
LOAD /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a
0x0000000000300000 _brom = 0x300000
0x0000000000004c18 _srom = ((((0x200 + SIZEOF (.text)) + SIZEOF (.rodata)) + SIZEOF (.gint.drivers)) + SIZEOF (.gint.blocks))
.pretext 0x0000000000300200 0x8d8
*(.pretext.entry)
.pretext.entry
0x0000000000300200 0x1cc /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o)
0x0000000000300200 _start
*(.pretext)
.pretext 0x00000000003003cc 0xd0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(hardware.c.o)
0x00000000003003cc _hw_detect
.pretext 0x000000000030049c 0x30 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o)
.pretext 0x00000000003004cc 0x88 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(syscalls.S.o)
0x00000000003004cc ___os_version
0x00000000003004d8 _malloc
0x00000000003004e4 _free
0x00000000003004f0 _calloc
0x00000000003004fc _realloc
0x0000000000300508 _BFile_Remove
0x0000000000300514 _BFile_Create
0x0000000000300520 _BFile_Open
0x000000000030052c _BFile_Close
0x0000000000300538 _BFile_Write
0x0000000000300544 _BFile_Read
.pretext 0x0000000000300554 0x110 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o)
0x0000000000300554 _dfont
0x000000000030056c _charset_size
0x0000000000300598 _charset_decode
0x0000000000300606 _topti_offset
.pretext 0x0000000000300664 0x2f0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o)
0x0000000000300706 _topti_render
.pretext 0x0000000000300954 0x4c /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dtext.c.o)
0x0000000000300954 _dtext
.pretext 0x00000000003009a0 0x130 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti-asm.s.o)
0x0000000000300ab0 _topti_asm_text
0x0000000000300ad0 _btors = .
*(.ctors .ctors.*)
.ctors 0x0000000000300ad0 0x4 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(engine.c.o)
0x0000000000300ad4 _mtors = .
*(.dtors .dtors.*)
.dtors 0x0000000000300ad4 0x4 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(engine.c.o)
0x0000000000300ad8 _etors = .
.text 0x0000000000300ae0 0x3450
0x0000000000300ae0 _gint_exch_tlbh_start = .
*(.gint.exch_tlbh)
.gint.exch_tlbh
0x0000000000300ae0 0x4c /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.s.o)
0x0000000000300ae0 _gint_exch_tlbh
0x000000000000004c _gint_exch_tlbh_size = ABSOLUTE ((. - _gint_exch_tlbh_start))
*(.text .text.*)
.text 0x0000000000300b2c 0x0 build-fx/src/main.c.o
.text.startup 0x0000000000300b2c 0x118 build-fx/src/main.c.o
0x0000000000300b2c _main
.text 0x0000000000300c44 0x1f4 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(getkey.c.o)
0x0000000000300c44 _getkey_opt
0x0000000000300df0 _getkey
0x0000000000300dfc _getkey_repeat
.text 0x0000000000300e38 0x3fc /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o)
0x0000000000300fe0 _pollevent
0x0000000000301124 _waitevent
0x0000000000301170 _clearevents
0x0000000000301190 _keydown
0x00000000003011bc _keydown_all
0x00000000003011f8 _keydown_any
.text 0x0000000000301234 0x124 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(iokbd.c.o)
0x0000000000301240 _iokbd_row
0x0000000000301328 _iokbd_scan
.text 0x0000000000301358 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(hardware.c.o)
.text 0x0000000000301358 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o)
.text 0x0000000000301358 0x1d8 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o)
0x00000000003013f0 _t6k11_display
0x00000000003014c4 _t6k11_contrast
0x00000000003014f0 _t6k11_backlight
.text 0x0000000000301530 0x56c /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o)
0x0000000000301850 _timer_setup
0x00000000003018e0 _timer_delay
0x0000000000301940 _timer_start
0x0000000000301974 _timer_reload
0x0000000000301994 _timer_pause
0x00000000003019c8 _timer_stop
0x0000000000301a24 _timer_timeout
0x0000000000301a30 _timer_address
0x0000000000301a6c _timer_clear
.text 0x0000000000301a9c 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.s.o)
.text 0x0000000000301a9c 0xdc /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(memory.c.o)
0x0000000000301a9c _memcpy
0x0000000000301b56 __memmove
0x0000000000301b5a __memcmp
0x0000000000301b5e _memset
.text 0x0000000000301b78 0xf4 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(gimage.c.o)
0x0000000000301b78 _gimage
0x0000000000301be8 _gsubimage
.text 0x0000000000301c6c 0x17c /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(engine.c.o)
0x0000000000301c6c _gray_int
0x0000000000301cbc _gray_start
0x0000000000301d2c _gray_stop
0x0000000000301d48 _gray_delays
0x0000000000301d54 _gray_config
0x0000000000301d78 _gupdate
0x0000000000301d88 _gvram
0x0000000000301db8 _gvraml
0x0000000000301dd0 _gvramd
.text.startup 0x0000000000301de8 0x40 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(engine.c.o)
.text.exit 0x0000000000301e28 0x28 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(engine.c.o)
.text 0x0000000000301e50 0x410 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti.c.o)
0x0000000000301e50 _bopti_grid
0x0000000000301fc4 _bopti_render
0x00000000003020f4 _bopti_render_clip
0x0000000000302208 _bopti_render_noclip
.text 0x0000000000302260 0x24 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dupdate.c.o)
0x0000000000302260 _dupdate
0x0000000000302278 _dupdate_noint
*fill* 0x0000000000302284 0xc
.text 0x0000000000302290 0x150 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti-asm-gray.s.o)
0x0000000000302290 _bopti_gasm_mono
0x00000000003022cc _bopti_gasm_mono_alpha
0x000000000030231c _bopti_gasm_gray
0x0000000000302370 _bopti_gasm_gray_alpha
.text 0x00000000003023e0 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(syscalls.S.o)
.text 0x00000000003023e0 0x17c /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(setup.c.o)
0x0000000000302494 _gint_install
0x0000000000302544 _gint_unload
.text 0x000000000030255c 0x78 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(gint.c.o)
0x000000000030255c _gint_intlevel
0x00000000003025b0 _gint_inthandler
.text 0x00000000003025d4 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.S.o)
.text 0x00000000003025d4 0x1c4 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o)
0x0000000000302764 _gint_panic
0x0000000000302774 _gint_panic_set
0x0000000000302780 _gint_exc_catch
0x000000000030278c _gint_exc_skip
.text 0x0000000000302798 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.s.o)
.text 0x0000000000302798 0x1f4 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(mmu.c.o)
0x0000000000302798 _tlb_addr
0x00000000003027ac _tlb_data
0x00000000003027c0 _tlb_mapped_memory
0x0000000000302894 _utlb_addr
0x00000000003028a4 _utlb_data
0x00000000003028b4 _utlb_mapped_memory
.text 0x000000000030298c 0x150 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpg.c.o)
0x0000000000302ad0 _clock_freq
.text 0x0000000000302adc 0x58 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dprint.c.o)
0x0000000000302adc _dprint
.text 0x0000000000302b34 0x9c /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o)
0x0000000000302b34 _dsize
.text 0x0000000000302bd0 0x9c /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(masks.c.o)
0x0000000000302bd0 _masks
.text 0x0000000000302c6c 0x4c /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dclear.c.o)
0x0000000000302c6c _dclear
.text 0x0000000000302cb8 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o)
.text 0x0000000000302cb8 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dtext.c.o)
.text 0x0000000000302cb8 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti-asm.s.o)
.text 0x0000000000302cb8 0x2c /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(vbr.s.o)
0x0000000000302cb8 _gint_setvbr
.text 0x0000000000302ce4 0xce4 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o)
0x00000000003036e0 _kprint_opt
0x0000000000303828 _kprint
0x0000000000303900 _kvsprint
0x0000000000303948 _sprintf
0x0000000000303970 _vsprintf
0x0000000000303990 _snprintf
0x00000000003039b0 _vsnprintf
.text 0x00000000003039c8 0x78 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_movmem.o)
0x00000000003039c8 ___movstr
0x00000000003039c8 ___movmem
0x00000000003039fc ___movmemSI64
0x00000000003039fc ___movstrSI64
0x0000000000303a00 ___movstrSI60
0x0000000000303a00 ___movmemSI60
0x0000000000303a04 ___movmemSI56
0x0000000000303a04 ___movstrSI56
0x0000000000303a08 ___movstrSI52
0x0000000000303a08 ___movmemSI52
0x0000000000303a0c ___movstrSI48
0x0000000000303a0c ___movmemSI48
0x0000000000303a10 ___movstrSI44
0x0000000000303a10 ___movmemSI44
0x0000000000303a14 ___movstrSI40
0x0000000000303a14 ___movmemSI40
0x0000000000303a18 ___movstrSI36
0x0000000000303a18 ___movmemSI36
0x0000000000303a1c ___movmemSI32
0x0000000000303a1c ___movstrSI32
0x0000000000303a20 ___movmemSI28
0x0000000000303a20 ___movstrSI28
0x0000000000303a24 ___movstrSI24
0x0000000000303a24 ___movmemSI24
0x0000000000303a28 ___movmemSI20
0x0000000000303a28 ___movstrSI20
0x0000000000303a2c ___movstrSI16
0x0000000000303a2c ___movmemSI16
0x0000000000303a30 ___movmemSI12
0x0000000000303a30 ___movstrSI12
0x0000000000303a34 ___movmemSI8
0x0000000000303a34 ___movstrSI8
0x0000000000303a38 ___movmemSI4
0x0000000000303a38 ___movstrSI4
.text 0x0000000000303a40 0x1f0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o)
0x0000000000303a40 ___udivdi3
.text 0x0000000000303c30 0x234 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o)
0x0000000000303c30 ___umoddi3
.text 0x0000000000303e64 0x6c /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivsi3.o)
0x0000000000303e86 ___udivsi3
.text 0x0000000000303ed0 0x60 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udiv_qrnnd_16.o)
0x0000000000303ed0 ___udiv_qrnnd_16
.text 0x0000000000303f30 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o)
*(C P)
.gint.blocks 0x0000000000303f30 0x120
*(.gint.blocks)
.gint.blocks 0x0000000000303f30 0xe0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.s.o)
0x0000000000303f30 _inth_tmu
0x0000000000303fb0 _inth_etmu2
0x0000000000303fd0 _inth_etmu_help
0x0000000000303ff0 _inth_etmux
.gint.blocks 0x0000000000304010 0x40 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.S.o)
0x0000000000304010 _gint_inth_7305
0x0000000000304030 _gint_inth_7705
.gint.drivers 0x0000000000304050 0x90
0x0000000000304050 _bdrv = .
*(.gint.drivers.0)
*(.gint.drivers.1)
.gint.drivers.1
0x0000000000304050 0x24 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpg.c.o)
0x0000000000304050 _drv_cpg
*(.gint.drivers.2)
.gint.drivers.2
0x0000000000304074 0x24 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o)
0x0000000000304074 _drv_tmu
*(.gint.drivers.3)
*(.gint.drivers.4)
.gint.drivers.4
0x0000000000304098 0x24 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o)
0x0000000000304098 _drv_keysc
*(.gint.drivers.5)
.gint.drivers.5
0x00000000003040bc 0x24 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o)
0x00000000003040bc _drv_t6k11
*(.gint.drivers.6)
0x00000000003040e0 _edrv = .
.rodata 0x00000000003040e0 0x1418
*(.rodata.4)
*(.rodata .rodata.*)
.rodata 0x00000000003040e0 0x288 build-fx/src/main.c.o
.rodata 0x0000000000304368 0x64 build-fx/assets/img/6.png.o
0x0000000000304368 _img_6
0x00000000003043cc _img_6_end
.rodata 0x00000000003043cc 0x44 build-fx/assets/img/t1.png.o
0x00000000003043cc _img_t1
0x0000000000304410 _img_t1_end
.rodata 0x0000000000304410 0x44 build-fx/assets/img/t15.png.o
0x0000000000304410 _img_t15
0x0000000000304454 _img_t15_end
.rodata 0x0000000000304454 0x64 build-fx/assets/img/11.png.o
0x0000000000304454 _img_11
0x00000000003044b8 _img_11_end
.rodata 0x00000000003044b8 0x44 build-fx/assets/img/Porte.png.o
0x00000000003044b8 _img_Porte
0x00000000003044fc _img_Porte_end
.rodata 0x00000000003044fc 0x64 build-fx/assets/img/3.png.o
0x00000000003044fc _img_3
0x0000000000304560 _img_3_end
.rodata 0x0000000000304560 0x44 build-fx/assets/img/t7.png.o
0x0000000000304560 _img_t7
0x00000000003045a4 _img_t7_end
.rodata 0x00000000003045a4 0x64 build-fx/assets/img/1.png.o
0x00000000003045a4 _img_1
0x0000000000304608 _img_1_end
.rodata 0x0000000000304608 0x44 build-fx/assets/img/t2.png.o
0x0000000000304608 _img_t2
0x000000000030464c _img_t2_end
.rodata 0x000000000030464c 0x44 build-fx/assets/img/t11.png.o
0x000000000030464c _img_t11
0x0000000000304690 _img_t11_end
.rodata 0x0000000000304690 0x64 build-fx/assets/img/12.png.o
0x0000000000304690 _img_12
0x00000000003046f4 _img_12_end
.rodata 0x00000000003046f4 0x44 build-fx/assets/img/t4.png.o
0x00000000003046f4 _img_t4
0x0000000000304738 _img_t4_end
.rodata 0x0000000000304738 0x44 build-fx/assets/img/t6.png.o
0x0000000000304738 _img_t6
0x000000000030477c _img_t6_end
.rodata 0x000000000030477c 0x44 build-fx/assets/img/Rebond.png.o
0x000000000030477c _img_Rebond
0x00000000003047c0 _img_Rebond_end
.rodata 0x00000000003047c0 0x64 build-fx/assets/img/10.png.o
0x00000000003047c0 _img_10
0x0000000000304824 _img_10_end
.rodata 0x0000000000304824 0x44 build-fx/assets/img/Vitesse.png.o
0x0000000000304824 _img_Vitesse
0x0000000000304868 _img_Vitesse_end
.rodata 0x0000000000304868 0x44 build-fx/assets/img/t12.png.o
0x0000000000304868 _img_t12
0x00000000003048ac _img_t12_end
.rodata 0x00000000003048ac 0x64 build-fx/assets/img/2.png.o
0x00000000003048ac _img_2
0x0000000000304910 _img_2_end
.rodata 0x0000000000304910 0x64 build-fx/assets/img/9.png.o
0x0000000000304910 _img_9
0x0000000000304974 _img_9_end
.rodata 0x0000000000304974 0x44 build-fx/assets/img/t5.png.o
0x0000000000304974 _img_t5
0x00000000003049b8 _img_t5_end
.rodata 0x00000000003049b8 0x44 build-fx/assets/img/t3.png.o
0x00000000003049b8 _img_t3
0x00000000003049fc _img_t3_end
.rodata 0x00000000003049fc 0x64 build-fx/assets/img/4.png.o
0x00000000003049fc _img_4
0x0000000000304a60 _img_4_end
.rodata 0x0000000000304a60 0x64 build-fx/assets/img/8.png.o
0x0000000000304a60 _img_8
0x0000000000304ac4 _img_8_end
.rodata 0x0000000000304ac4 0x64 build-fx/assets/img/14.png.o
0x0000000000304ac4 _img_14
0x0000000000304b28 _img_14_end
.rodata 0x0000000000304b28 0x64 build-fx/assets/img/15.png.o
0x0000000000304b28 _img_15
0x0000000000304b8c _img_15_end
.rodata 0x0000000000304b8c 0x44 build-fx/assets/img/t8.png.o
0x0000000000304b8c _img_t8
0x0000000000304bd0 _img_t8_end
.rodata 0x0000000000304bd0 0x64 build-fx/assets/img/13.png.o
0x0000000000304bd0 _img_13
0x0000000000304c34 _img_13_end
.rodata 0x0000000000304c34 0x44 build-fx/assets/img/t9.png.o
0x0000000000304c34 _img_t9
0x0000000000304c78 _img_t9_end
.rodata 0x0000000000304c78 0x64 build-fx/assets/img/7.png.o
0x0000000000304c78 _img_7
0x0000000000304cdc _img_7_end
.rodata 0x0000000000304cdc 0x64 build-fx/assets/img/5.png.o
0x0000000000304cdc _img_5
0x0000000000304d40 _img_5_end
.rodata 0x0000000000304d40 0x44 build-fx/assets/img/t14.png.o
0x0000000000304d40 _img_t14
0x0000000000304d84 _img_t14_end
.rodata 0x0000000000304d84 0x44 build-fx/assets/img/t10.png.o
0x0000000000304d84 _img_t10
0x0000000000304dc8 _img_t10_end
.rodata 0x0000000000304dc8 0x44 build-fx/assets/img/t0.png.o
0x0000000000304dc8 _img_t0
0x0000000000304e0c _img_t0_end
.rodata 0x0000000000304e0c 0x44 build-fx/assets/img/t13.png.o
0x0000000000304e0c _img_t13
0x0000000000304e50 _img_t13_end
.rodata.str1.4
0x0000000000304e50 0x6 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o)
*fill* 0x0000000000304e56 0x2
.rodata.str1.4
0x0000000000304e58 0x6 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o)
*fill* 0x0000000000304e5e 0x2
.rodata.str1.4
0x0000000000304e60 0x4 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o)
.rodata 0x0000000000304e64 0x10 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(gimage.c.o)
.rodata 0x0000000000304e74 0x10 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti.c.o)
.rodata.str1.4
0x0000000000304e84 0x11a /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o)
0x11e (size before relaxing)
*fill* 0x0000000000304f9e 0x2
.rodata.str1.4
0x0000000000304fa0 0x4 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpg.c.o)
.rodata 0x0000000000304fa4 0x18 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o)
.rodata 0x0000000000304fbc 0x408 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(font5x7.png.o)
0x0000000000304fbc _gint_font5x7
0x00000000003053c4 _gint_font5x7_end
.rodata.str1.4
0x00000000003053c4 0x31 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o)
*fill* 0x00000000003053f5 0x3
.rodata 0x00000000003053f8 0x100 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o)
0x00000000003053f8 ___clz_tab
.rela.dyn 0x00000000003054f8 0x0
.rela.pretext.entry
0x00000000003054f8 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o)
.rela.text 0x00000000003054f8 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o)
0x0000000008100000 . = ORIGIN (ram)
.bss 0x0000000008100000 0x550
0x0000000008100000 _rbss = .
*(.bss COMMON)
.bss 0x0000000008100000 0x0 build-fx/src/main.c.o
.bss 0x0000000008100000 0xc /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(getkey.c.o)
.bss 0x000000000810000c 0x24 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o)
.bss 0x0000000008100030 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(iokbd.c.o)
.bss 0x0000000008100030 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(hardware.c.o)
.bss 0x0000000008100030 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o)
.bss 0x0000000008100030 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o)
.bss 0x0000000008100030 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o)
.bss 0x0000000008100030 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.s.o)
.bss 0x0000000008100030 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(memory.c.o)
.bss 0x0000000008100030 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(gimage.c.o)
.bss 0x0000000008100030 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(engine.c.o)
.bss 0x0000000008100030 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti.c.o)
.bss 0x0000000008100030 0x400 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dupdate.c.o)
.bss 0x0000000008100430 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti-asm-gray.s.o)
.bss 0x0000000008100430 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(syscalls.S.o)
.bss 0x0000000008100430 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(setup.c.o)
.bss 0x0000000008100430 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(gint.c.o)
.bss 0x0000000008100430 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.S.o)
.bss 0x0000000008100430 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o)
.bss 0x0000000008100430 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.s.o)
.bss 0x0000000008100430 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(mmu.c.o)
.bss 0x0000000008100430 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpg.c.o)
.bss 0x0000000008100430 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dprint.c.o)
.bss 0x0000000008100430 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o)
.bss 0x0000000008100430 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(masks.c.o)
.bss 0x0000000008100430 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dclear.c.o)
.bss 0x0000000008100430 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o)
.bss 0x0000000008100430 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dtext.c.o)
.bss 0x0000000008100430 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti-asm.s.o)
.bss 0x0000000008100430 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(vbr.s.o)
.bss 0x0000000008100430 0x114 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o)
.bss 0x0000000008100544 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_movmem.o)
.bss 0x0000000008100544 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o)
.bss 0x0000000008100544 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o)
.bss 0x0000000008100544 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivsi3.o)
.bss 0x0000000008100544 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udiv_qrnnd_16.o)
.bss 0x0000000008100544 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o)
*(B R)
0x0000000008100550 . = ALIGN (0x10)
*fill* 0x0000000008100544 0xc
0x0000000000000550 _sbss = SIZEOF (.bss)
.data 0x0000000008100550 0x80 load address 0x00000000003054f8
0x00000000003054f8 _ldata = LOADADDR (.data)
0x0000000008100550 _rdata = .
*(.data .data.*)
.data 0x0000000008100550 0x0 build-fx/src/main.c.o
.data 0x0000000008100550 0x8 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(getkey.c.o)
.data 0x0000000008100558 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o)
.data 0x0000000008100558 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(iokbd.c.o)
.data 0x0000000008100558 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(hardware.c.o)
.data 0x0000000008100558 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o)
.data 0x0000000008100558 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o)
.data 0x0000000008100558 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o)
.data 0x0000000008100558 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.s.o)
.data 0x0000000008100558 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(memory.c.o)
.data 0x0000000008100558 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(gimage.c.o)
.data 0x0000000008100558 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(engine.c.o)
.data 0x0000000008100558 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti.c.o)
.data 0x0000000008100558 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dupdate.c.o)
.data 0x0000000008100558 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti-asm-gray.s.o)
.data 0x0000000008100558 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(syscalls.S.o)
.data 0x0000000008100558 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(setup.c.o)
.data 0x0000000008100558 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(gint.c.o)
.data 0x0000000008100558 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.S.o)
.data 0x0000000008100558 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o)
.data 0x0000000008100558 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.s.o)
.data 0x0000000008100558 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(mmu.c.o)
.data 0x0000000008100558 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpg.c.o)
.data 0x0000000008100558 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dprint.c.o)
.data 0x0000000008100558 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o)
.data 0x0000000008100558 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(masks.c.o)
.data 0x0000000008100558 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dclear.c.o)
.data 0x0000000008100558 0x8 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o)
0x0000000008100558 _topti_font
0x000000000810055c _gint_default_font
.data 0x0000000008100560 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dtext.c.o)
.data 0x0000000008100560 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti-asm.s.o)
.data 0x0000000008100560 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(vbr.s.o)
.data 0x0000000008100560 0x68 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o)
0x0000000008100560 _kprint_formatters
.data 0x00000000081005c8 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_movmem.o)
.data 0x00000000081005c8 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o)
.data 0x00000000081005c8 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o)
.data 0x00000000081005c8 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivsi3.o)
.data 0x00000000081005c8 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udiv_qrnnd_16.o)
.data 0x00000000081005c8 0x0 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o)
*(D)
0x00000000081005d0 . = ALIGN (0x10)
*fill* 0x00000000081005c8 0x8
.data.4 0x00000000081005d0 0x0 load address 0x0000000000305578
*(.data.4)
0x00000000081005d0 . = ALIGN (0x10)
0x0000000000000080 _sdata = (SIZEOF (.data) + SIZEOF (.data.4))
0x00000000e5200000 . = ORIGIN (ilram)
.ilram 0x00000000e5200000 0x0 load address 0x0000000000305578
0x0000000000305578 _lilram = LOADADDR (.ilram)
0x00000000e5200000 _rilram = .
*(.ilram)
0x00000000e5200000 . = ALIGN (0x10)
0x00000000e5007000 . = ORIGIN (xram)
.xram 0x00000000e5007000 0x0 load address 0x0000000000305578
0x0000000000305578 _lxram = LOADADDR (.xram)
0x00000000e5007000 _rxram = .
*(.xram)
0x00000000e5007000 . = ALIGN (0x10)
0x00000000e5017000 . = ORIGIN (yram)
.yram 0x00000000e5017000 0x0 load address 0x0000000000305578
0x0000000000305578 _lyram = LOADADDR (.yram)
0x00000000e5017000 _ryram = .
*(.yram)
0x00000000e5017000 . = ALIGN (0x10)
0x0000000000000000 _silram = SIZEOF (.ilram)
0x0000000000000000 _sxram = SIZEOF (.xram)
0x0000000000000000 _syram = SIZEOF (.yram)
0x000000008800df00 _gint_vbr = 0x8800df00
0x000000008800f400 . = ORIGIN (rram)
.gint.data 0x000000008800f400 0x160 load address 0x0000000000305578
0x0000000000305578 _lgdata = LOADADDR (.gint.data)
0x000000008800f400 _rgdata = .
*(.gint.data .gint.data.*)
.gint.data 0x000000008800f400 0x24 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o)
.gint.data 0x000000008800f424 0x8 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o)
.gint.data 0x000000008800f42c 0x70 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o)
.gint.data 0x000000008800f49c 0x10 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(engine.c.o)
.gint.data 0x000000008800f4ac 0x4 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dupdate.c.o)
0x000000008800f4ac _gint_vram
.gint.data 0x000000008800f4b0 0x10 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(gint.c.o)
0x000000008800f4b0 _SH7305_INTC
.gint.data.sh3
0x000000008800f4c0 0x24 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(gint.c.o)
0x000000008800f4c0 _SH7705_INTC
*fill* 0x000000008800f4e4 0xc
.gint.data 0x000000008800f4f0 0x60 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.S.o)
.gint.data 0x000000008800f550 0x8 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o)
0x000000008800f550 _gint_exc_catcher
0x000000008800f554 _gint_exc_panic
0x000000008800f560 . = ALIGN (0x10)
*fill* 0x000000008800f558 0x8
0x0000000000000160 _sgdata = SIZEOF (.gint.data)
.gint.bss 0x000000008800f560 0x2a0 load address 0x00000000003056d8
*(.gint.bss .gint.bss.*)
.gint.bss 0x000000008800f560 0x180 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o)
.gint.bss 0x000000008800f6e0 0x40 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(hardware.c.o)
0x000000008800f6e0 _gint
.gint.bss 0x000000008800f720 0x1 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o)
*fill* 0x000000008800f721 0x3
.gint.bss 0x000000008800f724 0x88 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o)
.gint.bss 0x000000008800f7ac 0x10 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(engine.c.o)
.gint.bss 0x000000008800f7bc 0x1c /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(setup.c.o)
.gint.bss 0x000000008800f7d8 0x24 /home/michel/Documents/gcc/sh-elf-2.34-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpg.c.o)
0x000000008800f800 . = ALIGN (0x10)
*fill* 0x000000008800f7fc 0x4
0x00000000000002a0 _sgbss = SIZEOF (.gint.bss)
/DISCARD/
*(.debug_info .debug_abbrev .debug_loc .debug_aranges .debug_ranges .debug_line .debug_str)
*(.jcr)
*(.eh_frame_hdr)
*(.eh_frame)
*(.comment)
OUTPUT(build-fx/CPC.elf elf32-sh)

1
build-fx/src/main.c.d Normal file
View File

@ -0,0 +1 @@
build-fx/src/main.c.o: src/main.c

BIN
build-fx/src/main.c.o Normal file

Binary file not shown.

84
project.cfg Normal file
View File

@ -0,0 +1,84 @@
#---
# fxSDK project configuration file for CPC
#---
# Project name, should be at most 8 bytes long.
# (You can also specify NAME_G1A or NAME_G3A to override individually.)
NAME := CPC
# Internal name, should be '@' followed by at most 7 uppercase letters.
# WARNING: If this convention is not followed, the add-in might not appear in
# the main menu of the calculator!
INTERNAL := @CPC
# Output file name. The default is to take <NAME>, replace spaces with dashes,
# and add .g1a (or .g3a). You can specify a different folder if you want.
TARGET_FX :=
TARGET_CG :=
# fx-9860G icon location
ICON_FX = assets-fx/icon-fx.png
# fx-CG 50 icon locations
ICON_CG_UNS = assets-cg/icon-cg-uns.png
ICON_CG_SEL = assets-cg/icon-cg-sel.png
#---
# Toolchain selection
#---
# Toolchain for fx9860g. Please see also CFLAGS_FX below.
TOOLCHAIN_FX := sh-elf
# Toolchain for fxcg50. Please see also CFLAGS_CG below.
TOOLCHAIN_CG := sh-elf
#---
# Compiler flags
#---
# Base compiler flags for the fxSDK, you usually want to keep these.
CFLAGS := -mb -ffreestanding -nostdlib -fstrict-volatile-bitfields
# Platform-specific compiler flags.
# <> If you are using sh3eb-elf, use -m3. (You can do this on both FX and CG.)
# <> If you are using sh4eb-elf, use -m4-nofpu. (Not ideal on FX but works.)
# <> If you are using sh4eb-nofpu-elf, then your compiler will likely use the
# FPU and cause problems on the calculator. Consider another configuration.
# <> If you are using an sh-elf with several targets, specify whichever you
# support. I recommend -m3 on FX and -m4-nofpu on CG.
# Please see also TOOLCHAIN_FX and TOOLCHAIN_CG above.
CFLAGS_FX := -D FX9860G -m3
CFLAGS_CG := -D FXCG50 -m4-nofpu
# Additional compiler flags, change to your own taste!
CFLAGS += -Wall -Wextra -Os
# Include paths. Add one -I option for each folder from which you want to
# be able to include files with #include<>.
INCLUDE := -I include
# Libraries. Add one -l option for each library you are using, and also
# suitable -L options if you have library files in custom folders. To use
# fxlib, add libfx.a to the project directory and use "-L . -lfx".
LIBS :=
# Base linker flags for the fxSDK, you usually want to keep these.
LDFLAGS_FX := -T fx9860g.ld -lgint-fx $(LIBS) -lgint-fx -lgcc
LDFLAGS_CG := -T fxcg50.ld -lgint-cg $(LIBS) -lgint-cg -lgcc
# Additional linker flags, if you need any.
LDFLAGS :=
# Additional platform-specific linker flags.
LDFLAGS_FX += -Wl,-Map=build-fx/map
LDFLAGS_CG += -Wl,-Map=build-cg/map
#---
# File conversion parameters
#---
# Here you can add fxconv options for each converted file, individually.
# The syntax is "<type>.<file>". For example, to specify the parameters for a
# font name "hexa.png", you might write:
#
# FONT.hexa.png = charset:print grid:size:3x5 grid.padding:1

98
src/main.c Normal file
View File

@ -0,0 +1,98 @@
// Includes !
#include <gint/gray.h>
#include <gint/display.h>
#include <gint/keyboard.h>
/*
Boucle qui va afficher l'image correspondante à l'emplacement dans le tableau 'map'
*/
void tile(void);
int main(void)
{
gray_start();
gray_delays(762, 1311);
//Importation de BEAUCOUPS d'images
extern image_t img_t0;
extern image_t img_t1;
extern image_t img_t2;
extern image_t img_t3;
extern image_t img_t4;
extern image_t img_t5;
extern image_t img_t6;
extern image_t img_t7;
extern image_t img_t8;
extern image_t img_t9;
extern image_t img_t10;
extern image_t img_t11;
extern image_t img_t12;
extern image_t img_t13;
extern image_t img_t14;
extern image_t img_t15;
extern image_t img_Porte;
extern image_t img_Vitesse;
extern image_t img_Rebond;
extern image_t img_1;
extern image_t img_2;
extern image_t img_3;
extern image_t img_4;
extern image_t img_5;
extern image_t img_6;
extern image_t img_7;
extern image_t img_8;
extern image_t img_9;
extern image_t img_10;
extern image_t img_11;
extern image_t img_12;
extern image_t img_13;
extern image_t img_14;
extern image_t img_15;
/*
16: Porte
17: Rien
1xx: Vitesse
2xx: Rebond
{, , , , , , , , , , , , , , , }
*/
//La carte de l'ecran pour les tiles
int map[8][16] = {
{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15},
{15, 115, 215, 315, 415, 515, 615, 715, 815, 915, 1015, 1115, 1215, 1315, 1415, 1515},
{17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17},
{6, 1614, 1714, 12, 16, 17, 6, 14, 14, 14, 14, 14, 14, 14, 14, 12},
{7, 15, 15, 115, 14, 14, 815, 15, 15, 15, 15, 15, 15, 15, 15, 13},
{3, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 9},
{17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17},
{17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17}};
//Les pointeurs des images
int p_img[17] = {&img_t0, &img_t1, &img_t2, &img_t3, &img_t4, &img_t5, &img_t6, &img_t7, &img_t8, &img_t9, &img_t10, &img_t11, &img_t12, &img_t13, &img_t14, &img_t15, &img_Porte};
int p_sup[17] = {&img_1, &img_2, &img_3, &img_4, &img_5, &img_6, &img_7, &img_8, &img_9, &img_10, &img_11, &img_12, &img_13, &img_14, &img_15, &img_Vitesse, &img_Rebond};
//Le dessin ^^
gclear('white');
tile();
//L'affichage
gupdate();
//Le début de al fin
getkey();
gray_stop();
//La fin de la fin
return 1;
}
void tile(void)
{
for (int i = 0 ; i <= 7 ; i++)
{
for (int j = 0 ; j <= 15 ; j++)
{
if (map[i][j] != 17)
{
gimage(8*j, 8*i, p_img[map[i][j] - 100 * (map[i][j] / 100)]);
if (map[i][j] > 99)
{
gimage(8*j, 8*i, p_sup[(map[i][j] / 100) -1]);
}
}
}
}
}