Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
tjwei committed Aug 9, 2017
1 parent 449df02 commit 4dd7913
Show file tree
Hide file tree
Showing 169 changed files with 97,226 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,4 @@ modules.order
Module.symvers
Mkfile.old
dkms.conf
/pcsx*
25 changes: 25 additions & 0 deletions buildall_asmjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# for debugging
emcc -O0 -g4 --js-opts 0 -Wpointer-sign -Wno-unused-result -o pcsx_asmjs.html \
-s SAFE_HEAP=1 -s USE_ZLIB=1 -s ASSERTIONS=2 -D ASMJS_HACK \
--shell-file shell.html \
-s EXPORTED_FUNCTIONS="['_main', '_run']" \
-s TOTAL_MEMORY=536870912 -s STACK_OVERFLOW_CHECK=1 \
-I./include -I./libpcsxcore \
gui/LnxMain.c gui/Plugin.c gui/Config.c \
libpcsxcore/psxbios.c libpcsxcore/cdrom.c libpcsxcore/psxcounters.c \
libpcsxcore/psxdma.c libpcsxcore/disr3000a.c libpcsxcore/spu.c libpcsxcore/sio.c \
libpcsxcore/psxhw.c libpcsxcore/mdec.c libpcsxcore/psxmem.c libpcsxcore/misc.c \
libpcsxcore/plugins.c libpcsxcore/decode_xa.c libpcsxcore/r3000a.c libpcsxcore/psxinterpreter.c \
libpcsxcore/gte.c libpcsxcore/psxhle.c libpcsxcore/psxcommon.c \
libpcsxcore/cdriso.c libpcsxcore/ppf.c \
plugins/dfxvideo/cfg.c plugins/dfxvideo/fps.c plugins/dfxvideo/key.c \
plugins/dfxvideo/prim.c plugins/dfxvideo/zn.c plugins/dfxvideo/draw.c \
plugins/dfxvideo/gpu.c plugins/dfxvideo/soft_modified.c \
plugins/nullspu/spunull.c \
plugins/sdlinput/cfg.c plugins/sdlinput/pad.c plugins/sdlinput/xkb.c \
plugins/sdlinput/sdljoy.c plugins/sdlinput/analog.c \
-lm -lSDL

# plugins/nullspu/spunull.c \
#plugins/dfsound/sdl.c plugins/dfsound/dma.c plugins/dfsound/freeze.c plugins/dfsound/cfg.c \
#plugins/dfsound/spu.c plugins/dfsound/xa.c plugins/dfsound/registers.c \
19 changes: 19 additions & 0 deletions buildall_clang
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
clang -g -Wpointer-sign -Wno-unused-result -O2 -o pcsx_clang -I./include -I./libpcsxcore \
gui/LnxMain.c gui/Plugin.c gui/Config.c \
libpcsxcore/psxbios.c libpcsxcore/cdrom.c libpcsxcore/psxcounters.c \
libpcsxcore/psxdma.c libpcsxcore/disr3000a.c libpcsxcore/spu.c libpcsxcore/sio.c \
libpcsxcore/psxhw.c libpcsxcore/mdec.c libpcsxcore/psxmem.c libpcsxcore/misc.c \
libpcsxcore/plugins.c libpcsxcore/decode_xa.c libpcsxcore/r3000a.c libpcsxcore/psxinterpreter.c \
libpcsxcore/gte.c libpcsxcore/psxhle.c libpcsxcore/psxcommon.c \
libpcsxcore/cdriso.c libpcsxcore/ppf.c \
plugins/dfxvideo/cfg.c plugins/dfxvideo/fps.c plugins/dfxvideo/key.c \
plugins/dfxvideo/prim.c plugins/dfxvideo/zn.c plugins/dfxvideo/draw.c \
plugins/dfxvideo/gpu.c plugins/dfxvideo/soft_modified.c \
plugins/nullspu/spunull.c \
plugins/sdlinput/cfg.c plugins/sdlinput/pad.c plugins/sdlinput/xkb.c \
plugins/sdlinput/sdljoy.c plugins/sdlinput/analog.c \
-lm -lSDL

