Commit Graph

711 Commits

Author SHA1 Message Date
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
Stefanos Kornilios Mitsis Poiitidis 3eb27fc109 Compiles and links for linux x86. No worky yet.
Woohoo, a new gcc bug!
The x86 linux dynarec just got a couple of months further away thanks to gcc being totally retarded as some things (namely, fastcalls). And yes, reicast depends on fastcalls for a lot of things, and no, i don't care if you don't like fastcalls.
2014-04-25 12:54:25 +03:00
Stefanos Kornilios Mitsis Poiitidis 8081a3d06a Webui for linux 2014-04-25 06:26:36 +03:00
Stefanos Kornilios Mitsis Poiitidis 5fee692c31 WEBUI for android 2014-04-25 05:59:53 +03:00
Stefanos Kornilios Mitsis Poiitidis 5e25bfd507 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-04-23 00:04:22 +03:00
Stefanos Kornilios Mitsis Poiitidis 8b683a77a6 Add more missing files 2014-04-22 16:30:12 +03:00
Stefanos Kornilios Mitsis Poiitidis 4596bcc11b Add missing file 2014-04-22 16:23:20 +03:00
Stefanos Kornilios Mitsis Poiitidis 2f5bec2304 add libwebsocket 2014-04-22 16:15:54 +03:00
Stefanos Kornilios Mitsis Poiitidis ad054f1b96 Working on linux x86 dyna 2014-03-25 00:12:30 +02:00
Stefanos Kornilios Mitsis Poiitidis 1d0a297a45 bugfix in libzip 2014-03-24 23:19:59 +02:00
Stefanos Kornilios Mitsis Poiitidis e356515198 compiles for lin86 (no rendering yet) 2014-03-20 17:13:53 +02:00
MrPsyMan ecbe828cfa Previous commit was one byte short. 2014-03-15 13:51:16 +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 ebe56d6778 Add mips support (woohoo makefiles are a mess nao) 2014-03-05 12:24:03 +02:00
Stefanos Kornilios Mitsis Poiitidis 7d32a66044 Fix win86 default 2014-03-05 12:22:26 +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 f5586ba47f This will allow error reporting before attempting to load GUI 2014-02-16 14:03:23 -05:00
TwistedUmbrella b5004bc5b5 Eclipse pretends it is fixing an unclosed layout with excess 2014-02-15 21:31:31 -05:00
TwistedUmbrella 14b4ed6bdf Remove deprecated call to load unused configuration files 2014-02-15 16:07:26 -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 60d3521d47 Rename the file to avoid confusion with proprietary app files 2014-02-13 01:21:35 -05:00
TwistedUmbrella 9281d2f2ad Append the memory allocation table to error log submission 2014-02-13 00:52:13 -05:00
TwistedUmbrella 4d322feacc In case of a memory allocation failure, print current readout 2014-02-13 00:45:17 -05:00
TwistedUmbrella e668e8068c Begin setting up generic iPhone shell configuration for emu 2014-02-10 21:14:06 -05:00
TwistedUmbrella 7f095cdb2d Render configuration file obsolete to prevent load corruption 2014-02-09 22:16:09 -05:00
TwistedUmbrella af3e064269 Convert Android config to GUI, stop wasting CPU on files 2014-02-09 21:30:42 -05:00
Bryan Barnes 76852783a7 its verking!
tested in bios only
2014-02-06 00:02:53 -05:00
Stefanos Kornilios Mitsis Poiitidis 1d9ec43b22 Merge pull request #109 from hooby3dfx/microphone_support
Microphone support. YARLY.
2014-02-02 19:00:37 -08: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
TwistedUmbrella 8a9a5af00d Import mod of Jeremy Feinstein's SlidingMenu, EGL Mods
Clean up the menu or at least reduce the number of shells

Build native library against the same API base as shell app

Update Khronos source to newest stable, Reference EGL14

Add margins, Restore lost identifiers, Update tested devices

Adjust drawer menu handle to prevent unintentional launch

Revise EGL handling to check multiple contexts to configure

Update README to include information about translating

Add native library handling to the debug, Enable log reading

Adjust drawer menu touch area, Fix L / R assignment calls

Remove some merge junk from trying to resolve git issues
2014-02-01 18:00:14 -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
TwistedUmbrella ae5394f6b6 Squash changes from andoidui into single commit
Integrate previously locked settings with valid user warning

Put a note about the beta compile link in the README.md

Add a super fancy about that supports Github commit logs

Revise about with git log, Highlight current build in commits

Check for a null value when getting the current commit sha

Chinese Simplified Translation from @weihan1102

Rename Simplified Chinese res folder for proper complie

Add links to the website and beta compile site from about

Add option for custom mapping to set joystick to non-dpad

Fix a missing check for the user saved value of the A button

The Moga only operates one way, there is no variation test

Add region values, Set cable to match formatting of others

Reduce the number of random string array calls, jsCompat

It was unnecessary to keep getting the array, It was even less
necessary to keep getting the preference values. The port
identification letters are set multi-lingual values.

Label the about links to prevent any confusion (Not mirrors)

Missing a check on the motion events to determine compat

Add a check to verify Kitkat, Remove the standard override

The new API verification complains about the Override, so this is a
preventative step for if and when it is updated. It may also prevent
some issues with compatibility.

Run organize imports to reduce the amount of excess code

Add a controller option to go to custom layout from selection

Prevent a leak where multiple items were highlighted in list

@AndroidGX French Translation resources
2014-01-30 09:18:45 -05:00
Stefanos Kornilios Mitsis Poiitidis 0bbf33ce61 Updated buttons img, reset OSD scale 2014-01-21 17:39:05 +02: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 35b38e3a78 hardfp calling support
This is commented out for android, but it is tested and works!
2014-01-04 15:26:50 +01: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
ptitSeb 3c410e687e PANDORA: Added options for Mouse as keys 2014-01-02 23:07:06 +01:00
ptitSeb 79e9c61eef DYNAREC: More work on some opcodes 2014-01-02 23:05:42 +01:00
ptitSeb ae9439711d DYNAREC: more opcodes to dynarec 2014-01-01 11:19:24 +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
ptitSeb 3ff594093d slight improvement to setpeq opcode 2014-01-01 11:19:22 +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 077d029bfc PANDORA: Try to improve sound handling 2013-12-29 13:43:20 +01:00
ptitSeb 320d99b280 use Defined value for SH4 speed 2013-12-29 13:43:19 +01:00
ptitSeb f6a64f74be DYNAREC: Attempt to add a few more opcode to dynarec 2013-12-29 13:43:00 +01:00
Stefanos Kornilios Mitsis Poiitidis f7a39783f6 MOGA support 2013-12-29 00:14:45 +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