Browse Source

Ajout des simulation en Python pour les combats et de la visionneuse d'image version Graph 90+E

master
Shadow 10 months ago
parent
commit
920e96839e
19 changed files with 1003 additions and 0 deletions
  1. +37
    -0
      Simulations/combats.py
  2. BIN
      ViewImg_cg/ViewImg.g3a
  3. BIN
      ViewImg_cg/assets-cg/icon-cg-sel.png
  4. BIN
      ViewImg_cg/assets-cg/icon-cg-uns.png
  5. BIN
      ViewImg_cg/assets-cg/img/image.png
  6. BIN
      ViewImg_cg/assets-fx/icon-fx.png
  7. +601
    -0
      ViewImg_cg/build-cg/map
  8. +1
    -0
      ViewImg_cg/build-cg/src/main.c.d
  9. +45
    -0
      ViewImg_cg/src/main.c
  10. +134
    -0
      ViewImg_fx/Makefile
  11. BIN
      ViewImg_fx/ViewImg.g1a
  12. BIN
      ViewImg_fx/assets-cg/icon-cg-sel.png
  13. BIN
      ViewImg_fx/assets-cg/icon-cg-uns.png
  14. BIN
      ViewImg_fx/assets-fx/fonts/odyssee.png
  15. BIN
      ViewImg_fx/assets-fx/icon-fx.png
  16. BIN
      ViewImg_fx/assets-fx/img/images.png
  17. BIN
      ViewImg_fx/assets-fx/img/reglage.png
  18. +22
    -0
      ViewImg_fx/project.cfg
  19. +163
    -0
      ViewImg_fx/src/main.c

+ 37
- 0
Simulations/combats.py View File

@ -0,0 +1,37 @@
# ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
# Simulation des combats - Projet Odyssée (Version 1.1)
# Par Sha-Chan
#
# Code soumis à la licence : (CC-BY 4.0)
# ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
# Dans les résultat, une moyenne positive indique que le joueur a le dessus.
# Cette supériorité du joueur est d'antant plus forte que le nombre est grand.
# À l'inverse, une moyenne négative indique que sur le long terme l'adversaire à le dessus.
#
# Une moyenne proche de zéro indique donc un combat équitable.
from random import randint
def de(pv):
nb = 2 + pv // 7
return randint(nb, 6*nb)
def combat(joueur, adv):
delta = (joueur[1] + de(joueur[0])) - (adv[1] + de(adv[0]))
return (-1, 1, 0)[(delta >= 0) + (delta == 0)]
def analyse(liste):
nb = len(liste)
nb_s = liste.count(1)
nb_e = liste.count(0)
nb_d = liste.count(-1)
return "=== Résultat ===\nMoyenne : {0}\n\n--- Succès ---\nNb de succès : {1}\nRatio de succès : {2}\n\n--- Défaites ---\nNb de défaites : {3}\nRatio de défaites : {4}\n\n--- Égalités ---\nNb d'égalités : {5}\nRatio d'égalités : {6}".format(sum(liste)/nb, nb_s, nb_s/nb, nb_d, nb_d/nb, nb_e, nb_e/nb)
def simulation(nb, J_vie, J_force, A_vie, A_force):
rslt_combat = [combat((J_vie, J_force), (A_vie, A_force)) for i in range(nb)]
print(analyse(rslt_combat))
print("––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––\nSimulation des combats - Projet Odyssée (Version 1.1)\nPar Sha-Chan\n\nCode soumis à la licence : (CC-BY 4.0)\n––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––")

BIN
ViewImg_cg/ViewImg.g3a View File


BIN
ViewImg_cg/assets-cg/icon-cg-sel.png View File

Before After
Width: 92  |  Height: 64  |  Size: 24 KiB

BIN
ViewImg_cg/assets-cg/icon-cg-uns.png View File

Before After
Width: 92  |  Height: 64  |  Size: 22 KiB

BIN
ViewImg_cg/assets-cg/img/image.png View File

Before After
Width: 384  |  Height: 433  |  Size: 409 KiB

BIN
ViewImg_cg/assets-fx/icon-fx.png View File

Before After
Width: 30  |  Height: 19  |  Size: 7.3 KiB

+ 601
- 0
ViewImg_cg/build-cg/map View File