# plugins/nullspu/spunull.c \
#plugins/dfsound/sdl.c plugins/dfsound/dma.c plugins/dfsound/freeze.c plugins/dfsound/cfg.c \
#plugins/dfsound/spu.c plugins/dfsound/xa.c plugins/dfsound/registers.c \
23 changes: 23 additions & 0 deletions buildall_wasm
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
emcc -O3 -Wno-unused-result -o pcsx.html \
-s USE_ZLIB=1 -s AGGRESSIVE_VARIABLE_ELIMINATION=1 \
-s TOTAL_MEMORY=536870912 --llvm-lto 1 -s WASM=1 --shell-file shell.html \
-s EXPORTED_FUNCTIONS="['_main', '_run']" \
-I./include -I./libpcsxcore \
gui/LnxMain.c gui/Plugin.c gui/Config.c \
libpcsxcore/psxbios.c libpcsxcore/cdrom.c libpcsxcore/psxcounters.c \
libpcsxcore/psxdma.c libpcsxcore/disr3000a.c libpcsxcore/spu.c libpcsxcore/sio.c \
libpcsxcore/psxhw.c libpcsxcore/mdec.c libpcsxcore/psxmem.c libpcsxcore/misc.c \
libpcsxcore/plugins.c libpcsxcore/decode_xa.c libpcsxcore/r3000a.c libpcsxcore/psxinterpreter.c \
libpcsxcore/gte.c libpcsxcore/psxhle.c libpcsxcore/psxcommon.c \
libpcsxcore/cdriso.c libpcsxcore/ppf.c \
plugins/dfxvideo/cfg.c plugins/dfxvideo/fps.c plugins/dfxvideo/key.c \
plugins/dfxvideo/prim.c plugins/dfxvideo/zn.c plugins/dfxvideo/draw.c \
plugins/dfxvideo/gpu.c plugins/dfxvideo/soft_modified.c \
plugins/nullspu/spunull.c \
plugins/sdlinput/cfg.c plugins/sdlinput/pad.c plugins/sdlinput/xkb.c \
plugins/sdlinput/sdljoy.c plugins/sdlinput/analog.c \
-lm -lSDL

# plugins/nullspu/spunull.c \
#plugins/dfsound/sdl.c plugins/dfsound/dma.c plugins/dfsound/freeze.c plugins/dfsound/cfg.c \
#plugins/dfsound/spu.c plugins/dfsound/xa.c plugins/dfsound/registers.c \
1,826 changes: 1,826 additions & 0 deletions gui/.deps/AboutDlg.Po

Large diffs are not rendered by default.

1,848 changes: 1,848 additions & 0 deletions gui/.deps/Cheat.Po

Large diffs are not rendered by default.

1,888 changes: 1,888 additions & 0 deletions gui/.deps/ConfDlg.Po

Large diffs are not rendered by default.

