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
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
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
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
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
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 Poiitids
f14932c362
Building on osx w/o rec or rend
2014-09-30 12:00:46 +03: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
ptitSeb
15708686b9
Added back manual frameskip due to forum request
2014-08-18 21:57:16 +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
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
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
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
ptitSeb
b66de11664
PANDORA: No mic on Pandora for now
2014-08-18 21:54:11 +02:00
MrPsyMan
7916cd63f3
Removed commit ed8c25ef7c
as it causes compatibility problems.
2014-06-05 04:34:25 +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
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
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
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
Stefanos Kornilios Mitsis Poiitidis
ad054f1b96
Working on linux x86 dyna
2014-03-25 00:12:30 +02:00
Stefanos Kornilios Mitsis Poiitidis
e356515198
compiles for lin86 (no rendering yet)
2014-03-20 17:13:53 +02:00
MrPsyMan
6b4deb4b16
Implemented a very basic form of GD-ROM Sense. Only disc swap related Sense currently works. Added some very basic disc swap handling on x86/Windows (press "0">Cancel to remove disc, then "0" again and select the new disc).
...
Notes:
Disc swapping should work on .gdi files (probably .chd files too).
Swapping with .cdi files is not currently supported because we currently create inaccurate TOC for them.
Only x86/Windows has a disc swap handler right now (ie: you can't swap on Android).
2014-03-15 13:42:17 +02:00
Stefanos Kornilios Mitsis Poiitidis
5fd8eb8903
widescreen compitable bg clear (fixes widescreen mode)
2014-03-13 21:49:02 +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
TwistedUmbrella
d320b4a82e
Merge pull request #361 from reicast/native
...
Native - This should start to resolve controller issues
2014-03-02 00:55:57 -05:00
Stefanos Kornilios Mitsis Poiitidis
1698b21ac6
Fix windows building
2014-03-01 22:07:28 +02:00
TwistedUmbrella
2a150ef61c
Refactor @ptitSeb PANDORA: Options and GUI - NoSound
2014-03-01 07:38:54 -05:00
ptitSeb
54e3a0e4e0
PANDORA: Options and GUI
2014-03-01 07:38:40 -05:00
TwistedUmbrella
b98b087435
Merge pull request #270 from hooby3dfx/vmu_support
...
on screen vmu :)
2014-02-13 05:52:15 -05:00
Bryan Barnes
52199df953
vmu :)
...
Conflicts:
shell/android/jni/src/Android.cpp
shell/android/src/com/reicast/emulator/emu/GL2JNIActivity.java
shell/android/src/com/reicast/emulator/emu/JNIdc.java
2014-02-13 02:17:13 -05:00
TwistedUmbrella
4d322feacc
In case of a memory allocation failure, print current readout
2014-02-13 00:45:17 -05:00
Bryan Barnes
3e33efa3ca
learning the hard way
...
root cause found (i think). lesson: java functions called via jni dont
handle exceptions/tell you what happens when they crash.
2014-02-01 22:36:47 -05:00
Bryan Barnes
2403d13440
umm
...
ok its one of those things where the logging makes it work!
not sure whats up, but without the additional logging it crashes.
2014-02-01 14:05:09 -05:00
Bryan Barnes
208bcc0d79
its verking!
...
figured out issue, made mic setup simpler
2014-02-01 13:52:36 -05:00
Bryan Barnes
5b9dbd9fa3
This is ready to go
...
-Added config to input fragment
-Reduced logging
-Init the mic at the right time during startup so that port 2 either
gets vmu or mic
-Has not been tested on device without mic
-Needs more testing in games
2014-02-01 10:44:06 -05:00
Bryan Barnes
0c11acb931
better conformity to spec
2014-01-31 20:31:42 -05:00
Bryan Barnes
800526ddcd
progress
...
-some cleanup
-handling of retransmit
-got rid of needless sleeping in record thread
-some latency handling
2014-01-31 20:30:46 -05:00
Bryan Barnes
b24e401e2f
oh snap gets further!
...
jni local reference table overflow
2014-01-31 20:30:45 -05:00
Bryan Barnes
18e5bd7c95
almost working
...
crashes - need to figure out jni thread crap
2014-01-31 20:30:44 -05:00
Bryan Barnes
babaf41482
mic device figured out?
...
i have satisfied seaman.
its just constantly polling for data.
next step: pipe in some audio!
2014-01-31 20:25:20 -05:00
hooby3dfx
1cb31dd932
logging changes
...
trying to hone in on commands going in and out
2014-01-31 20:25:19 -05:00
hooby3dfx
252df2cc95
Holy Seaman, batman!
...
Seaman will load :)
2014-01-31 20:25:18 -05:00
Stefanos Kornilios Mitsis Poiitidis
4138440daa
Partial merge of the Pandora branch
2014-01-21 02:02:12 +02:00
Stefanos Kornilios Mitsis Poiitidis
ee6d3eadde
begone you silly typos
2014-01-21 01:04:58 +02:00
Stefanos Kornilios Mitsis Poiitidis
a1dcbbc825
Woops fix wrong function arguments
2014-01-21 00:07:57 +02:00
Stefanos Kornilios Mitsis Poiitidis
5c0c7b9db5
Don't count Z for modvols
...
(partial merge of zhack, the parts that have no speed hit)
2014-01-20 23:13:01 +02:00
Stefanos Kornilios Mitsis Poiitidis
e512b95445
Force block (header) checks by default.
...
- Unstable opts disables them (and only lets hard-coded places)
- This fixes shenmue (and possibly many other dynarec crashes)
2014-01-20 23:10:00 +02:00
Stefanos Kornilios Mitsis Poiitidis
332ab95b61
Don't count mv->z, only vtx->z within 0,0 & 1024,1024.
...
- Clipping is done on the SH4 side, garbage might be outside the screen
- Mod vols aren't drawn anyway for now
- I wonder how much does this cost on the rend-thread?
2014-01-19 00:35:46 +02:00
ptitSeb
72668d2267
PANDORA: OSD and a few other things
2014-01-12 15:54:00 +01:00
ptitSeb
a15a5257b1
Merge branch 'master' of https://github.com/reicast/emulator into pandora
...
Conflicts:
shell/android/src/com/reicast/emulator/GL2JNIActivity.java
shell/android/src/com/reicast/emulator/GL2JNIView.java
shell/android/src/com/reicast/emulator/JNIdc.java
shell/android/src/com/reicast/emulator/MOGAInput.java
2014-01-11 15:57:32 +01:00
Matteo Hausner
3cb8b2cc6e
Added configuration GUI for physical controllers
...
Reverted changes in maple_cfg.cpp except a minor memory leak
Fixed an issue with the Xbox 360 controller support, that the first
press of the DPAD would not get handled
Lots of improvments on multi-controller support
2014-01-05 18:18:26 -05:00
Matteo Hausner
5b5743dd95
First steps to integrate multi-controller support
2014-01-05 18:14:42 -05:00
Stefanos Kornilios Mitsis Poiitidis
da20ab32d7
embed zlib compressed version of vmu_default.bin, detect empty vmu and preformat
2014-01-03 21:17:37 +01:00
Stefanos Kornilios Mitsis Poiitidis
05571cf7ea
Frameskip, unstable opts
...
- make ta_skip to ta frame skipping instead of skipping parsing entierly. it handles 1 out of every (N+1) frames.
- re purpose rend to unstable opts, as pvr.rend is of no real use right now
2014-01-03 19:28:37 +01:00
MrPsyMan
d70617f9dc
Enable VMU support by default.
...
Fake Bump Mapping handling until we take the time to do it fast+properly.
2014-01-01 11:19:23 +01:00
Stefanos Kornilios Mitsis Poiitidis
f65333ea01
dejcond breaks shenmue, disabled. Hrfm. This (might) reduce speed a tiny bit.
2014-01-01 11:15:02 +01:00
MrPsyMan
183d08a922
Enable VMU support by default.
...
Fake Bump Mapping handling until we take the time to do it fast+properly.
2014-01-01 07:42:49 +02:00
Stefanos Kornilios Mitsis Poiitidis
8653e5e0f8
dejcond breaks shenmue, disabled. Hrfm. This (might) reduce speed a tiny bit.
2013-12-30 00:52:14 +01:00
ptitSeb
ba74b69f74
PANDORA: Force 1 frameskip (seems useless)
2013-12-29 13:43:54 +01:00
ptitSeb
320d99b280
use Defined value for SH4 speed
2013-12-29 13:43:19 +01: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