ajout anciens fichiers

This commit is contained in:
util1 2019-07-19 21:55:17 +02:00
parent 4137431068
commit 14c9a60572
31 changed files with 862 additions and 0 deletions

BIN
1v1-3D.g1a Normal file

Binary file not shown.

136
Makefile Normal file
View File

@ -0,0 +1,136 @@
#! /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
cf := -mb -ffreestanding -nostdlib -Wall -Wextra \
-fstrict-volatile-bitfields $(CFLAGS)
cf-fx := $(cf) -m3 -DFX9860G
cf-cg := $(cf) -m4-nofpu -DFXCG50
# Linker flags
lf-fx := $(LDFLAGS) -Tfx9860g.ld -lgint-fx -lgcc -Wl,-Map=build-fx/map
lf-cg := $(LDFLAGS) -Tfxcg50.ld -lgint-cg -lgcc -Wl,-Map=build-cg/map
dflags = -MMD -MT $@ -MF $(@:.o=.d) -MP
cpflags := -R .bss -R .gint_bss
g1af := -i "$(ICON_FX)" -n "$(NAME)" --internal="$(INTERNAL)"
g3af := -n basic:"$(NAME)" -i uns:"$(ICON_CG_UNS)" -i sel:"$(ICON_CG_SEL)"
#
# File listings
#
null :=
filename := $(subst $(null) $(null),-,$(NAME))
elf = $(dir $<)$(filename).elf
bin = $(dir $<)$(filename).bin
target-fx := $(filename).g1a
target-cg := $(filename).g3a
# Source files
src := $(wildcard src/*.c)
assets-fx := $(wildcard assets-fx/**/*)
assets-cg := $(wildcard assets-cg/**/*)
# Object files
obj-fx := $(src:%.c=build-fx/%.o) $(assets-fx:assets-fx/%=build-fx/assets/%.o)
obj-cg := $(src:%.c=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)
sh3eb-elf-gcc -o $(elf) $(obj-fx) $(cf-fx) $(lf-fx)
sh3eb-elf-objcopy -O binary $(cpflags) $(elf) $(bin)
fxg1a $(bin) -o $@ $(g1af)
$(target-cg): $(obj-cg) $(deps-cg)
sh4eb-elf-gcc -o $(elf) $(obj-cg) $(cf-cg) $(lf-cg)
sh4eb-elf-objcopy -O binary $(cpflags) $(elf) $(bin)
mkg3a $(g3af) $(bin) $@
# C sources
build-fx/%.o: %.c
@ mkdir -p $(dir $@)
sh3eb-elf-gcc -c $< -o $@ $(cf-fx) $(dflags)
build-cg/%.o: %.c
@ mkdir -p $(dir $@)
sh4eb-elf-gcc -c $< -o $@ $(cf-cg) $(dflags)
# Images
build-fx/assets/img/%.o: assets-fx/img/%
@ mkdir -p $(dir $@)
fxconv -i $< -o $@ name:img_$(basename $*)
build-cg/assets/img/%.o: assets-cg/img/%
@ echo -ne "\e[31;1mWARNING: image conversion for fxcg50 is not "
@ echo -ne "supported yet\e[0m"
@ mkdir -p $(dir $@)
fxconv -i $< -o $@ name:img_$(basename $*)
# Fonts
build-fx/assets/fonts/%.o: assets-fx/fonts/%
@ mkdir -p $(dir $@)
fxconv -f $< -o $@ name:font_$(basename $*) $(FONT.$*)
build-cg/assets/fonts/%.o: assets-cg/fonts/%
@ mkdir -p $(dir $@)
fxconv -f $< -o $@ name:font_$(basename $*) $(FONT.$*)
#
# 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:
@ rm -rf build*
distclean: clean
@ rm -f $(target-fx) $(target-cg)
install-fx: $(target-fx)
p7 send -f $<
install-cg: $(target-cg)
@ while [[ ! -h /dev/Prizm1 ]]; do sleep 1; done
@ mount /dev/Prizm1
@ 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