232 changes: 232 additions & 0 deletions gui/.deps/Config.Po
Original file line number Diff line number Diff line change
@@ -0,0 +1,232 @@
Config.o: Config.c /usr/include/stdc-predef.h /usr/include/stdio.h \
/usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \
/usr/include/x86_64-linux-gnu/bits/wordsize.h \
/usr/include/x86_64-linux-gnu/gnu/stubs.h \
/usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
/usr/lib/gcc/x86_64-linux-gnu/6/include/stddef.h \
/usr/include/x86_64-linux-gnu/bits/types.h \
/usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \
/usr/include/_G_config.h /usr/include/wchar.h \
/usr/lib/gcc/x86_64-linux-gnu/6/include/stdarg.h \
/usr/include/x86_64-linux-gnu/bits/stdio_lim.h \
/usr/include/x86_64-linux-gnu/bits/sys_errlist.h \
/usr/include/x86_64-linux-gnu/bits/stdio.h \
/usr/include/x86_64-linux-gnu/bits/stdio2.h /usr/include/stdlib.h \
/usr/include/x86_64-linux-gnu/bits/waitflags.h \
/usr/include/x86_64-linux-gnu/bits/waitstatus.h \
/usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \
/usr/include/endian.h /usr/include/x86_64-linux-gnu/bits/endian.h \
/usr/include/x86_64-linux-gnu/bits/byteswap.h \
/usr/include/x86_64-linux-gnu/bits/byteswap-16.h \
/usr/include/x86_64-linux-gnu/sys/select.h \
/usr/include/x86_64-linux-gnu/bits/select.h \
/usr/include/x86_64-linux-gnu/bits/sigset.h \
/usr/include/x86_64-linux-gnu/bits/time.h \
/usr/include/x86_64-linux-gnu/bits/select2.h \
/usr/include/x86_64-linux-gnu/sys/sysmacros.h \
/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
/usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
/usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/string.h \
/usr/include/xlocale.h /usr/include/x86_64-linux-gnu/bits/string.h \
/usr/include/x86_64-linux-gnu/bits/string2.h \
/usr/include/x86_64-linux-gnu/bits/string3.h \
/usr/include/x86_64-linux-gnu/sys/stat.h \
/usr/include/x86_64-linux-gnu/bits/stat.h /usr/include/unistd.h \
/usr/include/x86_64-linux-gnu/bits/posix_opt.h \
/usr/include/x86_64-linux-gnu/bits/environments.h \
/usr/include/x86_64-linux-gnu/bits/confname.h /usr/include/getopt.h \
/usr/include/x86_64-linux-gnu/bits/unistd.h Linux.h ../include/config.h \
../libpcsxcore/psxcommon.h \
/usr/lib/gcc/x86_64-linux-gnu/6/include/stdint.h /usr/include/stdint.h \
/usr/include/x86_64-linux-gnu/bits/wchar.h /usr/include/math.h \
/usr/include/x86_64-linux-gnu/bits/math-vector.h \
/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \
/usr/include/x86_64-linux-gnu/bits/huge_val.h \
/usr/include/x86_64-linux-gnu/bits/huge_valf.h \
/usr/include/x86_64-linux-gnu/bits/huge_vall.h \
/usr/include/x86_64-linux-gnu/bits/inf.h \
/usr/include/x86_64-linux-gnu/bits/nan.h \
/usr/include/x86_64-linux-gnu/bits/mathdef.h \
/usr/include/x86_64-linux-gnu/bits/mathcalls.h \
/usr/include/x86_64-linux-gnu/bits/mathinline.h /usr/include/ctype.h \
/usr/include/assert.h /usr/include/zlib.h \
/usr/include/x86_64-linux-gnu/zconf.h \
/usr/lib/gcc/x86_64-linux-gnu/6/include-fixed/limits.h \
/usr/lib/gcc/x86_64-linux-gnu/6/include-fixed/syslimits.h \
/usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \
/usr/include/x86_64-linux-gnu/bits/local_lim.h \
/usr/include/linux/limits.h \
/usr/include/x86_64-linux-gnu/bits/posix2_lim.h ../libpcsxcore/system.h \
../libpcsxcore/debug.h /usr/include/libintl.h /usr/include/locale.h \
/usr/include/x86_64-linux-gnu/bits/locale.h Cheat.h

/usr/include/stdc-predef.h:

/usr/include/stdio.h:

/usr/include/features.h:

/usr/include/x86_64-linux-gnu/sys/cdefs.h:

/usr/include/x86_64-linux-gnu/bits/wordsize.h:

/usr/include/x86_64-linux-gnu/gnu/stubs.h:

/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:

/usr/lib/gcc/x86_64-linux-gnu/6/include/stddef.h:

/usr/include/x86_64-linux-gnu/bits/types.h:

/usr/include/x86_64-linux-gnu/bits/typesizes.h:

/usr/include/libio.h:

/usr/include/_G_config.h:

/usr/include/wchar.h:

/usr/lib/gcc/x86_64-linux-gnu/6/include/stdarg.h:

