Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
build.log
Building 3d_example/
~/Workspace/GitHub/dleslie/genesis-dev/examples/gendev/3d_example ~/Workspace/GitHub/dleslie/genesis-dev/examples/gendev
mkdir -p src/boot
mkdir -p out
mkdir -p out/src
mkdir -p out/res
cp /opt/gendev/sgdk/src/boot/sega.s src/boot/sega.s
cp /opt/gendev/sgdk/src/boot/rom_head.c src/boot/rom_head.c
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -c src/boot/rom_head.c -o out/rom_head.o
/opt/gendev/bin/m68k-elf-ld -T /opt/gendev/sgdk/md.ld -nostdlib --oformat binary -o out/rom_head.bin out/rom_head.o
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -c src/boot/sega.s -o out/sega.o
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -O3 -fuse-linker-plugin -fno-web -fno-gcse -fno-unit-at-a-time -fomit-frame-pointer -flto -c main.c -o out/main.o
In file included from main.c:3:0:
meshs.h:125:5: warning: braces around scalar initializer
{FIX16(0)},
^
meshs.h:125:5: note: (near initialization for 'cube1_p.distance')
main.c: In function 'render':
main.c:115:32: warning: passing argument 2 of 'M3D_project_s16' from incompatible pointer type [-Wincompatible-pointer-types]
M3D_project_s16(stars_t3D, stars_t2D, NUM_STARS);
^~~~~~~~~
In file included from /opt/gendev/sgdk/inc/genesis.h:24:0,
from main.c:1:
/opt/gendev/sgdk/inc/maths3D.h:276:6: note: expected 'V2s16 * {aka struct <anonymous> *}' but argument is of type 'Vect2D_u16 * {aka struct <anonymous> *}'
void M3D_project_s16(const V3f16* src, V2s16* dest, u16 numv);
^~~~~~~~~~~~~~~
main.c: In function 'main':
main.c:181:21: error: 'PLAN_A' undeclared (first use in this function)
BMP_init(FALSE, PLAN_A, FALSE, 0);
^~~~~~
main.c:181:21: note: each undeclared identifier is reported only once for each function it appears in
main.c: In function 'drawPoints':
main.c:297:13: warning: value computed is not used [-Wunused-value]
*pt_dst--;
^~~~~~~~~
main.c:270:14: warning: unused variable 'str' [-Wunused-variable]
char str[10];
^~~
make: *** [out/main.o] Error 1
/opt/gendev/sgdk/mkfiles/makefile.gen:148: recipe for target 'out/main.o' failed
~/Workspace/GitHub/dleslie/genesis-dev/examples/gendev
5 second pause
Building 3d_example_2/
~/Workspace/GitHub/dleslie/genesis-dev/examples/gendev/3d_example_2 ~/Workspace/GitHub/dleslie/genesis-dev/examples/gendev
mkdir -p src/boot
mkdir -p out
mkdir -p out/src
mkdir -p out/res
cp /opt/gendev/sgdk/src/boot/sega.s src/boot/sega.s
cp /opt/gendev/sgdk/src/boot/rom_head.c src/boot/rom_head.c
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -c src/boot/rom_head.c -o out/rom_head.o
/opt/gendev/bin/m68k-elf-ld -T /opt/gendev/sgdk/md.ld -nostdlib --oformat binary -o out/rom_head.bin out/rom_head.o
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -c src/boot/sega.s -o out/sega.o
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -O3 -fuse-linker-plugin -fno-web -fno-gcse -fno-unit-at-a-time -fomit-frame-pointer -flto -c main.c -o out/main.o
In file included from main.c:3:0:
meshs.h:125:5: warning: braces around scalar initializer
{FIX16(0)},
^
meshs.h:125:5: note: (near initialization for 'cube1_p.distance')
main.c: In function 'render':
main.c:115:32: warning: passing argument 2 of 'M3D_project_s16' from incompatible pointer type [-Wincompatible-pointer-types]
M3D_project_s16(stars_t3D, stars_t2D, NUM_STARS);
^~~~~~~~~
In file included from /opt/gendev/sgdk/inc/genesis.h:24:0,
from main.c:1:
/opt/gendev/sgdk/inc/maths3D.h:276:6: note: expected 'V2s16 * {aka struct <anonymous> *}' but argument is of type 'Vect2D_u16 * {aka struct <anonymous> *}'
void M3D_project_s16(const V3f16* src, V2s16* dest, u16 numv);
^~~~~~~~~~~~~~~
main.c: In function 'main':
main.c:181:20: error: 'PLAN_A' undeclared (first use in this function)
BMP_init(TRUE, PLAN_A, PAL1, FALSE);
^~~~~~
main.c:181:20: note: each undeclared identifier is reported only once for each function it appears in
main.c: In function 'drawPoints':
main.c:297:13: warning: value computed is not used [-Wunused-value]
*pt_dst--;
^~~~~~~~~
main.c:270:14: warning: unused variable 'str' [-Wunused-variable]
char str[10];
^~~
/opt/gendev/sgdk/mkfiles/makefile.gen:148: recipe for target 'out/main.o' failed
make: *** [out/main.o] Error 1
~/Workspace/GitHub/dleslie/genesis-dev/examples/gendev
5 second pause
Building bench/
~/Workspace/GitHub/dleslie/genesis-dev/examples/gendev/bench ~/Workspace/GitHub/dleslie/genesis-dev/examples/gendev
mkdir -p src/boot
mkdir -p out
mkdir -p out/src
mkdir -p out/res
cp /opt/gendev/sgdk/src/boot/sega.s src/boot/sega.s
cp /opt/gendev/sgdk/src/boot/rom_head.c src/boot/rom_head.c
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -c src/boot/rom_head.c -o out/rom_head.o
/opt/gendev/bin/m68k-elf-ld -T /opt/gendev/sgdk/md.ld -nostdlib --oformat binary -o out/rom_head.bin out/rom_head.o
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -c src/boot/sega.s -o out/sega.o
java -jar /opt/gendev/bin/rescomp.jar res/gfx.res res/gfx.s
ResComp 2.71 - SGDK Resource Compiler - Copyright 2020 (Stephane Dallongeville)
Resource: IMAGE logo_big "md_jap_logo_big.png" BEST
--> executing plugin IMAGE...
Resource: IMAGE logo_med "md_jap_logo_med.png" BEST
--> executing plugin IMAGE...
Resource: IMAGE logo_sm "md_jap_logo_small.png" BEST
--> executing plugin IMAGE...
Resource: IMAGE logo_big_f "md_jap_logo_big.png" FAST
--> executing plugin IMAGE...
Resource: IMAGE logo_med_f "md_jap_logo_med.png" FAST
--> executing plugin IMAGE...
Resource: IMAGE logo_sm_f "md_jap_logo_small.png" FAST
--> executing plugin IMAGE...
Resource: BITMAP logo_med_bmp "md_jap_logo_med.png" BEST
--> executing plugin BITMAP...
Resource: BITMAP logo_sm_bmp "md_jap_logo_small.png" BEST
--> executing plugin BITMAP...
Resource: BITMAP logo_med_x2_bmp "md_jap_logo_med_x2.png" BEST
--> executing plugin BITMAP...
Resource: BITMAP logo_med_bmp_f "md_jap_logo_med.png" FAST
--> executing plugin BITMAP...
Resource: BITMAP logo_sm_bmp_f "md_jap_logo_small.png" FAST
--> executing plugin BITMAP...
Executing /opt/gendev/bin/appack c pack.in pack.out -s
===============================================================================
aPLib example Copyright (c) 1998-2009 by Joergen Ibsen / Jibz
All Rights Reserved
http://www.ibsensoftware.com/
===============================================================================
syntax:
compress : appack c <file> <packed_file>
decompress : appack d <packed_file> <depacked_file>
Executing java -jar /opt/gendev/bin/lz4w.jar p pack.in pack.out -s
Packed with LZ4W, 'logo_big_map_data' final size = 446 (28% - origin size = 1600)
Executing /opt/gendev/bin/appack c pack.in pack.out -s
===============================================================================
aPLib example Copyright (c) 1998-2009 by Joergen Ibsen / Jibz
All Rights Reserved
http://www.ibsensoftware.com/
===============================================================================
syntax:
compress : appack c <file> <packed_file>
decompress : appack d <packed_file> <depacked_file>
Executing java -jar /opt/gendev/bin/lz4w.jar p prev.in@pack.in pack.out -s
Packed with LZ4W, 'logo_med_map_data' final size = 146 (57% - origin size = 256)
Executing /opt/gendev/bin/appack c pack.in pack.out -s
===============================================================================
aPLib example Copyright (c) 1998-2009 by Joergen Ibsen / Jibz
All Rights Reserved
http://www.ibsensoftware.com/
===============================================================================
syntax:
compress : appack c <file> <packed_file>
decompress : appack d <packed_file> <depacked_file>
Executing java -jar /opt/gendev/bin/lz4w.jar p prev.in@pack.in pack.out -s
Packed with LZ4W, 'logo_sm_map_data' final size = 46 (72% - origin size = 64)
Packed with LZ4W, 'logo_big_f_map_data' final size = 320 (20% - origin size = 1600)
Packed with LZ4W, 'logo_med_f_map_data' final size = 96 (38% - origin size = 256)
Packed with LZ4W, 'logo_sm_f_map_data' final size = 44 (69% - origin size = 64)
Executing /opt/gendev/bin/appack c pack.in pack.out -s
===============================================================================
aPLib example Copyright (c) 1998-2009 by Joergen Ibsen / Jibz
All Rights Reserved
http://www.ibsensoftware.com/
===============================================================================
syntax:
compress : appack c <file> <packed_file>
decompress : appack d <packed_file> <depacked_file>
Executing java -jar /opt/gendev/bin/lz4w.jar p prev.in@pack.in pack.out -s
Packed with LZ4W, 'logo_big_tileset_data' final size = 1844 (40% - origin size = 4576)
Executing /opt/gendev/bin/appack c pack.in pack.out -s
===============================================================================
aPLib example Copyright (c) 1998-2009 by Joergen Ibsen / Jibz
All Rights Reserved
http://www.ibsensoftware.com/
===============================================================================
syntax:
compress : appack c <file> <packed_file>
decompress : appack d <packed_file> <depacked_file>
Executing java -jar /opt/gendev/bin/lz4w.jar p prev.in@pack.in pack.out -s
Packed with LZ4W, 'logo_med_tileset_data' final size = 748 (43% - origin size = 1760)
Executing /opt/gendev/bin/appack c pack.in pack.out -s
===============================================================================
aPLib example Copyright (c) 1998-2009 by Joergen Ibsen / Jibz
All Rights Reserved
http://www.ibsensoftware.com/
===============================================================================
syntax:
compress : appack c <file> <packed_file>
decompress : appack d <packed_file> <depacked_file>
Executing java -jar /opt/gendev/bin/lz4w.jar p prev.in@pack.in pack.out -s
Packed with LZ4W, 'logo_sm_tileset_data' final size = 386 (48% - origin size = 800)
Packed with LZ4W, 'logo_big_f_tileset_data' final size = 1340 (29% - origin size = 4576)
Packed with LZ4W, 'logo_med_f_tileset_data' final size = 396 (23% - origin size = 1760)
Packed with LZ4W, 'logo_sm_f_tileset_data' final size = 216 (27% - origin size = 800)
Executing /opt/gendev/bin/appack c pack.in pack.out -s
===============================================================================
aPLib example Copyright (c) 1998-2009 by Joergen Ibsen / Jibz
All Rights Reserved
http://www.ibsensoftware.com/
===============================================================================
syntax:
compress : appack c <file> <packed_file>
decompress : appack d <packed_file> <depacked_file>
Executing java -jar /opt/gendev/bin/lz4w.jar p prev.in@pack.in pack.out -s
Packed with LZ4W, 'logo_med_bmp_data' final size = 808 (20% - origin size = 4096)
Executing /opt/gendev/bin/appack c pack.in pack.out -s
===============================================================================
aPLib example Copyright (c) 1998-2009 by Joergen Ibsen / Jibz
All Rights Reserved
http://www.ibsensoftware.com/
===============================================================================
syntax:
compress : appack c <file> <packed_file>
decompress : appack d <packed_file> <depacked_file>
Executing java -jar /opt/gendev/bin/lz4w.jar p prev.in@pack.in pack.out -s
Packed with LZ4W, 'logo_sm_bmp_data' final size = 388 (38% - origin size = 1024)
Executing /opt/gendev/bin/appack c pack.in pack.out -s
===============================================================================
aPLib example Copyright (c) 1998-2009 by Joergen Ibsen / Jibz
All Rights Reserved
http://www.ibsensoftware.com/
===============================================================================
syntax:
compress : appack c <file> <packed_file>
decompress : appack d <packed_file> <depacked_file>
Executing java -jar /opt/gendev/bin/lz4w.jar p prev.in@pack.in pack.out -s
Packed with LZ4W, 'logo_med_x2_bmp_data' final size = 692 (17% - origin size = 4096)
Packed with LZ4W, 'logo_med_bmp_f_data' final size = 708 (17% - origin size = 4096)
Packed with LZ4W, 'logo_sm_bmp_f_data' final size = 326 (32% - origin size = 1024)
res/gfx.res summary:
-------------
Binary data: 9014 bytes
Unpacked: 64 bytes
Packed: 8950 bytes (28% - origin size: 32448 bytes)
Misc metadata (bitmap, image, tilemap, tileset, palette..): 262 bytes
Total: 9276 bytes (9 KB)
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -O3 -fuse-linker-plugin -fno-web -fno-gcse -fno-unit-at-a-time -fomit-frame-pointer -flto -c res/gfx.s -o out/res/gfx.o
java -jar /opt/gendev/bin/rescomp.jar res/spr_res.res res/spr_res.s
ResComp 2.71 - SGDK Resource Compiler - Copyright 2020 (Stephane Dallongeville)
Resource: SPRITE guy_sprite "guy.png" 8 11 FAST 2
--> executing plugin SPRITE...
Sprite frame 'guy_sprite_animation0_frame0' - 11 VDP sprites and 60 tiles
Sprite frame 'guy_sprite_animation1_frame0' - 3 VDP sprites and 36 tiles
Sprite frame 'guy_sprite_animation1_frame1' - 3 VDP sprites and 36 tiles
Sprite frame 'guy_sprite_animation1_frame2' - 8 VDP sprites and 42 tiles
Sprite frame 'guy_sprite_animation1_frame3' - 9 VDP sprites and 50 tiles
Sprite frame 'guy_sprite_animation1_frame4' - 8 VDP sprites and 45 tiles
Sprite frame 'guy_sprite_animation1_frame5' - 7 VDP sprites and 40 tiles
Sprite frame 'guy_sprite_animation1_frame6' - 3 VDP sprites and 36 tiles
Sprite frame 'guy_sprite_animation1_frame7' - 3 VDP sprites and 36 tiles
Sprite frame 'guy_sprite_animation1_frame8' - 7 VDP sprites and 40 tiles
Sprite frame 'guy_sprite_animation1_frame9' - 8 VDP sprites and 50 tiles
Sprite frame 'guy_sprite_animation1_frame10' - 8 VDP sprites and 47 tiles
Sprite frame 'guy_sprite_animation1_frame11' - 7 VDP sprites and 38 tiles
Resource: SPRITE cody_sprite "cody.png" 8 12 FAST 2
--> executing plugin SPRITE...
Sprite frame 'cody_sprite_animation0_frame0' - 10 VDP sprites and 61 tiles
Sprite frame 'cody_sprite_animation1_frame0' - 6 VDP sprites and 51 tiles
Sprite frame 'cody_sprite_animation1_frame1' - 8 VDP sprites and 55 tiles
Sprite frame 'cody_sprite_animation1_frame2' - 9 VDP sprites and 56 tiles
Sprite frame 'cody_sprite_animation1_frame3' - 7 VDP sprites and 48 tiles
Sprite frame 'cody_sprite_animation1_frame4' - 3 VDP sprites and 44 tiles
Sprite frame 'cody_sprite_animation1_frame5' - 3 VDP sprites and 48 tiles
Sprite frame 'cody_sprite_animation1_frame6' - 9 VDP sprites and 50 tiles
Sprite frame 'cody_sprite_animation1_frame7' - 9 VDP sprites and 55 tiles
Sprite frame 'cody_sprite_animation1_frame8' - 11 VDP sprites and 51 tiles
Sprite frame 'cody_sprite_animation1_frame9' - 8 VDP sprites and 51 tiles
Sprite frame 'cody_sprite_animation1_frame10' - 3 VDP sprites and 44 tiles
Sprite frame 'cody_sprite_animation1_frame11' - 3 VDP sprites and 44 tiles
Sprite frame 'cody_sprite_animation1_frame12' - 3 VDP sprites and 48 tiles
Resource: SPRITE haggar_sprite "haggar.png" 11 13 FAST 2
--> executing plugin SPRITE...
Sprite frame 'haggar_sprite_animation0_frame0' - 12 VDP sprites and 84 tiles
Sprite frame 'haggar_sprite_animation1_frame0' - 13 VDP sprites and 75 tiles
Sprite frame 'haggar_sprite_animation1_frame1' - 14 VDP sprites and 83 tiles
500048 iterations in 1906 ms (262354 it/s)
Sprite frame 'haggar_sprite_animation1_frame2' - 9 VDP sprites and 98 tiles
Sprite frame 'haggar_sprite_animation1_frame3' - 15 VDP sprites and 81 tiles
500048 iterations in 1302 ms (384061 it/s)
Sprite frame 'haggar_sprite_animation1_frame4' - 7 VDP sprites and 97 tiles
Sprite frame 'haggar_sprite_animation1_frame5' - 13 VDP sprites and 78 tiles
Sprite frame 'haggar_sprite_animation1_frame6' - 12 VDP sprites and 73 tiles
Sprite frame 'haggar_sprite_animation1_frame7' - 14 VDP sprites and 73 tiles
Sprite frame 'haggar_sprite_animation1_frame8' - 12 VDP sprites and 77 tiles
Sprite frame 'haggar_sprite_animation1_frame9' - 15 VDP sprites and 81 tiles
Sprite frame 'haggar_sprite_animation1_frame10' - 16 VDP sprites and 80 tiles
Sprite frame 'haggar_sprite_animation1_frame11' - 11 VDP sprites and 74 tiles
Resource: SPRITE andor_sprite "andor.png" 11 15 FAST 2
--> executing plugin SPRITE...
Sprite frame 'andor_sprite_animation0_frame0' - 9 VDP sprites and 73 tiles
Sprite frame 'andor_sprite_animation1_frame0' - 13 VDP sprites and 86 tiles
Sprite frame 'andor_sprite_animation1_frame1' - 10 VDP sprites and 80 tiles
Sprite frame 'andor_sprite_animation1_frame2' - 9 VDP sprites and 70 tiles
Sprite frame 'andor_sprite_animation1_frame3' - 13 VDP sprites and 82 tiles
Sprite frame 'andor_sprite_animation1_frame4' - 14 VDP sprites and 83 tiles
Sprite frame 'andor_sprite_animation1_frame5' - 9 VDP sprites and 73 tiles
Resource: SPRITE flare_big "flare_32x32.png" 4 4 NONE 0
--> executing plugin SPRITE...
Sprite frame 'flare_big_animation0_frame0' - 1 VDP sprites and 16 tiles
Sprite frame 'flare_big_animation0_frame1' - 1 VDP sprites and 16 tiles
Sprite frame 'flare_big_animation0_frame2' - 1 VDP sprites and 16 tiles
Sprite frame 'flare_big_animation0_frame3' - 1 VDP sprites and 16 tiles
Sprite frame 'flare_big_animation0_frame4' - 1 VDP sprites and 16 tiles
Resource: SPRITE flare_small "flare_16x16.png" 2 2 NONE 0
--> executing plugin SPRITE...
Sprite frame 'flare_small_animation0_frame0' - 1 VDP sprites and 4 tiles
Sprite frame 'flare_small_animation0_frame1' - 1 VDP sprites and 4 tiles
Sprite frame 'flare_small_animation0_frame2' - 1 VDP sprites and 4 tiles
Sprite frame 'flare_small_animation0_frame3' - 1 VDP sprites and 4 tiles
Sprite frame 'flare_small_animation0_frame4' - 1 VDP sprites and 4 tiles
Resource: SPRITE donut "donut.png" 4 4 FAST 5
--> executing plugin SPRITE...
Sprite frame 'donut_animation0_frame0' - 1 VDP sprites and 16 tiles
Sprite frame 'donut_animation0_frame1' - 1 VDP sprites and 16 tiles
Sprite frame 'donut_animation0_frame2' - 1 VDP sprites and 12 tiles
Sprite frame 'donut_animation0_frame3' - 1 VDP sprites and 12 tiles
Sprite frame 'donut_animation0_frame4' - 1 VDP sprites and 8 tiles
Sprite frame 'donut_animation0_frame5' - 1 VDP sprites and 12 tiles
Sprite frame 'donut_animation0_frame6' - 1 VDP sprites and 16 tiles
Sprite frame 'donut_animation0_frame7' - 1 VDP sprites and 16 tiles
Packed with LZ4W, 'guy_sprite_animation0_frame0_tileset_data' final size = 1544 (80% - origin size = 1920)
Packed with LZ4W, 'guy_sprite_animation1_frame0_tileset_data' final size = 850 (74% - origin size = 1152)
Packed with LZ4W, 'guy_sprite_animation1_frame1_tileset_data' final size = 876 (76% - origin size = 1152)
Packed with LZ4W, 'guy_sprite_animation1_frame2_tileset_data' final size = 1142 (85% - origin size = 1344)
Packed with LZ4W, 'guy_sprite_animation1_frame3_tileset_data' final size = 1286 (80% - origin size = 1600)
Packed with LZ4W, 'guy_sprite_animation1_frame4_tileset_data' final size = 1090 (76% - origin size = 1440)
Packed with LZ4W, 'guy_sprite_animation1_frame5_tileset_data' final size = 954 (75% - origin size = 1280)
Packed with LZ4W, 'guy_sprite_animation1_frame6_tileset_data' final size = 782 (68% - origin size = 1152)
Packed with LZ4W, 'guy_sprite_animation1_frame7_tileset_data' final size = 858 (74% - origin size = 1152)
Packed with LZ4W, 'guy_sprite_animation1_frame8_tileset_data' final size = 968 (76% - origin size = 1280)
Packed with LZ4W, 'guy_sprite_animation1_frame9_tileset_data' final size = 1214 (76% - origin size = 1600)
Packed with LZ4W, 'guy_sprite_animation1_frame10_tileset_data' final size = 1022 (68% - origin size = 1504)
Packed with LZ4W, 'guy_sprite_animation1_frame11_tileset_data' final size = 876 (72% - origin size = 1216)
Packed with LZ4W, 'cody_sprite_animation0_frame0_tileset_data' final size = 1722 (88% - origin size = 1952)
Packed with LZ4W, 'cody_sprite_animation1_frame0_tileset_data' final size = 1470 (90% - origin size = 1632)
Packed with LZ4W, 'cody_sprite_animation1_frame1_tileset_data' final size = 1550 (88% - origin size = 1760)
Packed with LZ4W, 'cody_sprite_animation1_frame2_tileset_data' final size = 1432 (80% - origin size = 1792)
Packed with LZ4W, 'cody_sprite_animation1_frame3_tileset_data' final size = 1192 (78% - origin size = 1536)
Packed with LZ4W, 'cody_sprite_animation1_frame4_tileset_data' final size = 1062 (75% - origin size = 1408)
Packed with LZ4W, 'cody_sprite_animation1_frame5_tileset_data' final size = 1136 (74% - origin size = 1536)
Packed with LZ4W, 'cody_sprite_animation1_frame6_tileset_data' final size = 1292 (81% - origin size = 1600)
Packed with LZ4W, 'cody_sprite_animation1_frame7_tileset_data' final size = 1410 (80% - origin size = 1760)
Packed with LZ4W, 'cody_sprite_animation1_frame8_tileset_data' final size = 1402 (86% - origin size = 1632)
Packed with LZ4W, 'cody_sprite_animation1_frame9_tileset_data' final size = 1208 (74% - origin size = 1632)
Packed with LZ4W, 'cody_sprite_animation1_frame10_tileset_data' final size = 1048 (74% - origin size = 1408)
Packed with LZ4W, 'cody_sprite_animation1_frame11_tileset_data' final size = 850 (60% - origin size = 1408)
Packed with LZ4W, 'cody_sprite_animation1_frame12_tileset_data' final size = 1188 (77% - origin size = 1536)
Packed with LZ4W, 'haggar_sprite_animation0_frame0_tileset_data' final size = 2298 (85% - origin size = 2688)
Packed with LZ4W, 'haggar_sprite_animation1_frame0_tileset_data' final size = 1268 (53% - origin size = 2400)
Packed with LZ4W, 'haggar_sprite_animation1_frame1_tileset_data' final size = 1642 (62% - origin size = 2656)
Packed with LZ4W, 'haggar_sprite_animation1_frame2_tileset_data' final size = 1884 (60% - origin size = 3136)
Packed with LZ4W, 'haggar_sprite_animation1_frame3_tileset_data' final size = 1778 (69% - origin size = 2592)
Packed with LZ4W, 'haggar_sprite_animation1_frame4_tileset_data' final size = 1370 (44% - origin size = 3104)
Packed with LZ4W, 'haggar_sprite_animation1_frame5_tileset_data' final size = 1242 (50% - origin size = 2496)
Packed with LZ4W, 'haggar_sprite_animation1_frame6_tileset_data' final size = 1024 (44% - origin size = 2336)
Packed with LZ4W, 'haggar_sprite_animation1_frame7_tileset_data' final size = 924 (40% - origin size = 2336)
Packed with LZ4W, 'haggar_sprite_animation1_frame8_tileset_data' final size = 1286 (52% - origin size = 2464)
Packed with LZ4W, 'haggar_sprite_animation1_frame9_tileset_data' final size = 1244 (48% - origin size = 2592)
Packed with LZ4W, 'haggar_sprite_animation1_frame10_tileset_data' final size = 1604 (63% - origin size = 2560)
Packed with LZ4W, 'haggar_sprite_animation1_frame11_tileset_data' final size = 944 (40% - origin size = 2368)
Packed with LZ4W, 'andor_sprite_animation0_frame0_tileset_data' final size = 1960 (84% - origin size = 2336)
Packed with LZ4W, 'andor_sprite_animation1_frame0_tileset_data' final size = 1628 (59% - origin size = 2752)
Packed with LZ4W, 'andor_sprite_animation1_frame1_tileset_data' final size = 1910 (75% - origin size = 2560)
Packed with LZ4W, 'andor_sprite_animation1_frame2_tileset_data' final size = 1746 (78% - origin size = 2240)
Packed with LZ4W, 'andor_sprite_animation1_frame3_tileset_data' final size = 1890 (72% - origin size = 2624)
Packed with LZ4W, 'andor_sprite_animation1_frame4_tileset_data' final size = 2000 (75% - origin size = 2656)
Packed with LZ4W, 'donut_animation0_frame0_tileset_data' final size = 370 (72% - origin size = 512)
Packed with LZ4W, 'donut_animation0_frame1_tileset_data' final size = 334 (65% - origin size = 512)
Packed with LZ4W, 'donut_animation0_frame2_tileset_data' final size = 222 (58% - origin size = 384)
Packed with LZ4W, 'donut_animation0_frame3_tileset_data' final size = 246 (64% - origin size = 384)
Packed with LZ4W, 'donut_animation0_frame4_tileset_data' final size = 132 (52% - origin size = 256)
Packed with LZ4W, 'donut_animation0_frame5_tileset_data' final size = 202 (53% - origin size = 384)
Packed with LZ4W, 'donut_animation0_frame6_tileset_data' final size = 266 (52% - origin size = 512)
Packed with LZ4W, 'donut_animation0_frame7_tileset_data' final size = 312 (61% - origin size = 512)
res/spr_res.res summary:
-------------
Binary data: 66574 bytes
Unpacked: 3424 bytes
Packed: 63150 bytes (68% - origin size: 92736 bytes)
Sprite metadata (all but tiles and palette data): 14914 bytes
Misc metadata (bitmap, image, tilemap, tileset, palette..): 554 bytes
Total: 82042 bytes (80 KB)
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -O3 -fuse-linker-plugin -fno-web -fno-gcse -fno-unit-at-a-time -fomit-frame-pointer -flto -c res/spr_res.s -o out/res/spr_res.o
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -O3 -fuse-linker-plugin -fno-web -fno-gcse -fno-unit-at-a-time -fomit-frame-pointer -flto -c src/math_test_a.s -o out/src/math_test_a.o
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -O3 -fuse-linker-plugin -fno-web -fno-gcse -fno-unit-at-a-time -fomit-frame-pointer -flto -c src/spr_test.c -o out/src/spr_test.o
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -O3 -fuse-linker-plugin -fno-web -fno-gcse -fno-unit-at-a-time -fomit-frame-pointer -flto -c src/mem_test.c -o out/src/mem_test.o
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -O3 -fuse-linker-plugin -fno-web -fno-gcse -fno-unit-at-a-time -fomit-frame-pointer -flto -c src/main.c -o out/src/main.o
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -O3 -fuse-linker-plugin -fno-web -fno-gcse -fno-unit-at-a-time -fomit-frame-pointer -flto -c src/bg_test.c -o out/src/bg_test.o
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -O3 -fuse-linker-plugin -fno-web -fno-gcse -fno-unit-at-a-time -fomit-frame-pointer -flto -c src/bmp_test.c -o out/src/bmp_test.o
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -O3 -fuse-linker-plugin -fno-web -fno-gcse -fno-unit-at-a-time -fomit-frame-pointer -flto -c src/math_test.c -o out/src/math_test.o
src/math_test.c: In function 'executeMathsBasicTest':
src/math_test.c:35:9: warning: variable 's32' set but not used [-Wunused-but-set-variable]
u32 s32, d32;
^~~
src/math_test.c:34:9: warning: variable 's16' set but not used [-Wunused-but-set-variable]
u16 s16, d16;
^~~
src/math_test.c:33:8: warning: variable 's8' set but not used [-Wunused-but-set-variable]
u8 s8, d8;
^~
src/math_test.c: In function 'displayResult':
src/math_test.c:617:57: warning: unused parameter 'dirty' [-Wunused-parameter]
static u32 displayResult(u32 op, fix32 time, u16 y, u32 dirty)
^~~~~
src/math_test.c: In function 'displayResult3D':
src/math_test.c:643:59: warning: unused parameter 'dirty' [-Wunused-parameter]
static u32 displayResult3D(u32 op, fix32 time, u16 y, u32 dirty)
^~~~~
src/math_test.c: In function 'executeMathsAdvTest':
src/math_test.c:511:14: warning: 'm16' is used uninitialized in this function [-Wuninitialized]
*score = displayResult(200000, end - start, y++, m16);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo "out/res/gfx.o out/res/spr_res.o out/src/math_test_a.o out/src/spr_test.o out/src/mem_test.o out/src/main.o out/src/bg_test.o out/src/bmp_test.o out/src/math_test.o" > out/cmd_
/opt/gendev/bin/m68k-elf-gcc -B/opt/gendev/sgdk/bin -n -T /opt/gendev/sgdk/md.ld -nostdlib out/sega.o @out/cmd_ /opt/gendev/sgdk/lib/libmd.a /opt/gendev/sgdk/lib/libgcc.a -o out/rom.out
rm -f out/cmd_
/opt/gendev/bin/m68k-elf-objcopy -O binary out/rom.out out/rom.bin
/opt/gendev/bin/sizebnd out/rom.bin -sizealign 131072
nm --plugin=liblto_plugin-0.dll -n out/rom.out > out/symbol.txt
nm: liblto_plugin-0.dll: cannot open shared object file: No such file or directory
rm res/spr_res.s res/gfx.s
~/Workspace/GitHub/dleslie/genesis-dev/examples/gendev
5 second pause
Building cube_flat/
~/Workspace/GitHub/dleslie/genesis-dev/examples/gendev/cube_flat ~/Workspace/GitHub/dleslie/genesis-dev/examples/gendev
mkdir -p src/boot
mkdir -p out
mkdir -p out/src
mkdir -p out/res
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -c src/boot/rom_head.c -o out/rom_head.o
/opt/gendev/bin/m68k-elf-ld -T /opt/gendev/sgdk/md.ld -nostdlib --oformat binary -o out/rom_head.bin out/rom_head.o
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -c src/boot/sega.s -o out/sega.o
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -O3 -fuse-linker-plugin -fno-web -fno-gcse -fno-unit-at-a-time -fomit-frame-pointer -flto -c src/meshs.c -o out/src/meshs.o
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -O3 -fuse-linker-plugin -fno-web -fno-gcse -fno-unit-at-a-time -fomit-frame-pointer -flto -c src/main.c -o out/src/main.o
echo "out/src/meshs.o out/src/main.o" > out/cmd_
/opt/gendev/bin/m68k-elf-gcc -B/opt/gendev/sgdk/bin -n -T /opt/gendev/sgdk/md.ld -nostdlib out/sega.o @out/cmd_ /opt/gendev/sgdk/lib/libmd.a /opt/gendev/sgdk/lib/libgcc.a -o out/rom.out
rm -f out/cmd_
/opt/gendev/bin/m68k-elf-objcopy -O binary out/rom.out out/rom.bin
/opt/gendev/bin/sizebnd out/rom.bin -sizealign 131072
nm --plugin=liblto_plugin-0.dll -n out/rom.out > out/symbol.txt
nm: liblto_plugin-0.dll: cannot open shared object file: No such file or directory
~/Workspace/GitHub/dleslie/genesis-dev/examples/gendev
5 second pause
Building hs_effect/
~/Workspace/GitHub/dleslie/genesis-dev/examples/gendev/hs_effect ~/Workspace/GitHub/dleslie/genesis-dev/examples/gendev
mkdir -p src/boot
mkdir -p out
mkdir -p out/src
mkdir -p out/res
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -c src/boot/rom_head.c -o out/rom_head.o
/opt/gendev/bin/m68k-elf-ld -T /opt/gendev/sgdk/md.ld -nostdlib --oformat binary -o out/rom_head.bin out/rom_head.o
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -c src/boot/sega.s -o out/sega.o
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -O3 -fuse-linker-plugin -fno-web -fno-gcse -fno-unit-at-a-time -fomit-frame-pointer -flto -c src/main.c -o out/src/main.o
echo "out/src/main.o" > out/cmd_
/opt/gendev/bin/m68k-elf-gcc -B/opt/gendev/sgdk/bin -n -T /opt/gendev/sgdk/md.ld -nostdlib out/sega.o @out/cmd_ /opt/gendev/sgdk/lib/libmd.a /opt/gendev/sgdk/lib/libgcc.a -o out/rom.out
rm -f out/cmd_
/opt/gendev/bin/m68k-elf-objcopy -O binary out/rom.out out/rom.bin
/opt/gendev/bin/sizebnd out/rom.bin -sizealign 131072
nm --plugin=liblto_plugin-0.dll -n out/rom.out > out/symbol.txt
nm: liblto_plugin-0.dll: cannot open shared object file: No such file or directory
~/Workspace/GitHub/dleslie/genesis-dev/examples/gendev
5 second pause
Building joytest/
~/Workspace/GitHub/dleslie/genesis-dev/examples/gendev/joytest ~/Workspace/GitHub/dleslie/genesis-dev/examples/gendev
mkdir -p src/boot
mkdir -p out
mkdir -p out/src
mkdir -p out/res
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -c src/boot/rom_head.c -o out/rom_head.o
/opt/gendev/bin/m68k-elf-ld -T /opt/gendev/sgdk/md.ld -nostdlib --oformat binary -o out/rom_head.bin out/rom_head.o
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -c src/boot/sega.s -o out/sega.o
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -O3 -fuse-linker-plugin -fno-web -fno-gcse -fno-unit-at-a-time -fomit-frame-pointer -flto -c src/main.c -o out/src/main.o
echo "out/src/main.o" > out/cmd_
/opt/gendev/bin/m68k-elf-gcc -B/opt/gendev/sgdk/bin -n -T /opt/gendev/sgdk/md.ld -nostdlib out/sega.o @out/cmd_ /opt/gendev/sgdk/lib/libmd.a /opt/gendev/sgdk/lib/libgcc.a -o out/rom.out
rm -f out/cmd_
/opt/gendev/bin/m68k-elf-objcopy -O binary out/rom.out out/rom.bin
/opt/gendev/bin/sizebnd out/rom.bin -sizealign 131072
nm --plugin=liblto_plugin-0.dll -n out/rom.out > out/symbol.txt
nm: liblto_plugin-0.dll: cannot open shared object file: No such file or directory
~/Workspace/GitHub/dleslie/genesis-dev/examples/gendev
5 second pause
Building partic/
~/Workspace/GitHub/dleslie/genesis-dev/examples/gendev/partic ~/Workspace/GitHub/dleslie/genesis-dev/examples/gendev
mkdir -p src/boot
mkdir -p out
mkdir -p out/src
mkdir -p out/res
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -c src/boot/rom_head.c -o out/rom_head.o
/opt/gendev/bin/m68k-elf-ld -T /opt/gendev/sgdk/md.ld -nostdlib --oformat binary -o out/rom_head.bin out/rom_head.o
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -c src/boot/sega.s -o out/sega.o
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -O3 -fuse-linker-plugin -fno-web -fno-gcse -fno-unit-at-a-time -fomit-frame-pointer -flto -c src/main.c -o out/src/main.o
src/main.c: In function 'joyEvent':
src/main.c:159:26: warning: unused parameter 'joy' [-Wunused-parameter]
static void joyEvent(u16 joy, u16 changed, u16 state)
^~~
echo "out/src/main.o" > out/cmd_
/opt/gendev/bin/m68k-elf-gcc -B/opt/gendev/sgdk/bin -n -T /opt/gendev/sgdk/md.ld -nostdlib out/sega.o @out/cmd_ /opt/gendev/sgdk/lib/libmd.a /opt/gendev/sgdk/lib/libgcc.a -o out/rom.out
rm -f out/cmd_
/opt/gendev/bin/m68k-elf-objcopy -O binary out/rom.out out/rom.bin
/opt/gendev/bin/sizebnd out/rom.bin -sizealign 131072
nm --plugin=liblto_plugin-0.dll -n out/rom.out > out/symbol.txt
nm: liblto_plugin-0.dll: cannot open shared object file: No such file or directory
~/Workspace/GitHub/dleslie/genesis-dev/examples/gendev
5 second pause
Building scd-skeleton/
~/Workspace/GitHub/dleslie/genesis-dev/examples/gendev/scd-skeleton ~/Workspace/GitHub/dleslie/genesis-dev/examples/gendev
mkdir -p src/boot
mkdir -p out
mkdir -p out/src
mkdir -p out/res
cp /opt/gendev/sgdk/src/boot/sega.s src/boot/sega.s
cp /opt/gendev/sgdk/src/boot/rom_head.c src/boot/rom_head.c
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -c src/boot/rom_head.c -o out/rom_head.o
/opt/gendev/bin/m68k-elf-ld -T /opt/gendev/sgdk/md.ld -nostdlib --oformat binary -o out/rom_head.bin out/rom_head.o
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -c src/boot/sega.s -o out/sega.o
echo "" > out/cmd_
/opt/gendev/bin/m68k-elf-gcc -B/opt/gendev/sgdk/bin -n -T /opt/gendev/sgdk/md.ld -nostdlib out/sega.o @out/cmd_ /opt/gendev/sgdk/lib/libmd.a /opt/gendev/sgdk/lib/libgcc.a -o out/rom.out
/opt/gendev/sgdk/lib/libmd.a(sys.o): In function `_start_entry':
sys.c:(.text+0x8a4): undefined reference to `main'
/opt/gendev/sgdk/lib/libmd.a(sys.o): In function `_reset_entry':
sys.c:(.text+0x8e2): undefined reference to `main'
collect2: error: ld returned 1 exit status
/opt/gendev/sgdk/mkfiles/makefile.gen:122: recipe for target 'out/rom.out' failed
make: *** [out/rom.out] Error 1
~/Workspace/GitHub/dleslie/genesis-dev/examples/gendev
5 second pause
Building sound/
~/Workspace/GitHub/dleslie/genesis-dev/examples/gendev/sound ~/Workspace/GitHub/dleslie/genesis-dev/examples/gendev
mkdir -p src/boot
mkdir -p out
mkdir -p out/src
mkdir -p out/res
cp /opt/gendev/sgdk/src/boot/sega.s src/boot/sega.s
cp /opt/gendev/sgdk/src/boot/rom_head.c src/boot/rom_head.c
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -c src/boot/rom_head.c -o out/rom_head.o
/opt/gendev/bin/m68k-elf-ld -T /opt/gendev/sgdk/md.ld -nostdlib --oformat binary -o out/rom_head.bin out/rom_head.o
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -c src/boot/sega.s -o out/sega.o
java -jar /opt/gendev/bin/rescomp.jar res/resources.res res/resources.s
ResComp 2.71 - SGDK Resource Compiler - Copyright 2020 (Stephane Dallongeville)
Resource: XGM sor2_xgm "sor2.xgm"
--> executing plugin XGM...
Executing /opt/gendev/bin/xgmtool /src/res/sor2.xgm /src/res/sor2.bin -s
Warning: option not recognized (ignored)
Warning: option not recognized (ignored)
Resource: XGM bapcm_xgm "bad_apple_pcm.vgm"
--> executing plugin XGM...
Executing /opt/gendev/bin/xgmtool /src/res/bad_apple_pcm.vgm /src/res/bad_apple_pcm.bin -s
Warning: option not recognized (ignored)
Warning: option not recognized (ignored)
Resource: XGM toystory "toy_story.vgm"
--> executing plugin XGM...
Executing /opt/gendev/bin/xgmtool /src/res/toy_story.vgm /src/res/toy_story.bin -s
Warning: option not recognized (ignored)
Warning: option not recognized (ignored)
Resource: XGM midnight "midnight.vgm"
--> executing plugin XGM...
Executing /opt/gendev/bin/xgmtool /src/res/midnight.vgm /src/res/midnight.bin -s
Warning: option not recognized (ignored)
Warning: option not recognized (ignored)
Resource: XGM roadrash "roadrash.vgm"
--> executing plugin XGM...
Executing /opt/gendev/bin/xgmtool /src/res/roadrash.vgm /src/res/roadrash.bin -s
Warning: option not recognized (ignored)
Warning: option not recognized (ignored)
Resource: XGM sonic1 "sonic1.vgm"
--> executing plugin XGM...
Executing /opt/gendev/bin/xgmtool /src/res/sonic1.vgm /src/res/sonic1.bin -s
Warning: option not recognized (ignored)
Warning: option not recognized (ignored)
Resource: WAV india_8k "india_8k.wav" 0 8000
--> executing plugin WAV...
Resource: WAV india_11k "india_11k.wav" 0 11025
--> executing plugin WAV...
Resource: WAV india_13k "india_13k.wav" 0 13400
--> executing plugin WAV...
Resource: WAV india_16k "india_16k.wav" 0 16000
--> executing plugin WAV...
Resource: WAV india_22k "india_22k.wav" 0 22050
--> executing plugin WAV...
Resource: WAV india_32k "india_32k.wav" 0 32000
--> executing plugin WAV...
Resource: WAV india_pcm_22k "india_22k.wav" 1
--> executing plugin WAV...
Resource: WAV loop3_pcm_22k "loop3.wav" 1
--> executing plugin WAV...
Resource: WAV loop1_16k "loop1.wav" 2
--> executing plugin WAV...
Resource: WAV loop2_16k "loop2.wav" 2
--> executing plugin WAV...
Resource: WAV explode_16k "explode.wav" 2
--> executing plugin WAV...
Resource: WAV hat1_16k "hat1.wav" 2
--> executing plugin WAV...
Resource: WAV hat2_16k "hat2.wav" 2
--> executing plugin WAV...
Resource: WAV snare1_16k "snare1.wav" 2
--> executing plugin WAV...
Resource: WAV snare2_16k "snare2.wav" 2
--> executing plugin WAV...
Resource: WAV explode_u8k "explode.wav" 4
--> executing plugin WAV...
Resource: WAV loop1_14k "loop1.wav" 5
--> executing plugin WAV...
Resource: WAV hat1_14k "hat1.wav" 5
--> executing plugin WAV...
Resource: WAV snare1_14k "snare1.wav" 5
--> executing plugin WAV...
Resource: WAV cri_14k "cri.wav" XGM
--> executing plugin WAV...
res/resources.res summary:
-------------
Binary data: 3231488 bytes
Unpacked: 3231488 bytes
Total: 3231488 bytes (3155 KB)
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -O3 -fuse-linker-plugin -fno-web -fno-gcse -fno-unit-at-a-time -fomit-frame-pointer -flto -c res/resources.s -o out/res/resources.o
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -O3 -fuse-linker-plugin -fno-web -fno-gcse -fno-unit-at-a-time -fomit-frame-pointer -flto -c src/main.c -o out/src/main.o
src/main.c: In function 'joyEvent':
src/main.c:335:26: warning: unused parameter 'joy' [-Wunused-parameter]
static void joyEvent(u16 joy, u16 changed, u16 state)
^~~
At top level:
src/main.c:710:13: warning: 'getZ80Debug' defined but not used [-Wunused-function]
static void getZ80Debug(u8 *dst)
^~~~~~~~~~~
src/main.c:305:12: warning: 'getCurrentParamIndex' defined but not used [-Wunused-function]
static s16 getCurrentParamIndex()
^~~~~~~~~~~~~~~~~~~~
echo "out/res/resources.o out/src/main.o" > out/cmd_
/opt/gendev/bin/m68k-elf-gcc -B/opt/gendev/sgdk/bin -n -T /opt/gendev/sgdk/md.ld -nostdlib out/sega.o @out/cmd_ /opt/gendev/sgdk/lib/libmd.a /opt/gendev/sgdk/lib/libgcc.a -o out/rom.out
rm -f out/cmd_
/opt/gendev/bin/m68k-elf-objcopy -O binary out/rom.out out/rom.bin
/opt/gendev/bin/sizebnd out/rom.bin -sizealign 131072
nm --plugin=liblto_plugin-0.dll -n out/rom.out > out/symbol.txt
nm: liblto_plugin-0.dll: cannot open shared object file: No such file or directory
rm res/resources.s
~/Workspace/GitHub/dleslie/genesis-dev/examples/gendev
5 second pause
Building sprite/
~/Workspace/GitHub/dleslie/genesis-dev/examples/gendev/sprite ~/Workspace/GitHub/dleslie/genesis-dev/examples/gendev
mkdir -p src/boot
mkdir -p out
mkdir -p out/src
mkdir -p out/res
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -c src/boot/rom_head.c -o out/rom_head.o
/opt/gendev/bin/m68k-elf-ld -T /opt/gendev/sgdk/md.ld -nostdlib --oformat binary -o out/rom_head.bin out/rom_head.o
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -c src/boot/sega.s -o out/sega.o
java -jar /opt/gendev/bin/rescomp.jar res/sprite.res res/sprite.s
ResComp 2.71 - SGDK Resource Compiler - Copyright 2020 (Stephane Dallongeville)
Resource: SPRITE sonic_sprite "sprite/sonic.png" 6 6 FAST 5
--> executing plugin SPRITE...
Sprite frame 'sonic_sprite_animation0_frame0' - 4 VDP sprites and 16 tiles
Sprite frame 'sonic_sprite_animation1_frame0' - 2 VDP sprites and 15 tiles
Sprite frame 'sonic_sprite_animation1_frame1' - 2 VDP sprites and 15 tiles
Sprite frame 'sonic_sprite_animation2_frame0' - 4 VDP sprites and 16 tiles
Sprite frame 'sonic_sprite_animation2_frame1' - 4 VDP sprites and 22 tiles
Sprite frame 'sonic_sprite_animation2_frame2' - 4 VDP sprites and 18 tiles
Sprite frame 'sonic_sprite_animation2_frame3' - 2 VDP sprites and 14 tiles
Sprite frame 'sonic_sprite_animation2_frame4' - 5 VDP sprites and 19 tiles
Sprite frame 'sonic_sprite_animation2_frame5' - 5 VDP sprites and 15 tiles
Sprite frame 'sonic_sprite_animation3_frame0' - 2 VDP sprites and 18 tiles
Sprite frame 'sonic_sprite_animation3_frame1' - 3 VDP sprites and 17 tiles
Sprite frame 'sonic_sprite_animation3_frame2' - 2 VDP sprites and 18 tiles
Sprite frame 'sonic_sprite_animation3_frame3' - 3 VDP sprites and 17 tiles
Sprite frame 'sonic_sprite_animation4_frame0' - 4 VDP sprites and 17 tiles
Sprite frame 'sonic_sprite_animation4_frame1' - 4 VDP sprites and 17 tiles
Sprite frame 'sonic_sprite_animation5_frame0' - 2 VDP sprites and 15 tiles
Sprite frame 'sonic_sprite_animation6_frame0' - 1 VDP sprites and 16 tiles
Sprite frame 'sonic_sprite_animation7_frame0' - 1 VDP sprites and 16 tiles
Sprite frame 'sonic_sprite_animation7_frame1' - 1 VDP sprites and 16 tiles
Sprite frame 'sonic_sprite_animation7_frame2' - 1 VDP sprites and 16 tiles
Sprite frame 'sonic_sprite_animation7_frame3' - 1 VDP sprites and 16 tiles
Sprite frame 'sonic_sprite_animation7_frame4' - 1 VDP sprites and 16 tiles
Resource: SPRITE enemy01_sprite "sprite/enemy01.png" 6 4 BEST 5
--> executing plugin SPRITE...
Sprite frame 'enemy01_sprite_animation0_frame0' - 3 VDP sprites and 21 tiles
Sprite frame 'enemy01_sprite_animation0_frame1' - 2 VDP sprites and 18 tiles
Resource: SPRITE enemy02_sprite "sprite/enemy02.png" 6 4 BEST 5
--> executing plugin SPRITE...
Sprite frame 'enemy02_sprite_animation0_frame0' - 3 VDP sprites and 20 tiles
Sprite frame 'enemy02_sprite_animation0_frame1' - 2 VDP sprites and 24 tiles
Sprite frame 'enemy02_sprite_animation0_frame2' - 3 VDP sprites and 18 tiles
Sprite frame 'enemy02_sprite_animation0_frame3' - 2 VDP sprites and 24 tiles
Resource: SPRITE sbar_sprite "sprite/sbar.png" 1 3 FAST 0
--> executing plugin SPRITE...
Sprite frame 'sbar_sprite_animation0_frame0' - 1 VDP sprites and 1 tiles
Sprite frame 'sbar_sprite_animation0_frame1' - 1 VDP sprites and 2 tiles
Sprite frame 'sbar_sprite_animation0_frame2' - 1 VDP sprites and 2 tiles
Sprite frame 'sbar_sprite_animation0_frame3' - 1 VDP sprites and 2 tiles
Sprite frame 'sbar_sprite_animation0_frame4' - 1 VDP sprites and 2 tiles
Sprite frame 'sbar_sprite_animation0_frame5' - 1 VDP sprites and 2 tiles
Sprite frame 'sbar_sprite_animation0_frame6' - 1 VDP sprites and 2 tiles
Sprite frame 'sbar_sprite_animation0_frame7' - 1 VDP sprites and 2 tiles
Sprite frame 'sbar_sprite_animation0_frame8' - 1 VDP sprites and 2 tiles
Sprite frame 'sbar_sprite_animation0_frame9' - 1 VDP sprites and 3 tiles
Sprite frame 'sbar_sprite_animation0_frame10' - 1 VDP sprites and 3 tiles
Sprite frame 'sbar_sprite_animation0_frame11' - 1 VDP sprites and 3 tiles
Sprite frame 'sbar_sprite_animation0_frame12' - 1 VDP sprites and 3 tiles
Sprite frame 'sbar_sprite_animation0_frame13' - 1 VDP sprites and 3 tiles
Sprite frame 'sbar_sprite_animation0_frame14' - 1 VDP sprites and 3 tiles
Sprite frame 'sbar_sprite_animation0_frame15' - 1 VDP sprites and 3 tiles
Sprite frame 'sbar_sprite_animation0_frame16' - 1 VDP sprites and 3 tiles
Resource: SPRITE jbar_sprite "sprite/jbar.png" 1 3 FAST 0
--> executing plugin SPRITE...
Sprite frame 'jbar_sprite_animation0_frame0' - 1 VDP sprites and 1 tiles
Sprite frame 'jbar_sprite_animation0_frame1' - 1 VDP sprites and 2 tiles
Sprite frame 'jbar_sprite_animation0_frame2' - 1 VDP sprites and 2 tiles
Sprite frame 'jbar_sprite_animation0_frame3' - 1 VDP sprites and 2 tiles
Sprite frame 'jbar_sprite_animation0_frame4' - 1 VDP sprites and 2 tiles
Sprite frame 'jbar_sprite_animation0_frame5' - 1 VDP sprites and 2 tiles
Sprite frame 'jbar_sprite_animation0_frame6' - 1 VDP sprites and 2 tiles
Sprite frame 'jbar_sprite_animation0_frame7' - 1 VDP sprites and 2 tiles
Sprite frame 'jbar_sprite_animation0_frame8' - 1 VDP sprites and 2 tiles
Sprite frame 'jbar_sprite_animation0_frame9' - 1 VDP sprites and 3 tiles
Sprite frame 'jbar_sprite_animation0_frame10' - 1 VDP sprites and 3 tiles
Sprite frame 'jbar_sprite_animation0_frame11' - 1 VDP sprites and 3 tiles
Sprite frame 'jbar_sprite_animation0_frame12' - 1 VDP sprites and 3 tiles
Sprite frame 'jbar_sprite_animation0_frame13' - 1 VDP sprites and 3 tiles
Sprite frame 'jbar_sprite_animation0_frame14' - 1 VDP sprites and 3 tiles
Sprite frame 'jbar_sprite_animation0_frame15' - 1 VDP sprites and 3 tiles
Sprite frame 'jbar_sprite_animation0_frame16' - 1 VDP sprites and 3 tiles
Resource: SPRITE gbar_sprite "sprite/gbar.png" 1 3 FAST 0
--> executing plugin SPRITE...
Sprite frame 'gbar_sprite_animation0_frame0' - 1 VDP sprites and 1 tiles
Sprite frame 'gbar_sprite_animation0_frame1' - 1 VDP sprites and 2 tiles
Sprite frame 'gbar_sprite_animation0_frame2' - 1 VDP sprites and 2 tiles
Sprite frame 'gbar_sprite_animation0_frame3' - 1 VDP sprites and 2 tiles
Sprite frame 'gbar_sprite_animation0_frame4' - 1 VDP sprites and 2 tiles
Sprite frame 'gbar_sprite_animation0_frame5' - 1 VDP sprites and 2 tiles
Sprite frame 'gbar_sprite_animation0_frame6' - 1 VDP sprites and 2 tiles
Sprite frame 'gbar_sprite_animation0_frame7' - 1 VDP sprites and 2 tiles
Sprite frame 'gbar_sprite_animation0_frame8' - 1 VDP sprites and 2 tiles
Sprite frame 'gbar_sprite_animation0_frame9' - 1 VDP sprites and 3 tiles
Sprite frame 'gbar_sprite_animation0_frame10' - 1 VDP sprites and 3 tiles
Sprite frame 'gbar_sprite_animation0_frame11' - 1 VDP sprites and 3 tiles
Sprite frame 'gbar_sprite_animation0_frame12' - 1 VDP sprites and 3 tiles
Sprite frame 'gbar_sprite_animation0_frame13' - 1 VDP sprites and 3 tiles
Sprite frame 'gbar_sprite_animation0_frame14' - 1 VDP sprites and 3 tiles
Sprite frame 'gbar_sprite_animation0_frame15' - 1 VDP sprites and 3 tiles
Sprite frame 'gbar_sprite_animation0_frame16' - 1 VDP sprites and 3 tiles
Packed with LZ4W, 'sonic_sprite_animation0_frame0_tileset_data' final size = 414 (81% - origin size = 512)
Packed with LZ4W, 'sonic_sprite_animation1_frame0_tileset_data' final size = 426 (89% - origin size = 480)
Packed with LZ4W, 'sonic_sprite_animation1_frame1_tileset_data' final size = 206 (43% - origin size = 480)
Packed with LZ4W, 'sonic_sprite_animation2_frame0_tileset_data' final size = 424 (83% - origin size = 512)
Packed with LZ4W, 'sonic_sprite_animation2_frame1_tileset_data' final size = 608 (86% - origin size = 704)
Packed with LZ4W, 'sonic_sprite_animation2_frame2_tileset_data' final size = 328 (57% - origin size = 576)
Packed with LZ4W, 'sonic_sprite_animation2_frame3_tileset_data' final size = 354 (79% - origin size = 448)
Packed with LZ4W, 'sonic_sprite_animation2_frame4_tileset_data' final size = 406 (67% - origin size = 608)
Packed with LZ4W, 'sonic_sprite_animation2_frame5_tileset_data' final size = 322 (67% - origin size = 480)
Packed with LZ4W, 'sonic_sprite_animation3_frame0_tileset_data' final size = 448 (78% - origin size = 576)
Packed with LZ4W, 'sonic_sprite_animation3_frame1_tileset_data' final size = 346 (64% - origin size = 544)
Packed with LZ4W, 'sonic_sprite_animation3_frame2_tileset_data' final size = 362 (63% - origin size = 576)
Packed with LZ4W, 'sonic_sprite_animation3_frame3_tileset_data' final size = 326 (60% - origin size = 544)
Packed with LZ4W, 'sonic_sprite_animation4_frame0_tileset_data' final size = 328 (60% - origin size = 544)
Packed with LZ4W, 'sonic_sprite_animation4_frame1_tileset_data' final size = 438 (81% - origin size = 544)
Packed with LZ4W, 'sonic_sprite_animation5_frame0_tileset_data' final size = 312 (65% - origin size = 480)
Packed with LZ4W, 'sonic_sprite_animation6_frame0_tileset_data' final size = 354 (69% - origin size = 512)
Packed with LZ4W, 'sonic_sprite_animation7_frame0_tileset_data' final size = 364 (71% - origin size = 512)
Packed with LZ4W, 'sonic_sprite_animation7_frame1_tileset_data' final size = 384 (75% - origin size = 512)
Packed with LZ4W, 'sonic_sprite_animation7_frame2_tileset_data' final size = 376 (73% - origin size = 512)
Packed with LZ4W, 'sonic_sprite_animation7_frame3_tileset_data' final size = 330 (64% - origin size = 512)
Packed with LZ4W, 'sonic_sprite_animation7_frame4_tileset_data' final size = 228 (45% - origin size = 512)
Executing /opt/gendev/bin/appack c pack.in pack.out -s
===============================================================================
aPLib example Copyright (c) 1998-2009 by Joergen Ibsen / Jibz
All Rights Reserved
http://www.ibsensoftware.com/
===============================================================================
syntax:
compress : appack c <file> <packed_file>
decompress : appack d <packed_file> <depacked_file>
Executing java -jar /opt/gendev/bin/lz4w.jar p prev.in@pack.in pack.out -s
Packed with LZ4W, 'enemy01_sprite_animation0_frame0_tileset_data' final size = 550 (82% - origin size = 672)
Executing /opt/gendev/bin/appack c pack.in pack.out -s
===============================================================================
aPLib example Copyright (c) 1998-2009 by Joergen Ibsen / Jibz
All Rights Reserved
http://www.ibsensoftware.com/
===============================================================================
syntax:
compress : appack c <file> <packed_file>
decompress : appack d <packed_file> <depacked_file>
Executing java -jar /opt/gendev/bin/lz4w.jar p prev.in@pack.in pack.out -s
Packed with LZ4W, 'enemy01_sprite_animation0_frame1_tileset_data' final size = 302 (52% - origin size = 576)
Executing /opt/gendev/bin/appack c pack.in pack.out -s
===============================================================================
aPLib example Copyright (c) 1998-2009 by Joergen Ibsen / Jibz
All Rights Reserved
http://www.ibsensoftware.com/
===============================================================================
syntax:
compress : appack c <file> <packed_file>
decompress : appack d <packed_file> <depacked_file>
Executing java -jar /opt/gendev/bin/lz4w.jar p prev.in@pack.in pack.out -s
Packed with LZ4W, 'enemy02_sprite_animation0_frame0_tileset_data' final size = 582 (91% - origin size = 640)
Executing /opt/gendev/bin/appack c pack.in pack.out -s
===============================================================================
aPLib example Copyright (c) 1998-2009 by Joergen Ibsen / Jibz
All Rights Reserved
http://www.ibsensoftware.com/
===============================================================================
syntax:
compress : appack c <file> <packed_file>
decompress : appack d <packed_file> <depacked_file>
Executing java -jar /opt/gendev/bin/lz4w.jar p prev.in@pack.in pack.out -s
Packed with LZ4W, 'enemy02_sprite_animation0_frame1_tileset_data' final size = 584 (76% - origin size = 768)
Executing /opt/gendev/bin/appack c pack.in pack.out -s
===============================================================================
aPLib example Copyright (c) 1998-2009 by Joergen Ibsen / Jibz
All Rights Reserved
http://www.ibsensoftware.com/
===============================================================================
syntax:
compress : appack c <file> <packed_file>
decompress : appack d <packed_file> <depacked_file>
Executing java -jar /opt/gendev/bin/lz4w.jar p prev.in@pack.in pack.out -s
Packed with LZ4W, 'enemy02_sprite_animation0_frame2_tileset_data' final size = 376 (65% - origin size = 576)
Executing /opt/gendev/bin/appack c pack.in pack.out -s
===============================================================================
aPLib example Copyright (c) 1998-2009 by Joergen Ibsen / Jibz
All Rights Reserved
http://www.ibsensoftware.com/
===============================================================================
syntax:
compress : appack c <file> <packed_file>
decompress : appack d <packed_file> <depacked_file>
Executing java -jar /opt/gendev/bin/lz4w.jar p prev.in@pack.in pack.out -s
Packed with LZ4W, 'enemy02_sprite_animation0_frame3_tileset_data' final size = 544 (71% - origin size = 768)
Packed with LZ4W, 'sbar_sprite_animation0_frame1_tileset_data' final size = 14 (22% - origin size = 64)
Packed with LZ4W, 'sbar_sprite_animation0_frame2_tileset_data' final size = 16 (25% - origin size = 64)
Packed with LZ4W, 'sbar_sprite_animation0_frame3_tileset_data' final size = 16 (25% - origin size = 64)
Packed with LZ4W, 'sbar_sprite_animation0_frame4_tileset_data' final size = 16 (25% - origin size = 64)
Packed with LZ4W, 'sbar_sprite_animation0_frame5_tileset_data' final size = 16 (25% - origin size = 64)
Packed with LZ4W, 'sbar_sprite_animation0_frame6_tileset_data' final size = 16 (25% - origin size = 64)
Packed with LZ4W, 'sbar_sprite_animation0_frame7_tileset_data' final size = 14 (22% - origin size = 64)
Packed with LZ4W, 'sbar_sprite_animation0_frame8_tileset_data' final size = 14 (22% - origin size = 64)
Packed with LZ4W, 'sbar_sprite_animation0_frame9_tileset_data' final size = 16 (17% - origin size = 96)
Packed with LZ4W, 'sbar_sprite_animation0_frame10_tileset_data' final size = 18 (19% - origin size = 96)
Packed with LZ4W, 'sbar_sprite_animation0_frame11_tileset_data' final size = 18 (19% - origin size = 96)
Packed with LZ4W, 'sbar_sprite_animation0_frame12_tileset_data' final size = 18 (19% - origin size = 96)
Packed with LZ4W, 'sbar_sprite_animation0_frame13_tileset_data' final size = 18 (19% - origin size = 96)
Packed with LZ4W, 'sbar_sprite_animation0_frame14_tileset_data' final size = 18 (19% - origin size = 96)
Packed with LZ4W, 'sbar_sprite_animation0_frame15_tileset_data' final size = 16 (17% - origin size = 96)
Packed with LZ4W, 'sbar_sprite_animation0_frame16_tileset_data' final size = 16 (17% - origin size = 96)
Packed with LZ4W, 'jbar_sprite_animation0_frame0_tileset_data' final size = 24 (75% - origin size = 32)
Packed with LZ4W, 'jbar_sprite_animation0_frame1_tileset_data' final size = 26 (41% - origin size = 64)
Packed with LZ4W, 'jbar_sprite_animation0_frame2_tileset_data' final size = 22 (34% - origin size = 64)
Packed with LZ4W, 'jbar_sprite_animation0_frame3_tileset_data' final size = 24 (38% - origin size = 64)
Packed with LZ4W, 'jbar_sprite_animation0_frame4_tileset_data' final size = 24 (38% - origin size = 64)
Packed with LZ4W, 'jbar_sprite_animation0_frame5_tileset_data' final size = 24 (38% - origin size = 64)
Packed with LZ4W, 'jbar_sprite_animation0_frame6_tileset_data' final size = 24 (38% - origin size = 64)
Packed with LZ4W, 'jbar_sprite_animation0_frame7_tileset_data' final size = 26 (41% - origin size = 64)
Packed with LZ4W, 'jbar_sprite_animation0_frame8_tileset_data' final size = 24 (38% - origin size = 64)
Packed with LZ4W, 'jbar_sprite_animation0_frame9_tileset_data' final size = 24 (25% - origin size = 96)
Packed with LZ4W, 'jbar_sprite_animation0_frame10_tileset_data' final size = 26 (27% - origin size = 96)
Packed with LZ4W, 'jbar_sprite_animation0_frame11_tileset_data' final size = 26 (27% - origin size = 96)
Packed with LZ4W, 'jbar_sprite_animation0_frame12_tileset_data' final size = 26 (27% - origin size = 96)
Packed with LZ4W, 'jbar_sprite_animation0_frame13_tileset_data' final size = 26 (27% - origin size = 96)
Packed with LZ4W, 'jbar_sprite_animation0_frame14_tileset_data' final size = 26 (27% - origin size = 96)
Packed with LZ4W, 'jbar_sprite_animation0_frame15_tileset_data' final size = 28 (29% - origin size = 96)
Packed with LZ4W, 'jbar_sprite_animation0_frame16_tileset_data' final size = 26 (27% - origin size = 96)
Packed with LZ4W, 'gbar_sprite_animation0_frame0_tileset_data' final size = 16 (50% - origin size = 32)
Packed with LZ4W, 'gbar_sprite_animation0_frame1_tileset_data' final size = 22 (34% - origin size = 64)
Packed with LZ4W, 'gbar_sprite_animation0_frame2_tileset_data' final size = 26 (41% - origin size = 64)
Packed with LZ4W, 'gbar_sprite_animation0_frame3_tileset_data' final size = 24 (38% - origin size = 64)
Packed with LZ4W, 'gbar_sprite_animation0_frame4_tileset_data' final size = 24 (38% - origin size = 64)
Packed with LZ4W, 'gbar_sprite_animation0_frame5_tileset_data' final size = 24 (38% - origin size = 64)
Packed with LZ4W, 'gbar_sprite_animation0_frame6_tileset_data' final size = 24 (38% - origin size = 64)
Packed with LZ4W, 'gbar_sprite_animation0_frame7_tileset_data' final size = 22 (34% - origin size = 64)
Packed with LZ4W, 'gbar_sprite_animation0_frame8_tileset_data' final size = 22 (34% - origin size = 64)
Packed with LZ4W, 'gbar_sprite_animation0_frame9_tileset_data' final size = 24 (25% - origin size = 96)
Packed with LZ4W, 'gbar_sprite_animation0_frame10_tileset_data' final size = 26 (27% - origin size = 96)
Packed with LZ4W, 'gbar_sprite_animation0_frame11_tileset_data' final size = 26 (27% - origin size = 96)
Packed with LZ4W, 'gbar_sprite_animation0_frame12_tileset_data' final size = 26 (27% - origin size = 96)
Packed with LZ4W, 'gbar_sprite_animation0_frame13_tileset_data' final size = 26 (27% - origin size = 96)
Packed with LZ4W, 'gbar_sprite_animation0_frame14_tileset_data' final size = 26 (27% - origin size = 96)
Packed with LZ4W, 'gbar_sprite_animation0_frame15_tileset_data' final size = 24 (25% - origin size = 96)
Packed with LZ4W, 'gbar_sprite_animation0_frame16_tileset_data' final size = 24 (25% - origin size = 96)
res/sprite.res summary:
-------------
Binary data: 12242 bytes
Unpacked: 128 bytes
Packed: 12114 bytes (62% - origin size: 19584 bytes)
Sprite metadata (all but tiles and palette data): 6050 bytes
Misc metadata (bitmap, image, tilemap, tileset, palette..): 650 bytes
Total: 18942 bytes (18 KB)
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -O3 -fuse-linker-plugin -fno-web -fno-gcse -fno-unit-at-a-time -fomit-frame-pointer -flto -c res/sprite.s -o out/res/sprite.o
java -jar /opt/gendev/bin/rescomp.jar res/sound.res res/sound.s
ResComp 2.71 - SGDK Resource Compiler - Copyright 2020 (Stephane Dallongeville)
Resource: XGM sonic_music "music/sonic1.vgm"
--> executing plugin XGM...
Executing /opt/gendev/bin/xgmtool /src/res/music/sonic1.vgm /src/res/music/sonic1.bin -s
Warning: option not recognized (ignored)
Warning: option not recognized (ignored)
Resource: WAV sonic_jump_sfx "sfx/S1_jump.wav" XGM
--> executing plugin WAV...
Resource: WAV sonic_roll_sfx "sfx/S1_roll.wav" XGM
--> executing plugin WAV...
Resource: WAV sonic_stop_sfx "sfx/S1_stop.wav" XGM
--> executing plugin WAV...
res/sound.res summary:
-------------
Binary data: 62976 bytes
Unpacked: 62976 bytes
Total: 62976 bytes (61 KB)
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -O3 -fuse-linker-plugin -fno-web -fno-gcse -fno-unit-at-a-time -fomit-frame-pointer -flto -c res/sound.s -o out/res/sound.o
java -jar /opt/gendev/bin/rescomp.jar res/gfx.res res/gfx.s
ResComp 2.71 - SGDK Resource Compiler - Copyright 2020 (Stephane Dallongeville)
Resource: IMAGE bgb_image "gfx/S1_GHZ1_BG_SM.png" BEST
--> executing plugin IMAGE...
Resource: IMAGE bga_image "gfx/S1_GHZ1_FG_SM.png" NONE
--> executing plugin IMAGE...
Executing /opt/gendev/bin/appack c pack.in pack.out -s
===============================================================================
aPLib example Copyright (c) 1998-2009 by Joergen Ibsen / Jibz
All Rights Reserved
http://www.ibsensoftware.com/
===============================================================================
syntax:
compress : appack c <file> <packed_file>
decompress : appack d <packed_file> <depacked_file>
Executing java -jar /opt/gendev/bin/lz4w.jar p pack.in pack.out -s
Packed with LZ4W, 'bgb_image_map_data' final size = 3280 (20% - origin size = 16384)
Executing /opt/gendev/bin/appack c pack.in pack.out -s
===============================================================================
aPLib example Copyright (c) 1998-2009 by Joergen Ibsen / Jibz
All Rights Reserved
http://www.ibsensoftware.com/
===============================================================================
syntax:
compress : appack c <file> <packed_file>
decompress : appack d <packed_file> <depacked_file>
Executing java -jar /opt/gendev/bin/lz4w.jar p prev.in@pack.in pack.out -s
Packed with LZ4W, 'bgb_image_tileset_data' final size = 3532 (51% - origin size = 6976)
res/gfx.res summary:
-------------
Binary data: 82492 bytes
Unpacked: 75680 bytes
Packed: 6812 bytes (29% - origin size: 23360 bytes)
Misc metadata (bitmap, image, tilemap, tileset, palette..): 72 bytes
Total: 82564 bytes (80 KB)
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -O3 -fuse-linker-plugin -fno-web -fno-gcse -fno-unit-at-a-time -fomit-frame-pointer -flto -c res/gfx.s -o out/res/gfx.o
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -O3 -fuse-linker-plugin -fno-web -fno-gcse -fno-unit-at-a-time -fomit-frame-pointer -flto -c src/main.c -o out/src/main.o
src/main.c: In function 'joyEvent':
src/main.c:626:26: warning: unused parameter 'joy' [-Wunused-parameter]
static void joyEvent(u16 joy, u16 changed, u16 state)
^~~
echo "out/res/sprite.o out/res/sound.o out/res/gfx.o out/src/main.o" > out/cmd_
/opt/gendev/bin/m68k-elf-gcc -B/opt/gendev/sgdk/bin -n -T /opt/gendev/sgdk/md.ld -nostdlib out/sega.o @out/cmd_ /opt/gendev/sgdk/lib/libmd.a /opt/gendev/sgdk/lib/libgcc.a -o out/rom.out
rm -f out/cmd_
/opt/gendev/bin/m68k-elf-objcopy -O binary out/rom.out out/rom.bin
/opt/gendev/bin/sizebnd out/rom.bin -sizealign 131072
nm --plugin=liblto_plugin-0.dll -n out/rom.out > out/symbol.txt
nm: liblto_plugin-0.dll: cannot open shared object file: No such file or directory
rm res/sprite.s res/sound.s res/gfx.s
~/Workspace/GitHub/dleslie/genesis-dev/examples/gendev
5 second pause
Building starfield_donut/
~/Workspace/GitHub/dleslie/genesis-dev/examples/gendev/starfield_donut ~/Workspace/GitHub/dleslie/genesis-dev/examples/gendev
mkdir -p src/boot
mkdir -p out
mkdir -p out/src
mkdir -p out/res
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -c src/boot/rom_head.c -o out/rom_head.o
/opt/gendev/bin/m68k-elf-ld -T /opt/gendev/sgdk/md.ld -nostdlib --oformat binary -o out/rom_head.bin out/rom_head.o
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -c src/boot/sega.s -o out/sega.o
java -jar /opt/gendev/bin/rescomp.jar res/gfx.res res/gfx.s
ResComp 2.71 - SGDK Resource Compiler - Copyright 2020 (Stephane Dallongeville)
Resource: IMAGE starfield "starfield.png" BEST
--> executing plugin IMAGE...
Resource: SPRITE donut "donut.png" 4 4 BEST
--> executing plugin SPRITE...
Sprite frame 'donut_animation0_frame0' - 1 VDP sprites and 16 tiles
Sprite frame 'donut_animation0_frame1' - 1 VDP sprites and 16 tiles
Sprite frame 'donut_animation0_frame2' - 1 VDP sprites and 12 tiles
Sprite frame 'donut_animation0_frame3' - 1 VDP sprites and 12 tiles
Sprite frame 'donut_animation0_frame4' - 1 VDP sprites and 8 tiles
Sprite frame 'donut_animation0_frame5' - 1 VDP sprites and 12 tiles
Sprite frame 'donut_animation0_frame6' - 1 VDP sprites and 16 tiles
Sprite frame 'donut_animation0_frame7' - 1 VDP sprites and 16 tiles
Executing /opt/gendev/bin/appack c pack.in pack.out -s
===============================================================================
aPLib example Copyright (c) 1998-2009 by Joergen Ibsen / Jibz
All Rights Reserved
http://www.ibsensoftware.com/
===============================================================================
syntax:
compress : appack c <file> <packed_file>
decompress : appack d <packed_file> <depacked_file>
Executing java -jar /opt/gendev/bin/lz4w.jar p pack.in pack.out -s
Packed with LZ4W, 'starfield_map_data' final size = 292 (15% - origin size = 1920)
Executing /opt/gendev/bin/appack c pack.in pack.out -s
===============================================================================
aPLib example Copyright (c) 1998-2009 by Joergen Ibsen / Jibz
All Rights Reserved
http://www.ibsensoftware.com/
===============================================================================
syntax:
compress : appack c <file> <packed_file>
decompress : appack d <packed_file> <depacked_file>
Executing java -jar /opt/gendev/bin/lz4w.jar p prev.in@pack.in pack.out -s
Packed with LZ4W, 'starfield_tileset_data' final size = 136 (13% - origin size = 1088)
Executing /opt/gendev/bin/appack c pack.in pack.out -s
===============================================================================
aPLib example Copyright (c) 1998-2009 by Joergen Ibsen / Jibz
All Rights Reserved
http://www.ibsensoftware.com/
===============================================================================
syntax:
compress : appack c <file> <packed_file>
decompress : appack d <packed_file> <depacked_file>
Executing java -jar /opt/gendev/bin/lz4w.jar p prev.in@pack.in pack.out -s
Packed with LZ4W, 'donut_animation0_frame0_tileset_data' final size = 396 (77% - origin size = 512)
Executing /opt/gendev/bin/appack c pack.in pack.out -s
===============================================================================
aPLib example Copyright (c) 1998-2009 by Joergen Ibsen / Jibz
All Rights Reserved
http://www.ibsensoftware.com/
===============================================================================
syntax:
compress : appack c <file> <packed_file>
decompress : appack d <packed_file> <depacked_file>
Executing java -jar /opt/gendev/bin/lz4w.jar p prev.in@pack.in pack.out -s
Packed with LZ4W, 'donut_animation0_frame1_tileset_data' final size = 342 (67% - origin size = 512)
Executing /opt/gendev/bin/appack c pack.in pack.out -s
===============================================================================
aPLib example Copyright (c) 1998-2009 by Joergen Ibsen / Jibz
All Rights Reserved
http://www.ibsensoftware.com/
===============================================================================
syntax:
compress : appack c <file> <packed_file>
decompress : appack d <packed_file> <depacked_file>
Executing java -jar /opt/gendev/bin/lz4w.jar p prev.in@pack.in pack.out -s
Packed with LZ4W, 'donut_animation0_frame2_tileset_data' final size = 224 (58% - origin size = 384)
Executing /opt/gendev/bin/appack c pack.in pack.out -s
===============================================================================
aPLib example Copyright (c) 1998-2009 by Joergen Ibsen / Jibz
All Rights Reserved
http://www.ibsensoftware.com/
===============================================================================
syntax:
compress : appack c <file> <packed_file>
decompress : appack d <packed_file> <depacked_file>
Executing java -jar /opt/gendev/bin/lz4w.jar p prev.in@pack.in pack.out -s
Packed with LZ4W, 'donut_animation0_frame3_tileset_data' final size = 244 (64% - origin size = 384)
Executing /opt/gendev/bin/appack c pack.in pack.out -s
===============================================================================
aPLib example Copyright (c) 1998-2009 by Joergen Ibsen / Jibz
All Rights Reserved
http://www.ibsensoftware.com/
===============================================================================
syntax:
compress : appack c <file> <packed_file>
decompress : appack d <packed_file> <depacked_file>
Executing java -jar /opt/gendev/bin/lz4w.jar p prev.in@pack.in pack.out -s
Packed with LZ4W, 'donut_animation0_frame4_tileset_data' final size = 136 (53% - origin size = 256)
Executing /opt/gendev/bin/appack c pack.in pack.out -s
===============================================================================
aPLib example Copyright (c) 1998-2009 by Joergen Ibsen / Jibz
All Rights Reserved
http://www.ibsensoftware.com/
===============================================================================
syntax:
compress : appack c <file> <packed_file>
decompress : appack d <packed_file> <depacked_file>
Executing java -jar /opt/gendev/bin/lz4w.jar p prev.in@pack.in pack.out -s
Packed with LZ4W, 'donut_animation0_frame5_tileset_data' final size = 210 (55% - origin size = 384)
Executing /opt/gendev/bin/appack c pack.in pack.out -s
===============================================================================
aPLib example Copyright (c) 1998-2009 by Joergen Ibsen / Jibz
All Rights Reserved
http://www.ibsensoftware.com/
===============================================================================
syntax:
compress : appack c <file> <packed_file>
decompress : appack d <packed_file> <depacked_file>
Executing java -jar /opt/gendev/bin/lz4w.jar p prev.in@pack.in pack.out -s
Packed with LZ4W, 'donut_animation0_frame6_tileset_data' final size = 274 (54% - origin size = 512)
Executing /opt/gendev/bin/appack c pack.in pack.out -s
===============================================================================
aPLib example Copyright (c) 1998-2009 by Joergen Ibsen / Jibz
All Rights Reserved
http://www.ibsensoftware.com/
===============================================================================
syntax:
compress : appack c <file> <packed_file>
decompress : appack d <packed_file> <depacked_file>
Executing java -jar /opt/gendev/bin/lz4w.jar p prev.in@pack.in pack.out -s
Packed with LZ4W, 'donut_animation0_frame7_tileset_data' final size = 310 (61% - origin size = 512)
res/gfx.res summary:
-------------
Binary data: 2724 bytes
Unpacked: 160 bytes
Packed: 2564 bytes (40% - origin size: 6464 bytes)
Sprite metadata (all but tiles and palette data): 522 bytes
Misc metadata (bitmap, image, tilemap, tileset, palette..): 106 bytes
Total: 3352 bytes (3 KB)
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -O3 -fuse-linker-plugin -fno-web -fno-gcse -fno-unit-at-a-time -fomit-frame-pointer -flto -c res/gfx.s -o out/res/gfx.o
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -O3 -fuse-linker-plugin -fno-web -fno-gcse -fno-unit-at-a-time -fomit-frame-pointer -flto -c src/main.c -o out/src/main.o
src/main.c: In function 'joyEvent':
src/main.c:160:26: warning: unused parameter 'joy' [-Wunused-parameter]
static void joyEvent(u16 joy, u16 changed, u16 state)
^~~
src/main.c:160:35: warning: unused parameter 'changed' [-Wunused-parameter]
static void joyEvent(u16 joy, u16 changed, u16 state)
^~~~~~~
src/main.c:160:48: warning: unused parameter 'state' [-Wunused-parameter]
static void joyEvent(u16 joy, u16 changed, u16 state)
^~~~~
echo "out/res/gfx.o out/src/main.o" > out/cmd_
/opt/gendev/bin/m68k-elf-gcc -B/opt/gendev/sgdk/bin -n -T /opt/gendev/sgdk/md.ld -nostdlib out/sega.o @out/cmd_ /opt/gendev/sgdk/lib/libmd.a /opt/gendev/sgdk/lib/libgcc.a -o out/rom.out
rm -f out/cmd_
/opt/gendev/bin/m68k-elf-objcopy -O binary out/rom.out out/rom.bin
/opt/gendev/bin/sizebnd out/rom.bin -sizealign 131072
nm --plugin=liblto_plugin-0.dll -n out/rom.out > out/symbol.txt
nm: liblto_plugin-0.dll: cannot open shared object file: No such file or directory
rm res/gfx.s
~/Workspace/GitHub/dleslie/genesis-dev/examples/gendev
5 second pause
Building xgmplayer/
~/Workspace/GitHub/dleslie/genesis-dev/examples/gendev/xgmplayer ~/Workspace/GitHub/dleslie/genesis-dev/examples/gendev
mkdir -p src/boot
mkdir -p out
mkdir -p out/src
mkdir -p out/res
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -c src/boot/rom_head.c -o out/rom_head.o
/opt/gendev/bin/m68k-elf-ld -T /opt/gendev/sgdk/md.ld -nostdlib --oformat binary -o out/rom_head.bin out/rom_head.o
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -c src/boot/sega.s -o out/sega.o
java -jar /opt/gendev/bin/rescomp.jar res/gfx.res res/gfx.s
ResComp 2.71 - SGDK Resource Compiler - Copyright 2020 (Stephane Dallongeville)
Resource: IMAGE bg "bg.png" BEST
--> executing plugin IMAGE...
Resource: IMAGE starfield "starfield.png" BEST
--> executing plugin IMAGE...
Resource: IMAGE music_logo "logo.png" BEST
--> executing plugin IMAGE...
Resource: IMAGE progress_bar "progress.png" BEST NONE
--> executing plugin IMAGE...
Resource: SPRITE left_right "left_right.png" 3 1 NONE 0
--> executing plugin SPRITE...
Sprite frame 'left_right_animation1_frame0' - 1 VDP sprites and 1 tiles
Sprite frame 'left_right_animation2_frame0' - 1 VDP sprites and 1 tiles
Sprite frame 'left_right_animation3_frame0' - 1 VDP sprites and 3 tiles
Resource: SPRITE cursor "cursor.png" 1 2 NONE 0
--> executing plugin SPRITE...
Sprite frame 'cursor_animation0_frame0' - 1 VDP sprites and 2 tiles
Resource: SPRITE shadow_mask_16 "shadow_mask_16.png" 16 4 BEST 0
--> executing plugin SPRITE...
Sprite frame 'shadow_mask_16_animation0_frame0' - 4 VDP sprites and 48 tiles
Sprite frame 'shadow_mask_16_animation1_frame0' - 4 VDP sprites and 48 tiles
Resource: SPRITE shadow_mask_7 "shadow_mask_7.png" 7 4 BEST 0
--> executing plugin SPRITE...
Sprite frame 'shadow_mask_7_animation0_frame0' - 2 VDP sprites and 21 tiles
Sprite frame 'shadow_mask_7_animation1_frame0' - 2 VDP sprites and 21 tiles
Executing /opt/gendev/bin/appack c pack.in pack.out -s
===============================================================================
aPLib example Copyright (c) 1998-2009 by Joergen Ibsen / Jibz
All Rights Reserved
http://www.ibsensoftware.com/
===============================================================================
syntax:
compress : appack c <file> <packed_file>
decompress : appack d <packed_file> <depacked_file>
Executing java -jar /opt/gendev/bin/lz4w.jar p pack.in pack.out -s
Packed with LZ4W, 'bg_map_data' final size = 746 (24% - origin size = 3136)
Executing /opt/gendev/bin/appack c pack.in pack.out -s
===============================================================================
aPLib example Copyright (c) 1998-2009 by Joergen Ibsen / Jibz
All Rights Reserved
http://www.ibsensoftware.com/
===============================================================================
syntax:
compress : appack c <file> <packed_file>
decompress : appack d <packed_file> <depacked_file>
Executing java -jar /opt/gendev/bin/lz4w.jar p prev.in@pack.in pack.out -s
Packed with LZ4W, 'starfield_map_data' final size = 504 (14% - origin size = 3584)
Executing /opt/gendev/bin/appack c pack.in pack.out -s
===============================================================================
aPLib example Copyright (c) 1998-2009 by Joergen Ibsen / Jibz
All Rights Reserved
http://www.ibsensoftware.com/
===============================================================================
syntax:
compress : appack c <file> <packed_file>
decompress : appack d <packed_file> <depacked_file>
Executing java -jar /opt/gendev/bin/lz4w.jar p prev.in@pack.in pack.out -s
Packed with LZ4W, 'music_logo_map_data' final size = 152 (57% - origin size = 266)
Executing /opt/gendev/bin/appack c pack.in pack.out -s
===============================================================================
aPLib example Copyright (c) 1998-2009 by Joergen Ibsen / Jibz
All Rights Reserved
http://www.ibsensoftware.com/
===============================================================================
syntax:
compress : appack c <file> <packed_file>
decompress : appack d <packed_file> <depacked_file>
Executing java -jar /opt/gendev/bin/lz4w.jar p prev.in@pack.in pack.out -s
Packed with LZ4W, 'progress_bar_map_data' final size = 8 (27% - origin size = 30)
Executing /opt/gendev/bin/appack c pack.in pack.out -s
===============================================================================
aPLib example Copyright (c) 1998-2009 by Joergen Ibsen / Jibz
All Rights Reserved
http://www.ibsensoftware.com/
===============================================================================
syntax:
compress : appack c <file> <packed_file>
decompress : appack d <packed_file> <depacked_file>
Executing java -jar /opt/gendev/bin/lz4w.jar p prev.in@pack.in pack.out -s
Packed with LZ4W, 'bg_tileset_data' final size = 3046 (47% - origin size = 6528)
Executing /opt/gendev/bin/appack c pack.in pack.out -s
===============================================================================
aPLib example Copyright (c) 1998-2009 by Joergen Ibsen / Jibz
All Rights Reserved
http://www.ibsensoftware.com/
===============================================================================
syntax:
compress : appack c <file> <packed_file>
decompress : appack d <packed_file> <depacked_file>
Executing java -jar /opt/gendev/bin/lz4w.jar p prev.in@pack.in pack.out -s
Packed with LZ4W, 'starfield_tileset_data' final size = 156 (12% - origin size = 1312)
Executing /opt/gendev/bin/appack c pack.in pack.out -s
===============================================================================
aPLib example Copyright (c) 1998-2009 by Joergen Ibsen / Jibz
All Rights Reserved
http://www.ibsensoftware.com/
===============================================================================
syntax:
compress : appack c <file> <packed_file>
decompress : appack d <packed_file> <depacked_file>
Executing java -jar /opt/gendev/bin/lz4w.jar p prev.in@pack.in pack.out -s
Packed with LZ4W, 'music_logo_tileset_data' final size = 798 (45% - origin size = 1792)
Executing /opt/gendev/bin/appack c pack.in pack.out -s
===============================================================================
aPLib example Copyright (c) 1998-2009 by Joergen Ibsen / Jibz
All Rights Reserved
http://www.ibsensoftware.com/
===============================================================================
syntax:
compress : appack c <file> <packed_file>
decompress : appack d <packed_file> <depacked_file>
Executing java -jar /opt/gendev/bin/lz4w.jar p prev.in@pack.in pack.out -s
Packed with LZ4W, 'progress_bar_tileset_data' final size = 46 (10% - origin size = 480)
Executing /opt/gendev/bin/appack c pack.in pack.out -s
===============================================================================
aPLib example Copyright (c) 1998-2009 by Joergen Ibsen / Jibz
All Rights Reserved
http://www.ibsensoftware.com/
===============================================================================
syntax:
compress : appack c <file> <packed_file>
decompress : appack d <packed_file> <depacked_file>
Executing java -jar /opt/gendev/bin/lz4w.jar p prev.in@pack.in pack.out -s
Packed with LZ4W, 'shadow_mask_16_animation0_frame0_tileset_data' final size = 32 (2% - origin size = 1536)
Executing /opt/gendev/bin/appack c pack.in pack.out -s
===============================================================================
aPLib example Copyright (c) 1998-2009 by Joergen Ibsen / Jibz
All Rights Reserved
http://www.ibsensoftware.com/
===============================================================================
syntax:
compress : appack c <file> <packed_file>
decompress : appack d <packed_file> <depacked_file>
Executing java -jar /opt/gendev/bin/lz4w.jar p prev.in@pack.in pack.out -s
Packed with LZ4W, 'shadow_mask_16_animation1_frame0_tileset_data' final size = 32 (2% - origin size = 1536)
Executing /opt/gendev/bin/appack c pack.in pack.out -s
===============================================================================
aPLib example Copyright (c) 1998-2009 by Joergen Ibsen / Jibz
All Rights Reserved
http://www.ibsensoftware.com/
===============================================================================
syntax:
compress : appack c <file> <packed_file>
decompress : appack d <packed_file> <depacked_file>
Executing java -jar /opt/gendev/bin/lz4w.jar p prev.in@pack.in pack.out -s
Packed with LZ4W, 'shadow_mask_7_animation0_frame0_tileset_data' final size = 24 (4% - origin size = 672)
Executing /opt/gendev/bin/appack c pack.in pack.out -s
===============================================================================
aPLib example Copyright (c) 1998-2009 by Joergen Ibsen / Jibz
All Rights Reserved
http://www.ibsensoftware.com/
===============================================================================
syntax:
compress : appack c <file> <packed_file>
decompress : appack d <packed_file> <depacked_file>
Executing java -jar /opt/gendev/bin/lz4w.jar p prev.in@pack.in pack.out -s
Packed with LZ4W, 'shadow_mask_7_animation1_frame0_tileset_data' final size = 28 (4% - origin size = 672)
res/gfx.res summary:
-------------
Binary data: 5988 bytes
Unpacked: 416 bytes
Packed: 5572 bytes (26% - origin size: 21544 bytes)
Sprite metadata (all but tiles and palette data): 660 bytes
Misc metadata (bitmap, image, tilemap, tileset, palette..): 220 bytes
Total: 6868 bytes (6 KB)
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -O3 -fuse-linker-plugin -fno-web -fno-gcse -fno-unit-at-a-time -fomit-frame-pointer -flto -c res/gfx.s -o out/res/gfx.o
java -jar /opt/gendev/bin/rescomp.jar res/music.res res/music.s
ResComp 2.71 - SGDK Resource Compiler - Copyright 2020 (Stephane Dallongeville)
Resource: XGM xgm_7 "SMetroid Title.vgm"
--> executing plugin XGM...
Executing /opt/gendev/bin/xgmtool /src/res/SMetroid Title.vgm /src/res/SMetroid Title.bin -s
Warning: option not recognized (ignored)
Warning: option not recognized (ignored)
Resource: WAV pcm_hat2 "hat2.wav" 5
--> executing plugin WAV...
Resource: WAV pcm_voice "voice.wav" 5
--> executing plugin WAV...
Resource: WAV pcm_snare2 "snare2.wav" 5
--> executing plugin WAV...
res/music.res summary:
-------------
Binary data: 57088 bytes
Unpacked: 57088 bytes
Total: 57088 bytes (55 KB)
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -O3 -fuse-linker-plugin -fno-web -fno-gcse -fno-unit-at-a-time -fomit-frame-pointer -flto -c res/music.s -o out/res/music.o
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -O3 -fuse-linker-plugin -fno-web -fno-gcse -fno-unit-at-a-time -fomit-frame-pointer -flto -c src/psg_state.c -o out/src/psg_state.o
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -O3 -fuse-linker-plugin -fno-web -fno-gcse -fno-unit-at-a-time -fomit-frame-pointer -flto -c src/ym_state.c -o out/src/ym_state.o
src/ym_state.c: In function 'YM_keyOFF':
src/ym_state.c:258:30: warning: unused parameter 'ch' [-Wunused-parameter]
static void YM_keyOFF(YM_CH *ch, YM_SLOT *slot)
^~
src/ym_state.c: In function 'YM_keyON':
src/ym_state.c:269:29: warning: unused parameter 'ch' [-Wunused-parameter]
static void YM_keyON(YM_CH *ch, YM_SLOT *slot)
^~
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -O3 -fuse-linker-plugin -fno-web -fno-gcse -fno-unit-at-a-time -fomit-frame-pointer -flto -c src/xgm_tool.c -o out/src/xgm_tool.o
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -O3 -fuse-linker-plugin -fno-web -fno-gcse -fno-unit-at-a-time -fomit-frame-pointer -flto -c src/log_tab.c -o out/src/log_tab.o
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -O3 -fuse-linker-plugin -fno-web -fno-gcse -fno-unit-at-a-time -fomit-frame-pointer -flto -c src/main.c -o out/src/main.o
src/main.c: In function 'joyEvent':
src/main.c:1576:26: warning: unused parameter 'joy' [-Wunused-parameter]
static void joyEvent(u16 joy, u16 changed, u16 state)
^~~
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -O3 -fuse-linker-plugin -fno-web -fno-gcse -fno-unit-at-a-time -fomit-frame-pointer -flto -c src/tracklist.c -o out/src/tracklist.o
echo "out/res/gfx.o out/res/music.o out/src/psg_state.o out/src/ym_state.o out/src/xgm_tool.o out/src/log_tab.o out/src/main.o out/src/tracklist.o" > out/cmd_
/opt/gendev/bin/m68k-elf-gcc -B/opt/gendev/sgdk/bin -n -T /opt/gendev/sgdk/md.ld -nostdlib out/sega.o @out/cmd_ /opt/gendev/sgdk/lib/libmd.a /opt/gendev/sgdk/lib/libgcc.a -o out/rom.out
rm -f out/cmd_
/opt/gendev/bin/m68k-elf-objcopy -O binary out/rom.out out/rom.bin
/opt/gendev/bin/sizebnd out/rom.bin -sizealign 131072
nm --plugin=liblto_plugin-0.dll -n out/rom.out > out/symbol.txt
nm: liblto_plugin-0.dll: cannot open shared object file: No such file or directory
rm res/music.s res/gfx.s
~/Workspace/GitHub/dleslie/genesis-dev/examples/gendev
5 second pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment