]> 4ch.mooo.com Git - 16.git/commitdiff
new file: 16.exe
authorsparky4 <sparky4@cock.li>
Fri, 15 Apr 2016 16:52:25 +0000 (11:52 -0500)
committersparky4 <sparky4@cock.li>
Fri, 15 Apr 2016 16:52:25 +0000 (11:52 -0500)
new file:   bakapi.exe
deleted:    data/spri/ED.PAL
deleted:    data/spri/PTMP.PAL
deleted:    data/spri/PTMP1.PAL
new file:   data/spri/ptmp.sht
new file:   data/spri/ptmp.vrs
new file:   exmmtest.exe
new file:   fmemtest.exe
new file:   fontgfx.exe
new file:   fonttest.exe
new file:   inputest.exe
deleted:    makefile
new file:   maptest.exe
new file:   palettec.exe
new file:   palettel.exe
new file:   pcx2vrl
new file:   pcxsscut
new file:   pcxtest.exe
new file:   pcxtest2.exe
new file:   planrpcx.exe
new file:   ptmp.h
new file:   ptmps.h
new file:   scroll.exe
deleted:    spri.bat
new file:   spri.sh
modified:   src/inputest.c
modified:   src/lib/16_in.c
new file:   test.exe
new file:   test2.exe
new file:   tesuto.exe
new file:   vgmtest.exe
new file:   vrl2vrs
new file:   vrsdump

34 files changed:
16.exe [new file with mode: 0755]
bakapi.exe [new file with mode: 0755]
data/spri/ED.PAL [deleted file]
data/spri/PTMP.PAL [deleted file]
data/spri/PTMP1.PAL [deleted file]
data/spri/ptmp.sht [new file with mode: 0755]
data/spri/ptmp.vrs [new file with mode: 0755]
exmmtest.exe [new file with mode: 0755]
fmemtest.exe [new file with mode: 0755]
fontgfx.exe [new file with mode: 0755]
fonttest.exe [new file with mode: 0755]
inputest.exe [new file with mode: 0755]
makefile [deleted file]
maptest.exe [new file with mode: 0755]
palettec.exe [new file with mode: 0755]
palettel.exe [new file with mode: 0755]
pcx2vrl [new file with mode: 0755]
pcxsscut [new file with mode: 0755]
pcxtest.exe [new file with mode: 0755]
pcxtest2.exe [new file with mode: 0755]
planrpcx.exe [new file with mode: 0755]
ptmp.h [new file with mode: 0755]
ptmps.h [new file with mode: 0755]
scroll.exe [new file with mode: 0755]
spri.bat [deleted file]
spri.sh [new file with mode: 0755]
src/inputest.c
src/lib/16_in.c
test.exe [new file with mode: 0755]
test2.exe [new file with mode: 0755]
tesuto.exe [new file with mode: 0755]
vgmtest.exe [new file with mode: 0755]
vrl2vrs [new file with mode: 0755]
vrsdump [new file with mode: 0755]