@ -0,0 +1,601 @@
Archive member included to satisfy reference by file (symbol)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(start.c.o)
(_start)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(mmu.c.o)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(start.c.o) (_utlb_mapped_memory)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(dimage.c.o)
build-cg/src/main.c.o (_dsubimage)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(topti.c.o)
build-cg/src/main.c.o (_dtext)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(dvram.c.o)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(topti.c.o) (_gint_vram)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(dupdate.c.o)
build-cg/src/main.c.o (_dupdate)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(dclear.c.o)
build-cg/src/main.c.o (_dclear)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(drect.c.o)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(topti.c.o) (_drect)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(bopti.c.o)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(dimage.c.o) (_bopti_render_clip)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(topti-asm.s.o)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(topti.c.o) (_topti_glyph_fg_bg)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(getkey.c.o)
build-cg/src/main.c.o (_getkey)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(topti.c.o)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(topti.c.o) (_charset_size)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(stdio.c.o)
build-cg/src/main.c.o (_sprintf)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(string.c.o)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(topti.c.o) (_strlen)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(memset.c.o)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(dclear.c.o) (_dma_memset)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(font8x9.png.o)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(topti.c.o) (_gint_font8x9)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(r61524.c.o)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(dupdate.c.o) (_r61524_display)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(exch.c.o)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(start.c.o) (_gint_panic)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(hardware.c.o)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(start.c.o) (_hw_detect)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(setup.c.o)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(start.c.o) (_gint_install)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(vbr.s.o)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(setup.c.o) (_gint_setvbr)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(exch.s.o)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(setup.c.o) (_gint_exch_tlbh)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(inth.S.o)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(setup.c.o) (_gint_inth_7305)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(bopti-asm.s.o)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(bopti.c.o) (_bopti_r5g6b5)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(keysc.c.o)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(getkey.c.o) (_pollevent)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(dprint.c.o)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(exch.c.o) (_dprint)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(memory.c.o)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(stdio.c.o) (_memcpy)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(tmu.c.o)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(keysc.c.o) (_timer_setup)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(inth.s.o)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(tmu.c.o) (_inth_tmu)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(dma.c.o)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(memset.c.o) (_dma_transfer)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(inth.s.o)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(dma.c.o) (_inth_dma_te)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(gint.c.o)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(tmu.c.o) (_gint_intlevel)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(cpg.c.o)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(tmu.c.o) (_clock_freq)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_movmem.o)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(topti.c.o) (___movmemSI24)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_udivdi3.o)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(stdio.c.o) (___udivdi3)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_umoddi3.o)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(stdio.c.o) (___umoddi3)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_udivsi3.o)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_udivdi3.o) (___udivsi3)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_udiv_qrnnd_16.o)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_udivdi3.o) (___udiv_qrnnd_16)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_clz.o)
/Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_udivdi3.o) (___clz_tab)
Discarded input sections
.comment 0x0000000000000000 0x12 build-cg/src/main.c.o
.comment 0x0000000000000000 0x12 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(start.c.o)
.comment 0x0000000000000000 0x12 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(mmu.c.o)
.comment 0x0000000000000000 0x12 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(dimage.c.o)
.comment 0x0000000000000000 0x12 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(topti.c.o)
.comment 0x0000000000000000 0x12 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(dvram.c.o)
.comment 0x0000000000000000 0x12 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(dupdate.c.o)
.comment 0x0000000000000000 0x12 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(dclear.c.o)
.comment 0x0000000000000000 0x12 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(drect.c.o)
.comment 0x0000000000000000 0x12 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(bopti.c.o)
.comment 0x0000000000000000 0x12 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(getkey.c.o)
.comment 0x0000000000000000 0x12 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(topti.c.o)
.comment 0x0000000000000000 0x12 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(stdio.c.o)
.comment 0x0000000000000000 0x12 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(string.c.o)
.comment 0x0000000000000000 0x12 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(memset.c.o)
.comment 0x0000000000000000 0x12 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(r61524.c.o)
.comment 0x0000000000000000 0x12 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(exch.c.o)
.comment 0x0000000000000000 0x12 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(hardware.c.o)
.comment 0x0000000000000000 0x12 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(setup.c.o)
.comment 0x0000000000000000 0x12 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(keysc.c.o)
.comment 0x0000000000000000 0x12 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(dprint.c.o)
.comment 0x0000000000000000 0x12 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(memory.c.o)
.comment 0x0000000000000000 0x12 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(tmu.c.o)
.comment 0x0000000000000000 0x12 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(dma.c.o)
.comment 0x0000000000000000 0x12 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(gint.c.o)
.comment 0x0000000000000000 0x12 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(cpg.c.o)
.debug_info 0x0000000000000000 0x733 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_udivdi3.o)
.debug_abbrev 0x0000000000000000 0x218 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_udivdi3.o)
.debug_loc 0x0000000000000000 0x6e0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_udivdi3.o)
.debug_aranges
0x0000000000000000 0x20 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_udivdi3.o)
.debug_ranges 0x0000000000000000 0xd8 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_udivdi3.o)
.debug_line 0x0000000000000000 0x2d7 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_udivdi3.o)
.debug_str 0x0000000000000000 0x5b6 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_udivdi3.o)
.comment 0x0000000000000000 0x12 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_udivdi3.o)
.eh_frame 0x0000000000000000 0x84 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_udivdi3.o)
.debug_info 0x0000000000000000 0x73e /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_umoddi3.o)
.debug_abbrev 0x0000000000000000 0x21e /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_umoddi3.o)
.debug_loc 0x0000000000000000 0x6c8 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_umoddi3.o)
.debug_aranges
0x0000000000000000 0x20 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_umoddi3.o)
.debug_ranges 0x0000000000000000 0x110 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_umoddi3.o)
.debug_line 0x0000000000000000 0x330 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_umoddi3.o)
.debug_str 0x0000000000000000 0x5b6 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_umoddi3.o)
.comment 0x0000000000000000 0x12 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_umoddi3.o)
.eh_frame 0x0000000000000000 0xb0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_umoddi3.o)
.debug_info 0x0000000000000000 0x371 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_clz.o)
.debug_abbrev 0x0000000000000000 0xcf /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_clz.o)
.debug_aranges
0x0000000000000000 0x18 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_clz.o)
.debug_line 0x0000000000000000 0x133 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_clz.o)
.debug_str 0x0000000000000000 0x533 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_clz.o)
.comment 0x0000000000000000 0x12 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_clz.o)
Memory Configuration
Name Origin Length Attributes
rom 0x0000000000300000 0x0000000000037000 xr
ram 0x0000000008102000 0x000000000007e000 rw
vbr 0x000000008c160000 0x0000000000001400 xrw
rram 0x000000008c161400 0x0000000000000c00 xrw
ilram 0x00000000e5200000 0x0000000000001000 xrw
xram 0x00000000e5007000 0x0000000000002000 xrw
yram 0x00000000e5017000 0x0000000000002000 xrw
*default* 0x0000000000000000 0xffffffffffffffff
Linker script and memory map
LOAD build-cg/src/main.c.o
LOAD build-cg/assets/img/image.png.o
LOAD /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a
LOAD /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a
LOAD /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a
0x0000000000300000 _brom = 0x300000
0x000000000002cea0 _srom = (((SIZEOF (.text) + SIZEOF (.rodata)) + SIZEOF (.gint.drivers)) + SIZEOF (.gint.blocks))
.text 0x0000000000300000 0x3838
*(.pretext.entry)
.pretext.entry
0x0000000000300000 0x1a4 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(start.c.o)
0x0000000000300000 _start
*(.pretext)
.pretext 0x00000000003001a4 0x30 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(start.c.o)
.pretext 0x00000000003001d4 0x238 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(topti.c.o)
0x00000000003001d4 _topti_render
0x00000000003003c8 _dtext
*fill* 0x000000000030040c 0x4
.pretext 0x0000000000300410 0xc4 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(topti-asm.s.o)
0x0000000000300410 _topti_glyph_fg_bg
0x000000000030044e _topti_glyph_fg
0x0000000000300488 _topti_glyph_bg
.pretext 0x00000000003004d4 0x110 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(topti.c.o)
0x00000000003004d4 _dfont
0x00000000003004ec _charset_size
0x0000000000300518 _charset_decode
0x0000000000300586 _topti_offset
.pretext 0x00000000003005e4 0x40 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(hardware.c.o)
0x00000000003005e4 _hw_detect
0x0000000000300624 _btors = .
*(.ctors .ctors.*)
0x0000000000300624 _mtors = .
*(.dtors .dtors.*)
0x0000000000300624 _etors = .
0x0000000000300624 _gint_exch_tlbh_start = .
*(.gint.exch_tlbh)
*fill* 0x0000000000300624 0xc
.gint.exch_tlbh
0x0000000000300630 0x4c /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(exch.s.o)
0x0000000000300630 _gint_exch_tlbh
0x0000000000000058 _gint_exch_tlbh_size = ABSOLUTE ((. - _gint_exch_tlbh_start))
*(.text .text.*)
.text 0x000000000030067c 0x0 build-cg/src/main.c.o
.text.startup 0x000000000030067c 0xd4 build-cg/src/main.c.o
0x000000000030067c _main
.text 0x0000000000300750 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(start.c.o)
.text 0x0000000000300750 0xf8 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(mmu.c.o)
0x0000000000300750 _utlb_addr
0x0000000000300760 _utlb_data
0x0000000000300770 _utlb_mapped_memory
.text 0x0000000000300848 0x40 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(dimage.c.o)
0x0000000000300848 _dimage
0x0000000000300870 _dsubimage
.text 0x0000000000300888 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(topti.c.o)
.text 0x0000000000300888 0x4c /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(dvram.c.o)
0x0000000000300888 _dvram
0x00000000003008b4 _dvram_switch
.text 0x00000000003008d4 0x3c /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(dupdate.c.o)
0x00000000003008d4 _dupdate
0x00000000003008f8 _dupdate_noint
.text 0x0000000000300910 0x20 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(dclear.c.o)
0x0000000000300910 _dclear
.text 0x0000000000300930 0xc4 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(drect.c.o)
0x0000000000300930 _drect
.text 0x00000000003009f4 0x1e8 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(bopti.c.o)
0x00000000003009f4 _bopti_render
0x0000000000300ae8 _bopti_render_clip
0x0000000000300bb0 _bopti_render_noclip
.text 0x0000000000300bdc 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(topti-asm.s.o)
.text 0x0000000000300bdc 0x224 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(getkey.c.o)
0x0000000000300bdc _getkey_opt
0x0000000000300db8 _getkey
0x0000000000300dc4 _getkey_repeat
.text 0x0000000000300e00 0x9c /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(topti.c.o)
0x0000000000300e00 _dsize
.text 0x0000000000300e9c 0xcd4 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(stdio.c.o)
0x000000000030189c _kprint_opt
0x00000000003019d4 _kprint
0x0000000000301aac _kvsprint
0x0000000000301af0 _sprintf
0x0000000000301b18 _vsprintf
0x0000000000301b38 _snprintf
0x0000000000301b58 _vsnprintf
.text 0x0000000000301b70 0x78 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(string.c.o)
0x0000000000301b70 _strlen
0x0000000000301b80 _strncpy
0x0000000000301b96 _strcat
0x0000000000301bd8 _strcmp
.text 0x0000000000301be8 0x4c /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(memset.c.o)
0x0000000000301be8 _dma_memset
.text 0x0000000000301c34 0x2d4 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(r61524.c.o)
0x0000000000301c84 _r61524_win_get
0x0000000000301d3c _r61524_win_set
0x0000000000301dfc _r61524_display
.text 0x0000000000301f08 0x2e4 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(exch.c.o)
0x00000000003021b0 _gint_panic
0x00000000003021c0 _gint_panic_set
0x00000000003021d4 _gint_exc_catch
0x00000000003021e0 _gint_exc_skip
.text 0x00000000003021ec 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(hardware.c.o)
.text 0x00000000003021ec 0x104 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(setup.c.o)
0x0000000000302258 _gint_install
0x00000000003022d8 _gint_unload
.text 0x00000000003022f0 0x2c /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(vbr.s.o)
0x00000000003022f0 _gint_setvbr
.text 0x000000000030231c 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(exch.s.o)
.text 0x000000000030231c 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(inth.S.o)
*fill* 0x000000000030231c 0x4
.text 0x0000000000302320 0x100 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(bopti-asm.s.o)
0x0000000000302320 _bopti_r5g6b5
0x0000000000302370 _bopti_r5g6b5a
0x00000000003023a0 _bopti_p8
0x00000000003023d0 _bopti_p4
.text 0x0000000000302420 0x39c /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(keysc.c.o)
0x0000000000302584 _pollevent
0x00000000003026b4 _waitevent
0x0000000000302700 _clearevents
0x0000000000302720 _keydown
0x0000000000302744 _keydown_all
0x0000000000302780 _keydown_any
.text 0x00000000003027bc 0x58 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(dprint.c.o)
0x00000000003027bc _dprint
.text 0x0000000000302814 0xd6 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(memory.c.o)
0x0000000000302814 _memcpy
0x00000000003028c8 __memmove
0x00000000003028cc __memcmp
0x00000000003028d0 _memset
*fill* 0x00000000003028ea 0x2
.text 0x00000000003028ec 0x4d0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(tmu.c.o)
0x0000000000302b74 _timer_setup
0x0000000000302c08 _timer_delay
0x0000000000302c68 _timer_start
0x0000000000302c9c _timer_reload
0x0000000000302cbc _timer_pause
0x0000000000302cf0 _timer_stop
0x0000000000302d4c _timer_timeout
0x0000000000302d58 _timer_address
0x0000000000302d8c _timer_clear
.text 0x0000000000302dbc 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(inth.s.o)
.text 0x0000000000302dbc 0x3f8 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(dma.c.o)
0x0000000000303090 _dma_transfer
0x00000000003030d0 _dma_transfer_wait
0x0000000000303148 _dma_transfer_noint
.text 0x00000000003031b4 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(inth.s.o)
.text 0x00000000003031b4 0x5c /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(gint.c.o)
0x00000000003031b4 _gint_intlevel
0x00000000003031ec _gint_inthandler
.text 0x0000000000303210 0xc8 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(cpg.c.o)
0x00000000003032cc _clock_freq
.text 0x00000000003032d8 0x78 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_movmem.o)
0x00000000003032d8 ___movmem
0x00000000003032d8 ___movstr
0x000000000030330c ___movmemSI64
0x000000000030330c ___movstrSI64
0x0000000000303310 ___movmemSI60
0x0000000000303310 ___movstrSI60
0x0000000000303314 ___movstrSI56
0x0000000000303314 ___movmemSI56
0x0000000000303318 ___movmemSI52
0x0000000000303318 ___movstrSI52
0x000000000030331c ___movstrSI48
0x000000000030331c ___movmemSI48
0x0000000000303320 ___movmemSI44
0x0000000000303320 ___movstrSI44
0x0000000000303324 ___movstrSI40
0x0000000000303324 ___movmemSI40
0x0000000000303328 ___movstrSI36
0x0000000000303328 ___movmemSI36
0x000000000030332c ___movstrSI32
0x000000000030332c ___movmemSI32
0x0000000000303330 ___movmemSI28
0x0000000000303330 ___movstrSI28
0x0000000000303334 ___movmemSI24
0x0000000000303334 ___movstrSI24
0x0000000000303338 ___movmemSI20
0x0000000000303338 ___movstrSI20
0x000000000030333c ___movstrSI16
0x000000000030333c ___movmemSI16
0x0000000000303340 ___movmemSI12
0x0000000000303340 ___movstrSI12
0x0000000000303344 ___movstrSI8
0x0000000000303344 ___movmemSI8
0x0000000000303348 ___movstrSI4
0x0000000000303348 ___movmemSI4
.text 0x0000000000303350 0x1ec /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_udivdi3.o)
0x0000000000303350 ___udivdi3
.text 0x000000000030353c 0x22c /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_umoddi3.o)
0x000000000030353c ___umoddi3
.text 0x0000000000303768 0x6c /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_udivsi3.o)
0x000000000030378a ___udivsi3
*fill* 0x00000000003037d4 0x4
.text 0x00000000003037d8 0x60 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_udiv_qrnnd_16.o)
0x00000000003037d8 ___udiv_qrnnd_16
.text 0x0000000000303838 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_clz.o)
.gint.blocks 0x0000000000303840 0x140
*(.gint.blocks)
.gint.blocks 0x0000000000303840 0x20 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(inth.S.o)
0x0000000000303840 _gint_inth_7305
.gint.blocks 0x0000000000303860 0xe0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(inth.s.o)
0x0000000000303860 _inth_tmu
0x00000000003038e0 _inth_etmu2
0x0000000000303900 _inth_etmu_help
0x0000000000303920 _inth_etmux
.gint.blocks 0x0000000000303940 0x40 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(inth.s.o)
0x0000000000303940 _inth_dma_te
0x0000000000303960 _inth_dma_ae
.gint.drivers 0x0000000000303980 0xc8
0x0000000000303980 _bdrv = .
*(.gint.drivers.0)
*(.gint.drivers.1)
.gint.drivers.1
0x0000000000303980 0x28 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(cpg.c.o)
0x0000000000303980 _drv_cpg
*(.gint.drivers.2)
.gint.drivers.2
0x00000000003039a8 0x28 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(tmu.c.o)
0x00000000003039a8 _drv_tmu
.gint.drivers.2
0x00000000003039d0 0x28 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(dma.c.o)
0x00000000003039d0 _drv_dma0
*(.gint.drivers.3)
*(.gint.drivers.4)
.gint.drivers.4
0x00000000003039f8 0x28 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(keysc.c.o)
0x00000000003039f8 _drv_keysc
*(.gint.drivers.5)
.gint.drivers.5
0x0000000000303a20 0x28 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(r61524.c.o)
0x0000000000303a20 _drv_r61524
*(.gint.drivers.6)
0x0000000000303a48 _edrv = .
.rodata 0x0000000000303a48 0x29460
*(.rodata.4)
*(.rodata .rodata.*)
.rodata.str1.4
0x0000000000303a48 0x15 build-cg/src/main.c.o
*fill* 0x0000000000303a5d 0x3
.rodata 0x0000000000303a60 0x28b88 build-cg/assets/img/image.png.o
0x0000000000303a60 _img_image
0x000000000032c5e8 _img_image_end
.rodata 0x000000000032c5e8 0x18 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(topti.c.o)
.rodata.str1.4
0x000000000032c600 0x31 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(stdio.c.o)
*fill* 0x000000000032c631 0x3
.rodata 0x000000000032c634 0x49c /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(font8x9.png.o)
0x000000000032c634 _gint_font8x9
0x000000000032cad0 _gint_font8x9_end
.rodata.str1.4
0x000000000032cad0 0x7 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(r61524.c.o)
*fill* 0x000000000032cad7 0x1
.rodata.str1.4
0x000000000032cad8 0x288 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(exch.c.o)
0x28c (size before relaxing)
.rodata.str1.4
0x000000000032cd60 0x6 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(keysc.c.o)
*fill* 0x000000000032cd66 0x2
.rodata.str1.4
0x000000000032cd68 0x4 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(tmu.c.o)
.rodata 0x000000000032cd6c 0x30 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(dma.c.o)
.rodata.str1.4
0x000000000032cd9c 0x5 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(dma.c.o)
*fill* 0x000000000032cda1 0x3
.rodata.str1.4
0x000000000032cda4 0x4 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(cpg.c.o)
.rodata 0x000000000032cda8 0x100 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_clz.o)
0x000000000032cda8 ___clz_tab
.rela.dyn 0x000000000032cea8 0x0
.rela.text.startup
0x000000000032cea8 0x0 build-cg/src/main.c.o
.rela.pretext.entry
0x000000000032cea8 0x0 build-cg/src/main.c.o
.rela.pretext 0x000000000032cea8 0x0 build-cg/src/main.c.o
.rela.text 0x000000000032cea8 0x0 build-cg/src/main.c.o
0x0000000008102000 . = ORIGIN (ram)
.bss 0x0000000008102000 0x150
0x0000000008102000 _rbss = .
*(.bss COMMON)
.bss 0x0000000008102000 0x0 build-cg/src/main.c.o
.bss 0x0000000008102000 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(start.c.o)
.bss 0x0000000008102000 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(mmu.c.o)
.bss 0x0000000008102000 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(dimage.c.o)
.bss 0x0000000008102000 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(topti.c.o)
.bss 0x0000000008102000 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(dvram.c.o)
.bss 0x0000000008102000 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(dupdate.c.o)
.bss 0x0000000008102000 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(dclear.c.o)
.bss 0x0000000008102000 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(drect.c.o)
.bss 0x0000000008102000 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(bopti.c.o)
.bss 0x0000000008102000 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(topti-asm.s.o)
.bss 0x0000000008102000 0xc /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(getkey.c.o)
.bss 0x000000000810200c 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(topti.c.o)
.bss 0x000000000810200c 0x114 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(stdio.c.o)
.bss 0x0000000008102120 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(string.c.o)
.bss 0x0000000008102120 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(memset.c.o)
.bss 0x0000000008102120 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(r61524.c.o)
.bss 0x0000000008102120 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(exch.c.o)
.bss 0x0000000008102120 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(hardware.c.o)
.bss 0x0000000008102120 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(setup.c.o)
.bss 0x0000000008102120 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(vbr.s.o)
.bss 0x0000000008102120 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(exch.s.o)
.bss 0x0000000008102120 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(inth.S.o)
.bss 0x0000000008102120 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(bopti-asm.s.o)
.bss 0x0000000008102120 0x24 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(keysc.c.o)
.bss 0x0000000008102144 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(dprint.c.o)
.bss 0x0000000008102144 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(memory.c.o)
.bss 0x0000000008102144 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(tmu.c.o)
.bss 0x0000000008102144 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(inth.s.o)
.bss 0x0000000008102144 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(dma.c.o)
.bss 0x0000000008102144 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(inth.s.o)
.bss 0x0000000008102144 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(gint.c.o)
.bss 0x0000000008102144 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(cpg.c.o)
.bss 0x0000000008102144 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_movmem.o)
.bss 0x0000000008102144 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_udivdi3.o)
.bss 0x0000000008102144 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_umoddi3.o)
.bss 0x0000000008102144 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_udivsi3.o)
.bss 0x0000000008102144 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_udiv_qrnnd_16.o)
.bss 0x0000000008102144 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_clz.o)
0x0000000008102150 . = ALIGN (0x10)
*fill* 0x0000000008102144 0xc
0x0000000000000150 _sbss = SIZEOF (.bss)
.data 0x0000000008102150 0x90 load address 0x000000000032cea8
0x000000000032cea8 _ldata = LOADADDR (.data)
0x0000000008102150 _rdata = .
*(.data .data.*)
.data 0x0000000008102150 0x0 build-cg/src/main.c.o
.data 0x0000000008102150 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(start.c.o)
.data 0x0000000008102150 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(mmu.c.o)
.data 0x0000000008102150 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(dimage.c.o)
.data 0x0000000008102150 0x8 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(topti.c.o)
0x0000000008102150 _topti_font
0x0000000008102154 _gint_default_font
.data 0x0000000008102158 0xc /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(dvram.c.o)
0x0000000008102158 _gint_vram
.data 0x0000000008102164 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(dupdate.c.o)
.data 0x0000000008102164 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(dclear.c.o)
.data 0x0000000008102164 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(drect.c.o)
.data 0x0000000008102164 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(bopti.c.o)
.data 0x0000000008102164 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(topti-asm.s.o)
.data 0x0000000008102164 0x8 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(getkey.c.o)
.data 0x000000000810216c 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(topti.c.o)
.data 0x000000000810216c 0x68 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(stdio.c.o)
0x000000000810216c _kprint_formatters
.data 0x00000000081021d4 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(string.c.o)
.data 0x00000000081021d4 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(memset.c.o)
.data 0x00000000081021d4 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(r61524.c.o)
.data 0x00000000081021d4 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(exch.c.o)
.data 0x00000000081021d4 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(hardware.c.o)
.data 0x00000000081021d4 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(setup.c.o)
.data 0x00000000081021d4 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(vbr.s.o)
.data 0x00000000081021d4 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(exch.s.o)
.data 0x00000000081021d4 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(inth.S.o)
.data 0x00000000081021d4 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(bopti-asm.s.o)
.data 0x00000000081021d4 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(keysc.c.o)
.data 0x00000000081021d4 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(dprint.c.o)
.data 0x00000000081021d4 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(memory.c.o)
.data 0x00000000081021d4 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(tmu.c.o)
.data 0x00000000081021d4 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(inth.s.o)
.data 0x00000000081021d4 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(dma.c.o)
.data 0x00000000081021d4 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(inth.s.o)
.data 0x00000000081021d4 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(gint.c.o)
.data 0x00000000081021d4 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(cpg.c.o)
.data 0x00000000081021d4 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_movmem.o)
.data 0x00000000081021d4 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_udivdi3.o)
.data 0x00000000081021d4 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_umoddi3.o)
.data 0x00000000081021d4 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_udivsi3.o)
.data 0x00000000081021d4 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_udiv_qrnnd_16.o)
.data 0x00000000081021d4 0x0 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgcc.a(_clz.o)
0x00000000081021e0 . = ALIGN (0x10)
*fill* 0x00000000081021d4 0xc
.data.4 0x00000000081021e0 0x0 load address 0x000000000032cf38
*(.data.4)
0x00000000081021e0 . = ALIGN (0x10)
0x0000000000000090 _sdata = (SIZEOF (.data) + SIZEOF (.data.4))
0x00000000e5200000 . = ORIGIN (ilram)
.ilram 0x00000000e5200000 0x20 load address 0x000000000032cf38
0x000000000032cf38 _lilram = LOADADDR (.ilram)
0x00000000e5200000 _rilram = .
*(.ilram)
.ilram 0x00000000e5200000 0x20 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(memset.c.o)
0x00000000e5200020 . = ALIGN (0x10)
0x00000000e5007000 . = ORIGIN (xram)
.xram 0x00000000e5007000 0x0 load address 0x000000000032cf58
0x000000000032cf58 _lxram = LOADADDR (.xram)
0x00000000e5007000 _rxram = .
*(.xram)
0x00000000e5007000 . = ALIGN (0x10)
0x00000000e5017000 . = ORIGIN (yram)
.yram 0x00000000e5017000 0x0 load address 0x000000000032cf58
0x000000000032cf58 _lyram = LOADADDR (.yram)
0x00000000e5017000 _ryram = .
*(.yram)
0x00000000e5017000 . = ALIGN (0x10)
0x0000000000000020 _silram = SIZEOF (.ilram)
0x0000000000000000 _sxram = SIZEOF (.xram)
0x0000000000000000 _syram = SIZEOF (.yram)
0x000000008c15ff00 _gint_vbr = (ORIGIN (vbr) - 0x100)
0x000000008c161400 . = ORIGIN (rram)
.gint.data 0x000000008c161400 0xe0 load address 0x000000000032cf58
0x000000000032cf58 _lgdata = LOADADDR (.gint.data)
0x000000008c161400 _rgdata = .
*(.gint.data .gint.data.*)
.gint.data 0x000000008c161400 0x8 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(r61524.c.o)
.gint.data 0x000000008c161408 0x8 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(exch.c.o)
0x000000008c161408 _gint_exc_catcher
0x000000008c16140c _gint_exc_panic
.gint.data 0x000000008c161410 0x24 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(keysc.c.o)
.gint.data 0x000000008c161434 0x70 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(tmu.c.o)
.gint.data 0x000000008c1614a4 0x10 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(gint.c.o)
0x000000008c1614a4 _SH7305_INTC
.gint.data.sh3
0x000000008c1614b4 0x24 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(gint.c.o)
0x000000008c1614b4 _SH7705_INTC
0x000000008c1614e0 . = ALIGN (0x10)
*fill* 0x000000008c1614d8 0x8
0x00000000000000e0 _sgdata = SIZEOF (.gint.data)
.gint.bss 0x000000008c1614e0 0x300 load address 0x000000000032d038
*(.gint.bss .gint.bss.*)
.gint.bss 0x000000008c1614e0 0x8 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(r61524.c.o)
.gint.bss 0x000000008c1614e8 0x40 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(hardware.c.o)
0x000000008c1614e8 _gint
.gint.bss 0x000000008c161528 0x1c /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(setup.c.o)
.gint.bss 0x000000008c161544 0x180 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(keysc.c.o)
.gint.bss 0x000000008c1616c4 0x88 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(tmu.c.o)
.gint.bss 0x000000008c16174c 0x68 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(dma.c.o)
.gint.bss 0x000000008c1617b4 0x24 /Users/antoine/gcc/sh3eb-elf-2.32-8.3.0/lib/gcc/sh3eb-elf/8.3.0/libgint-cg.a(cpg.c.o)
0x000000008c1617e0 . = ALIGN (0x10)
*fill* 0x000000008c1617d8 0x8
0x0000000000000300 _sgbss = SIZEOF (.gint.bss)
/DISCARD/
*(.gint.bss.sh3)
*(.gint.data.sh3)
*(.debug_info .debug_abbrev .debug_loc .debug_aranges .debug_ranges .debug_line .debug_str)
*(.jcr)
*(.eh_frame_hdr)
*(.eh_frame)
*(.comment)
OUTPUT(build-cg/ViewImg.elf elf32-sh)

