-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
511 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
/amiga | ||
/DJ | ||
/GCCIA16 | ||
/HP95LX | ||
/Retro68 | ||
/WC16 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
mkdir HP95LX | ||
|
||
unset CFLAGS | ||
|
||
#export RENDER_OPTIONS="-DONE_WALL_TEXTURE -DFLAT_WALL" | ||
export RENDER_OPTIONS="-DUSE_ASSEMBLY -DDISABLE_STATUS_BAR -DVIEWWINDOWWIDTH=30" | ||
#export RENDER_OPTIONS+=" -DEGA_DEBUG" | ||
|
||
nasm i_ibma.asm -f elf -DVIEWWINDOWWIDTH=30 | ||
|
||
ia16-elf-gcc -c i_hp95lx.c $RENDER_OPTIONS -march=i186 -mcmodel=medium -mnewlib-nano-stdio -Ofast -fomit-frame-pointer -fgcse-sm -fgcse-las -fipa-pta -mregparmcall -flto -fwhole-program -funroll-loops -freorder-blocks-algorithm=simple | ||
ia16-elf-gcc -c p_map.c $RENDER_OPTIONS -march=i186 -mcmodel=medium -mnewlib-nano-stdio -Ofast -fomit-frame-pointer -fgcse-sm -fgcse-las -fipa-pta -mregparmcall -flto -fwhole-program -funroll-loops -freorder-blocks-algorithm=simple | ||
ia16-elf-gcc -c p_maputl.c $RENDER_OPTIONS -march=i186 -mcmodel=medium -mnewlib-nano-stdio -Ofast -fomit-frame-pointer -fgcse-sm -fgcse-las -fipa-pta -mregparmcall -flto -fwhole-program -funroll-loops -freorder-blocks-algorithm=simple | ||
ia16-elf-gcc -c p_mobj.c $RENDER_OPTIONS -march=i186 -mcmodel=medium -mnewlib-nano-stdio -Ofast -fomit-frame-pointer -fgcse-sm -fgcse-las -fipa-pta -mregparmcall -flto -fwhole-program -funroll-loops -freorder-blocks-algorithm=simple | ||
ia16-elf-gcc -c p_scroll.c $RENDER_OPTIONS -march=i186 -mcmodel=medium -mnewlib-nano-stdio -Ofast -fomit-frame-pointer -fgcse-sm -fgcse-las -fipa-pta -mregparmcall -flto -fwhole-program -funroll-loops -freorder-blocks-algorithm=simple | ||
ia16-elf-gcc -c p_sight.c $RENDER_OPTIONS -march=i186 -mcmodel=medium -mnewlib-nano-stdio -Ofast -fomit-frame-pointer -fgcse-sm -fgcse-las -fipa-pta -mregparmcall -flto -fwhole-program -funroll-loops -freorder-blocks-algorithm=simple | ||
ia16-elf-gcc -c r_draw.c $RENDER_OPTIONS -march=i186 -mcmodel=medium -mnewlib-nano-stdio -Ofast -fomit-frame-pointer -fgcse-sm -fgcse-las -fipa-pta -mregparmcall -flto -fwhole-program -funroll-loops -freorder-blocks-algorithm=simple | ||
ia16-elf-gcc -c r_plane.c $RENDER_OPTIONS -march=i186 -mcmodel=medium -mnewlib-nano-stdio -Ofast -fomit-frame-pointer -fgcse-sm -fgcse-las -fipa-pta -mregparmcall -flto -fwhole-program -funroll-loops -freorder-blocks-algorithm=simple | ||
ia16-elf-gcc -c tables.c $RENDER_OPTIONS -march=i186 -mcmodel=medium -mnewlib-nano-stdio -Ofast -fomit-frame-pointer -fgcse-sm -fgcse-las -fipa-pta -mregparmcall -flto -fwhole-program -funroll-loops -freorder-blocks-algorithm=simple | ||
ia16-elf-gcc -c w_wad.c $RENDER_OPTIONS -march=i186 -mcmodel=medium -mnewlib-nano-stdio -Ofast -fomit-frame-pointer -fgcse-sm -fgcse-las -fipa-pta -mregparmcall -flto -fwhole-program -funroll-loops -freorder-blocks-algorithm=simple | ||
ia16-elf-gcc -c z_zone.c $RENDER_OPTIONS -march=i186 -mcmodel=medium -mnewlib-nano-stdio -Ofast -fomit-frame-pointer -fgcse-sm -fgcse-las -fipa-pta -mregparmcall -flto -fwhole-program -funroll-loops -freorder-blocks-algorithm=simple | ||
|
||
export CFLAGS="-march=i186 -mcmodel=medium -li86 -mnewlib-nano-stdio -Os -fomit-frame-pointer -fgcse-sm -fgcse-las -fipa-pta -mregparmcall -flto -fwhole-program -funroll-loops -freorder-blocks-algorithm=stc" | ||
#export CFLAGS="$CFLAGS -Ofast -flto -fwhole-program -fomit-frame-pointer -funroll-loops -fgcse-sm -fgcse-las -fipa-pta -Wno-attributes -Wpedantic" | ||
#export CFLAGS="$CFLAGS -Wall -Wextra" | ||
|
||
export GLOBOBJS=" d_items.c" | ||
export GLOBOBJS+=" d_main.c" | ||
export GLOBOBJS+=" g_game.c" | ||
#export GLOBOBJS+=" i_hp95lx.c" | ||
export GLOBOBJS+=" i_hp95lx.o" | ||
export GLOBOBJS+=" i_ibma.o" | ||
export GLOBOBJS+=" info.c" | ||
export GLOBOBJS+=" m_random.c" | ||
export GLOBOBJS+=" p_doors.c" | ||
export GLOBOBJS+=" p_enemy.c" | ||
export GLOBOBJS+=" p_floor.c" | ||
export GLOBOBJS+=" p_inter.c" | ||
export GLOBOBJS+=" p_lights.c" | ||
#export GLOBOBJS+=" p_map.c" | ||
export GLOBOBJS+=" p_map.o" | ||
#export GLOBOBJS+=" p_maputl.c" | ||
export GLOBOBJS+=" p_maputl.o" | ||
#export GLOBOBJS+=" p_mobj.c" | ||
export GLOBOBJS+=" p_mobj.o" | ||
export GLOBOBJS+=" p_plats.c" | ||
export GLOBOBJS+=" p_pspr.c" | ||
#export GLOBOBJS+=" p_scroll.c" | ||
export GLOBOBJS+=" p_scroll.o" | ||
export GLOBOBJS+=" p_setup.c" | ||
#export GLOBOBJS+=" p_sight.c" | ||
export GLOBOBJS+=" p_sight.o" | ||
export GLOBOBJS+=" p_spec.c" | ||
export GLOBOBJS+=" p_switch.c" | ||
export GLOBOBJS+=" p_tick.c" | ||
export GLOBOBJS+=" p_user.c" | ||
export GLOBOBJS+=" r_data.c" | ||
#export GLOBOBJS+=" r_draw.c" | ||
export GLOBOBJS+=" r_draw.o" | ||
#export GLOBOBJS+=" r_plane.c" | ||
export GLOBOBJS+=" r_plane.o" | ||
export GLOBOBJS+=" r_things.c" | ||
export GLOBOBJS+=" st_stuff.c" | ||
#export GLOBOBJS+=" tables.c" | ||
export GLOBOBJS+=" tables.o" | ||
export GLOBOBJS+=" v_video.c" | ||
#export GLOBOBJS+=" w_wad.c" | ||
export GLOBOBJS+=" w_wad.o" | ||
export GLOBOBJS+=" z_bmallo.c" | ||
#export GLOBOBJS+=" z_zone.c" | ||
export GLOBOBJS+=" z_zone.o" | ||
|
||
ia16-elf-gcc $GLOBOBJS $CFLAGS $RENDER_OPTIONS -o HP95LX/DOOMTDHP.EXE | ||
|
||
rm i_ibma.o | ||
rm i_hp95lx.o | ||
rm p_map.o | ||
rm p_maputl.o | ||
rm p_mobj.o | ||
rm p_scroll.o | ||
rm p_sight.o | ||
rm r_draw.o | ||
rm r_plane.o | ||
rm tables.o | ||
rm w_wad.o | ||
rm z_zone.o |
Oops, something went wrong.