diff --git a/16.exe b/16.exe
new file mode 100755 (executable)
index 0000000..4fab3ab
Binary files /dev/null and b/16.exe differ
diff --git a/bakapi.exe b/bakapi.exe
new file mode 100755 (executable)
index 0000000..ba1540c
Binary files /dev/null and b/bakapi.exe differ
diff --git a/data/spri/ED.PAL b/data/spri/ED.PAL
deleted file mode 100755 (executable)
index 4e55845..0000000
Binary files a/data/spri/ED.PAL and /dev/null differ
diff --git a/data/spri/PTMP.PAL b/data/spri/PTMP.PAL
deleted file mode 100755 (executable)
index 5227fbb..0000000
Binary files a/data/spri/PTMP.PAL and /dev/null differ
diff --git a/data/spri/PTMP1.PAL b/data/spri/PTMP1.PAL
deleted file mode 100755 (executable)
index b9673a3..0000000
Binary files a/data/spri/PTMP1.PAL and /dev/null differ
diff --git a/data/spri/ptmp.sht b/data/spri/ptmp.sht
new file mode 100755 (executable)
index 0000000..e69de29
diff --git a/data/spri/ptmp.vrs b/data/spri/ptmp.vrs
new file mode 100755 (executable)
index 0000000..aba7f89
Binary files /dev/null and b/data/spri/ptmp.vrs differ
diff --git a/exmmtest.exe b/exmmtest.exe
new file mode 100755 (executable)
index 0000000..1435e3f
Binary files /dev/null and b/exmmtest.exe differ
diff --git a/fmemtest.exe b/fmemtest.exe
new file mode 100755 (executable)
index 0000000..bb2c43b
Binary files /dev/null and b/fmemtest.exe differ
diff --git a/fontgfx.exe b/fontgfx.exe
new file mode 100755 (executable)
index 0000000..aa0b34f
Binary files /dev/null and b/fontgfx.exe differ
diff --git a/fonttest.exe b/fonttest.exe
new file mode 100755 (executable)
index 0000000..6dc6ccd
Binary files /dev/null and b/fonttest.exe differ
diff --git a/inputest.exe b/inputest.exe
new file mode 100755 (executable)
index 0000000..dee9e59
Binary files /dev/null and b/inputest.exe differ
diff --git a/makefile b/makefile
deleted file mode 100755 (executable)
index ff9eecc..0000000
--- a/makefile
+++ /dev/null
@@ -1,524 +0,0 @@
-#
-#      Higanbana Project makefile
-#
-#
-# Possible optimizations for 8088 class processors
-#
-# -oa   Relax alias checking
-# -ob   Try to generate straight line code
-# -oe - expand user functions inline (-oe=20 is default, adds lots of code)
-# -oh   Enable repeated optimizations
-# -oi   generate certain lib funcs inline
-# -oi+  Set max inline depth (C++ only, use -oi for C)
-# -ok   Flowing of register save into function flow graph
-# -ol   loop optimizations
-# -ol+  loop optimizations plus unrolling
-# -or   Reorder for pipelined (486+ procs); not sure if good to use
-# -os   Favor space over time
-# -ot   Favor time over space
-# -ei   Allocate an "int" for all enum types
-# -zp2  Allow compiler to add padding to structs
-# -zpw  Use with above; make sure you are warning free!
-# -0    8088/8086 class code generation
-# -s    disable stack overflow checking
-
-# -zk0u        translate kanji to unicode... wwww
-# -zk0 kanji support~
-# -zkl         current codepage
-
-#%.C
-#192x144
-#wwww will add these
-!ifdef __LINUX__
-REMOVECOMMAND=rm -f
-COPYCOMMAND=cp -f
-DIRSEP=/
-OBJ=o
-!else
-REMOVECOMMAND=del
-COPYCOMMAND=copy /y
-DIRSEP=\
-OBJ=obj
-!endif
-
-TARGET_OS = dos
-
-#EXMMTESTDIR=16$(DIRSEP)exmmtest$(DIRSEP)
-PDIR=..$(DIRSEP)
-SRC=src$(DIRSEP)
-DATADIR=data$(DIRSEP)
-SPRI=$(DATADIR)$(DIRSEP)spri$(DIRSEP)
-SRCLIB=$(SRC)lib$(DIRSEP)
-JSMNLIB=$(SRCLIB)jsmn$(DIRSEP)
-NYANLIB=$(SRCLIB)nyan$(DIRSEP)
-#EXMMLIB=$(SRCLIB)exmm$(DIRSEP)
-MODEXLIB=$(SRCLIB)modex16$(DIRSEP)
-MODEXLIB_=$(SRCLIB)modex$(DIRSEP)
-VGMSNDLIB=$(SRCLIB)vgmsnd$(DIRSEP)
-DOSLIB=$(SRCLIB)doslib$(DIRSEP)
-DOSLIBDIR=$(SRCLIB)doslib
-WCPULIB=$(SRCLIB)wcpu$(DIRSEP)
-
-WLIBQ=-q
-WCLQ=-zq $(WLIBQ)
-UPXQ=-qqq
-
-AFLAGS=-mh -0 -d1
-16FLAGS=-fh=16.hed
-BAKAPIFLAGS=-fh=bakapi.hed
-SFLAGS=-sg -st -of+ -zu -zdf -zff -zgf -k32768#55808#60000
-DFLAGS=-DTARGET_MSDOS=16 -DMSDOS=1 $(SFLAGS)
-ZFLAGS=-zk0 -zc -zp8 $(WCLQ) ## -zm
-CFLAGS=$(AFLAGS) $(IFLAGS)-lr -l=dos -wo -i$(DOSLIB)##wwww
-OFLAGS=-obmiler -out -oh -ei -zp8 -fpi87  -onac -ol+ -ok####x
-FLAGS=$(CFLAGS) $(OFLAGS) $(DFLAGS) $(ZFLAGS)
-
-
-#DOSLIBEXMMOBJ = himemsys.$(OBJ) emm.$(OBJ)
-VGMSNDOBJ = vgmSnd.$(OBJ) 16_snd.$(OBJ)
-DOSLIBOBJ = adlib.$(OBJ) 8254.$(OBJ) 8259.$(OBJ) dos.$(OBJ) cpu.$(OBJ)
-16LIBOBJS = 16_in.$(OBJ) 16_mm.$(OBJ) wcpu.$(OBJ) 16_head.$(OBJ) 16_ca.$(OBJ) kitten.$(OBJ) 16_hc.$(OBJ) 16_timer.$(OBJ)
-
-GFXLIBOBJS = modex16.$(OBJ) bitmap.$(OBJ) planar.$(OBJ) 16text.$(OBJ) bakapee.$(OBJ) scroll16.$(OBJ) 16render.$(OBJ) 16planar.$(OBJ) $(DOSLIBLIBS)
-
-DOSLIBLIBS=$(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)cpu$(DIRSEP)dos86h$(DIRSEP)cpu.lib $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)dos$(DIRSEP)dos86h$(DIRSEP)dos.lib $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)vga$(DIRSEP)dos86h$(DIRSEP)vga.lib
-
-TESTEXEC = exmmtest.exe test.exe pcxtest.exe pcxtest2.exe test2.exe palettec.exe maptest.exe fmemtest.exe fonttest.exe fontgfx.exe scroll.exe vgmtest.exe inputest.exe palettel.exe planrpcx.exe
-# tsthimem.exe
-#testemm.exe testemm0.exe fonttes0.exe miditest.exe sega.exe sountest.exe
-EXEC = 16.exe bakapi.exe $(TESTEXEC) tesuto.exe
-
-all: $(EXEC)  joytest.exe
-
-#$(16LIBOBJS) => 16.lib bug....
-#
-#game and bakapi executables
-#
-16.exe: 16.$(OBJ) mapread.$(OBJ) jsmn.$(OBJ) $(16LIBOBJS) gfx.lib
-       wcl $(FLAGS) $(16FLAGS) 16.$(OBJ) mapread.$(OBJ) jsmn.$(OBJ) $(16LIBOBJS) gfx.lib -fm=16.map
-
-bakapi.exe: bakapi.$(OBJ) gfx.lib $(DOSLIBLIBS)
-       wcl $(FLAGS) $(BAKAPIFLAGS) bakapi.$(OBJ) gfx.lib $(DOSLIBLIBS) -fm=bakapi.map
-#modex.lib
-#
-#Test Executables!
-#
-scroll.exe: scroll.$(OBJ) mapread.$(OBJ) jsmn.$(OBJ) $(16LIBOBJS) gfx.lib
-       wcl $(FLAGS) scroll.$(OBJ) mapread.$(OBJ) jsmn.$(OBJ) $(16LIBOBJS) gfx.lib -fm=scroll.map
-scroll.$(OBJ): $(SRC)scroll.c
-       wcl $(FLAGS) -c $(SRC)scroll.c
-
-
-# NOTE: dos86h = 16-bit huge memory model. memory model must match!
-tesuto.exe: tesuto.$(OBJ) $(DOSLIBLIBS) 16_head.$(OBJ) gfx.lib
-#      %write tmp.cmd option quiet option map=tesuto.map $(DOSLIB_LDFLAGS_DOS16H) file tesuto.obj name tesuto.exe
-#      %write tmp.cmd library $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)cpu$(DIRSEP)dos86h$(DIRSEP)cpu.lib
-#      %write tmp.cmd library $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)dos$(DIRSEP)dos86h$(DIRSEP)dos.lib
-#      @wlink @tmp.cmd
-       wcl $(FLAGS) $(WCLQ) tesuto.$(OBJ) $(DOSLIBLIBS) 16_head.$(OBJ) gfx.lib
-tesuto.$(OBJ): $(SRC)tesuto.c
-       wcl $(FLAGS) $(WCLQ) -c $(SRC)tesuto.c
-
-test.exe: test.$(OBJ) gfx.lib 16_in.$(OBJ) 16_head.$(OBJ)
-       wcl $(FLAGS) test.$(OBJ) gfx.lib 16_in.$(OBJ) 16_head.$(OBJ) -fm=test.map
-
-test2.exe: test2.$(OBJ) gfx.lib
-       wcl $(FLAGS) test2.$(OBJ) gfx.lib -fm=test2.map
-
-fonttest.exe: fonttest.$(OBJ) $(16LIBOBJS) gfx.lib
-       wcl $(FLAGS) fonttest.$(OBJ) $(16LIBOBJS) gfx.lib -fm=fonttest.map
-
-#fonttes0.exe: fonttes0.$(OBJ) $(16LIBOBJS)
-#      wcl $(FLAGS) fonttes0.$(OBJ) $(16LIBOBJS)
-
-fontgfx.exe: fontgfx.$(OBJ) $(16LIBOBJS) gfx.lib
-       wcl $(FLAGS) fontgfx.$(OBJ) $(16LIBOBJS) gfx.lib -fm=fontgfx.map
-
-inputest.exe: inputest.$(OBJ) $(16LIBOBJS)
-       wcl $(FLAGS) inputest.$(OBJ) $(16LIBOBJS) -fm=inputest.map
-
-#sountest.exe: sountest.$(OBJ) $(16LIBOBJS)
-#      wcl $(FLAGS) sountest.$(OBJ) $(16LIBOBJS)
-
-#miditest.exe: miditest.$(OBJ) $(16LIBOBJS) $(DOSLIBEXMMOBJ) midi.$(OBJ)
-#      wcl $(FLAGS) miditest.$(OBJ) $(16LIBOBJS) $(DOSLIBEXMMOBJ) midi.$(OBJ)
-
-tsthimem.exe: tsthimem.$(OBJ) $(16LIBOBJS) $(DOSLIBEXMMOBJ)
-       wcl $(FLAGS) tsthimem.$(OBJ) $(16LIBOBJS) $(DOSLIBEXMMOBJ) -fm=tsthimem.map
-
-#testemm.exe: testemm.$(OBJ) $(16LIBOBJS) $(DOSLIBEXMMOBJ)
-#      wcl $(FLAGS) testemm.$(OBJ) $(16LIBOBJS) $(DOSLIBEXMMOBJ)
-
-#testemm0.exe: testemm0.$(OBJ) $(16LIBOBJS) $(DOSLIBEXMMOBJ)
-#      wcl $(FLAGS) testemm0.$(OBJ) $(16LIBOBJS) $(DOSLIBEXMMOBJ)
-
-pcxtest.exe: pcxtest.$(OBJ) gfx.lib
-       wcl $(FLAGS) pcxtest.$(OBJ) gfx.lib -fm=pcxtest.map
-
-palettec.exe: palettec.$(OBJ) gfx.lib #$(16LIBOBJS)
-       wcl $(FLAGS) palettec.$(OBJ) gfx.lib -fm=palettec.map #$(16LIBOBJS)
-
-palettel.exe: palettel.$(OBJ) gfx.lib #$(16LIBOBJS)
-       wcl $(FLAGS) palettel.$(OBJ) gfx.lib -fm=palettel.map #$(16LIBOBJS)
-
-pcxtest2.exe: pcxtest2.$(OBJ) gfx.lib
-       wcl $(FLAGS) pcxtest2.$(OBJ) gfx.lib -fm=pcxtest2.map
-
-planrpcx.exe: planrpcx.$(OBJ) gfx.lib
-       wcl $(FLAGS) planrpcx.$(OBJ) gfx.lib -fm=planrpcx.map
-
-maptest.exe: maptest.$(OBJ) mapread.$(OBJ) jsmn.$(OBJ) $(16LIBOBJS) gfx.lib
-       wcl $(FLAGS) maptest.$(OBJ) mapread.$(OBJ) jsmn.$(OBJ) $(16LIBOBJS) gfx.lib -fm=maptest.map
-
-#maptest0.exe: maptest0.$(OBJ) fmapread.$(OBJ) farjsmn.$(OBJ)
-#      wcl $(FLAGS) $(MFLAGS) maptest0.$(OBJ) fmapread.$(OBJ) farjsmn.$(OBJ)
-
-#emmtest.exe: emmtest.$(OBJ) memory.$(OBJ)
-#      wcl $(FLAGS) $(MFLAGS) emmtest.$(OBJ) memory.$(OBJ)
-
-#emsdump.exe: emsdump.$(OBJ) memory.$(OBJ)
-#      wcl $(FLAGS) $(MFLAGS) emsdump.$(OBJ) memory.$(OBJ)
-
-fmemtest.exe: fmemtest.$(OBJ) $(16LIBOBJS)
-       wcl $(FLAGS) fmemtest.$(OBJ) $(16LIBOBJS) -fm=fmemtest.map
-
-exmmtest.exe: exmmtest.$(OBJ) $(16LIBOBJS)
-       wcl $(FLAGS) exmmtest.$(OBJ) -fm=exmmtest.map $(16LIBOBJS)
-
-vgmtest.exe: vgmtest.$(OBJ) vgmsnd.lib $(16LIBOBJS)
-       wcl $(FLAGS) vgmtest.$(OBJ) vgmsnd.lib -fm=vgmtest.map $(16LIBOBJS)
-       #====wcl -mc vgmtest.$(OBJ) $(VGMSNDOBJ) -fm=vgmtest.map
-
-
-#
-#executable's objects
-#
-16.$(OBJ): $(SRC)16.h $(SRC)16.c
-       wcl $(FLAGS) -c $(SRC)16.c
-
-bakapi.$(OBJ): $(SRC)bakapi.h $(SRC)bakapi.c
-       wcl $(FLAGS) -c $(SRC)bakapi.c
-
-test.$(OBJ): $(SRC)test.c $(SRCLIB)modex16.h
-       wcl $(FLAGS) -c $(SRC)test.c
-
-test2.$(OBJ): $(SRC)test2.c $(SRCLIB)modex16.h
-       wcl $(FLAGS) -c $(SRC)test2.c
-
-pcxtest.$(OBJ): $(SRC)pcxtest.c $(SRCLIB)modex16.h
-       wcl $(FLAGS) -c $(SRC)pcxtest.c
-
-planrpcx.$(OBJ): $(SRC)planrpcx.c $(SRCLIB)modex16.h
-       wcl $(FLAGS) -c $(SRC)planrpcx.c
-
-pcxtest2.$(OBJ): $(SRC)pcxtest2.c $(SRCLIB)modex16.h
-       wcl $(FLAGS) -c $(SRC)pcxtest2.c
-
-palettec.$(OBJ): $(SRC)palettec.c
-       wcl $(FLAGS) -c $(SRC)palettec.c
-
-palettel.$(OBJ): $(SRC)palettel.c
-       wcl $(FLAGS) -c $(SRC)palettel.c
-
-maptest.$(OBJ): $(SRC)maptest.c $(SRCLIB)modex16.h
-       wcl $(FLAGS) -c $(SRC)maptest.c
-
-#maptest0.$(OBJ): $(SRC)maptest0.c# $(SRCLIB)modex16.h
-#      wcl $(FLAGS) $(MFLAGS) -c $(SRC)maptest0.c
-
-#emmtest.$(OBJ): $(SRC)emmtest.c
-#      wcl $(FLAGS) $(MFLAGS) -c $(SRC)emmtest.c
-
-#emsdump.$(OBJ): $(SRC)emsdump.c
-#      wcl $(FLAGS) $(MFLAGS) -c $(SRC)emsdump.c
-
-fmemtest.$(OBJ): $(SRC)fmemtest.c
-       wcl $(FLAGS) -c $(SRC)fmemtest.c
-
-fonttest.$(OBJ): $(SRC)fonttest.c
-       wcl $(FLAGS) -c $(SRC)fonttest.c
-
-#fonttes0.$(OBJ): $(SRC)fonttes0.c
-#      wcl $(FLAGS) -c $(SRC)fonttes0.c
-
-fontgfx.$(OBJ): $(SRC)fontgfx.c
-       wcl $(FLAGS) -c $(SRC)fontgfx.c
-
-inputest.$(OBJ): $(SRC)inputest.c
-       wcl $(FLAGS) -c $(SRC)inputest.c
-
-#sountest.$(OBJ): $(SRC)sountest.c
-#      wcl $(FLAGS) -c $(SRC)sountest.c
-
-#miditest.$(OBJ): $(SRC)miditest.c
-#      wcl $(FLAGS) -c $(SRC)miditest.c
-
-#testemm.$(OBJ): $(SRC)testemm.c
-#      wcl $(FLAGS) -c $(SRC)testemm.c
-
-#testemm0.$(OBJ): $(SRC)testemm0.c
-#      wcl $(FLAGS) -c $(SRC)testemm0.c
-
-tsthimem.$(OBJ): $(SRC)tsthimem.c
-       wcl $(FLAGS) -c $(SRC)tsthimem.c
-
-exmmtest.$(OBJ): $(SRC)exmmtest.c
-       wcl $(FLAGS) -c $(SRC)exmmtest.c
-
-vgmtest.$(OBJ): $(SRC)vgmtest.c
-       wcl $(FLAGS) -c $(SRC)vgmtest.c
-       #====wcl -mc -c $(SRC)vgmtest.c
-
-#
-#non executable objects libraries
-#
-16.lib: $(16LIBOBJS)# doslib.lib vgmsnd.lib
-       wlib -b $(WLIBQ) 16.lib $(16LIBOBJS)# doslib.lib vgmsnd.lib
-
-gfx.lib: $(GFXLIBOBJS)
-       wlib -b $(WLIBQ) gfx.lib $(GFXLIBOBJS)
-
-#doslib.lib: $(DOSLIBOBJ) # $(SRCLIB)cpu.lib
-#      wlib -b $(WLIBQ) doslib.lib $(DOSLIBOBJ) # $(SRCLIB)cpu.lib
-
-vgmsnd.lib: $(VGMSNDOBJ)
-       wlib -b $(WLIBQ) vgmsnd.lib $(VGMSNDOBJ)
-
-# extdep:
-# !include $(DOSLIBDIR)$(DIRSEP)extdep.mak
-
-# library deps 16-bit huge
-$(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)cpu$(DIRSEP)dos86h$(DIRSEP)cpu.lib:
-       cd $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)cpu && .$(DIRSEP)make.sh
-$(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)dos$(DIRSEP)dos86h$(DIRSEP)dos.lib:
-       cd $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)dos && .$(DIRSEP)make.sh
-$(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)vga$(DIRSEP)dos86h$(DIRSEP)vga.lib:
-       cd $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)vga && .$(DIRSEP)make.sh
-joytest.exe:
-       cd $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)joystick && .$(DIRSEP)make.sh && $(COPYCOMMAND) dos86h$(DIRSEP)test.exe $(PDIR)$(PDIR)$(PDIR)$(PDIR)$(PDIR)joytest.exe
-#$(DOSLIBLIBS): .symbolic
-#      @cd $(DOSLIB)
-#      @.$(DIRSEP)buildall.sh
-#      @cd $(PDIR)$(PDIR)$(PDIR)
-
-modex16.$(OBJ): $(SRCLIB)modex16.h $(SRCLIB)modex16.c
-       wcl $(FLAGS) -c $(SRCLIB)modex16.c
-
-bakapee.$(OBJ): $(SRCLIB)bakapee.h $(SRCLIB)bakapee.c
-       wcl $(FLAGS) -c $(SRCLIB)bakapee.c
-
-16render.$(OBJ): $(MODEXLIB)16render.h $(MODEXLIB)16render.c
-       wcl $(FLAGS) -c $(MODEXLIB)16render.c
-
-16planar.$(OBJ): $(MODEXLIB)16planar.h $(MODEXLIB)16planar.c
-       wcl $(FLAGS) -c $(MODEXLIB)16planar.c
-
-bitmap.$(OBJ): $(SRCLIB)bitmap.h $(SRCLIB)bitmap.c
-       wcl $(FLAGS) -c $(SRCLIB)bitmap.c
-
-planar.$(OBJ): $(SRCLIB)planar.h $(SRCLIB)planar.c
-       wcl $(FLAGS) -c $(SRCLIB)planar.c
-
-scroll16.$(OBJ): $(SRCLIB)scroll16.h $(SRCLIB)scroll16.c
-       wcl $(FLAGS) -c $(SRCLIB)scroll16.c
-
-wcpu.$(OBJ): $(WCPULIB)wcpu.h $(WCPULIB)wcpu.c
-       wcl $(FLAGS) -c $(WCPULIB)wcpu.c
-
-16text.$(OBJ): $(SRCLIB)16text.c
-       wcl $(FLAGS) -c $(SRCLIB)16text.c
-
-mapread.$(OBJ): $(SRCLIB)mapread.h $(SRCLIB)mapread.c
-       wcl $(FLAGS) -c $(SRCLIB)mapread.c
-
-16_timer.$(OBJ): $(SRCLIB)16_timer.h $(SRCLIB)16_timer.c
-       wcl $(FLAGS) -c $(SRCLIB)16_timer.c
-
-16_in.$(OBJ): $(SRCLIB)16_in.h $(SRCLIB)16_in.c
-       wcl $(FLAGS) -c $(SRCLIB)16_in.c
-
-16_mm.$(OBJ): $(SRCLIB)16_mm.h $(SRCLIB)16_mm.c
-       wcl $(FLAGS) -c $(SRCLIB)16_mm.c
-
-16_ca.$(OBJ): $(SRCLIB)16_ca.h $(SRCLIB)16_ca.c
-       wcl $(FLAGS) -c $(SRCLIB)16_ca.c
-
-midi.$(OBJ): $(SRCLIB)midi.h $(SRCLIB)midi.c
-       wcl $(FLAGS) -c $(SRCLIB)midi.c
-
-#
-# doslib stuff
-#
-adlib.$(OBJ): $(DOSLIB)adlib.h $(DOSLIB)adlib.c
-       wcl $(FLAGS) -c $(DOSLIB)adlib.c
-
-8254.$(OBJ): $(DOSLIB)8254.h $(DOSLIB)8254.c
-       wcl $(FLAGS) -c $(DOSLIB)8254.c
-
-8259.$(OBJ): $(DOSLIB)8259.h $(DOSLIB)8259.c
-       wcl $(FLAGS) -c $(DOSLIB)8259.c
-
-dos.$(OBJ): $(DOSLIB)dos.h $(DOSLIB)dos.c
-       wcl $(FLAGS) -c $(DOSLIB)dos.c
-
-cpu.$(OBJ): $(DOSLIB)cpu.h $(DOSLIB)cpu.c
-       wcl $(FLAGS) -c $(DOSLIB)cpu.c
-
-himemsys.$(OBJ): $(DOSLIB)himemsys.h $(DOSLIB)himemsys.c
-       wcl $(FLAGS) -c $(DOSLIB)himemsys.c
-
-emm.$(OBJ): $(DOSLIB)emm.h $(DOSLIB)emm.c
-       wcl $(FLAGS) -c $(DOSLIB)emm.c
-
-# end of doslib stuff
-
-16_head.$(OBJ): $(SRCLIB)16_head.h $(SRCLIB)16_head.c
-       wcl $(FLAGS) -c $(SRCLIB)16_head.c
-
-16_hc.$(OBJ): $(SRCLIB)16_hc.h $(SRCLIB)16_hc.c
-       wcl $(FLAGS) -c $(SRCLIB)16_hc.c
-
-16_snd.$(OBJ): $(SRCLIB)16_snd.h $(SRCLIB)16_snd.c
-       wcl $(FLAGS) -c $(SRCLIB)16_snd.c
-       #====wcl -mc -c $(SRCLIB)16_snd.c
-
-jsmn.$(OBJ): $(JSMNLIB)jsmn.h $(JSMNLIB)jsmn.c
-       wcl $(FLAGS) -c $(JSMNLIB)jsmn.c
-
-kitten.$(OBJ): $(NYANLIB)kitten.h $(NYANLIB)kitten.c
-       wcl $(FLAGS) -c $(NYANLIB)kitten.c
-
-vgmSnd.$(OBJ): $(VGMSNDLIB)vgmSnd.h $(VGMSNDLIB)vgmSnd.c
-       wcl $(FLAGS) -c $(VGMSNDLIB)vgmSnd.c
-       #====wcl -c -mc $(VGMSNDLIB)vgmSnd.c
-
-#3812intf.$(OBJ): $(VGMSNDLIB)3812intf.h $(VGMSNDLIB)3812intf.c
-#      wcl $(FLAGS) -c $(VGMSNDLIB)3812intf.c
-
-#farjsmn.$(OBJ): $(JSMNLIB)farjsmn.h $(JSMNLIB)farjsmn.c
-#      wcl $(FLAGS) $(MFLAGS) -c $(JSMNLIB)farjsmn.c
-
-#memory.$(OBJ): $(EXMMLIB)memory.h $(EXMMLIB)memory.c
-#      wcl $(FLAGS) $(MFLAGS) -c $(EXMMLIB)memory.c
-
-c_utils.$(OBJ): $(MODEXLIB_)c_utils.asm
-       wcl -c $(AFLAGS) $(MODEXLIB_)c_utils.asm
-modex.$(OBJ): $(MODEXLIB_)modex.asm
-       wcl -c $(AFLAGS) $(MODEXLIB_)modex.asm
-
-#
-#other~
-#
-clean: .symbolic
-       @$(REMOVECOMMAND) $(EXEC)
-       @$(REMOVECOMMAND) /var/www/$(EXEC)*
-       @$(REMOVECOMMAND) *.$(OBJ)
-       @$(REMOVECOMMAND) 16.lib
-       @$(REMOVECOMMAND) gfx.lib
-       @$(REMOVECOMMAND) vgmsnd.lib
-       @wlib -n $(WLIBQ) 16.lib
-       @wlib -n $(WLIBQ) gfx.lib
-       @wlib -n $(WLIBQ) vgmsnd.lib
-       @$(REMOVECOMMAND) *.16
-       @$(REMOVECOMMAND) *.16W
-       @$(REMOVECOMMAND) *.16B
-       @$(REMOVECOMMAND) *.OBJ
-       @$(REMOVECOMMAND) *.o
-       @$(REMOVECOMMAND) *.BCO
-       @$(REMOVECOMMAND) makefi~1
-       @$(REMOVECOMMAND) makefile~
-       @$(REMOVECOMMAND) __wcl__.LNK
-#      @$(REMOVECOMMAND) *.smp
-       @$(REMOVECOMMAND) *.SMP
-       @$(REMOVECOMMAND) *.hed
-       @$(REMOVECOMMAND) *.MAP
-       @$(REMOVECOMMAND) *.map
-       @$(REMOVECOMMAND) *.err
-       #@cd $(DOSLIB)
-       #@./buildall.sh clean
-       #@cd $(PDIR)$(PDIR)$(PDIR)
-#      @$(COPYCOMMAND) $(SRC)exmmtest.c $(EXMMTESTDIR)$(SRC)
-#      @$(COPYCOMMAND) $(SRCLIB)16_mm.* $(EXMMTESTDIR)$(SRCLIB)
-#      @$(COPYCOMMAND) $(SRCLIB)16_head.* $(EXMMTESTDIR)$(SRCLIB)
-#      @$(COPYCOMMAND) $(SRCLIB)16_ca.* $(EXMMTESTDIR)$(SRCLIB)
-#      @$(COPYCOMMAND) $(SRCLIB)16_hc.* $(EXMMTESTDIR)$(SRCLIB)
-#      @$(COPYCOMMAND) $(SRCLIB)types.h $(EXMMTESTDIR)$(SRCLIB)
-#      @$(COPYCOMMAND) $(NYANLIB)* $(EXMMTESTDIR)$(NYANLIB)
-#      @echo $(watcom)
-#      @echo $(INCLUDE)
-
-backupconfig: .symbolic
-       @$(COPYCOMMAND) .git$(DIRSEP)config git_con.fig
-       @$(COPYCOMMAND) .gitmodules git_modu.les
-
-comp: .symbolic
-       @upx -9 $(EXEC)
-
-comq: .symbolic
-       @upx -9 $(UPXQ) $(EXEC)
-
-www: .symbolic
-       @ssh -p 26 sparky4@4ch.mooo.com 'rm -f /var/www/16/*exe.zip*'
-       @rm "/var/www/$(EXEC).zip*"
-       #@cp ./$(EXEC) $(DIRSEP)var$(DIRSEP)www$(DIRSEP)
-       @./z.sh $(EXEC) $(EXEC)
-       @scp -r -P 26 *.exe 4ch.mooo.com:/var/www/16/
-       @scp -r -P 26 /var/www/*.exe.zip.* 4ch.mooo.com:/var/www/16/
-
-getwww: .symbolic
-       @x4get.bat $(EXEC)
-
-##
-##     External library management~ ^^
-##
-#git submodule add <repo>
-mkdl: .symbolic
-       @cd $(DOSLIB)
-       @./buildall.sh
-       @cd $(PDIR)$(PDIR)$(PDIR)
-
-uplibs: .symbolic
-       @cd $(JSMNLIB)
-       @git pull
-       @cd $(PDIR)$(PDIR)$(PDIR)
-       @cd $(DOSLIB)
-       @git pull
-       @cd $(PDIR)$(PDIR)$(PDIR)
-
-reinitlibs: .symbolic
-       @rm -rf $(SRCLIB)doslib
-       @rm -rf $(SRCLIB)jsmn
-       #@mkdir $(SRCLIB)doslib
-       #@mkdir $(SRCLIB)jsmn
-       @wmake -h initlibs
-
-initlibs: .symbolic
-       @cp git_modu.les .gitmodules
-       @cd $(SRCLIB)
-       @git clone https://github.com/joncampbell123/doslib.git
-       @git clone https://github.com/zserge/jsmn.git
-       @cd $(PDIR)$(PDIR)
-
-##
-##     experimental libs
-##
-xlib: .symbolic
-       @cd 16$(DIRSEP)xlib
-       @wmake -h clean
-       @wmake -h all
-       @cd $(PDIR)$(PDIR)
-
-mx: .symbolic
-       @cd 16$(DIRSEP)xw
-#      @wmake clean
-       @wmake -h all
-       @cd $(PDIR)$(PDIR)
-
-mx_: .symbolic
-       @cd 16$(DIRSEP)xw_
-       @wmake -h -f makefile all
-       @cd $(PDIR)$(PDIR)
-
-ed: .symbolic
-@cd $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)vga && .$(DIRSEP)make.sh
-@call spri.bat
diff --git a/maptest.exe b/maptest.exe
new file mode 100755 (executable)
index 0000000..3f46d1b
Binary files /dev/null and b/maptest.exe differ
diff --git a/palettec.exe b/palettec.exe
new file mode 100755 (executable)
index 0000000..fe0098d
Binary files /dev/null and b/palettec.exe differ
diff --git a/palettel.exe b/palettel.exe
new file mode 100755 (executable)
index 0000000..88bcdc0
Binary files /dev/null and b/palettel.exe differ
diff --git a/pcx2vrl b/pcx2vrl
new file mode 100755 (executable)
index 0000000..bd947e5
Binary files /dev/null and b/pcx2vrl differ
diff --git a/pcxsscut b/pcxsscut
new file mode 100755 (executable)
index 0000000..1deec74
Binary files /dev/null and b/pcxsscut differ
diff --git a/pcxtest.exe b/pcxtest.exe
new file mode 100755 (executable)
index 0000000..6e0bbb7
Binary files /dev/null and b/pcxtest.exe differ
diff --git a/pcxtest2.exe b/pcxtest2.exe
new file mode 100755 (executable)
index 0000000..7259e90
Binary files /dev/null and b/pcxtest2.exe differ
diff --git a/planrpcx.exe b/planrpcx.exe
new file mode 100755 (executable)
index 0000000..8260f93
Binary files /dev/null and b/planrpcx.exe differ
diff --git a/ptmp.h b/ptmp.h
new file mode 100755 (executable)
index 0000000..440f377
--- /dev/null
+++ b/ptmp.h
@@ -0,0 +1,8 @@
+// header file for sprite sheet. AUTO GENERATED, do not edit
+// 
+// source PCX: data/ptmp.pcx
+// sheet script: data/spri/ptmp.sht
+// palette file: data/spri/ptmp.pal
+
+
+// end list
diff --git a/ptmps.h b/ptmps.h
new file mode 100755 (executable)
index 0000000..729ecd5
--- /dev/null
+++ b/ptmps.h
@@ -0,0 +1,8 @@
+// header file for sprite sheet. AUTO GENERATED, do not edit
+// 
+// sheet script: data/spri/ptmp.sht
+
+// sprite sheet (sprite IDs)
+// animation list (animation IDs)
+
+// end list
diff --git a/scroll.exe b/scroll.exe
new file mode 100755 (executable)
index 0000000..fd27a6f
Binary files /dev/null and b/scroll.exe differ
diff --git a/spri.bat b/spri.bat
deleted file mode 100755 (executable)
index 485a523..0000000
--- a/spri.bat
+++ /dev/null
@@ -1,7 +0,0 @@
-rem @echo off\r
-@cd data\spri\r
-@rem src\lib\doslib\hw\vga\dos86l\pcxsscut -s data\spri\%1.sht -hc %1.h -hp _%1_ -i data\%1.pcx -p data\spri\%1.pal -tc 0x84 -y\r
-@rem src\lib\doslib\hw\vga\dos86l\vrl2vrs -s data\spri\%1.sht -hc %1s.h -hp _%1_ -o data\spri\%1.vrs\r
-..\..\src\lib\doslib\hw\vga\dos86l\pcxsscut -s %1.sht -hc %1.h -hp _%1_ -i ..\%1.pcx -p %1.pal -tc 0x84 -y\r
-..\..\src\lib\doslib\hw\vga\dos86l\vrl2vrs -s %1.sht -hc %1s.h -hp _%1_ -o %1.vrs\r
-@cd ..\..\\r
diff --git a/spri.sh b/spri.sh
new file mode 100755 (executable)
index 0000000..4427c02
--- /dev/null
+++ b/spri.sh
@@ -0,0 +1,5 @@
+#! /bin/bash
+./pcxsscut     -s data/spri/"$1".sht -hc "$1".h -hp _"$1"_ -i data/"$1".pcx -p data/spri/"$1".pal -tc 0x"$2" -y
+./vrl2vrs      -s data/spri/"$1".sht -hc "$1"s.h -hp _"$1"_ -o data/spri/"$1".vrs
+# . ./pcxsscut "$pee"
+# . ./vrl2vrs "$pee"
index 44195363d18a91232ebb1e41742158bd04dd4e4b..199dc90b2c152d9f5e94e7e52da2bc07c04bf7c5 100755 (executable)
@@ -30,9 +30,9 @@ main(int argc, char *argv[])
        global_game_variables_t gvar;\r
        player_t player[MaxPlayers];\r
        //extern struct inconfig inpu;\r
-       testkeyin=0;\r
+       testkeyin=1;\r
        testcontrolnoisy=0;\r
-       testctrltype=1;\r
+       testctrltype=0;\r
        IN_Startup();\r
        IN_Default(0,&player,ctrl_Joystick1);\r
        //while(!IN_KeyDown(sc_Escape))\r
index 66c98dd6936b55fa262243f7951c830bf3b5db67..aef50c68b5f0ba4542446d4eff06da65921d11cf 100755 (executable)
@@ -235,7 +235,7 @@ static      boolean special;
        if (INL_KeyHook && !special)\r
                INL_KeyHook();\r
 //#ifdef TESTKEYIN\r
-       if(testkeyin > 0) printf("%c    [0x%x %u]       %u\n", c, k, k, inpu.Keyboard[k]);\r
+       if(testkeyin > 0) printf("%c    %u      [0x%x %u]       %u\n", c, c, k, k, inpu.Keyboard[k]);\r
 //endif\r
        outp(0x20,0x20);\r
 }\r
diff --git a/test.exe b/test.exe
new file mode 100755 (executable)
index 0000000..15430d6
Binary files /dev/null and b/test.exe differ
diff --git a/test2.exe b/test2.exe
new file mode 100755 (executable)
index 0000000..3e5bc6f
Binary files /dev/null and b/test2.exe differ
diff --git a/tesuto.exe b/tesuto.exe
new file mode 100755 (executable)
index 0000000..bacf844
Binary files /dev/null and b/tesuto.exe differ
diff --git a/vgmtest.exe b/vgmtest.exe
new file mode 100755 (executable)
index 0000000..a58e7e4
Binary files /dev/null and b/vgmtest.exe differ
diff --git a/vrl2vrs b/vrl2vrs
new file mode 100755 (executable)
index 0000000..b67956b
Binary files /dev/null and b/vrl2vrs differ
diff --git a/vrsdump b/vrsdump
new file mode 100755 (executable)
index 0000000..dbaba30
Binary files /dev/null and b/vrsdump differ