/usr/include/x86_64-linux-gnu/bits/stdio_lim.h:

/usr/include/x86_64-linux-gnu/bits/sys_errlist.h:

/usr/include/x86_64-linux-gnu/bits/stdio.h:

/usr/include/x86_64-linux-gnu/bits/stdio2.h:

/usr/include/stdlib.h:

/usr/include/x86_64-linux-gnu/bits/waitflags.h:

/usr/include/x86_64-linux-gnu/bits/waitstatus.h:

/usr/include/x86_64-linux-gnu/sys/types.h:

/usr/include/time.h:

/usr/include/endian.h:

/usr/include/x86_64-linux-gnu/bits/endian.h:

/usr/include/x86_64-linux-gnu/bits/byteswap.h:

/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:

/usr/include/x86_64-linux-gnu/sys/select.h:

/usr/include/x86_64-linux-gnu/bits/select.h:

/usr/include/x86_64-linux-gnu/bits/sigset.h:

/usr/include/x86_64-linux-gnu/bits/time.h:

/usr/include/x86_64-linux-gnu/bits/select2.h:

/usr/include/x86_64-linux-gnu/sys/sysmacros.h:

/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:

/usr/include/alloca.h:

/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:

/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:

/usr/include/x86_64-linux-gnu/bits/stdlib.h:

/usr/include/string.h:

/usr/include/xlocale.h:

/usr/include/x86_64-linux-gnu/bits/string.h:

/usr/include/x86_64-linux-gnu/bits/string2.h:

/usr/include/x86_64-linux-gnu/bits/string3.h:

/usr/include/x86_64-linux-gnu/sys/stat.h:

/usr/include/x86_64-linux-gnu/bits/stat.h:

/usr/include/unistd.h:

/usr/include/x86_64-linux-gnu/bits/posix_opt.h:

/usr/include/x86_64-linux-gnu/bits/environments.h:

/usr/include/x86_64-linux-gnu/bits/confname.h:

/usr/include/getopt.h:

/usr/include/x86_64-linux-gnu/bits/unistd.h:

Linux.h:

../include/config.h:

../libpcsxcore/psxcommon.h:

/usr/lib/gcc/x86_64-linux-gnu/6/include/stdint.h:

/usr/include/stdint.h:

/usr/include/x86_64-linux-gnu/bits/wchar.h:

/usr/include/math.h:

/usr/include/x86_64-linux-gnu/bits/math-vector.h:

/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h:

/usr/include/x86_64-linux-gnu/bits/huge_val.h:

/usr/include/x86_64-linux-gnu/bits/huge_valf.h:

/usr/include/x86_64-linux-gnu/bits/huge_vall.h:

/usr/include/x86_64-linux-gnu/bits/inf.h:

/usr/include/x86_64-linux-gnu/bits/nan.h:

/usr/include/x86_64-linux-gnu/bits/mathdef.h:

/usr/include/x86_64-linux-gnu/bits/mathcalls.h:

/usr/include/x86_64-linux-gnu/bits/mathinline.h:

/usr/include/ctype.h:

/usr/include/assert.h:

/usr/include/zlib.h:

/usr/include/x86_64-linux-gnu/zconf.h:

/usr/lib/gcc/x86_64-linux-gnu/6/include-fixed/limits.h:

/usr/lib/gcc/x86_64-linux-gnu/6/include-fixed/syslimits.h:

/usr/include/limits.h:

/usr/include/x86_64-linux-gnu/bits/posix1_lim.h:

/usr/include/x86_64-linux-gnu/bits/local_lim.h:

/usr/include/linux/limits.h:

/usr/include/x86_64-linux-gnu/bits/posix2_lim.h:

../libpcsxcore/system.h:

../libpcsxcore/debug.h:

/usr/include/libintl.h:

/usr/include/locale.h:

/usr/include/x86_64-linux-gnu/bits/locale.h:

Cheat.h:
Loading

0 comments on commit 4dd7913

Please sign in to comment.