444
build-fx/map Normal file
View File

@ -0,0 +1,444 @@
Archive member included to satisfy reference by file (symbol)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(getkey.c.o)
build-fx/src/main.o (_getkey)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(getkey.c.o) (_waitevent)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(hardware.c.o)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o) (_gint)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(start.c.o)
(_start)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(mmu.c.o)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(start.c.o) (_tlb_mapped_memory)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o) (_timer_setup)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dupdate.c.o)
build-fx/src/main.o (_dupdate)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dclear.c.o)
build-fx/src/main.o (_dclear)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
build-fx/src/main.o (_dtext)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dupdate.c.o) (_t6k11_display)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(font5x7.png.o)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o) (_gint_font5x7)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o) (_clock_freq)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(iokbd.c.o)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o) (_iokbd_scan)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(setup.c.o)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(start.c.o) (_gint_install)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(syscalls.S.o)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o) (___os_version)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(vbr.s.o)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(setup.c.o) (_gint_setvbr)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(gint.c.o)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o) (_gint_intlevel)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.S.o)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(setup.c.o) (_inth_entry_7305)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(exch.S.o)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(setup.c.o) (_exch_entry_7305)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.s.o)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o) (_inth_tmu)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o) (_charset_size)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti-asm.s.o)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o) (_topti_asm_text)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(memory.c.o)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(setup.c.o) (_memcpy)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_movmem.o)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o) (___movmemSI24)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivdi3.o)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o) (___udivdi3)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivsi3.o)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivdi3.o) (___udivsi3)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udiv_qrnnd_16.o)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivdi3.o) (___udiv_qrnnd_16)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clz.o)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivdi3.o) (___clz_tab)
Discarded input sections
.comment 0x0000000000000000 0x12 build-fx/src/main.o
.comment 0x0000000000000000 0x12 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(getkey.c.o)
.comment 0x0000000000000000 0x12 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)
.comment 0x0000000000000000 0x12 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(hardware.c.o)
.comment 0x0000000000000000 0x12 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(start.c.o)
.comment 0x0000000000000000 0x12 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(mmu.c.o)
.comment 0x0000000000000000 0x12 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
.comment 0x0000000000000000 0x12 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dupdate.c.o)
.comment 0x0000000000000000 0x12 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dclear.c.o)
.comment 0x0000000000000000 0x12 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
.comment 0x0000000000000000 0x12 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
.comment 0x0000000000000000 0x12 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
.comment 0x0000000000000000 0x12 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(iokbd.c.o)
.comment 0x0000000000000000 0x12 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(setup.c.o)
.comment 0x0000000000000000 0x12 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(gint.c.o)
.comment 0x0000000000000000 0x12 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
.comment 0x0000000000000000 0x12 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(memory.c.o)
.debug_info 0x0000000000000000 0x737 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivdi3.o)
.debug_abbrev 0x0000000000000000 0x218 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivdi3.o)
.debug_loc 0x0000000000000000 0x6eb /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivdi3.o)
.debug_aranges
0x0000000000000000 0x20 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivdi3.o)
.debug_ranges 0x0000000000000000 0xe0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivdi3.o)
.debug_line 0x0000000000000000 0x27b /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivdi3.o)
.debug_str 0x0000000000000000 0x586 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivdi3.o)
.comment 0x0000000000000000 0x12 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivdi3.o)
.eh_frame 0x0000000000000000 0x84 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivdi3.o)
.debug_info 0x0000000000000000 0x371 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clz.o)
.debug_abbrev 0x0000000000000000 0xcf /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clz.o)
.debug_aranges
0x0000000000000000 0x18 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clz.o)
.debug_line 0x0000000000000000 0xc4 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clz.o)
.debug_str 0x0000000000000000 0x503 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clz.o)
.comment 0x0000000000000000 0x12 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.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
*default* 0x0000000000000000 0xffffffffffffffff
Linker script and memory map
LOAD build-fx/src/main.o
LOAD /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a
LOAD /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a
0x0000000000300000 _brom = 0x300000
0x00000000000020d0 _srom = ((((0x200 + SIZEOF (.text)) + SIZEOF (.rodata)) + SIZEOF (.gint.drivers)) + SIZEOF (.gint.blocks))
.pretext 0x0000000000300200 0x890
*(.pretext.entry)
.pretext.entry
0x0000000000300200 0x1cc /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(start.c.o)
0x0000000000300200 _start
*(.pretext)
.pretext 0x00000000003003cc 0xd0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(hardware.c.o)
0x00000000003003cc _hw_detect
.pretext 0x000000000030049c 0x324 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
0x000000000030053e _topti_render
0x0000000000300780 _dtext
.pretext 0x00000000003007c0 0x88 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(syscalls.S.o)
0x00000000003007c0 ___os_version
0x00000000003007cc _malloc
0x00000000003007d8 _free
0x00000000003007e4 _calloc
0x00000000003007f0 _realloc
0x00000000003007fc _BFile_Remove
0x0000000000300808 _BFile_Create
0x0000000000300814 _BFile_Open
0x0000000000300820 _BFile_Close
0x000000000030082c _BFile_Write
0x0000000000300838 _BFile_Read
.pretext 0x0000000000300848 0x110 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
0x0000000000300848 _dfont
0x0000000000300860 _charset_size
0x000000000030088c _charset_decode
0x00000000003008fa _topti_offset
*fill* 0x0000000000300958 0x8
.pretext 0x0000000000300960 0x130 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti-asm.s.o)
0x0000000000300a70 _topti_asm_text
0x0000000000300a90 _btors = .
*(.ctors .ctors.*)
0x0000000000300a90 _mtors = .
*(.dtors .dtors.*)
0x0000000000300a90 _etors = .
.text 0x0000000000300a90 0x17b0
*(.text .text.*)
.text 0x0000000000300a90 0x0 build-fx/src/main.o
.text.startup 0x0000000000300a90 0x44 build-fx/src/main.o
0x0000000000300a90 _main
.text 0x0000000000300ad4 0x1c8 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(getkey.c.o)
0x0000000000300ad4 _getkey_opt
0x0000000000300c54 _getkey
0x0000000000300c60 _getkey_repeat
.text 0x0000000000300c9c 0x2c8 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)
0x0000000000300e40 _pollevent
0x0000000000300f2c _waitevent
.text 0x0000000000300f64 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(hardware.c.o)
.text 0x0000000000300f64 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(start.c.o)
.text 0x0000000000300f64 0x1f4 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(mmu.c.o)
0x0000000000300f64 _tlb_addr
0x0000000000300f78 _tlb_data
0x0000000000300f8c _tlb_mapped_memory
0x0000000000301060 _utlb_addr
0x0000000000301070 _utlb_data
0x0000000000301080 _utlb_mapped_memory
.text 0x0000000000301158 0x56c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
0x0000000000301478 _timer_setup
0x0000000000301508 _timer_delay
0x0000000000301568 _timer_start
0x000000000030159c _timer_reload
0x00000000003015bc _timer_pause
0x00000000003015f0 _timer_stop
0x000000000030164c _timer_timeout
0x0000000000301658 _timer_address
0x0000000000301694 _timer_clear
.text 0x00000000003016c4 0x24 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dupdate.c.o)
0x00000000003016c4 _dupdate
0x00000000003016dc _dupdate_noint
.text 0x00000000003016e8 0x4c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dclear.c.o)
0x00000000003016e8 _dclear
.text 0x0000000000301734 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
.text 0x0000000000301734 0x1d8 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
0x00000000003017cc _t6k11_display
0x00000000003018a0 _t6k11_contrast
0x00000000003018cc _t6k11_backlight
.text 0x000000000030190c 0x150 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
0x0000000000301a50 _clock_freq
.text 0x0000000000301a5c 0x124 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(iokbd.c.o)
0x0000000000301a68 _iokbd_row
0x0000000000301b50 _iokbd_scan
.text 0x0000000000301b80 0x170 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(setup.c.o)
0x0000000000301c34 _gint_install
0x0000000000301cd8 _gint_unload
.text 0x0000000000301cf0 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(syscalls.S.o)
.text 0x0000000000301cf0 0x2c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(vbr.s.o)
0x0000000000301cf0 _gint_setvbr
.text 0x0000000000301d1c 0x78 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(gint.c.o)
0x0000000000301d1c _gint_intlevel
0x0000000000301d70 _gint_inthandler
.text 0x0000000000301d94 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.S.o)
.text 0x0000000000301d94 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(exch.S.o)
.text 0x0000000000301d94 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.s.o)
.text 0x0000000000301d94 0x9c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
0x0000000000301d94 _dsize
.text 0x0000000000301e30 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti-asm.s.o)
.text 0x0000000000301e30 0xdc /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(memory.c.o)
0x0000000000301e30 _memcpy
0x0000000000301eea __memmove
0x0000000000301eee __memcmp
0x0000000000301ef2 _memset
.text 0x0000000000301f0c 0x78 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_movmem.o)
0x0000000000301f0c ___movstr
0x0000000000301f0c ___movmem
0x0000000000301f40 ___movmemSI64
0x0000000000301f40 ___movstrSI64
0x0000000000301f44 ___movstrSI60
0x0000000000301f44 ___movmemSI60
0x0000000000301f48 ___movmemSI56
0x0000000000301f48 ___movstrSI56
0x0000000000301f4c ___movstrSI52
0x0000000000301f4c ___movmemSI52
0x0000000000301f50 ___movstrSI48
0x0000000000301f50 ___movmemSI48
0x0000000000301f54 ___movstrSI44
0x0000000000301f54 ___movmemSI44
0x0000000000301f58 ___movstrSI40
0x0000000000301f58 ___movmemSI40
0x0000000000301f5c ___movstrSI36
0x0000000000301f5c ___movmemSI36
0x0000000000301f60 ___movmemSI32
0x0000000000301f60 ___movstrSI32
0x0000000000301f64 ___movmemSI28
0x0000000000301f64 ___movstrSI28
0x0000000000301f68 ___movstrSI24
0x0000000000301f68 ___movmemSI24
0x0000000000301f6c ___movmemSI20
0x0000000000301f6c ___movstrSI20
0x0000000000301f70 ___movstrSI16
0x0000000000301f70 ___movmemSI16
0x0000000000301f74 ___movmemSI12
0x0000000000301f74 ___movstrSI12
0x0000000000301f78 ___movmemSI8
0x0000000000301f78 ___movstrSI8
0x0000000000301f7c ___movmemSI4
0x0000000000301f7c ___movstrSI4
.text 0x0000000000301f84 0x1f0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivdi3.o)
0x0000000000301f84 ___udivdi3
.text 0x0000000000302174 0x6c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivsi3.o)
0x0000000000302196 ___udivsi3
.text 0x00000000003021e0 0x60 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udiv_qrnnd_16.o)
0x00000000003021e0 ___udiv_qrnnd_16
.text 0x0000000000302240 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clz.o)
*(C P)
.gint.blocks 0x0000000000302240 0x140
*(.gint.blocks)
.gint.blocks 0x0000000000302240 0x40 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.S.o)
0x0000000000302240 _inth_entry_7305
0x0000000000302260 _inth_entry_7705
.gint.blocks 0x0000000000302280 0x20 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(exch.S.o)
0x0000000000302280 _exch_entry_7705
0x0000000000302280 _exch_entry_7305
.gint.blocks 0x00000000003022a0 0xe0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.s.o)
0x00000000003022a0 _inth_tmu
0x0000000000302320 _inth_etmu2
0x0000000000302340 _inth_etmu_help
0x0000000000302360 _inth_etmux
.gint.drivers 0x0000000000302380 0x90
0x0000000000302380 _bdrv = .
*(.gint.drivers.0)
*(.gint.drivers.1)
.gint.drivers.1
0x0000000000302380 0x24 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
0x0000000000302380 _drv_cpg
*(.gint.drivers.2)
.gint.drivers.2
0x00000000003023a4 0x24 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
0x00000000003023a4 _drv_tmu
*(.gint.drivers.3)
*(.gint.drivers.4)
.gint.drivers.4
0x00000000003023c8 0x24 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)
0x00000000003023c8 _drv_keysc
*(.gint.drivers.5)
.gint.drivers.5
0x00000000003023ec 0x24 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
0x00000000003023ec _drv_t6k11
*(.gint.drivers.6)
0x0000000000302410 _edrv = .
.rodata 0x0000000000302410 0x550
*(.rodata .rodata.*)
.rodata.str1.4
0x0000000000302410 0x15 build-fx/src/main.o
*fill* 0x0000000000302425 0x3
.rodata.str1.4
0x0000000000302428 0x6 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)
*fill* 0x000000000030242e 0x2
.rodata.str1.4
0x0000000000302430 0x4 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
.rodata.str1.4
0x0000000000302434 0x6 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
*fill* 0x000000000030243a 0x2
.rodata 0x000000000030243c 0x408 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(font5x7.png.o)
0x000000000030243c _gint_font5x7
0x0000000000302844 _gint_font5x7_end
.rodata.str1.4
0x0000000000302844 0x4 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
.rodata 0x0000000000302848 0x18 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
.rodata 0x0000000000302860 0x100 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clz.o)
0x0000000000302860 ___clz_tab
.rela.dyn 0x0000000000302960 0x0
.rela.pretext.entry
0x0000000000302960 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(start.c.o)
.rela.text 0x0000000000302960 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(start.c.o)
0x0000000008100000 . = ORIGIN (ram)
.bss 0x0000000008100000 0x430
0x0000000008100000 _rbss = .
*(.bss COMMON)
.bss 0x0000000008100000 0x0 build-fx/src/main.o
.bss 0x0000000008100000 0xc /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(getkey.c.o)
.bss 0x000000000810000c 0x24 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)
.bss 0x0000000008100030 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(hardware.c.o)
.bss 0x0000000008100030 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(start.c.o)
.bss 0x0000000008100030 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(mmu.c.o)
.bss 0x0000000008100030 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
.bss 0x0000000008100030 0x400 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dupdate.c.o)
.bss 0x0000000008100430 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dclear.c.o)
.bss 0x0000000008100430 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
.bss 0x0000000008100430 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
.bss 0x0000000008100430 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
.bss 0x0000000008100430 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(iokbd.c.o)
.bss 0x0000000008100430 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(setup.c.o)
.bss 0x0000000008100430 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(syscalls.S.o)
.bss 0x0000000008100430 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(vbr.s.o)
.bss 0x0000000008100430 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(gint.c.o)
.bss 0x0000000008100430 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.S.o)
.bss 0x0000000008100430 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(exch.S.o)
.bss 0x0000000008100430 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.s.o)
.bss 0x0000000008100430 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
.bss 0x0000000008100430 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti-asm.s.o)
.bss 0x0000000008100430 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(memory.c.o)
.bss 0x0000000008100430 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_movmem.o)
.bss 0x0000000008100430 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivdi3.o)
.bss 0x0000000008100430 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivsi3.o)
.bss 0x0000000008100430 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udiv_qrnnd_16.o)
.bss 0x0000000008100430 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clz.o)
*(B R)
0x0000000008100430 . = ALIGN (0x10)
0x0000000000000430 _sbss = SIZEOF (.bss)
.data 0x0000000008100430 0x10 load address 0x0000000000302960
0x0000000000302960 _ldata = LOADADDR (.data)
0x0000000008100430 _rdata = .
*(.data .data.*)
.data 0x0000000008100430 0x0 build-fx/src/main.o
.data 0x0000000008100430 0x8 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(getkey.c.o)
.data 0x0000000008100438 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)
.data 0x0000000008100438 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(hardware.c.o)
.data 0x0000000008100438 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(start.c.o)
.data 0x0000000008100438 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(mmu.c.o)
.data 0x0000000008100438 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
.data 0x0000000008100438 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dupdate.c.o)
.data 0x0000000008100438 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dclear.c.o)
.data 0x0000000008100438 0x8 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
0x0000000008100438 _topti_font
0x000000000810043c _gint_default_font
.data 0x0000000008100440 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
.data 0x0000000008100440 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
.data 0x0000000008100440 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(iokbd.c.o)
.data 0x0000000008100440 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(setup.c.o)
.data 0x0000000008100440 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(syscalls.S.o)
.data 0x0000000008100440 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(vbr.s.o)
.data 0x0000000008100440 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(gint.c.o)
.data 0x0000000008100440 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.S.o)
.data 0x0000000008100440 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(exch.S.o)
.data 0x0000000008100440 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.s.o)
.data 0x0000000008100440 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
.data 0x0000000008100440 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti-asm.s.o)
.data 0x0000000008100440 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(memory.c.o)
.data 0x0000000008100440 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_movmem.o)
.data 0x0000000008100440 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivdi3.o)
.data 0x0000000008100440 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivsi3.o)
.data 0x0000000008100440 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udiv_qrnnd_16.o)
.data 0x0000000008100440 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clz.o)
*(D)
0x0000000008100440 . = ALIGN (0x10)
.data.4 0x0000000008100440 0x0 load address 0x0000000000302970
*(.data.4)
0x0000000008100440 . = ALIGN (0x10)
0x0000000000000010 _sdata = (SIZEOF (.data) + SIZEOF (.data.4))
0x000000008800df00 _gint_vbr = 0x8800df00
0x000000008800f400 . = ORIGIN (rram)
.gint.data 0x000000008800f400 0x130 load address 0x0000000000302970
0x0000000000302970 _lgdata = LOADADDR (.gint.data)
0x000000008800f400 _rgdata = .
*(.gint.data .gint.data.*)
.gint.data 0x000000008800f400 0x18 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)
.gint.data 0x000000008800f418 0x70 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
.gint.data 0x000000008800f488 0x4 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dupdate.c.o)
0x000000008800f488 _vram
.gint.data 0x000000008800f48c 0x8 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
.gint.data 0x000000008800f494 0x10 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(gint.c.o)
0x000000008800f494 _SH7305_INTC
.gint.data.sh3
0x000000008800f4a4 0x24 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(gint.c.o)
0x000000008800f4a4 _SH7705_INTC
*fill* 0x000000008800f4c8 0x8
.gint.data 0x000000008800f4d0 0x60 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.S.o)
0x000000008800f530 . = ALIGN (0x10)
0x0000000000000130 _sgdata = SIZEOF (.gint.data)
.gint.bss 0x000000008800f530 0x210 load address 0x0000000000302aa0
*(.gint.bss .gint.bss.*)
.gint.bss 0x000000008800f530 0x100 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)
.gint.bss 0x000000008800f630 0x40 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(hardware.c.o)
0x000000008800f630 _gint
.gint.bss 0x000000008800f670 0x88 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
.gint.bss 0x000000008800f6f8 0x1 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
*fill* 0x000000008800f6f9 0x3
.gint.bss 0x000000008800f6fc 0x24 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
.gint.bss 0x000000008800f720 0x1c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(setup.c.o)
0x000000008800f740 . = ALIGN (0x10)
*fill* 0x000000008800f73c 0x4
0x0000000000000210 _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/src/1v1-3D.elf elf32-sh)