+ 1
- 0
ViewImg_cg/build-cg/src/main.c.d View File

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

+ 45
- 0
ViewImg_cg/src/main.c View File

@ -0,0 +1,45 @@
#include <gint/display.h>
#include <gint/keyboard.h>
#include <gint/std/stdio.h>
#define NB_IMG 2
int main(void)
{
extern image_t img_image;
int fin = 0, img = 1, key = 0, texte = 0;
char str[19];
while (fin == 0)
{
sprintf(str, "%d/%d ViewImg v. 1.0", img, NB_IMG);
dclear(C_WHITE);
dsubimage(0, 0, &img_image, 0, (216 * (img - 1) + (img - 1)), 384, 216, 0);
if (texte) dtext(0, 0, str, C_BLACK, C_WHITE);
dupdate();
key = getkey().key;
switch(key)
{
case KEY_LEFT:
if (img > 1) img -= 1;
break;
case KEY_RIGHT:
if (img < NB_IMG) img += 1;
break;
case KEY_OPTN:
texte = (texte + 1) % 2;
break;
case KEY_EXIT:
fin = 1;
break;
}
}
return 1;
}

+ 134
- 0
ViewImg_fx/Makefile View File

@ -0,0 +1,134 @@
#! /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 $@ --fx name:img_$(basename $*)
build-cg/assets/img/%.o: assets-cg/img/%
@ mkdir -p $(dir $@)
fxconv -i $< -o $@ --cg 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
ViewImg_fx/ViewImg.g1a View File


