Jan Holthuis
5c01098cab
linux-dist/evdev: Support custom mapping files
2015-08-25 21:38:18 +02:00
Stefanos Kornilios Mitsis Poiitidis
3eee909801
Merge pull request #767 from reicast/holzhaus/reimplement-cfg-ini-with-maps
...
cfg: Reimplement ConfigFile using C++ maps and strings
2015-08-25 20:12:12 +02:00
Stefanos Kornilios Mitsis Poiitidis
6b12ffc6b7
Merge pull request #783 from reicast/holzhaus/remove-unneeded-code
...
linux-dist: Remove unused code
2015-08-25 19:41:39 +02:00
Jan Holthuis
d0c639eb7c
cfg/cfg: Also call savecfgf() on cfgSaveInt
2015-08-24 14:48:01 +02:00
Jan Holthuis
42977f8284
cfg/cfg: Fix a nix (add brackets)
2015-08-24 14:46:45 +02:00
Jan Holthuis
f56299209d
cfg/cfg: Only save config file if has been read or newly created
2015-08-24 14:45:52 +02:00
Stefanos Kornilios Mitsis Poiitidis
aa7aa18cab
cfg: Create emu.cfg if missing
2015-08-24 14:05:51 +02:00
Stefanos Kornilios Mitsis Poiitidis
2e28e57be8
cfg/ini: Handle empty ini files
2015-08-24 14:04:23 +02:00
Stefanos Kornilios Mitsis Poiitidis
9058d48d51
Merge pull request #804 from reicast/fix/update-xbyak-4860
...
Fix/update xbyak 4860
2015-08-24 13:54:50 +02:00
Jan Holthuis
99d75220e7
cfg/cfg: Don't save the config immediately after opening.
2015-08-24 13:52:04 +02:00
Jan Holthuis
719850a349
cfg/ini: Use stricmp for get_bool()
2015-08-24 13:52:02 +02:00
Jan Holthuis
42f7919c48
cfg: Add virtual entry support
2015-08-24 13:52:01 +02:00
Jan Holthuis
89e4bf78cc
cfg: Fix nit
2015-08-24 13:51:59 +02:00
Jan Holthuis
7a5c90ccca
cfg: Reimplement ConfigFile using C++ maps and strings
2015-08-24 13:51:57 +02:00
Stefanos Kornilios Mitsis Poiitidis
f065bc5289
Merge pull request #744 from reicast/feat/improved-speed-sync
...
sync: Also sync to video if too fast
2015-08-24 13:47:51 +02:00
Stefanos Kornilios Mitsis Poiitidis
a4186381fb
xbyak: Move to deps folder
2015-08-24 13:27:51 +02:00
Stefanos Kornilios Mitsis Poiitidis
4c19f347aa
x64/xbyak: Update to 4.86
...
- Resolves call warnings for clang/gcc
- Overall minor improvements
- Also added copyright file
2015-08-24 13:22:30 +02:00
Stefanos Kornilios Mitsis Poiitidis
3315fe7da4
Merge pull request #794 from sergiobenrocha2/zlib
...
Update zlib to 1.2.8.
2015-08-24 11:09:42 +02:00
Jan Holthuis
e466cba3e9
linux-dist: Remove unneeded code
2015-08-23 03:18:27 +02:00
Stefanos Kornilios Mitsis Poiitidis
5fd66a1322
Merge pull request #765 from randomstuff/gdi
...
Handle .gdi files on the CLI (and other enhancements)
2015-08-22 17:35:08 +02:00
Jan Holthuis
7e854f6544
nulldc: Remove some hardcoded values
2015-08-22 17:24:29 +02:00
sergiobenrocha2
f44df005c5
Delete zconf.in.h.
2015-08-21 23:01:12 -03:00
sergiobenrocha2
7e0f4fc871
Update zlib to 1.2.8.
2015-08-21 21:36:32 -03:00
Gabriel Corona
5782726346
Better handling of image file extensions in CLI argument processing
...
* Only match the end the file name
* Case insensitive
* Recognise .gdi files
2015-08-22 02:02:07 +02:00
sergiobenrocha2
da8a572535
Fix header in pngstruct.h
2015-08-21 20:36:28 -03:00
sergiobenrocha2
b0214d89f6
Update libpng to 1.6.18.
2015-08-21 20:23:16 -03:00
Jan Holthuis
c0ede35263
Merge pull request #788 from reicast/holzhaus/evdev-raw-keycodes-in-mappings
...
linux-dist/evdev: Use raw button codes
2015-08-21 19:57:39 +02:00
Jan Holthuis
7b963c941a
linux-dist/evdev: Use raw button codes
2015-08-21 15:03:08 +02:00
Jan Holthuis
e35518aca1
linux-dist/evdev: Fix evdev_config_key buffer overflow
...
Fixes #785 .
2015-08-21 14:39:55 +02:00
Jan Holthuis
2c4eb1847d
Merge pull request #774 from reicast/holzhaus/x11-fullscreen-mode
...
Linux: Enable x11 fullscreen toggling and fix window resizes
2015-08-21 02:35:31 +02:00
Jan Holthuis
71021175df
x11: Add some typecasting so that gcc is happy ;-)
2015-08-21 02:29:14 +02:00
Jan Holthuis
e404a5201d
x11: Get rid of one platform ifdef
2015-08-21 02:16:48 +02:00
Jan Holthuis
ac18a59906
x11: Remove unused code
2015-08-21 02:10:31 +02:00
Jan Holthuis
4dee5652ee
x11: Allow starting in fullscreen via config
2015-08-21 02:07:03 +02:00
TwistedUmbrella
e138cca4b9
Remove internal conditionals to use defined flag
2015-08-20 17:21:47 -04:00
TwistedUmbrella
c17486a0ef
Workaround for missing fp.h header in Xcode
2015-08-20 17:12:49 -04:00
Jan Holthuis
dc6758d847
x11: Use the default x11 display (not always 0)
2015-08-20 17:15:06 +02:00
Stefanos Kornilios Mitsis Poiitidis
f83130b84b
Merge pull request #766 from reicast/fix/ios-and-osx
...
Fix ios and osx (projectfiles, nvmem)
2015-08-19 23:55:20 +02:00
TwistedUmbrella
a4028154f9
Fix to prevent EXC_BAD_ACCESS on iPhone
...
This is inelegant and should only be temporary but resolves the issue
of CodeCache and ICache “getting lost” during initialization.
2015-08-19 15:33:18 -04:00
Jan Holthuis
fc2d1edea9
linux-dist/x11: Enable fullscreen toggling via F11 button
2015-08-19 18:47:42 +02:00
Jan Holthuis
b0e91185d2
linux-dist: Fix indentation
2015-08-19 12:02:47 +02:00
Jan Holthuis
1661c23680
linux-dist: Fix missing const members in keyboard mapping
...
On some compiler versions, this caused an error:
../../core/linux-dist/evdev_mappings.cpp:57:3: error: uninitialized
const member ‘s_evdev_controller_mapping::Axis_DPad_X’
../../core/linux-dist/evdev_mappings.cpp:57:3: error: uninitialized
const member ‘s_evdev_controller_mapping::Axis_DPad_Y’
../../core/linux-dist/evdev_mappings.cpp:57:3: error: uninitialized
const member ‘s_evdev_controller_mapping::Axis_DPad2_X’
../../core/linux-dist/evdev_mappings.cpp:57:3: error: uninitialized
const member ‘s_evdev_controller_mapping::Axis_DPad2_Y’
../../core/linux-dist/evdev_mappings.cpp:57:3: error: uninitialized
const member ‘s_evdev_controller_mapping::Axis_Analog_X’
../../core/linux-dist/evdev_mappings.cpp:57:3: error: uninitialized
const member ‘s_evdev_controller_mapping::Axis_Analog_Y’
../../core/linux-dist/evdev_mappings.cpp:57:3: error: uninitialized
const member ‘s_evdev_controller_mapping::Axis_Trigger_Left’
../../core/linux-dist/evdev_mappings.cpp:57:3: error: uninitialized
const member ‘s_evdev_controller_mapping::Axis_Trigger_Right’
2015-08-19 11:59:48 +02:00
Jan Holthuis
223b1284fe
linux-dist: Separate xpad and xboxdrv controller mappings
2015-08-19 11:59:48 +02:00
Jan Holthuis
32c3cca681
linux-dist: Fix evdev mapping detection for xboxdrv
2015-08-19 11:59:48 +02:00
Jan Holthuis
a408e27cda
linux-dist: Don't print EV_MSC events (evdev)
2015-08-19 11:59:48 +02:00
Jan Holthuis
3b2472766d
linux-dist: Add evdev keyboard support & option to disable x11 keyboard
2015-08-19 11:59:48 +02:00
Jan Holthuis
a2b2b4fd5f
linux-dist: Fixed variable reference in Pandora's clean_exit
2015-08-19 11:59:47 +02:00
Jan Holthuis
1843fc3fe4
linux-dist: Move most x11 related code into a separate file
2015-08-19 11:59:47 +02:00
Jan Holthuis
729ded83f6
linux-dist: Move evdev/joystick code into separate files
2015-08-19 11:59:47 +02:00
Jan Holthuis
14ea9e4196
linux-dist: Refactor the evdev input code
2015-08-19 11:59:47 +02:00
Jan Holthuis
452374afab
linux-dist: Add evdev multiplayer support
2015-08-19 11:59:47 +02:00
Jan Holthuis
845f101bf0
linux-dist: Add DPad support for xpad kernel driver (XBox 360)
2015-08-19 11:59:47 +02:00
Jan Holthuis
5fe9803743
linux-dist: Improve XBox360 controller support for legacy joystick api
2015-08-19 11:59:47 +02:00
Jan Holthuis
14f77c92d9
linux-dist: Fix bug where trigger values zeroes all the time
2015-08-19 11:59:46 +02:00
Jan Holthuis
275cd3eb73
linux-dist: Add XBox360 controller support via evdev
2015-08-19 11:59:46 +02:00
Jan Holthuis
e3fc2cd1b9
linux-dist: Add missing newline in printf calls
2015-08-19 11:59:46 +02:00
Jan Holthuis
a49c83b21c
linux-dist: Make input devices configurable
2015-08-19 11:59:46 +02:00
Jan Holthuis
d76e605aeb
linux-dist: Use a switch case in UpdateInputState
2015-08-19 11:59:46 +02:00
Jan Holthuis
73a9269fbd
linux-dist: Remove redundant code in input_evdev_handle
2015-08-19 11:59:46 +02:00
Jan Holthuis
87b6a79199
linux-dist: Consolidate evdev/joystick code even further
2015-08-19 11:59:46 +02:00
Jan Holthuis
9dac10ae10
linux-dist: Replace platform ifdefs with USE_EVDEV and USE_JOYSTICK
2015-08-19 11:59:45 +02:00
Jan Holthuis
064b22f237
linux-dist: Harmonize input device fd names
2015-08-19 11:59:45 +02:00
Jan Holthuis
3dc9713262
linux-dist: Move evdev/joystick setup into their own functions
2015-08-19 11:59:45 +02:00
Stefanos Kornilios Mitsis Poiitidis
4f62b995b6
reios/naomi: First baby steps to support booting naomi roms
...
- Setups state, copies binary
- Binary locks up w/ a reboot loop
Naomi roms have a 512-byte header, executable length seems to be
at 368 or 3C0. The rom is copied from [0, len) to 0x0c020000.The
bios then hands over control at 0x0c021000
2015-08-19 01:29:46 +02:00
Jan Holthuis
509ac93463
cfg: Move ConfigFile classes to ini.cpp/h
2015-08-16 23:35:13 +02:00
Jan Holthuis
e4527bf531
cfg: Fix indentation
2015-08-16 23:00:05 +02:00
Jan Holthuis
8744516e52
cfg: Remove redundant code
2015-08-16 21:25:54 +02:00
Jan Holthuis
87f7ca0bb4
cfg: Allow LoadInt to parse hex strings
2015-08-16 21:25:54 +02:00
Jan Holthuis
60e094dbb9
cfg: Make ConfigFile reusable
2015-08-16 21:25:39 +02:00
Jan Holthuis
78091577ea
cfg: Move more code into the ConfigFile class
2015-08-16 21:22:25 +02:00
Jan Holthuis
f1ec705067
cfg: Move actual file parsing code into ParseFile method
2015-08-16 18:51:44 +02:00
Jan Holthuis
5ab3d7b59b
core/hw/sh4/dyna/shil.cpp: Fix '&&' within '||' warning
...
Here's the original compiler warning:
../../core/hw/sh4/dyna/shil.cpp:700:24: warning: '&&' within '||'
[-Wlogical-op-parentheses]
...if (op->rd.is_reg() && op->rd._reg==reg_sr_T || op->op==shop_ifb)
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ~~
../../core/hw/sh4/dyna/shil.cpp:700:24: note: place parentheses around the '&&'
expression to silence this warning
...if (op->rd.is_reg() && op->rd._reg==reg_sr_T || op->op==shop_ifb)
^
( )
../../core/hw/sh4/dyna/shil.cpp:843:25: warning: '&&' within '||'
[-Wlogical-op-parentheses]
if (op->rs1.is_reg() && op->rs1._reg==reg_sr_T
~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
../../core/hw/sh4/dyna/shil.cpp:843:25: note: place parentheses around the '&&'
expression to silence this warning
if (op->rs1.is_reg() && op->rs1._reg==reg_sr_T
^
( )
../../core/hw/sh4/dyna/shil.cpp:844:25: warning: '&&' within '||'
[-Wlogical-op-parentheses]
|| op->rs2.is_reg() &&
op->rs2._reg==reg_sr_T
~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
../../core/hw/sh4/dyna/shil.cpp:844:25: note: place parentheses around the '&&'
expression to silence this warning
|| op->rs2.is_reg() && op->rs2._reg==reg_sr_T
^
( )
../../core/hw/sh4/dyna/shil.cpp:845:25: warning: '&&' within '||'
[-Wlogical-op-parentheses]
|| op->rs3.is_reg() && op->rs3._reg==reg_sr_T
~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
../../core/hw/sh4/dyna/shil.cpp:845:25: note: place parentheses around the '&&'
expression to silence this warning
|| op->rs3.is_reg() && op->rs3._reg==reg_sr_T
^
( )
2015-08-15 18:15:50 +02:00
Jan Holthuis
1d0ef81a43
core/hw/sh5/dyna/decoder.cpp: place parentheses around && expression
...
This compiler warning has been fixed:
../../core/hw/sh4/dyna/decoder.cpp:1181:66: warning: '&&' within '||'
[-Wlogical-op-parentheses]
...|| blk->BlockType==BET_Cond_1 && blk->BranchBlock<=blk->addr)
~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../core/hw/sh4/dyna/decoder.cpp:1181:66: note: place parentheses around the
'&&' expression to silence this warning
...|| blk->BlockType==BET_Cond_1 && blk->BranchBlock<=blk->addr)
^
( )
2015-08-15 18:15:50 +02:00
Jan Holthuis
604dcce531
core/hw/holly/sb_mem.cpp: Fix "expression >= 0 is always true" warning
...
This is the original warning message:
../../core/hw/holly/sb_mem.cpp:219:12: warning: comparison of unsigned
expression >= 0 is always true [-Wtautological-compare]
if ((base >=0x0000) && (base <=0x001F) /*&& (addr<=0x001FFFFF)*/...
~~~~ ^ ~~~~~~
2015-08-15 18:15:49 +02:00
Jan Holthuis
109a2cce93
rec_x64.cpp: Fix function calls
...
Resolves #719 .
2015-08-15 18:15:49 +02:00
Jan Holthuis
f6c167b20b
Merge pull request #751 from reicast/holzhaus/fix-linux-dist-formatting
...
Fix linux-dist/main.cpp formatting
2015-08-15 17:55:55 +02:00
Jan Holthuis
77cac7b0f9
linux-dist: Fix code spacing and alignment
2015-08-15 17:12:48 +02:00
Jan Holthuis
154c92bd59
linux-dist: Remove unnecessary for-loop
2015-08-15 17:12:44 +02:00
Stefanos Kornilios Mitsis Poiitidis
67ecd6d9f9
vmem: Automatic fallback to slowpath if alloc fails
...
This consolidates some of the work done for TARGET_NO_NVMEM and
feat/no-direct-memmap. If nvmem is disabled at compile time or alloc
fails _nvmem_enabled() will return false. Various other fixes
and cleanups all around.
2015-08-12 03:09:44 +02:00
Stefanos Kornilios Mitsis Poiitidis
eeeb2d6a62
texcache: Correctly compute size for STRIDE PLANAR textures
2015-08-12 03:09:44 +02:00
Stefanos Kornilios Mitsis Poiitidis
6724db4f8c
shrec/arm: Fix 16M mode lookups. I hate hardcoded consts
2015-08-12 03:05:14 +02:00
Jan Holthuis
ab33f473b3
linux-dist: Fix indentation and reformat code
2015-08-12 01:57:29 +02:00
Jan Holthuis
025dbd6458
Merge pull request #740 from reicast/fix/some-linux-main-fixes
...
linux-dist/main.cpp cleanups
2015-08-12 00:31:11 +02:00
Stefanos Kornilios Mitsis Poiitidis
3703b15c3a
sync: Also sync to video if too fast
...
config:pvr.SynchronousRendering controls this feature
Not quite perfect, but should reduce the issues
with too fast hardware
2015-08-11 23:55:51 +02:00
Jan Holthuis
5fbfc0fb8b
linux-dist: Rely on USES_HOMEDIR for home dir detection
...
Neither Mac nor Emscripten define USES_HOMEDIR in their Makefiles, so checking
if HOST_OS != OS_DARWIN && !defined(TARGET_EMSCRIPTEN) is pointless.
2015-08-11 21:36:14 +02:00
Jan Holthuis
60c827cf0c
linux-dist: Clean up home dir detection
2015-08-11 21:31:57 +02:00
Stefanos Kornilios Mitsis Poiitidis
1706027c10
Rename newdc to reicast
2015-08-11 20:52:09 +02:00
Stefanos Kornilios Mitsis Poiitidis
4077941dee
Fix a DC_PLATFORM_NORMAL leftover
2015-08-11 20:43:14 +02:00
Jan Holthuis
6808bbba66
linux-dist: Add brackets to else expression
2015-08-11 20:27:51 +02:00
Jan Holthuis
64152635b5
linux-dist: Remove unnecessary if case
2015-08-11 20:20:12 +02:00
Stefanos Kornilios Mitsis Poiitidis
ca83428fa5
naomi: Fix linux builds
2015-08-11 19:13:12 +02:00
Stefanos Kornilios Mitsis Poiitidis
13b2c4d8aa
naomi: Don't lock vram mirrors if vram isn't mirrored
2015-08-11 19:13:12 +02:00
Stefanos Kornilios Mitsis Poiitidis
bfbb01d470
naomi: 32MB-aware block lookups from arm-jit
2015-08-11 19:13:12 +02:00
Stefanos Kornilios Mitsis Poiitidis
0c0008d17b
naomi: Pass Dreamcast keycodes to get some kind of input
2015-08-11 19:13:12 +02:00
Stefanos Kornilios Mitsis Poiitidis
7d2cb5a7c0
vmem: Correctly map buffers > 16M
...
The previous implementation would generate pointers
with the offset doubly-added, pointing to +16M after
the correct address
2015-08-11 19:13:12 +02:00
Stefanos Kornilios Mitsis Poiitidis
b77a549bf4
shrec/x86: Fix canonical for reg_ptr prms
2015-08-11 19:13:12 +02:00
Stefanos Kornilios Mitsis Poiitidis
89b9687628
shrec/x86: SIMPLELINK implementation for cross checking
2015-08-11 19:13:12 +02:00
Stefanos Kornilios Mitsis Poiitidis
a0175c8011
naomi: Don't spam on DIMM board detection reads. It's disabled for now.
2015-08-11 19:13:12 +02:00
Stefanos Kornilios Mitsis Poiitidis
f2d8ed06f5
arm7rec: Increase the emitter guarantee to 64 KB
...
I run into this with the x86-arm-arm7 backend because of per-block compile and largeish blocks
2015-08-11 19:13:11 +02:00
Stefanos Kornilios Mitsis Poiitidis
b53b303c89
naomi: Portability fixes, add posix support
...
- Replaced BYTE, WORD, DWORD w/ u8, u16 & u32
- mmap/munmap/open
I should wrap the mmap fns in the oslib methinks...
2015-08-11 19:13:11 +02:00
Stefanos Kornilios Mitsis Poiitidis
7feeec0ceb
naomi: Refactor cart logic to naomi_cart
2015-08-11 19:13:11 +02:00
Stefanos Kornilios Mitsis Poiitidis
7d0d2ba572
naomi: Initial support for TARGET_NAOMI, windows only
...
- Import naomi code from nullDC, modify and cleanup
- Only unprotected dimm-board support, custom lst files
- Still a compile option
- Boots naomi bios and some games, no input yet
2015-08-11 19:13:11 +02:00
Stefanos Kornilios Mitsis Poiitidis
9bc0a8ff0f
shrec/bm: BM lookup table size follows RAM_SIZE
2015-08-11 19:13:11 +02:00
Stefanos Kornilios Mitsis Poiitidis
365accfde2
windows: fix TARGET_NO_NVMEM
2015-08-11 19:12:20 +02:00
Stefanos Kornilios Mitsis Poiitidis
6348057402
Merge pull request #705 from Holzhaus/unified-makefiles-all
...
Merge Makefiles for beagle/pandora/gcwz/rapi2/lincpp into Linux Makefile
2015-08-11 18:19:37 +02:00
Stefanos Kornilios Mitsis Poiitidis
990470e19a
linux: Fix input for rpi2 & co
2015-08-11 18:08:06 +02:00
TwistedUmbrella
795e84f3b1
Remove an overlapping ifdef
2015-08-11 12:05:09 -04:00
Stefanos Kornilios Mitsis Poiitidis
c3c2c68f21
Merge pull request #729 from reicast/wip/softrend
...
Basic and buggy software renderer
2015-08-11 17:43:47 +02:00
Jan Holthuis
4cb4feba61
core.mk: Replace ifndef DESKTOPGL with ifdef USE_GLES to match Makefile notation
2015-08-11 17:36:16 +02:00
Stefanos Kornilios Mitsis Poiitidis
91039911ce
softrend/gltex: Fix non-windows builds
...
_mm* are windows only, and so is softrend for now
2015-08-11 16:12:18 +02:00
Stefanos Kornilios Mitsis Poiitidis
1908ade464
Update context.h
2015-08-11 08:05:09 -04:00
Stefanos Kornilios Mitsis Poiitidis
c60fca4973
sh4: Cleanup SetFloatStatusReg a bit
2015-08-11 07:57:23 -04:00
Stefanos Kornilios Mitsis Poiitidis
45f0a47eec
OSX: Basic keyboard input
2015-08-11 07:57:22 -04:00
Stefanos Kornilios Mitsis Poiitidis
26cfcd79e9
OSX: Fiddling to get the rec-cpp/noexcept path running
2015-08-11 07:57:22 -04:00
Stefanos Kornilios Mitsis Poiitidis
dfc341a5fe
softrend: OpenMP support, fix present overflow during untiling
...
- Uses vertical slicing
- Efficiency wins are best for 2-3 rendering threads
2015-08-11 00:26:02 -04:00
Stefanos Kornilios Mitsis Poiitidis
19fa2f1678
softrend: Limits on #defines, scissor area as rect
2015-08-11 00:26:02 -04:00
Stefanos Kornilios Mitsis Poiitidis
3e9431b2b7
softrend: billinear filtering, perspective uv, alpha test, ARGB1555
...
- Texture pixels are predecoded and expanded to quads for filtering
- bilinear input ordering might be wrong
2015-08-11 00:26:02 -04:00
Stefanos Kornilios Mitsis Poiitidis
e3845465f0
win64/jit: Generate unwind table for the jit code cache
...
This required moving the SH4_TCB outside the exe, as new tables that belong on the executable are ignored.
This isn't perfect, but there's a large area to scan for available address space so it shouldn't be a problem
2015-08-11 00:26:02 -04:00
Stefanos Kornilios Mitsis Poiitidis
e6a9d3e661
softrend: Resembling a pixel pipeline, textures, sort, cull
...
- Basic pixel pipeline, a bit better triangle tests, specialized render handlers
- Textures w/ point filtering. Not very smart is it goes 32 -> 16 -> 32 bpp, but works.
- The texture cache is shared rather inelegantly w/ OpenGL one
- Culling
- PParam sorting (shared w/ GL)
The texturing and color blending paths are ugly and slow
2015-08-11 00:26:02 -04:00
Stefanos Kornilios Mitsis Poiitidis
fcf273dd11
softrend: Add support for culling
2015-08-11 00:26:02 -04:00
Stefanos Kornilios Mitsis Poiitidis
bedd2db7b6
softrend: WIP floating interpolation to handle big numbers
...
Still not 100% correct pixel fill
2015-08-11 00:26:02 -04:00
TwistedUmbrella
b12055f7c0
Merge pull request #721 from reicast/loungekatt
...
Convert third-party source to library (avoid license conflict)
2015-08-11 00:23:55 -04:00
Stefanos Kornilios Mitsis Poiitidis
8faef19c3f
Apple: fix disabled nvmem blockmgr path, add printfs, clean xcode files
2015-08-10 03:02:59 +02:00
TwistedUmbrella
bf75c95ae8
Update project for #755 and fix warnings
2015-08-17 07:59:39 -04:00
Stefanos Kornilios Mitsis Poiitidis
8de800497e
windows: Don't call InitAudio from os_CreateWindow
...
Huh, why was this call even there?
2015-08-09 01:48:41 +02:00
TwistedUmbrella
95b39b885a
Fix iPhone build and import GameController / iCade
2015-08-07 16:17:28 -04:00
Stefanos Kornilios Mitsis Poiitidis
b4b04ea75f
pvr/softrend: Implement basic alpha blending
2015-08-05 08:19:50 +02:00
Stefanos Kornilios Mitsis Poiitidis
4aaff464b3
shrec/jitx64: Implement all block ends
...
This is still minimal and doesn't do any linking or other smart stuff
Also fixed a bug on shop_jdyn
2015-08-05 05:00:01 +02:00
Stefanos Kornilios Mitsis Poiitidis
f2f9a041e1
Merge pull request #727 from reicast/wip/import-drkpvr-softrend
...
rend/soft: Import the experimental core from nulldc/drkpvr, modularize
2015-08-05 04:25:06 +02:00
Stefanos Kornilios Mitsis Poiitidis
8cce1a4976
rend/soft: Import the experimental core from nulldc/drkpvr, better renderer modularization
...
- Adapted for indexed, async rendering, shared ta decoder
- This blits via a quick-and-hacky GDI blitter for now
- SSE/MMX intrins based, so not very portable
- A rather not good "reference" implementation
- At least, it's not terribly slow though
- GetTexture moved to Renderer interface
2015-08-05 02:43:40 +02:00
Stefanos Kornilios Mitsis Poiitidis
0343feffa6
Merge pull request #714 from reicast/wip/nacl-and-emscripten
...
NaCL & Emscripten targets
- CPU_GENERIC
- TARGET_NO_THREADS
- TARGET_NO_NIXPROF
- TARGET_NO_EXCEPTIONS
- TARGET_NO_NVMEM
- TARGET_BOUNDED_EXECUTION
- TARGET_NO_COREIO_HTTP
2015-08-03 11:28:29 +02:00
Stefanos Kornilios Mitsis Poiitidis
7e51e13efc
build: Add FEAT_HAS_COREIO_HTTP, update nacl/emscripten makefiles
2015-08-03 11:14:27 +02:00
Stefanos Kornilios Mitsis Poiitidis
2beb23978b
rec-cpp: Fix non-emscripten build
2015-08-03 11:12:24 +02:00
Stefanos Kornilios Mitsis Poiitidis
61394d7a44
shil: Disable external assembly implementations
...
Using external function pointers is broken after the rec-cpp structural changes,
and relatively low priority so disabled for now.
Fixes builds on arm, non-android (see #720 )
2015-08-03 10:41:34 +02:00
Stefanos Kornilios Mitsis Poiitidis
ac6bdddae3
Merge pull request #694 from randomstuff/cleanup
...
Minor Cleanup
2015-08-03 00:09:11 +02:00
Gabriel Corona
8c68f4a06b
Fix a 'permissive' warning
2015-07-31 20:37:39 +02:00
Gabriel Corona
9ff72a731f
Remove function declaration in the middle of a function
2015-07-31 20:32:11 +02:00
Gabriel Corona
221ba4c22d
s/cfgSetVitual/cfgSetVirtual
2015-07-31 20:32:06 +02:00
Stefanos Kornilios Mitsis Poiitidis
d8ccc9d2e7
emscripten: More rec-cpp progress
...
It almost builds now, except emscripten randomly gives up and crashes. No one likes my code these days...
2015-07-29 06:45:02 +02:00
Stefanos Kornilios Mitsis Poiitidis
0153145950
emscripten: Fix build
2015-07-29 06:22:59 +02:00
Stefanos Kornilios Mitsis Poiitidis
289aa393c0
nacl: fixing affected android build
2015-07-29 05:17:16 +02:00
Stefanos Kornilios Mitsis Poiitidis
17a4af378c
nacl: Post-merge cleanups
2015-07-29 04:58:41 +02:00
Stefanos Kornilios Mitsis Poiitidis
373cb6e24e
nacl: Working towards GLES2. Will init, shaders won't compile
2015-07-29 04:30:21 +02:00
Stefanos Kornilios Mitsis Poiitidis
057b1075b6
ta/mt: add rend_framePending? for better mt sync from clients
2015-07-29 04:28:27 +02:00
~skmp
0b29889b02
nacl: nacl_lin target, to simulate nacl build under linux. Debugger friendly
2015-07-29 04:28:13 +02:00
~skmp
2d9fbdda40
nacl: Fix sqw_nommu to work w/ non-linear nvmem allocation
2015-07-29 04:27:32 +02:00
Stefanos Kornilios Mitsis Poiitidis
b9bbb5c0c8
nacl: Work towards rec-cpp
2015-07-29 04:26:50 +02:00
Stefanos Kornilios Mitsis Poiitidis
4f86496773
linux/common: Stub out LockRegion/UnLockRegion when TARGET_NO_EXCEPTIONS
2015-07-29 04:21:54 +02:00
Stefanos Kornilios Mitsis Poiitidis
255d1bdb42
nacl: Stub out LockRegion/UnLockRegion as no mprotect logic
2015-07-29 04:19:12 +02:00
Stefanos Kornilios Mitsis Poiitidis
d0674b3cdd
nacl: Use nacl_io, emulation on background thread, print speed stats
2015-07-29 04:18:36 +02:00
Stefanos Kornilios Mitsis Poiitidis
341475f778
nacl: Redirect printf/puts, basic html loader
2015-07-29 04:17:49 +02:00
Stefanos Kornilios Mitsis Poiitidis
2eb9d7908f
A first hackthrough to get nacl compiling working
2015-07-29 04:17:31 +02:00
~skmp
376a36bf57
Emscripten: Hacky support, can boot bios
...
- Add TARGET_BOUNDED_EXECUTION, TARGET_EMSCRIPTEN
- Add emscripten makefile
Of course, there's no jit at this point
2015-07-29 04:08:08 +02:00
~skmp
a2831d67a0
vmem/alloc: TARGET_NO_NVMEM to not use page tricks
...
This combined with various other configs avoid segfault/pagefaults usage
2015-07-29 04:08:07 +02:00
~skmp
59c6012db2
pvr/rend_if: TARGET_NO_THREADS support
2015-07-29 04:08:06 +02:00
Stefanos Kornilios Mitsis Poiitidis
c8f982b8f5
linux-common: TARGET_NO_EXCEPTIONS, TARGET_NO_THREADS
2015-07-29 04:08:05 +02:00
~skmp
518c547fb5
nixprof: move to its own module, TARGET_NO_NIXPROF, NO_NIXPROF
2015-07-29 04:08:04 +02:00
~skmp
b1a55aba3f
ta_parser: use uniform function signatures for Append* callbacks
...
- Fixes emscripten build & makes more sense overall
2015-07-29 04:08:03 +02:00
Stefanos Kornilios Mitsis Poiitidis
2347b95bf2
aica/sgc: fix update_rate warning
2015-07-29 03:26:58 +02:00
Stefanos Kornilios Mitsis Poiitidis
a28209cae2
deps/sha256: memset is in string.h, not memory.h
2015-07-29 03:26:08 +02:00
Stefanos Kornilios Mitsis Poiitidis
6ebaa74ffe
core.mk: Only android needs deps/libzip/ right now
2015-07-29 03:24:51 +02:00
Stefanos Kornilios Mitsis Poiitidis
30229f6724
cl: Fix const warning
2015-07-29 03:23:08 +02:00
Stefanos Kornilios Mitsis Poiitidis
75fd698695
Merge pull request #701 from reicast/feat/rec-cpp
...
Initial implementation of a "dynarec-structured" cached shop interpreter
2015-07-29 02:43:51 +02:00
Stefanos Kornilios Mitsis Poiitidis
a82f9704d6
shrec: Limit max blocksize to 511 shops
2015-07-29 02:29:16 +02:00
~skmp
f1a6f04dce
rec-cpp: verify() that we have an executer w/ shop_count
2015-07-29 02:29:07 +02:00
Stefanos Kornilios Mitsis Poiitidis
ec5bb09917
rec-cpp: Add sig aCaCcCdC for mul_u64, mul_s64
2015-07-29 02:28:52 +02:00
~skmp
5b67e3f090
rec-cpp: SH4_TCB doesn't need to be in .text if not executable
2015-07-29 02:28:39 +02:00
Stefanos Kornilios Mitsis Poiitidis
1e0224dd1b
rec-cpp: Add sig aCaCcCdC for rocl, rocr
2015-07-29 02:28:29 +02:00
Stefanos Kornilios Mitsis Poiitidis
7de36d56ec
Merge pull request #712 from reicast/feat/imgread-readmiss-with-sector
...
imgread/common: On read error, print the sector that failed
2015-07-29 00:49:21 +02:00
~skmp
39e1439b93
imgread/common: On read error, print the sector that failed
2015-07-29 00:41:14 +02:00
Stefanos Kornilios Mitsis Poiitidis
fb6d0a0166
Merge pull request #710 from reicast/feat/vmu-safer-creation
...
maple: Gracefully fail if vmu cannot be written
2015-07-29 00:03:00 +02:00
Stefanos Kornilios Mitsis Poiitidis
83d3abf266
maple: Gracefully fail if vmu cannot be written
2015-07-28 23:54:50 +02:00
Stefanos Kornilios Mitsis Poiitidis
f62d532b78
Audiostream: Don't log on every push if audio is disabled
...
There is an initialization warning which is enough to warn users
2015-07-28 23:52:48 +02:00
Jan Holthuis
3faf51c6ce
Removed mode variable in print_mem_addr()
...
This removes the mode variable in core/linux/common.cpp's
print_mem_addr(). It not neccessary and produces compiler warnings.
2015-07-27 19:12:28 +02:00
Jan Holthuis
9e00305c90
Fix anonymous struct/union linkage errors in gdromv3.cpp
...
Since read_params, packet_cmd, read_buff, pio_buff, ata_cmd, cdda and
ByteCount have not been declared static, they are visible in other
translation units. Since their structs are anonymous, their types have
internal linkage only. Thus, accessing them in other translations units
is impossible anyway.
By declaring them static, we're giving it internal linkage so that
neither the type nor the variable are visible in other translation
units.
Here are the errors:
../../core/hw/gdrom/gdromv3.cpp:50:3: warning: anonymous type with no
linkage used to declare variable '<anonymous struct> read_params' with
linkage
} read_params;
^
../../core/hw/gdrom/gdromv3.cpp:83:3: warning: anonymous type with no
linkage used to declare variable '<anonymous struct> packet_cmd' with
linkage
} packet_cmd;
^
../../core/hw/gdrom/gdromv3.cpp:91:3: warning: anonymous type with no
linkage used to declare variable '<anonymous struct> read_buff' with
linkage
} read_buff;
^
../../core/hw/gdrom/gdromv3.cpp💯 3: warning: anonymous type with no
linkage used to declare variable '<anonymous struct> pio_buff' with
linkage
} pio_buff;
^
../../core/hw/gdrom/gdromv3.cpp:106:3: warning: anonymous type with no
linkage used to declare variable '<anonymous struct> ata_cmd' with
linkage
} ata_cmd;
^
../../core/hw/gdrom/gdromv3.cpp:122:3: warning: anonymous type with no
linkage used to declare variable '<anonymous struct> cdda' with linkage
} cdda;
^
../../core/hw/gdrom/gdromv3.cpp:156:4: warning: anonymous type with no
linkage used to declare variable '<anonymous union> ByteCount' with
linkage
} ByteCount;
^
2015-07-27 19:08:35 +02:00
Stefanos Kornilios Mitsis Poiitidis
4b97f468b5
rec-cpp: Implement block ends and a few more decoders
...
- Full IL mode now works!
- Dispatch up to 270 mips on 2.2ghz i7, on a complex 3d scene
- Will run many games fullspeed on modern pc, thanks to idleskip
2015-07-25 20:38:48 +02:00
Stefanos Kornilios Mitsis Poiitidis
fb55e7f6f8
sh4/canonical: Provide impls for sync_sr and sync_fpscr
...
This shouldn't be a requirement as directly using shil_cf_ext should work,
but for some reason if I don't msvc optimizes the functions out.
2015-07-25 20:36:06 +02:00
Stefanos Kornilios Mitsis Poiitidis
cbda836a96
she/core: Less stupid register swap functions
2015-07-25 20:33:53 +02:00
Stefanos Kornilios Mitsis Poiitidis
b1f7015a98
rec/cpp: Mostly fully direct specialized dispatchers
...
- Nest shil implementations to shilop_##name::form::impl for easier template matching
- Add more direct handlers
- Add prints if a direct handler isn't found
- Remove multiple indirect handlers, leave them for fallback
2015-07-25 14:36:04 +02:00
Stefanos Kornilios Mitsis Poiitidis
51a6ed2146
rec/all: optional mips counter on recs
...
Also de-unroll rec-cpp for debug builds
2015-07-25 14:31:46 +02:00
Stefanos Kornilios Mitsis Poiitidis
00dbd6222f
rec-cpp: Massage for gcc compatibility
2015-07-25 14:25:51 +02:00
Stefanos Kornilios Mitsis Poiitidis
1710f76ab1
unroll the execution loop
2015-07-25 14:24:11 +02:00
Stefanos Kornilios Mitsis Poiitidis
7303a046be
rec-cpp: Direct calls to shil_opcl_* handlers for many opcodes
2015-07-25 14:23:59 +02:00
Stefanos Kornilios Mitsis Poiitidis
39e369411c
shil/canonical: Fix decls, comment
2015-07-25 14:23:45 +02:00
Stefanos Kornilios Mitsis Poiitidis
e4138f9a60
rec-cpp: Wastefully generate more dispatchers for better BTB cache locality
...
The real solution is to have inlining between the (now static) dispatchers and the impls.
It's gonna be hard to convince the compiler on that.
2015-07-25 14:23:07 +02:00
Stefanos Kornilios Mitsis Poiitidis
fc01428c30
rec-cpp: Force resets when running out of blocks
2015-07-25 14:22:28 +02:00
Stefanos Kornilios Mitsis Poiitidis
bfef969626
rec-cpp: Implement stuff up to the corejit layer
2015-07-25 14:21:53 +02:00
Stefanos Kornilios Mitsis Poiitidis
cd80850acb
First idea for a fully portable "jit"
2015-07-25 14:20:54 +02:00
Stefanos Kornilios Mitsis Poiitidis
39ead6159b
Merge pull request #699 from reicast/feat/build-defines-cleanup
...
(Imma merge this, as it's needed for rec-cpp work, but that doesn't mean the discussion is closed)
2015-07-25 14:03:35 +02:00
Stefanos Kornilios Mitsis Poiitidis
a4a427feea
shell/windows: Move taskip, swap to F1,2,10 from '1', '2', '0'
2015-07-25 13:28:57 +02:00
Stefanos Kornilios Mitsis Poiitidis
58d4a55696
build: fix makefiles
2015-07-25 13:19:38 +02:00
Stefanos Kornilios Mitsis Poiitidis
9cf9bacd13
build: Refactor HOST_NO_REC everywhere
2015-07-25 13:19:26 +02:00
Stefanos Kornilios Mitsis Poiitidis
a9c76351f6
build: Draft & cleanup, refactor rec* options
2015-07-25 13:17:42 +02:00
TwistedUmbrella
0fb51735da
Update iOS project, Add support for iOS define
2015-07-23 23:30:35 -04:00
Stefanos Kornilios Mitsis Poiitidis
67a8ceabdd
shil/param: add imm_value()
2015-07-23 02:08:25 +02:00
Stefanos Kornilios Mitsis Poiitidis
19535cc34d
vmem: Remove some useless/dead code
2015-07-21 16:04:22 +02:00
Stefanos Kornilios Mitsis Poiitidis
1aa01dbc63
sigsegv: Change print handler to use %p for pointers
2015-07-21 15:42:48 +02:00
Stefanos Kornilios Mitsis Poiitidis
82ef7d0754
jitx64: 16KBs of emit space are guaranteed, not 64
2015-07-21 15:42:10 +02:00
Stefanos Kornilios Mitsis Poiitidis
0a3fcfe4ac
jit-x64: typofix on shop_writem, WriteMem64
2015-07-21 14:48:37 +02:00
Stefanos Kornilios Mitsis Poiitidis
b056cf6cef
Implement jitcore opset for x64
...
Now mov64, readm, writem, in addition to jittiny ifb, jdyn, mov32
2015-07-14 20:17:45 +02:00
Stefanos Kornilios Mitsis Poiitidis
1125f25eae
Fix win86 build
2015-07-14 17:47:54 +02:00
Stefanos Kornilios Mitsis Poiitidis
f3c8e3623d
Fix HOST_CPU for x64 windows
2015-07-14 17:31:48 +02:00
Stefanos Kornilios Mitsis Poiitidis
8cb6d6578c
Count cycles correctly
2015-07-14 17:23:02 +02:00
Stefanos Kornilios Mitsis Poiitidis
e50cfe3010
x64 tinyjit: linux support
2015-07-14 03:35:34 +02:00
Stefanos Kornilios Mitsis Poiitidis
3852cf9ac8
Minimal x64 jit: Desync'd, but runs
2015-07-13 23:56:42 +02:00
Stefanos Kornilios Mitsis Poiitidis
b385575d6f
Get x64 building
2015-07-13 21:13:51 +02:00
TwistedUmbrella
115ee47efc
Prevent log overlap when loading button.png
2015-07-08 10:21:26 +02:00
Stefanos Kornilios Mitsis Poiitidis
def91fdc84
Remove personality fix for android
2015-07-08 10:15:37 +02:00
Stefanos Kornilios Mitsis Poiitidis
043d9004a0
Merge rapi2 to master
2015-07-07 16:20:14 +02:00
Stefanos Kornilios Mitsis Poiitidis
3f36e98f90
Linux: Make sure personality isn't READ_IMPLIES_EXEC
2015-07-07 16:00:50 +02:00
Stefanos Kornilios Mitsis Poiitidis
475b6bbc38
Merge pull request #686 from reicast/feat/merge-x86-recs
...
Merge windows and linux x86 recompiler paths
2015-07-05 23:40:05 -07:00
Stefanos Kornilios Mitsis Poiitidis
ea26e2784a
Merge windows and linux x86 recompiler paths
2015-07-06 08:15:45 +02:00
TwistedUmbrella
7db6966ef8
Merge pull request #671 from imirkin/master
...
linux: print memory map to stderr when fixed path not available
2015-07-05 19:37:21 -04:00
Stefanos Kornilios Mitsis Poiitidis
852672a2dc
Merge pull request #667 from Holzhaus/fix-bug-660
...
sh4_opcodes: Fix printf arguments
2015-07-05 11:45:58 -07:00
TwistedUmbrella
e229b44821
Merge pull request #673 from reicast/loungekatt
...
Fixes for building iOS / Android in parallel
2015-07-05 11:15:08 -04:00
Stefanos Kornilios Mitsis Poiitidis
b5108993c9
Audio: Fix windows build
2015-07-05 14:53:43 +02:00
TwistedUmbrella
e3744446f5
Support return to external launcher, Prep for linux
...
This adds the ability to simply close the emulator when launched
externally and prevents changes designed for linux from generating
conflicting controller configurations on Android (and may be needed for
iOS as well).
2015-06-28 11:29:34 -04:00
TwistedUmbrella
c85a190d02
Relocate os_DebugBreak definition to origin
2015-06-28 11:11:39 -04:00
Jan Holthuis
6ae3c5d907
Introduce USE_ALSA and accomodate Makefiles
...
This introduces the USE_ALSA flag (replaces the somewhat hacky
"HOST_OS==OS_LINUX && !defined(TARGET_NACL32) && !defined(ANDROID)"
if case).
The Makefiles for beagle, gcwz, lin86 and pandora have been adapted to
reflect this change.
2015-06-27 20:45:42 +02:00
Jan Holthuis
a9771c918d
Added PulseAudio backend
...
This commit introduces PulseAudio support using PulseAudio's "Simple
API".
The PulseAudio backend will be included during compilation if
USE_PULSEAUDIO is defined.
2015-06-27 20:44:54 +02:00
Jan Holthuis
c17c7502d8
Added newline to end of files and removed obsolete code
2015-06-27 20:44:53 +02:00
Jan Holthuis
1c1e779500
Added Android audio backend
...
This *should* add the Android audio backend. I do not have any idea how
to do this properly, but I figured that this might work for the moment.
There's probably a lot of testing required for this to work.
2015-06-27 20:44:53 +02:00
Jan Holthuis
a65b752592
Added DirectSound audio backend
...
This commit adds the DirectSound audio backend, which is a modified
version of core/oslib/ds_audiostream.cpp.
Porting this was a bit tricky, since ds_audiostream.cpp defined 3
extern functions that the other backends didn't have:
* bool os_IsAudioBuffered();
* bool os_IsAudioBufferedLots();
* int os_getusedSamples();
I came to the conclusion that these methods are obsolete since they are
only used core/windows/winmain.cpp in the function void os_wait_cycl(u32
cycl) - which is used nowhere. Thus, I removed os_wait_cycl and the
headers of the three functions in core/oslib/oslib.h. I also removed the
functions themselves (except for int os_getusedSamples(), which is still
used inside the directsound backend, but can safely declared static for
that purpose).
The DirectSound backend will be included during compilation if HOST_OS
is OS_WINDOWS.
2015-06-27 20:44:53 +02:00
Jan Holthuis
167fba4c9f
Added ALSA audio backend
...
This adds the OSS audio backend, which is basically a slightly modified
version of core/oslib/alsa_audiostream.cpp from the skmp/linux-x64
branch (as of commit cdf9f3dc971506c2efd979275c2869f064e1027c).
The ALSA backend will be included during compilation if HOST_OS is OS_LINUX
and neither TARGET_NACL32 nor ANDROID are defined. This should be
changed to a USE_ALSA flag in the future (for constistency and and
simplicity reasons), but i didn't want to put too much stuff into this
commit.
2015-06-27 20:44:53 +02:00
Jan Holthuis
f6d2e3fa7e
Added OSS audio backend
...
This adds the OSS audio backend and removes OSS code from
core/linux-dist/main.cpp and core/sdl/main.cpp.
The OSS backend will be included during compilation if the USE_OSS
flag is set.
Although OSS code in core/linux-dist/main.cpp depended on the
TARGET_PANDORA flag instead of USE_OSS, the latter should work too
since it is defined in the Pandora Makefile (lines 7 & 83).
2015-06-27 20:42:40 +02:00
Jan Holthuis
e3f1784a0f
Implement audio backend system
...
This makes it possible to have multiple audio backends compiled into
reicast (e.g. ALSA & OSS on Linux). These can then selected by the user
via a config option ("backend" iin the "audio" section). It *should*
also be possible to reduce the number of platform-specific ifdefs with this
approach.
Audio backends need to define a struct (audiobackend_t) that holds a
pointer to it's init, push and term function and also a slug and a name
as string. They then need to pass a pointer to this struct to
RegisterAudioBackend() before InitAudio() is called.
For now, I defined a function (RegisterAllAudioBackends) that get's
called exactly once (i.e. upon first call of InitAudio()), where
we can put ifdef'd RegisterAudioBackend() calls into for each backend
that reicast supports.
Please note that this commit just implements the basic audio backend
system - no backends have been ported to the new API yet. For the meantime,
reicast will run without any audio support accross all systems.
2015-06-27 20:41:49 +02:00
Jan Holthuis
35968c8291
Rename os_Push() to PushAudio() for consistency
2015-06-27 20:41:05 +02:00
Jan Holthuis
55c6667753
Rename audiostream_rif.h to audiostream.h
...
This makes the naming more consistent.
2015-06-27 20:40:19 +02:00
Jan Holthuis
4c5682ac89
Define audiostream.cpp's time_diff at global scope
...
There's no need to do this inside the InitAudio() function.
2015-06-27 20:39:28 +02:00
Ilia Mirkin
6d3269c91d
linux: print memory map to stderr when fixed path not available
2015-06-19 19:00:29 -04:00
Jan Holthuis
fb50c7570c
sh4_opcodes: Fix printf arguments
...
This partly resolves #660 (needs to applied to linux-64 branch, too).
2015-06-13 16:55:12 +02:00
TwistedUmbrella
3f2f400c59
Fix compile on OSX by defining os_DebugBreak
...
This is an equivalent of the same functionality as per
http://stackoverflow.com/a/5561015
2015-05-23 12:25:22 -04:00
TwistedUmbrella
97569a9f24
too many arguments to function 'void armv_end(void*)'
2015-05-23 12:25:14 -04:00
Stefanos Kornilios Mitsis Poiitidis
a9fc0f5aa8
Merge pull request #655 from reicast/feat/segfault-context-consolidation
...
ios merge, segfault context consolidation, linux86, android x86 jit
2015-05-18 14:56:55 +02:00
Stefanos Kornilios Mitsis Poiitidis
f571d6c594
pvr/vram: Bank bit seems to be fixed on 4M, even on 16M hardware
2015-05-18 14:45:24 +02:00
~skmp
4ea7398d8a
Linux: fix building
2015-05-16 11:23:31 +03:00
Stefanos Kornilios Mitsis Poiitidis
2d842b9257
Renderer_if: fix norend
2015-05-16 01:10:47 -07:00
Stefanos Kornilios Mitsis Poiitidis
9c2a4dc5a4
iOS fixes
2015-05-16 01:04:30 -07:00
Stefanos Kornilios Mitsis Poiitidis
6547d80095
Fixes for android, cleanup context.cpp
2015-05-16 08:18:46 +02:00
Stefanos Kornilios Mitsis Poiitidis
03914309e3
linux/context: Add updated context files
2015-05-16 07:16:46 +02:00
Stefanos Kornilios Mitsis Poiitidis
65ca1382d8
Merge remote-tracking branch 'remotes/origin/skmp/ios-wip' into feat/segfault-context-consolidation
...
Android/windows builds fine again. Android not tested yet, iOS/OSX not compiled yet
2015-05-16 07:12:19 +02:00
Stefanos Kornilios Mitsis Poiitidis
902c5e2949
linux/context.*: Add missing files
2015-05-16 03:10:39 +02:00
Stefanos Kornilios Mitsis Poiitidis
8c469e4b5c
*nix: move context massaging to linux/context.cpp, ALIGN -> DECL_ALIGN
...
Yay some warnings gone from not conflicting with ALIGN anymore
2015-05-16 03:06:04 +02:00
Stefanos Kornilios Mitsis Poiitidis
cf473a14a4
x86 jit: fix android
2015-05-15 23:33:47 +02:00
Stefanos Kornilios Mitsis Poiitidis
5b609a6be4
linux: Sh4 dynarec works
2015-05-08 18:59:20 +02:00
Stefanos Kornilios Mitsis Poiitidis
d33ad6edfb
Updating from linux/x64
2015-05-08 17:49:23 +02:00
Stefanos Kornilios Mitsis Poiitidis
5ef9d661a6
Merge remote-tracking branch 'origin/master' into skmp/linux86
2015-05-08 17:29:14 +02:00
Stefanos Kornilios Mitsis Poiitidis
5d3c71bee7
Merge master
2015-05-08 17:29:06 +02:00
Stefanos Kornilios Mitsis Poiitidis
3fe8f0eb94
tmu: Correctly schedule next interrupt in underflow, correctly differentiate between large values and underflows
...
- 32 bit code was "fudgy" on this, so simplified via 64bit counters for edge detection
- Maths to count cycles were wrong
- Let's not do 32 bit wrapped maths after beers without any kind of pen-and-paper design
Should fix #594 , also see #645
2015-05-08 02:29:24 +02:00
Stefanos Kornilios Mitsis Poiitidis
7d75ee3839
gles: revert e5965e356d
.
...
glCheck was already an option, and gcc sanely doesn't like if (do { ... } while(0))
2015-05-08 01:06:40 +02:00
Stefanos Kornilios Mitsis Poiitidis
e5965e356d
gles: Disable glChecks by default, glGetError can be painfully slow
2015-05-07 23:27:22 +02:00
Stefanos Kornilios Mitsis Poiitidis
c25ce04b48
sh4_sched: Avoid scheduling to -1, because, magic values.
2015-05-07 22:10:00 +02:00
Stefanos Kornilios Mitsis Poiitidis
4b46de89bb
sh4_sched: Handle disabled events correctly
2015-05-07 22:03:55 +02:00
Stefanos Kornilios Mitsis Poiitidis
20f7a41fe9
sched: Do not re-fire expired callbacks, use sh4_sched_remaing on sh4_sched_tick
2015-05-07 21:33:36 +02:00
Stefanos Kornilios Mitsis Poiitidis
0614680f8c
WinThreading: DEBUG_THREADS for random sleep around sync primitives
2015-05-07 21:32:11 +02:00
Stefanos Kornilios Mitsis Poiitidis
330a60bcf4
Merge branch 'master' of github.com:reicast/reicast-emulator
2015-04-12 22:48:31 +02:00
Stefanos Kornilios Mitsis Poiitidis
64b2fcbb1c
Disable glCheck by default, move to validate:OpenGlChecks config
2015-04-12 22:48:16 +02:00
Stefanos Kornilios Mitsis Poiitidis
e98f69ebd9
Merge pull request #629 from Holzhaus/fix-typedef-default-args
...
Remove arm_dyna typedef default args
2015-04-12 22:35:09 +02:00
Jan Holthuis
b3faffacc9
Remove arm_dyna typedef default args
...
Using default arguments is only allowed in function declarations, not
in typedefs. This fixes the invalid code that caused compilation errors
on systems using GNU g++ 4.9.2, i.e.:
> ../../core/rec-ARM/arm_dyna.cpp: At global scope:
> ../../core/rec-ARM/arm_dyna.cpp:186:79: error: default arguments are only permitted for function parameters
> typedef void FPBinOP (eFSReg Sd, eFSReg Sn, eFSReg Sm, ConditionCode CC=CC_AL);
> ^
> ../../core/rec-ARM/arm_dyna.cpp:187:79: error: default arguments are only permitted for function parameters
> typedef void FPUnOP (eFSReg Sd, eFSReg Sm, ConditionCode CC=CC_AL);
> ^
> ../../core/rec-ARM/arm_dyna.cpp:188:79: error: default arguments are only permitted for function parameters
> typedef void BinaryOP (eReg Rd, eReg Rn, eReg Rm, ConditionCode CC=AL);
> ^
> ../../core/rec-ARM/arm_dyna.cpp:189:79: error: default arguments are only permitted for function parameters
> typedef void BinaryOPImm (eReg Rd, eReg Rn, s32 sImm8, ConditionCode CC=AL);
> ^
> ../../core/rec-ARM/arm_dyna.cpp:771:10: warning: anonymous type with no linkage used to declare variable '<anonymous struct> op_table []' with linkage
> op_table[]=
> ^
> Makefile:89: recipe for target 'obj/rec-ARM/arm_dyna.build_obj' failed
> make: *** [obj/rec-ARM/arm_dyna.build_obj] Error 1
2015-04-04 19:04:23 +02:00
Stefanos Kornilios Mitsis Poiitidis
014d739495
Update for ndk-10d, improved build options
2015-03-29 06:02:24 +02:00
Stefanos Kornilios Mitsis Poiitidis
0c04adba67
reios: Add support for elf booting
2015-03-22 01:30:19 +01:00
Stefanos Kornilios Mitsis Poiitidis
3b1c38ad55
sh4/driver: don't log on div32 missmatch
2015-03-22 01:26:43 +01:00
~skmp
0285e2c5da
reios: Fix unaligned reads (emscripten, arm), more logging, u32be for LBA/sizes
2015-02-26 05:09:52 +01:00
Stefanos Kornilios Mitsis Poiitidis
cca8558d08
Add Serial Console option (debug.SerialConsoleEnable) for KOS, etc
2015-02-25 20:56:58 +01:00
Stefanos Kornilios Mitsis Poiitidis
13f67e2d17
reios: CD/descrambling support, reduced log spam, improved boot context, hle address aliasing, bios memset to catch accesses
2015-02-25 19:47:09 +01:00
Stefanos Kornilios Mitsis Poiitidis
578bb6dadc
reios/gdrom_hle: Fix TOC, better CHECK_COMMAND handling, split logspam to debugf
2015-02-25 19:33:36 +01:00
Stefanos Kornilios Mitsis Poiitidis
9ed6945826
sh4/cpu_iNimp: Nicer error output
2015-02-25 19:31:33 +01:00
Stefanos Kornilios Mitsis Poiitidis
ae8ce5ad23
sh4/rdv_CompilePC: Fix boot time automatic cache flushes
...
The bios boots from 0xA... addresses, not 0x8... so the flushes were never triggered
2015-02-25 19:30:08 +01:00
Stefanos Kornilios Mitsis Poiitidis
7c64d57b35
Merge branch 'master' into skmp/bios-hle
2015-02-25 15:21:59 +01:00
Stefanos Kornilios Mitsis Poiitidis
952b1ae6e9
reios/hleboot: support cdroms, descramble, slightly smarter bootfile search
2015-02-25 15:21:22 +01:00
TwistedUmbrella
ab0e67edc7
Merge pull request #585 from reicast/skmp/improve-coreio
...
http support for cdi & gdi, updated based gdipsr
2015-01-24 08:53:53 -05:00
Stefanos Kornilios Mitsis Poiitidis
f2c07917c7
Partially working dyna for iOS. Very few games working atm.
...
This works, but is extremelly hacky. Must be started without attached debugger, lldb doesn't want to let go of EXC_BAD_ADDRESS, but reicast really depends on it getting delivered as SIGSEGV/SIGBUS. Also xcode has a really bad day upon seeing the jit code. Oh well.
There's some dynarec bug that causes color corruption on bios logo/boot triagles, TA crash on ikaruga and infinitive loop on crazy taxi. I'd guess some fp-memory-write thingy, abi, or smth. Too bad.
- Force code to compile in arm mode (arm jit -> thumb mem functions is complicated)
- SIGILL, SIGBUS. Works w/o Mach exceptions and EXC_BAD_ADDRESS
- Code buffers move to __TEXT, munmapped && memmapped to actually work
- Primitive input. Button + start, or left (works to get out of bios date screen)
- Fixup emitter for thumb2/interworking (didn't work though, reverted to arm cc)
- Block Manager: Disable mem saving / page fault alloc-on-demand logic
- Move cycle counter to r11, r9 is not clean on iOS. Remove r11 from reg alloc list
- Cache flushes for iOS
- log to log.txt
- load game.chd
2015-01-18 23:52:12 -08:00
Stefanos Kornilios Mitsis Poiitidis
4a917a003e
Merge branch 'master' of github.com:reicast/reicast-emulator
2015-01-16 21:38:09 +01:00
Stefanos Kornilios Mitsis Poiitidis
977dff25ab
Basic support for recording frames
2015-01-16 21:37:30 +01:00
Stefanos Kornilios Mitsis Poiitidis
d9d9b76d79
TA/VTX: Reset current list on vdec_init
...
Fixes some rare cases where it's invalid or left over to some list, without a CurrentList set, leading to crash.
2015-01-15 14:23:56 +01:00
~skmp
33556f3863
64 bit fixes
2015-01-10 21:15:15 +02:00
Stefanos Kornilios Mitsis Poiitidis
0f60e72eb0
Add #include <cctype>, that's what isalnum is defined
2015-01-09 16:07:11 +01:00
Stefanos Kornilios Mitsis Poiitidis
3ca3b1220d
http support for cdi & gdi, updated based gdipsr
...
- Fix coreio fsize
- Fix coreio fopen to seek to 0
- Fix coreio/http to smart-escape urls
- For urls that include \ or % in the filenames, you have to pass them
escaped
- Update gdi parser to use (mostly) streamstream. That code is horrible
and should be rewritten
- coreio core is hacky and horrible at places as well
- Update imgreader to use coreio
- Update cdi parser + driver to use coreio
2015-01-09 15:50:07 +01:00
Stefanos Kornilios Mitsis Poiitidis
d055dbd7cb
TMU: Also set the underflow flag. Fixes KOS.
2015-01-07 03:12:33 +02:00
Stefanos Kornilios Mitsis Poiitidis
6ad25b8f53
TMU: Improve interrupt handling
2015-01-06 21:50:00 +02:00
Stefanos Kornilios Mitsis Poiitidis
11e9ed167a
Fix building for android
2015-01-06 16:07:18 +02:00
Stefanos Kornilios Mitsis Poiitidis
118e9bb1d2
Merge branch 'master' of github.com:reicast/reicast-emulator
2015-01-06 15:02:16 +02:00
Stefanos Kornilios Mitsis Poiitidis
605fa1c40a
TMU: Hello interrupts
...
Let's pretend that the TMU unit actually exists, it makes games like
Gaunlet Legends happy ~
2015-01-06 15:00:39 +02:00
Stefanos Kornilios Mitsis Poiitidis
c5cc2f1e50
Document sh4_shced, fix tmu a bit
2015-01-06 14:10:48 +02:00
~skmp
0783875b84
Linux GLX/3.1 support
...
My setup is only 2.1 right now, so this is totally untested
2014-12-30 13:21:05 +02:00
~skmp
0bf6272b9c
Avoid use of C++11, still too many compilers without support for auto :<
2014-12-30 10:58:13 +02:00
~skmp
78e4b3c5db
Use netinet/tcp.h, not linux/tcp.h
2014-12-30 10:29:49 +02:00
~skmp
83752b9761
Fix building for linux (-DGLES && eglCreateWindowSurface)
2014-12-30 10:00:20 +02:00
TwistedUmbrella
28d0e0a08b
Change directions on the path to success
2014-12-29 22:12:25 -05:00
Stefanos Kornilios Mitsis Poiitidis
65d19d8b9d
Fix reios makefile building
2014-12-30 02:05:01 +01:00
Stefanos Kornilios Mitsis Poiitidis
088bbfd5e7
More work on reios
2014-12-30 01:57:13 +01:00
Stefanos Kornilios Mitsis Poiitidis
25eee26ce5
First steps towards a HLE bios implementation
...
This is very simplistic, but can already boot and run many games
Known working so far
- Dead Or Alive 2 LE
- Head Hunter
- Marvel VS Capcom 2
Not working
- (Almost) all others
2014-12-29 22:05:35 +01:00
Stefanos Kornilios Mitsis Poiitidis
9d7cac160a
PVR: Fix hscale, VO vs FB_W scissor
...
Fixes w320 games (bangai-o, kof99, etc), and Half-x clip (Ready2Rumble,
more)
2014-12-22 16:46:40 +01:00
Stefanos Kornilios Mitsis Poiitidis
5b9ac040a4
FB_R_SIZE_type should be 32 bits, not 42
2014-12-22 16:45:32 +01:00
Stefanos Kornilios Mitsis Poiitidis
56ebda10a9
ios interpreter works, bios runs w/ 3d visulals
...
THIS IS A MESS. Sorry @angelXwind :p. We'll have to clean up and merge for r8, but most of the nasty work is there.
What works:
- full init, memalloc, mprotects, etc
- boot
- gles2
What doesn't:
- Exceptions for page faults
- Breaks texture cache
- Breaks dynarec because of fastpath
- segfaults don't work, needs special mach exc_server magic that still eludes me after 5 hours
- Dynarecs. RWX issues, and broken buffer mappings. Also some minnor linking stuff (most of it is taken care of)
- Audio. I just killed it off.
- All of the ui. Was getting in the way of me not knowing how to edit story boards...
- Input
Also, merged branch 'skmp/mac86-hackport' into skmp/ios-wip
Have fun~
2014-12-17 10:19:44 -08:00
Stefanos Kornilios Mitsis Poiitidis
2978074fa6
Merge branch 'master' of https://github.com/reicast/reicast-emulator
2014-12-17 03:11:14 -08:00
Stefanos Kornilios Mitsis Poiitidis
86e2408ace
wip to get ios compiling
2014-12-17 03:10:18 -08:00
Stefanos Kornilios Mitsis Poiitidis
160d6f0c48
Linux is case sensitive
2014-12-17 10:44:11 +01:00
Stefanos Kornilios Mitsis Poiitidis
09caf4a55e
Lock the entire texture, not just the pixel array.
...
Fixes #49
2014-12-17 08:45:19 +01:00
Stefanos Kornilios Mitsis Poiitidis
29906d8416
Texkill, palette_update on correct place.
...
- Texkill needs to be done before texture allocation, which is now done during parsing (texture-sync update)
- palette_update needs to be called from the emu thread, before kicking off the render
2014-12-17 08:42:28 +01:00
Stefanos Kornilios Mitsis Poiitidis
9a5c3160a3
Documentation for dsp.cpp
2014-12-17 07:12:08 +01:00
Stefanos Kornilios Mitsis Poiitidis
e43271e448
fix for msvc 2013 / C++14. Rend is now used by stdlib
2014-12-17 06:48:45 +01:00
Stefanos Kornilios Mitsis Poiitidis
b1f88f258b
Merge branch 'master' of github.com:reicast/reicast-emulator
2014-12-11 14:02:43 +01:00
Stefanos Kornilios Mitsis Poiitidis
34bc42b7a4
Add x64 target, fix Sh4RCB pointer sizing, u32->unat in vmem
2014-12-11 14:02:10 +01:00
Stefanos Kornilios Mitsis Poiitidis
acda30f034
Emitter: use main types.h
2014-12-11 14:01:13 +01:00
Stefanos Kornilios Mitsis Poiitidis
c69934f839
Force all allocates > 32bits on x64 debug mode to find porting issues
2014-12-11 14:00:53 +01:00
Stefanos Kornilios Mitsis Poiitidis
2f171e3596
Support HOST_NO_REC for windows
2014-12-11 13:59:31 +01:00
Stefanos Kornilios Mitsis Poiitidis
22e95de2d1
Merge pull request #572 from reicast/skmp/pandora-merge
...
pandora merge
2014-12-11 03:26:13 +01:00
Stefanos Kornilios Mitsis Poiitidis
4500cfb1d3
Remove white-space changes
2014-12-11 02:57:23 +01:00
Stefanos Kornilios Mitsis Poiitidis
63485e7a72
SetFloatStatusReg: support gcc for x86
2014-12-09 22:15:44 +01:00
Stefanos Kornilios Mitsis Poiitidis
77390f861e
DSP only if HOST_NO_REC is not enabled
2014-12-09 22:15:00 +01:00
Stefanos Kornilios Mitsis Poiitidis
000f432548
No rend: fix process
2014-12-09 22:10:16 +01:00
Stefanos Kornilios Mitsis Poiitidis
a4b3e8dc05
Auto detect gcc/vc
2014-12-09 22:09:51 +01:00
Stefanos Kornilios Mitsis Poiitidis
157c837ec0
Merge branch 'skmp/gl3.1'
2014-10-22 14:42:02 +02:00
Stefanos Kornilios Mitsis Poiitidis
2b1aaf061d
Isolate GLES, add DESKTOPGL option to core.mk
2014-10-22 14:39:07 +02:00
Stefanos Kornilios Mitsis Poiitidis
e4844a37c3
Merge branch 'skmp/label_list_fix'
2014-10-22 14:15:40 +02:00
Stefanos Kornilios Mitsis Poiitidis
468b0109c8
Fix label array system
2014-10-22 14:11:39 +02:00
Stefanos Kornilios Mitsis Poiitidis
286d6372b5
Merge pull request #540 from reicast/skmp/gdtool
...
hash support on gdtool
2014-10-05 23:28:55 +03:00
Stefanos Kornilios Mitsis Poiitids
f14932c362
Building on osx w/o rec or rend
2014-09-30 12:00:46 +03:00
Stefanos Kornilios Mitsis Poiitidis
0825ca5a4b
hash support on gdtool
2014-08-26 00:53:14 +03:00
ptitSeb
763e0948c0
Merge branch 'pandora' of https://github.com/reicast/emulator into pandora
2014-08-18 23:03:05 +02:00
Stefanos Kornilios Mitsis Poiitidis
4f3cee2d87
Improve async/mt rendering & sync logic.
...
Should fix texture staging issues for now, without degrading performance
Fixes #49 (mvsc2, sf3, etc sprites)
2014-08-18 22:39:21 +02:00
Stefanos Kornilios Mitsis Poiitidis
b55fbef3a6
Stored TA command stream persists on TA_LIST_INIT, until first actual write.
...
Fixes #141 , "Main menus on POD and Speed Devil show up black"
Seems like the TA doesn't touch any of the memory structures before first write (and probably later on, but we're not gonna support corrupted ta streams for now)
According to p1pkin
«At least in SpeedDevils, at title screen game do a bit weird thing
- Init TA context
- Send lists to TA
- Init the same context again
- Start Render
so, if you are clear stored poly/vertex data at "TA_LIST_INIT" pvr2 reg write - you'll get black screen instead game title»
2014-08-18 22:22:30 +02:00
Stefanos Kornilios Mitsis Poiitidis
1cf68c7b38
Webui for linux
2014-08-18 22:21:18 +02:00
Stefanos Kornilios Mitsis Poiitidis
778efcdf19
add libwebsocket
2014-08-18 22:15:27 +02:00
ptitSeb
15708686b9
Added back manual frameskip due to forum request
2014-08-18 21:57:16 +02:00
ptitSeb
229fa41b30
compilations fixes for Pandora
2014-08-18 21:57:15 +02:00
ptitSeb
b7afa6a498
some fixes for Pandora
2014-08-18 21:57:15 +02:00
ptitSeb
6a9cdd7633
added frameskip back, has asked in openpandora forum
2014-08-18 21:57:14 +02:00
Stefanos Kornilios Mitsis Poiitidis
85d806c355
First idea for a gdrom tool
2014-08-18 21:56:04 +02:00
TwistedUmbrella
d31f324212
Add explicit casting for iOS, Import iOS EGL headers
...
EGL headers imported from https://github.com/alco/EGL_mac_ios for use
in iOS specialty directory
2014-08-18 21:56:02 +02:00
Karen Tsai
269ac637d3
…And fixed a typo that was somehow made during the process of cutting-and-pasting.
2014-08-18 21:56:01 +02:00
Karen Tsai
bce423e877
Massive build fix for iOS, ngen_arm.S (ARM JIT core) now compiles! The next goal… fix OGLES2. Because that’s completely broken. Also, updated .gitignore to properly ignore iOS build artifacts.
2014-08-18 21:56:01 +02:00
ptitSeb
b5dcc93766
PANDORA: No mic on Pandora for now
2014-08-18 21:55:58 +02:00
ptitSeb
aa80f4a852
PANDORA: Options and GUI
2014-08-18 21:55:57 +02:00
Stefanos Kornilios Mitsis Poiitidis
734db8a743
Split CFLAGS/CXXFLAGS on core.mk, warning fixes
2014-08-18 21:54:30 +02:00
Stefanos Kornilios Mitsis Poiitidis
5de530d68e
Echo state on websocket, hack abit the nacl makefile
2014-08-18 21:54:30 +02:00
TwistedUmbrella
c2c7af68bf
Compatibility with compilers on non-Ubuntu platforms
2014-08-18 21:54:25 +02:00
Stefanos Kornilios Mitsis Poiitidis
66d8b96ae3
Cleanup textures after they are dead for a while
2014-08-18 21:54:23 +02:00
Stefanos Kornilios Mitsis Poiitidis
9d438c3ff3
Improve async/mt rendering & sync logic.
...
Should fix texture staging issues for now, without degrading performance
Fixes #49 (mvsc2, sf3, etc sprites)
2014-08-18 21:54:21 +02:00
Stefanos Kornilios Mitsis Poiitidis
59fbb66a66
Stored TA command stream persists on TA_LIST_INIT, until first actual write.
...
Fixes #141 , "Main menus on POD and Speed Devil show up black"
Seems like the TA doesn't touch any of the memory structures before first write (and probably later on, but we're not gonna support corrupted ta streams for now)
According to p1pkin
«At least in SpeedDevils, at title screen game do a bit weird thing
- Init TA context
- Send lists to TA
- Init the same context again
- Start Render
so, if you are clear stored poly/vertex data at "TA_LIST_INIT" pvr2 reg write - you'll get black screen instead game title»
2014-08-18 21:54:17 +02:00
Stefanos Kornilios Mitsis Poiitidis
bcf299cfd4
Ignore group_en bit (via p1pkin, should fix "18 Wheeler - Minimap tiles / not confined to map boundaries")
2014-08-18 21:54:17 +02:00
Stefanos Kornilios Mitsis Poiitidis
7e1f639d6f
Webui for linux
2014-08-18 21:54:16 +02:00
Stefanos Kornilios Mitsis Poiitidis
7d35000c18
WEBUI for android
2014-08-18 21:54:16 +02:00
Stefanos Kornilios Mitsis Poiitidis
528d0c6d7a
Initial webui code (that does nothing useful)
...
I plan to port over the existing nulldc debugger stuff to a webui so we can do remote debugging on android and more
2014-08-18 21:54:16 +02:00
Stefanos Kornilios Mitsis Poiitidis
eb3f1ca687
Add more missing files
2014-08-18 21:54:15 +02:00
Stefanos Kornilios Mitsis Poiitidis
1a063b8f0d
Add missing file
2014-08-18 21:54:15 +02:00
Stefanos Kornilios Mitsis Poiitidis
5cccea4a71
add libwebsocket
2014-08-18 21:54:14 +02:00
ptitSeb
b66de11664
PANDORA: No mic on Pandora for now
2014-08-18 21:54:11 +02:00
ptitSeb
891c0011bb
Added back manual frameskip due to forum request
2014-08-18 21:44:10 +02:00
ptitSeb
387bf0a960
compilations fixes for Pandora
2014-08-18 21:44:09 +02:00
ptitSeb
99389db89c
some fixes for Pandora
2014-08-18 21:44:09 +02:00
ptitSeb
607b9c41a0
added frameskip back, has asked in openpandora forum
2014-08-18 21:44:08 +02:00
Stefanos Kornilios Mitsis Poiitidis
c74215f1e8
First idea for a gdrom tool
2014-08-18 21:40:59 +02:00
TwistedUmbrella
c398edf22c
Add explicit casting for iOS, Import iOS EGL headers
...
EGL headers imported from https://github.com/alco/EGL_mac_ios for use
in iOS specialty directory
2014-08-18 21:40:57 +02:00
Karen Tsai
2f846e912c
…And fixed a typo that was somehow made during the process of cutting-and-pasting.
2014-08-18 21:40:56 +02:00
Karen Tsai
f468fb0405
Massive build fix for iOS, ngen_arm.S (ARM JIT core) now compiles! The next goal… fix OGLES2. Because that’s completely broken. Also, updated .gitignore to properly ignore iOS build artifacts.
2014-08-18 21:40:56 +02:00
ptitSeb
8dd98be0ee
PANDORA: No mic on Pandora for now
2014-08-18 21:40:53 +02:00
ptitSeb
dd6e7fae46
PANDORA: Options and GUI
2014-08-18 21:40:52 +02:00
Stefanos Kornilios Mitsis Poiitidis
925535141a
Split CFLAGS/CXXFLAGS on core.mk, warning fixes
2014-08-18 21:35:39 +02:00
Stefanos Kornilios Mitsis Poiitidis
9aa3b4b468
Echo state on websocket, hack abit the nacl makefile
2014-08-18 21:35:38 +02:00
TwistedUmbrella
e8b30fb3d9
Compatibility with compilers on non-Ubuntu platforms
2014-08-18 21:35:33 +02:00
Stefanos Kornilios Mitsis Poiitidis
8e77ebce53
Cleanup textures after they are dead for a while
2014-08-18 21:35:32 +02:00
Stefanos Kornilios Mitsis Poiitidis
5a3d19d743
Improve async/mt rendering & sync logic.
...
Should fix texture staging issues for now, without degrading performance
Fixes #49 (mvsc2, sf3, etc sprites)
2014-08-18 21:35:30 +02:00
Stefanos Kornilios Mitsis Poiitidis
fc48044323
Stored TA command stream persists on TA_LIST_INIT, until first actual write.
...
Fixes #141 , "Main menus on POD and Speed Devil show up black"
Seems like the TA doesn't touch any of the memory structures before first write (and probably later on, but we're not gonna support corrupted ta streams for now)
According to p1pkin
«At least in SpeedDevils, at title screen game do a bit weird thing
- Init TA context
- Send lists to TA
- Init the same context again
- Start Render
so, if you are clear stored poly/vertex data at "TA_LIST_INIT" pvr2 reg write - you'll get black screen instead game title»
2014-08-18 21:35:26 +02:00
Stefanos Kornilios Mitsis Poiitidis
ee81dd881e
Ignore group_en bit (via p1pkin, should fix "18 Wheeler - Minimap tiles / not confined to map boundaries")
2014-08-18 21:35:25 +02:00
Stefanos Kornilios Mitsis Poiitidis
903b7b0240
Webui for linux
2014-08-18 21:35:25 +02:00
Stefanos Kornilios Mitsis Poiitidis
09f1805a9c
WEBUI for android
2014-08-18 21:35:24 +02:00
Stefanos Kornilios Mitsis Poiitidis
80e42e6c25
Initial webui code (that does nothing useful)
...
I plan to port over the existing nulldc debugger stuff to a webui so we can do remote debugging on android and more
2014-08-18 21:35:24 +02:00
Stefanos Kornilios Mitsis Poiitidis
58a27e21e0
Add more missing files
2014-08-18 21:35:23 +02:00
Stefanos Kornilios Mitsis Poiitidis
9e2a116bfd
Add missing file
2014-08-18 21:35:23 +02:00
Stefanos Kornilios Mitsis Poiitidis
f51a461234
add libwebsocket
2014-08-18 21:35:22 +02:00
ptitSeb
40a085b841
PANDORA: No mic on Pandora for now
2014-08-18 21:35:19 +02:00
Stefanos Kornilios Mitsis Poiitidis
a05760260e
Move debugbreak to os module
2014-07-24 16:54:04 +03:00
Stefanos Kornilios Mitsis Poiitidis
531863bca4
Fix rendering: GL3+ needs VAO, initialize screen_width/screen_height
...
*yay* it works now *dances*
2014-06-27 00:51:57 +03:00
Stefanos Kornilios Mitsis Poiitidis
6d6cf7d055
Call correct Texture/texture2d
2014-06-25 22:47:40 +03:00
Stefanos Kornilios Mitsis Poiitidis
a1dfeb19e1
Partial port to opengl.
...
I forgot how much opengl sucked, so I figured I might try a port.
Nvidia doesn't draw (must be some fragment binding issue?, randomlulz returns GL_INVALID on glAttribPtr as well)
Intel doesn't compile the shader (and the error message makes no real sense. wut?)
Amd driver simply crashes (wheehaa)
All and all, doesn't look like much has changed in opengl the past 10 years, apart from even uglier initialization and more fragmented specs ~
2014-06-25 22:47:39 +03:00
Stefanos Kornilios Mitsis Poiitidis
ac31cced87
Remove dead code
2014-06-23 01:31:17 +03:00
Stefanos Kornilios Mitsis Poiitidis
0ae8e0ebc8
fclose properly, 0 on coreio_open fail
2014-06-23 01:31:04 +03:00
Stefanos Kornilios Mitsis Poiitidis
0d3172fd69
Fix gdtool build, fseek bugfix for coreio
2014-06-19 00:38:31 +03:00
Stefanos Kornilios Mitsis Poiitidis
e938844387
Windows: 720p window
2014-06-17 22:38:07 +03:00
Stefanos Kornilios Mitsis Poiitidis
314298a4d9
Merge pull request #496 from reicast/gdtool-refactor
...
gdtool: better command line, stdin lists, cleanup
2014-06-13 19:02:21 +03:00
Stefanos Kornilios Mitsis Poiitidis
d59197f843
gdtool: better command line, stdin lists, cleanup
...
Also, imgread const filenames and such
2014-06-13 18:41:48 +03:00
Stefanos Kornilios Mitsis Poiitidis
16bee22105
Merge pull request #491 from reicast/http-chd
...
Http chd wip
2014-06-11 18:00:09 +03:00
MrPsyMan
7916cd63f3
Removed commit ed8c25ef7c
as it causes compatibility problems.
2014-06-05 04:34:25 +03:00
Stefanos Kornilios Mitsis Poiitidis
8194c1e24a
Added missing coreio/* files...
2014-06-01 13:54:11 +03:00
Stefanos Kornilios Mitsis Poiitidis
248bea39a9
Refactor coreio, fix for linux, make it build
2014-06-01 13:38:48 +03:00
Stefanos Kornilios Mitsis Poiitidis
2bd1c4c976
First idea for a gdrom tool
2014-05-26 15:35:41 +03:00
Stefanos Kornilios Mitsis Poiitidis
c6f62c66bd
chd over http support (EXPERIMENTAL AND SLOW)
2014-05-21 20:07:59 +03:00
TwistedUmbrella
c3b1e1087e
Add explicit casting for iOS, Import iOS EGL headers
...
EGL headers imported from https://github.com/alco/EGL_mac_ios for use
in iOS specialty directory
2014-05-20 23:45:38 -04:00
Karen Tsai
88d4e73f03
…And fixed a typo that was somehow made during the process of cutting-and-pasting.
2014-05-20 19:00:54 -04:00
Karen Tsai
370fa02b5c
Massive build fix for iOS, ngen_arm.S (ARM JIT core) now compiles! The next goal… fix OGLES2. Because that’s completely broken. Also, updated .gitignore to properly ignore iOS build artifacts.
2014-05-20 18:58:41 -04:00
Stefanos Kornilios Mitsis Poiitidis
ee2a1b7d20
Split CFLAGS/CXXFLAGS on core.mk, warning fixes
2014-05-12 20:53:43 +03:00
Stefanos Kornilios Mitsis Poiitidis
5f72bb34df
Echo state on websocket, hack abit the nacl makefile
2014-05-12 20:53:42 +03:00
TwistedUmbrella
9639e47802
Compatibility with compilers on non-Ubuntu platforms
2014-05-08 00:18:48 -04:00
Stefanos Kornilios Mitsis Poiitidis
f1ef4877b8
Cleanup textures after they are dead for a while
2014-05-08 04:29:14 +03:00
Stefanos Kornilios Mitsis Poiitidis
411aade5e2
Improve async/mt rendering & sync logic.
...
Should fix texture staging issues for now, without degrading performance
Fixes #49 (mvsc2, sf3, etc sprites)
2014-05-02 03:45:31 +03:00
Stefanos Kornilios Mitsis Poiitidis
207a063fa1
Merge branch 'master' of https://github.com/reicast/reicast-emulator
2014-04-25 19:58:30 +03:00
Stefanos Kornilios Mitsis Poiitidis
4492654a52
Stored TA command stream persists on TA_LIST_INIT, until first actual write.
...
Fixes #141 , "Main menus on POD and Speed Devil show up black"
Seems like the TA doesn't touch any of the memory structures before first write (and probably later on, but we're not gonna support corrupted ta streams for now)
According to p1pkin
«At least in SpeedDevils, at title screen game do a bit weird thing
- Init TA context
- Send lists to TA
- Init the same context again
- Start Render
so, if you are clear stored poly/vertex data at "TA_LIST_INIT" pvr2 reg write - you'll get black screen instead game title»
2014-04-25 19:57:34 +03:00
Stefanos Kornilios Mitsis Poiitidis
35e357ad66
Ignore group_en bit (via p1pkin, should fix "18 Wheeler - Minimap tiles / not confined to map boundaries")
2014-04-25 19:52:27 +03:00