BIN
build-fx/src/1v1-3D.bin Executable file

Binary file not shown.

BIN
build-fx/src/1v1-3D.elf Executable file

Binary file not shown.

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

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

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

Binary file not shown.

19
project.cfg Normal file
View File

@ -0,0 +1,19 @@
#---
# fxSDK project configuration file for 1v1 3D
#---
# Project name, should be at most 8 bytes long.
NAME = 1v1 3D
# Internal name, should be '@' followed by at most 7 uppercase letters.
INTERNAL = @1V13D
# 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
# Additional compiler flags
CFLAGS = -std=c11 -Os
# Additional linker flags
LDFLAGS =

49
src/FxEngine/FxEngine.cpp Normal file
View File

@ -0,0 +1,49 @@
#include "FxEngine.h"
#include <display.h>
FE_Angle FxEngine::dh(0);
FE_Angle FxEngine::dv(0);
FE_Angle FxEngine::m_dh(0);
FE_Angle FxEngine::m_dv(0);
FE_Position FxEngine::real(0,0,0);
FE_Position FxEngine::m_virt(0,0,0);
int FxEngine::m_numChange=0;
int FxEngine::numPublicChange=0;
FE_State FxEngine::m_state=FE_PASSIVE;
void FxEngine::newFrame()
{
numPublicChange=m_numChange;
dh=m_dh;
dv=m_dv;
real=m_virt;
dupdate();
dclear(white);
}
void FxEngine::setState(FE_State state)
{
if (m_moveActive==state)
return;
if (state==true)
{
// TODO
// gint timer
m_moveActive=true;
}
else
{
// TODO
// gint kill timer
m_moveActive=false;
}
}
void FxEngine::move()
{
// todo with math functions, not implemented yet !
}