BIN
ViewImg_fx/assets-cg/icon-cg-sel.png View File

Before After
Width: 92  |  Height: 64  |  Size: 8.2 KiB

BIN
ViewImg_fx/assets-cg/icon-cg-uns.png View File

Before After
Width: 92  |  Height: 64  |  Size: 4.5 KiB

BIN
ViewImg_fx/assets-fx/fonts/odyssee.png View File

Before After
Width: 112  |  Height: 42  |  Size: 2.5 KiB

BIN
ViewImg_fx/assets-fx/icon-fx.png View File

Before After
Width: 30  |  Height: 19  |  Size: 1.3 KiB

BIN
ViewImg_fx/assets-fx/img/images.png View File

Before After
Width: 128  |  Height: 519  |  Size: 19 KiB

BIN
ViewImg_fx/assets-fx/img/reglage.png View File

Before After
Width: 128  |  Height: 64  |  Size: 2.5 KiB

+ 22
- 0
ViewImg_fx/project.cfg View File

@ -0,0 +1,22 @@
#---
# fxSDK project configuration file for ViewImg
#---
# Project name, should be at most 8 bytes long.
NAME = ViewImg
# Internal name, should be '@' followed by at most 7 uppercase letters.
INTERNAL = @VIEWIMG
# 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 =
#Font
FONT.odyssee.png = charset:print grid.size:5x5 grid.padding:1 proportionnal:true

