Flyinghead
cf6887a5d0
aica: use new logging
2019-06-30 22:09:32 +02:00
Flyinghead
fb76efb08d
Standard functions for virtual mem alloc/protect/map/...
2019-05-22 11:41:12 +02:00
Flyinghead
25a7fede2e
save states: don't serialize gamepad state
2019-05-21 11:29:10 +02:00
David Guillen Fandos
aa4fc8dd60
Move cache invalidation to vmem_platform and implement NO_RWX on arm64
...
Still not functional yet, this commit breaks arm64 on android for instance.
Rewrites are not yet figured out, will push them in the next commit.
2019-05-12 23:25:43 +02:00
Flyinghead
ca750ae454
arm: aica RAM overflow crash with arm32 and arm64 recs
...
Move target platform #def's to build.h
Fix Sturmwind and Volgarr crashes
2019-03-28 11:41:48 +01:00
Flyinghead
c809c6c56f
Merge branch 'fh/mymaster' into fh/master-merge
2019-03-25 16:47:47 +01:00
Flyinghead
08473d765a
android build fix
2019-01-24 09:58:13 +01:00
Flyinghead
91cfd4b2f7
Reserve and allocate maximum RAM/VRAM/ARAM in all cases
...
Reserve enough virtual memory space for DC and Naomi
Allocate dynarec entry point tables for max possible ram
Free mem and release vmem on exit
2019-01-24 09:48:58 +01:00
Flyinghead
0cce6cc5a5
Clean up and comments. No functional change
2019-01-24 09:40:14 +01:00
Flyinghead
3a064cd068
DSP dynarec for arm64
2019-01-23 21:14:51 +01:00
Flyinghead
9f3f13eef1
aica arm dynarec for arm64
2019-01-21 13:08:53 +01:00
Flyinghead
5763da184c
Fix bug in WriteMemBlock_nommu_ptr when size is not word-aligned
...
Bump max opaque polygon to 8192 (alpilot)
Minor lr backport and clean up
Fix corruption in doa2[m] and alpilot
Fix missing sound in Jambo Safari
2018-12-12 12:40:04 +01:00
David Miller
75d319ea3c
removed pragma once from arm-new.h, inline file
2018-10-28 15:10:53 -04:00
Michał Janiszewski
a69bd937c3
Add missing include guards
2018-10-28 13:45:46 +01:00
Flyinghead
4fcfabf55a
Aica-arm: fix x86 dynarec with gcc
2018-10-24 18:02:27 +02:00
Flyinghead
9d327f3592
Aica-rec: revert to original ops order (load arm flags first)
2018-10-20 16:21:22 +02:00
Flyinghead
e31a1ddf71
Aica: fix ARM and x86 dynarecs for unaligned branch op
...
Fixes sound issue in Spikers Battle
Tentative implementation of x86 rec asm functions on linux
clean up
2018-10-20 13:59:12 +02:00
Flyinghead
7b596bd388
Avoid heap corruption on android
...
No idea why this happens. Avoiding malloc/free during compile seems to
help.
2018-09-30 20:42:18 +02:00
Flyinghead
de147549c3
Save states implementation
2018-09-20 19:48:46 +02:00
Sven
daae7c8e68
add save states
2018-09-02 09:49:23 -04:00
Flyinghead
32a56136ef
Compile x86 arec when enabled
2018-08-13 16:38:38 +02:00
Stefanos Kornilios Mitsis Poiitidis
5525d5dde2
core: Android studio fixes
...
- Clang edge cases for shifts
- Avoid generating relocs by not using global symbols in ngen_arm.S (fixes #1109 )
2018-07-09 09:31:45 +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
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
a9c76351f6
build: Draft & cleanup, refactor rec* options
2015-07-25 13:17:42 +02:00
TwistedUmbrella
97569a9f24
too many arguments to function 'void armv_end(void*)'
2015-05-23 12:25:14 -04: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
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
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
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
ad054f1b96
Working on linux x86 dyna
2014-03-25 00:12:30 +02:00
Stefanos Kornilios Mitsis Poiitidis
ac2501549f
Initial support for android-x86 (no idea if this actually works)
...
This is ugly, done via HOST_NO_REC, NOT_ARM. Only if I had merged the clean-makefiles work before rls... Oh well.
2014-03-03 14:06:00 +02:00
Stefanos Kornilios Mitsis Poiitidis
f5d29677b3
Merge branch 'androidui'
...
Conflicts:
core/hw/pvr/spg.cpp
core/hw/sh4/interpr/sh4_interpreter.cpp
reicast/android/src/com/reicast/emulator/MainActivity.java
2013-12-28 22:28:50 +01:00
Stefanos Kornilios Mitsis Poiitidis
7ef9de3cae
Moving code around, cleanups
2013-12-28 22:20:08 +01:00