36
src/FxEngine/FxEngine.h Normal file
View File

@ -0,0 +1,36 @@
#ifndef FENG_H
#define FENG_H
#define FE_State bool
#define FE_ACTIVE true
#define FE_PASSIVE false
#include "math/pos.h"
#include "math/angle.h"
class FxEngine // regroupement des fonctions
{
public:
static void newFrame(); // reloads coords
static void setState(FE_State state);
static FE_Angle dh,dv;
static FE_Position real;
static int numPublicChange;
private:
static FE_Angle m_dh,m_dv;
static FE_Position m_virt;
static FE_State m_state;
static int m_numChange;
static void move(); // appelé à intervalles réguliers
};
#endif

View File

@ -0,0 +1,9 @@
#include "coord.h"
#include "angle.h"
void FE_Coord::calc()
{
transformed=original-real;
// rotate
}

17
src/FxEngine/math/coord.h Normal file
View File

@ -0,0 +1,17 @@
#ifndef FE_COORD_H
#define FE_COORD_H
#include "pos.h"
class FE_Coord
{
public:
FE_Pos normal;
FE_Pos transformed;
void calc();
};
#endif

38
src/FxEngine/math/pos.cpp Normal file
View File

@ -0,0 +1,38 @@
#include "pos.h"
bool operator==(FE_Pos const& a, FE_Pos const& b)
{return (a.x==b.x && a.y==b.y && a.z==b.z);}
bool operator!=(FE_Pos const& a, FE_Pos const& b)
{return !(a==b);}
FE_Pos::FE_Pos() : x(0), y(0), z(0)
{}
FE_Pos::FE_Pos(const FE_Pos& coord)
{
x=coord.x;
y=coord.y;
z=coord.z;
}
FE_Pos& FE_Pos::operator=(const FE_Pos& a)
{this->FE_Pos(a);return *this;}
FE_Pos& FE_Pos::operator+=(const FE_Pos& a)
{x+=a.x;y+=a.y;z+=a.z;return *this;}
FE_Pos& FE_Pos::operator-=(const FE_Pos& a)
{x-=a.x;y-=a.y;z-=a.z;return *this;}
FE_Pos operator+(FE_Pos const& a, FE_Pos const& b)
{
FE_Pos copie(a);
copie+=b;
return copie;
}
FE_Pos operator-(FE_Pos const& a, FE_Pos const& b)
{
FE_Pos copie(a);
copie-=b;
return copie;
}

