commit 766ada1ac56f65890b5bcf884bd7e7f73fface0f
parent f5dcea610771e217b6cdba88ed41c8e2c052acfe
Author: Erick Vásquez García <41172072+Erick194@users.noreply.github.com>
Date: Wed, 18 Nov 2020 00:15:49 -0600
Add files via upload
Diffstat:
7 files changed, 532 insertions(+), 0 deletions(-)
diff --git a/Doom 64/DOOM64.cbp b/Doom 64/DOOM64.cbp
@@ -0,0 +1,288 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
+<CodeBlocks_project_file>
+ <FileVersion major="1" minor="6" />
+ <Project>
+ <Option title="DOOM64" />
+ <Option pch_mode="2" />
+ <Option compiler="null" />
+ <Build>
+ <Target title="Debug">
+ <Option output="bin/Debug/DOOM64" prefix_auto="1" extension_auto="1" />
+ <Option object_output="obj/Debug/" />
+ <Option type="1" />
+ <Option compiler="null" />
+ </Target>
+ <Target title="Release">
+ <Option output="bin/Release/DOOM64" prefix_auto="1" extension_auto="1" />
+ <Option object_output="obj/Release/" />
+ <Option type="1" />
+ <Option compiler="null" />
+ </Target>
+ </Build>
+ <Unit filename="Makefile" />
+ <Unit filename="__elfcom.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="am_main.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="asci.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="audio.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="audio.h" />
+ <Unit filename="audio_heap.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="c_convert.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="cfb.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="d_main.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="d_screens.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="decodes.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="doomdata.h" />
+ <Unit filename="doomdef.h" />
+ <Unit filename="doominfo.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="doominfo.h" />
+ <Unit filename="doomlib.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="f_main.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="funqueue.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="funqueue.h" />
+ <Unit filename="g_game.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="graph.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="graph.h" />
+ <Unit filename="i_main.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="i_main.h" />
+ <Unit filename="in_main.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="m_bbox.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="m_fixed.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="m_fixed_s.s" />
+ <Unit filename="m_main.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="m_password.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="mem_heap.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="n64cmd.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="n64cmd.h" />
+ <Unit filename="p_base.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="p_ceilng.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="p_change.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="p_doors.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="p_enemy.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="p_floor.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="p_inter.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="p_lights.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="p_local.h" />
+ <Unit filename="p_macros.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="p_map.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="p_maputl.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="p_misc.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="p_mobj.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="p_move.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="p_plats.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="p_pspr.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="p_setup.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="p_shoot.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="p_sight.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="p_slide.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="p_spec.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="p_spec.h" />
+ <Unit filename="p_switch.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="p_telept.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="p_tick.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="p_user.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="r_data.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="r_local.h" />
+ <Unit filename="r_main.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="r_phase1.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="r_phase2.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="r_phase3.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="s_sound.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="seqload.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="seqload.h" />
+ <Unit filename="seqloadl.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="seqloadr.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="soundhw.h" />
+ <Unit filename="sounds.h" />
+ <Unit filename="spec" />
+ <Unit filename="sprinfo.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="st_main.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="st_main.h" />
+ <Unit filename="stdarg.h" />
+ <Unit filename="tables.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="vsprintf.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="w_wad.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="wessapi.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="wessapi.h" />
+ <Unit filename="wessapic.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="wessapim.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="wessapip.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="wessapit.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="wessarc.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="wessarc.h" />
+ <Unit filename="wessedit.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="wessedit.h" />
+ <Unit filename="wessfade.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="wessfade.h" />
+ <Unit filename="wesshand.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="wesshand.h" />
+ <Unit filename="wessint_s.h" />
+ <Unit filename="wessint_s.s" />
+ <Unit filename="wessseq.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="wessseq.h" />
+ <Unit filename="wessshell.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="wessshell.h" />
+ <Unit filename="wesstrak.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="wesstrak.h" />
+ <Unit filename="wesstwek.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="z_zone.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Extensions>
+ <code_completion />
+ <envvars />
+ <debugger />
+ </Extensions>
+ </Project>
+</CodeBlocks_project_file>
diff --git a/Doom 64/Data/tmp.txt b/Doom 64/Data/tmp.txt
@@ -0,0 +1 @@
+temp file
+\ No newline at end of file
diff --git a/Doom 64/Makefile b/Doom 64/Makefile
@@ -0,0 +1,168 @@
+#!smake
+include $(ROOT)/usr/include/make/PRdefs
+
+FINAL = YES
+
+ifeq ($(FINAL), YES)
+ OPTIMIZER = -O2
+ LCDEFS = -DNDEBUG -D_FINALROM -DF3DEX_GBI
+ N64LIB = -lgultra_rom
+ TARGETS = Doom64.n64
+else
+ OPTIMIZER = -g3
+ LCDEFS = -DF3DEX_GBI -DL3DEX_GBI -DDEBUG
+ N64LIB = -lgultra_d
+ TARGETS = Doom64_d.n64
+endif
+
+APP = Doom64.out
+
+HFILES = graph.h\
+ doomdef.h \
+ doomdata.h \
+ doominfo.h \
+ r_local.h \
+ st_main.h \
+ sounds.h \
+ stdarg.h \
+ audio.h \
+ wessshell.h \
+ wesstwek.h \
+ wessapi.h \
+ wessapim.h \
+ wessapip.h \
+ wessapit.h \
+ wesshand.h \
+ wesstrak.h \
+ wessedit.h \
+ wessarc.h \
+ funqueue.h \
+ wessfade.h \
+ wessseq.h \
+ n64cmd.h \
+ seqload.h \
+ wessint_s.h
+
+ASMFILES = wessint_s.s
+#m_fixed_s.s
+
+CODEFILES = graph.c asci.c \
+ doominfo.c \
+ sprinfo.c \
+ m_bbox.c \
+ am_main.c \
+ doomlib.c \
+ vsprintf.c \
+ c_convert.c \
+ d_main.c \
+ f_main.c \
+ g_game.c \
+ in_main.c \
+ m_fixed.c \
+ i_main.c \
+ m_main.c \
+ m_password.c \
+ p_base.c \
+ p_misc.c \
+ p_telept.c \
+ p_ceilng.c \
+ p_change.c \
+ p_doors.c \
+ p_enemy.c \
+ p_floor.c \
+ p_inter.c \
+ p_lights.c \
+ p_map.c \
+ p_slide.c \
+ p_shoot.c \
+ p_maputl.c \
+ p_mobj.c \
+ p_move.c \
+ p_plats.c \
+ p_pspr.c \
+ p_setup.c \
+ p_sight.c \
+ p_spec.c \
+ p_macros.c \
+ p_switch.c \
+ p_tick.c \
+ p_user.c \
+ r_data.c \
+ r_main.c \
+ r_phase1.c \
+ r_phase2.c \
+ r_phase3.c \
+ s_sound.c \
+ st_main.c \
+ d_screens.c \
+ w_wad.c \
+ z_zone.c \
+ decodes.c \
+ tables.c \
+ audio.c \
+ wessshell.c \
+ wesstwek.c \
+ wessapi.c \
+ wessapic.c \
+ wessapim.c \
+ wessapip.c \
+ wessapit.c \
+ wesshand.c \
+ wesstrak.c \
+ wessedit.c \
+ wessarc.c \
+ funqueue.c \
+ wessfade.c \
+ wessseq.c \
+ n64cmd.c \
+ seqload.c \
+ seqloadl.c \
+ seqloadr.c
+
+WESSLIB = #wesslib.obj
+
+CODEOBJECTS = $(CODEFILES:.c=.o) $(ASMFILES:.s=.o) $(WESSLIB)
+
+DATAFILES = mem_heap.c audio_heap.c cfb.c
+
+DATAOBJECTS = $(DATAFILES:.c=.o)
+
+CODESEGMENT = codesegment.o
+
+OBJECTS = $(CODESEGMENT) $(DATAOBJECTS)
+
+LCINCS = -I. -I$(ROOT)/usr/include/PR
+LCOPTS = -G 0
+
+LDFLAGS = $(MKDEPOPT) -L$(ROOT)/usr/lib $(N64LIB) -L$(GCCDIR)/mipse/lib -lkmc
+LDIRT = $(APP)
+
+PATH_PRINC = $(ROOT)/usr/include/PR
+PATH_PRLIB = $(ROOT)/usr/lib/PR
+ASFLAGS = -mips3 -non_shared -g -I$(PATH_PRINC) -I$(PATH_INC) -o
+
+default: $(TARGETS)
+
+include $(COMMONRULES)
+
+$(CODESEGMENT): $(CODEOBJECTS)
+ $(LD) -o $(CODESEGMENT) -r $(CODEOBJECTS) $(LDFLAGS)
+
+ifeq ($(FINAL), YES)
+$(TARGETS) $(APP): spec $(OBJECTS)
+ $(MAKEROM) -s 9 -r $(TARGETS) -e $(APP) spec
+ makemask $(TARGETS)
+else
+$(TARGETS) $(APP): spec $(OBJECTS)
+ $(MAKEROM) -r $(TARGETS) -e $(APP) spec
+endif
+
+
+# for exeGCC CELF
+ifeq ($(GCC_CELF), ON)
+ifneq ($(FINAL), YES)
+CELFDIR = .
+include $(CELFRULES)
+$(CODEOBJECTS) $(DATAOBJECTS) : $(CELFINFOFILES)
+endif
+endif
diff --git a/Doom 64/Tools/Doom64Extractor.zip b/Doom 64/Tools/Doom64Extractor.zip
Binary files differ.
diff --git a/Doom 64/Tools/Tool64_v1.11.zip b/Doom 64/Tools/Tool64_v1.11.zip
Binary files differ.
diff --git a/Doom 64/WESSLIB.obj b/Doom 64/WESSLIB.obj
Binary files differ.
diff --git a/Doom 64/spec b/Doom 64/spec
@@ -0,0 +1,74 @@
+#include "i_main.h"
+
+/*
+ * ROM spec file
+ */
+beginseg
+ name "code"
+ flags BOOT OBJECT
+ entry I_Start
+ stack bootStack + STACKSIZE
+ include "codesegment.o"
+ include "$(ROOT)/usr/lib/PR/rspboot.o"
+ //include "$(ROOT)/usr/lib/PR/gspF3DLX.NoN.fifo.o"
+ include "$(ROOT)/usr/lib/PR/gspF3DEX.NoN.fifo.o"
+ include "$(ROOT)/usr/lib/PR/gspL3DEX.fifo.o"
+ include "$(ROOT)/usr/lib/PR/aspMain.o"
+endseg
+
+beginseg
+ name "mem_heap"
+ flags OBJECT
+ after "code"
+ include "mem_heap.o"
+endseg
+
+beginseg
+ name "audio_heap"
+ flags OBJECT
+ after "mem_heap"
+ include "audio_heap.o"
+endseg
+
+beginseg
+ name "cfb"
+ flags OBJECT
+ after "audio_heap"
+ include "cfb.o"
+endseg
+
+beginseg
+ name "doom64_wad"
+ flags RAW
+ include "C:\Doom 64\Data\doom64.wad"
+endseg
+
+beginseg
+ name "doom64_wmd"
+ flags RAW
+ include "C:\Doom 64\Data\doom64.wmd"
+endseg
+
+beginseg
+ name "doom64_wsd"
+ flags RAW
+ include "C:\Doom 64\Data\doom64.wsd"
+endseg
+
+beginseg
+ name "doom64_wdd"
+ flags RAW
+ include "C:\Doom 64\Data\doom64.wdd"
+endseg
+
+beginwave
+ name "doom64"
+ include "code"
+ include "mem_heap"
+ include "audio_heap"
+ include "cfb"
+ include "doom64_wad"
+ include "doom64_wmd"
+ include "doom64_wsd"
+ include "doom64_wdd"
+endwave