+ 163
- 0
ViewImg_fx/src/main.c View File

@ -0,0 +1,163 @@
/*
Nom : ViewImg (visionneuse d'image)
Version : 1.1b
Dernière modification : 1 Semptembre 2019
Mode d'emploi :
Créez une image de 128 pxl par 64 * nb_img + nb_img - 1 pxl. 'nb_img' étant le nombre d'image que vous souhaitez visionner.
Renseignez ce numéro dans la variable 'nb_img'.
Une fois votre image créée, placez dedans toutes les images que vous souhaitez voir en colonne. Prenez garde à bien laiser un pixel de séparation entre les images.
Placez l'image *.png dans le dossier du projet : ViewImg/assets-fx/img/.
*/
/* ----------- */
/* - IMPORTS - */
/* ----------- */
#include <gint/display.h>
#include <gint/keyboard.h>
#include <gint/gray.h>
#include <gint/std/stdio.h>
#include <gint/std/string.h>
/* ------------- */
/* - CONSTANTES - */
/* ------------- */
#define NB_IMG 8
/* -------------- */
/* - PROTOTYPES - */
/* -------------- */
//reglage_gris : Permet de régler les teintes de gris
void reglage_gris(int * reglage);
int main(void)
{
// On importe l'image et la police custom et on change la police
extern image_t img_images;
extern font_t font_odyssee;
dfont(&font_odyssee);
/*
fin : sert à quitter
img : l'index de l'image à afficher, permet d'afficher la bonne image
key : récupère les entrées clavier
no : booleen qui sert à afficher ou non l'index de l'image en cours
light : valeur du gris clair
dark : valeur du gris foncé
NB_IMG : nombre total d'image disponibles
*/
int fin = 0, img = 1, key = 0, no = 0;
int reglage[2] = { 920, 1350 };
char str[19];
//On lance le moteur de gris, on initialise le gris et tant que l'utilisateur ne quitte pas
gray_start();
gray_delays(reglage[0], reglage[1]);
while (fin == 0)
{
//On actualise la chaine de caractère qui affiche l'index de l'image
sprintf(str, "%d/%d ViewImg v. 1.1b", img, NB_IMG);
//On nettoye l'écran et affiche l'image grâce à son index sur la VRAM
gclear(C_WHITE);
gsubimage(0, 0, &img_images, 0, (64 * (img - 1)) + (img - 1), 128, 64, 0);
//Si besoin, on affiche aussi l'index de l'image, et on actualise l'écran
if (no) gtext(0, 0, str, C_BLACK, C_WHITE);
gupdate();
//On attend une entrée de l'utilisateur et on analyse
key = getkey().key;
switch (key)
{
case KEY_LEFT:
//Si on ne regarde pas la première image on affiche l'image juste avant
if (img > 1) img -= 1;
break;
case KEY_RIGHT:
//Si on ne regarde pas la dernière image, on affiche l'image juste après
if (img < NB_IMG) img += 1;
break;
case KEY_OPTN:
//Booleen pour afficher l'index ou pas
no = (no + 1) % 2;
break;
case KEY_VARS:
reglage_gris(reglage);
break;
case KEY_EXIT:
//On quitte le programme
fin = 1;
break;
}
}
//On éteint le moteur de gris avant de sortir
gray_stop();
return 0;
}
void reglage_gris(int * reglage)
{
const int ancien_reglage[2] = {reglage[0], reglage[1]};
int ligne = 0, fin = 0;
extern image_t img_reglage;
char dark[10], light[10];
while (!fin)
{
/* On met à jour les nuances de gris
* On nettoye la VRAM et on affiche l'image
* On affiche les valeurs du gris avec les flèches de modifications après avoir modifié les chaines de caactères
* On affiche tout ça et on enregistre les inputs clavier */
gray_delays(reglage[0], reglage[1]);
gclear(C_WHITE);
gimage(0, 0, &img_reglage);
if (ligne == 0)
{
sprintf(dark, "< %d >", reglage[1]);
sprintf(light, " %d ", reglage[0]);
}
else
{
sprintf(dark, " %d ", reglage[1]);
sprintf(light, "< %d >", reglage[0]);
}
gtext(41, 24, dark, C_BLACK, C_NONE);
gtext(41, 33, light, C_BLACK, C_NONE);
gupdate();
//On analyse l'input et on agit en conséquence
switch (getkey().key)
{
case KEY_LEFT:
reglage[ligne] -= 1;
break;
case KEY_RIGHT:
reglage[ligne] += 1;
break;
case KEY_UP:
if (ligne == 1) ligne = 0;
break;
case KEY_DOWN:
if (ligne == 0) ligne = 1;
break;
case KEY_EXIT:
memcpy(reglage, ancien_reglage, 2 * sizeof(int));
fin = 1;
break;
case KEY_EXE:
fin = 1;
break;
}
}
//On met à jour les valeurs de gris
gray_delays(reglage[0], reglage[1]);
}

Loading…
Cancel
Save