19
src/FxEngine/math/pos.h Normal file
View File

@ -0,0 +1,19 @@
#ifndef FE_POS_H
#define FE_POS_H
class FE_Pos
{
public:
FE_Pos();
FE_Pos(const FE_Pos& coord);
FE_Pos& operator=(const FE_Pos& a);
FE_Pos& operator+=(const FE_Pos& a);
FE_Pos& operator-=(const FE_Pos& a);
int x,y,z;
};
bool operator==(FE_Pos const& a, FE_Pos const& b);
FE_Pos operator+(FE_Pos const& a, FE_Pos const& b);
FE_Pos operator-(FE_Pos const& a, FE_Pos const& b);
#endif

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
src/FxEngine/object/face.h Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,14 @@
#include "texture.h"
static unsigned char black[1]={255};
static unsigned char* textures[]={black};
static unsigned char sizes[2][]={{8,8}};
int FE_getPixelColor(int num, float x, float y)
{
if (y>1 || y<0 || x>1 || x<0) return -1;
unsigned char texture=textures[num];
int ix=x*sizes[0][num], iy=y*sizes[1][num];
return (7-x%8 >>texture[(ix/8+iy*sizes[0][num])/8])&1); // à revoir
}

View File

@ -0,0 +1,8 @@
#ifndef FE_TEXTURE_H
#define FE_TEXTURE_H
int FE_getPixelColor(int num, float x, float y);
#endif

View File

@ -0,0 +1,32 @@
#include "zbuffer.h"
int FE_ZBuffer::m_sign=1;
unsigned short* FE_ZBuffer::m_data=calloc(8192,sizeof(unsigned short));
void FE_ZBuffer::clear()
{
m_sign*=-1;
while (m_data==NULL)
{}
int* clearVal=(int*)m_data;
int indice=0;
// TODO ** ajouter le DMA pour les architectures sh4
for (indice=0; indice<4096; indice++)
clearVal[indice]=0;
}
bool FE_ZBuffer::setDist(int x, int y, int dist)
{
short ndist=(short)dist;
x%=FE_ZB_SIZE_X;
y%=FE_ZB_SIZE_Y;
const int indice=x*y;
if (m_data[indice]=0 || m_data[indice]>ndist)
{
m_data[indice]=ndist;
return true;
}
else
return false;
}

View File

@ -0,0 +1,20 @@
#ifndef FE_ZBUFFER
#define FE_ZBUFFER
// nouveuaté ! le zbuffer occupe tout l'écran, le rendu 3d offre donc de meilleures possibilités
#define FE_ZB_SIZE_X 128
#define FE_ZB_SIZE_Y 64
class FE_ZBuffer
{
public:
static void clear(); // does not really clear the zbuffer, but changes encoding sign for the next frame ** on 1st frame, allocates data
static bool setDist(int x, int y, int dist); // if you are allowed to draw the pixel on vram
private:
static unsigned short* m_data;
static int m_sign;
}
#endif

8
src/credits.h Normal file
View File

@ -0,0 +1,8 @@
#ifndef CREDITS_H
#define CREDITS_H
#define AUTHOR "Milang"
#define NAME "1v1 3D"
#define VERSION "Alpha Build 1.00"
#endif

12
src/main.c Normal file
View File

@ -0,0 +1,12 @@
#include <gint/display.h>
#include <gint/keyboard.h>
int main(void)
{
dclear(C_WHITE);
dtext(1, 1, "Sample fxSDK add-in.", C_BLACK, C_NONE);
dupdate();
getkey();
return 1;
}