Nekotekina
f056b2f4ab
Improve TTY output
...
Use atomic variable to sync TTY size
Implement console_putc (liblv2)
Write plaintext instead of HTML
Slightly improve performance
Fix random line breaks in TTY
2018-03-01 16:28:08 +03:00
Nekotekina
445b7c0758
Optimize SPU interpreter
...
Made SPU decoder similar to PPU decoder
2018-03-01 16:13:35 +03:00
scribam
dacc9af38f
Add 2-channels mode for cellAudioOutGetDeviceInfo
2018-03-01 04:20:54 +04:00
scribam
8d7620d95f
Change return of function "sceNpMatching2Init" to CELL_OK
2018-03-01 01:41:42 +04:00
scribam
31cee7e4c8
Make cellNetCtlGetInfo returns the correct value in disconnected mode
2018-02-28 22:25:51 +04:00
elad
6e8ccbcf17
spu/interp: optimize floating point exception checking
...
read once the MXCSR register and use his value to check for all exceptions
2018-02-28 21:30:33 +04:00
Andrey
e0f53ace19
Improve GDB debug server ( #4027 )
...
* Made GDB debugger working with IDA
* Added async interrupts support
* Report proper thread after pausing
* Support attaching debugger before running app
2018-02-28 19:31:39 +04:00
scribam
05354698f0
Add callbacks for cellStorage
2018-02-28 15:58:50 +04:00
scribam
14e15b2feb
Add callbacks for cellUserInfo
2018-02-28 15:58:50 +04:00
scribam
324d21d849
Add callbacks for cellPhotoImport
2018-02-28 15:58:50 +04:00
scribam
aa30e865c2
Add callbacks for cellSysconf
2018-02-28 15:58:50 +04:00
scribam
0772b9c879
Add callbacks for cellCrossController
2018-02-28 15:58:50 +04:00
scribam
296052b1ff
Add callbacks for cellPrint
2018-02-28 15:58:50 +04:00
scribam
be834a67d1
Add callbacks for cellPhotoDecode
2018-02-28 15:58:50 +04:00
scribam
b63461f599
Add callbacks for cellMusicExport
2018-02-28 15:58:50 +04:00
scribam
1fb7cc4002
Add callbacks for cellMusicDecode
2018-02-28 14:47:35 +04:00
elad
b61a69c877
fix spu interpreter single stepping
2018-02-25 20:30:44 +04:00
scribam
7753ac60b0
Add CELL_GAMEUPDATE_RESULT_STATUS_* enum
2018-02-25 13:17:38 +00:00
scribam
aabf3c6695
Checks for content_id in sceNpDrmVerifyUpgradeLicense and sceNpDrmVerifyUpgradeLicense2
2018-02-25 13:17:38 +00:00
scribam
ede76033a7
Add callbacks for cellMusic
2018-02-24 02:38:43 +04:00
Megamouse
ae7e275a9d
sceNpTrophyGetRequiredDiskSpace: take vfs into account for trophy dir
2018-02-22 00:18:14 +04:00
Juhn
1b26ec56ed
Implement _sys_qsort in sys_libc_.cpp ( #4176 )
2018-02-21 00:24:47 +04:00
Robbie
00b1ff752d
Add flag for rockband. Tests have shown it independent other flags. But, actual use is currently not known.
2018-02-18 04:29:41 +04:00
elad
877b296fc3
hle: return enosys on unpresented syscalls
2018-02-16 21:57:31 +04:00
elad
95c6ac699b
hle: gpio syscalls
...
* add sys_gpio_get, sys_gpio_set
2018-02-12 04:29:07 +04:00
Nekotekina
cce0ad0c35
Clean vm::ps3 namespace use
2018-02-09 17:49:37 +03:00
Nekotekina
76be7d40ac
Remove PSP2
2018-02-09 15:24:46 +03:00
Nekotekina
439a78d12c
SPU ASMJIT: rewrite 128-bit shifts by bit
...
Six instructions changed to use xmm registers instead of gpr.
ROTQBII, ROTQMBII, SHLQBII look better (shifts by imm)
ROTQBI, ROTQMBI, SHLQBI changed for consistency (shifts by variable)
2018-02-08 21:10:03 +03:00
Nekotekina
c7c49ab286
SPU ASMJIT: minor change to ROTH instruction
...
Only AVX-512 path is changed (third version).
This instruction is extremely rare.
And the code is probably not optimal.
So this commit is pretty useless.
2018-02-08 21:10:03 +03:00
Nekotekina
b01e460863
PPU LLVM: rewrite AVG instructions
2018-02-08 21:10:03 +03:00
Nekotekina
93c0a0aa35
PPU LLVM: rewrite add/sub instructions
...
Use new patterns for saturation instructions
Avoid ZExt/SExt completely
2018-02-08 21:10:03 +03:00
Nekotekina
74834527eb
SPU: rewrite ORX instruction
2018-02-08 21:10:03 +03:00
Nekotekina
9b9ac3ca62
SPU: emit VZEROUPPER
...
Workaround dirty AVX high state
2018-02-08 21:10:03 +03:00
Nekotekina
db83113316
Initial cpu_translator impl
2018-02-08 21:10:03 +03:00
Nekotekina
e2439e962c
SPU: use XOP instructions
2018-02-08 20:46:13 +03:00
Nekotekina
84103b69cf
SPU: 16-bit shifts for AVX2
2018-02-08 20:46:13 +03:00
elad
5b5f2d4240
hle: add a missing check in sys_spu
...
check if exit code exists and the spu is stopped by a stop instruction
and optimize the way were getting the exit code
2018-02-06 04:09:07 +04:00
elad
956ae17876
spu: add a missing STOP code
...
should fix #2456
for whatever reason, this call accepts only an empty ouput mailbox, otherwise break
2018-02-06 04:09:07 +04:00
elad
a6fb6c865d
mfc: dont check for one completed command if tag update requast is 2
...
Instead check only for completed commads tag groups specified in the tag mask ( as real hw does )
2018-02-06 04:09:07 +04:00
scribam
cd9bfba790
Add sceNpMatchingInt
2018-02-03 14:07:38 +00:00
scribam
6001808174
Add callbacks for cellPhotoExport
2018-02-03 03:52:06 +00:00
TGEnigma
55821041bf
core/GUI: Fix null pointer dereference
2018-02-02 11:17:12 +03:00
scribam
2821915eae
Add callbacks for cellVideoUpload
2018-02-01 17:19:52 +04:00
scribam
68143bc47c
Add callbacks for cellVideoExport
2018-02-01 17:19:52 +04:00
scribam
f4e5bfbdf7
Add callbacks for cellRec
2018-02-01 17:19:52 +04:00
isJuhn
a27e2db455
Stub some functions in cellWebBrowser
2018-01-28 02:50:42 +04:00
Megamouse
bb5bdb2e8c
improve cellKB keyreleases and autorepeat
2018-01-27 01:57:55 +04:00
Megamouse
b9c10a186d
Qt/Core: implement max llvm compile threads
2018-01-26 01:57:05 +04:00
Zangetsu38
a9c26b40dd
hle: Stub function Unimplemented in NpSns.
2018-01-24 20:20:28 +03:00
Inviuz
cc0d7c5985
improved hack/fix for cellsurmixer
2018-01-24 15:21:24 +00:00
kd-11
3d9e3a16f1
rsx/gl/vk: Fixes and optimizations
...
- opengl driver optimization for nvidia. On nvidia glTextureBufferRange performance is horrendous
-- Initialize texture buffer to whole buffer at startup and use absolute offsets to read data instead
-- Over 2x performance in some cases (Resogun, TNT racers)
- gl/vk: Do not flip non-existent display buffers. Fixes spec violation at boot in TNT racers demo
- whitespace fixes for sys_rsx
2018-01-22 11:43:35 +03:00
kd-11
ab17b49e15
scheduler stuff
...
- more threads for rsx
- better 1600
2018-01-22 11:43:35 +03:00
elad
f908daf323
SPU/MFC: check for sync command before doing a list transfer
...
fixes #3828
2018-01-20 03:32:48 +04:00
kd-11
cbc8bf01a1
cell/scheduler: Manage thread placement depending on cpu hardware
2018-01-19 12:03:57 +03:00
scribam
fbac1c304a
Improve cellSearch implementation
2018-01-18 18:40:57 +04:00
kd-11
71f69d1d48
rsx/overlays: Introduce 'native' HUD UI and implement some common dialogs ( #4011 )
2018-01-17 19:14:00 +03:00
scribam
34c49c77b2
Fix #3950
2018-01-17 15:17:06 +00:00
elad
24e97b9e03
SPU: Allow writing to the WrSRR0 channel
2018-01-16 04:34:15 +04:00
elad
5848864f55
SPU: Allow reading of the RdSRR0 channel
...
stupid bug
2018-01-16 04:34:15 +04:00
Nekotekina
435ea8d553
Fix "cellGame: cellGameDataCheck arg validate"
...
Fixes #4058
2018-01-14 22:23:48 +03:00
Jake
d216398596
cellGame: cellGameDataCheck arg validate
2018-01-14 20:50:55 +03:00
Megamouse
2053de0885
handle some warnings
2018-01-13 23:38:23 +04:00
Unknown
155f7a7d76
improve cellPad
...
fix input regression and fix input for FIFA games
fix input in NASCAR [BLUS30932]
fix port status query -> disconnected devices don't cripple following devices by decreased now_connect
2018-01-13 22:48:52 +04:00
Zion Nimchuk
4231ea2eb6
Also stub some similar cellGameUpdate functions
2018-01-09 04:56:06 +04:00
Zion Nimchuk
8ee0ed84e4
Better stub cellGameUpdateCheckStartAsyncEx/FinishAsyncEx, fixes PAIN
2018-01-09 04:56:06 +04:00
TGEnigma
d770a42349
Fix debug build
2018-01-06 04:45:55 +04:00
Nekotekina
83b541ea9d
SPU: rewrite ROTH (AVX-512)
2018-01-03 01:04:04 +03:00
kd-11
ee009ec99c
rsx: Robustness fixes
...
- Track last working state and reset to it if RSX starts to desync
-- This is especially useful when running vulkan since the renderer will easily outpace the rest of the system when merely recording draw commands
- Ignore empty sets
-- Mark empty/invalid IB sets as having 0 element counts.
2018-01-02 21:17:56 +03:00
Nekotekina
198e9dce1d
Fix #4005 regression
...
Delay unregister EH frames (Linux)
2018-01-01 10:41:07 +03:00
VelocityRa
383c501a35
[gui] Show total number of llvm compilation dialogs
...
- Doesn't account for dynamic libraries loaded after the fact,
but usually good enough since
1) Those aren't even present in some games
2) They usually only have about 1 or 2 fragments (dialogs) each.
2017-12-31 22:08:17 +03:00
VelocityRa
7c64c2f703
MsgDialog: Add SetMsg() for changing main text
2017-12-31 22:08:17 +03:00
VelocityRa
489ded43b1
Trophy: Return correct disk space requirements
...
Closes #3763
2017-12-31 22:08:17 +03:00
Nekotekina
d40aaf0391
PPU: use shared jit_compiler instance
...
(Linux) Fix deregisterEHFrames error message
2017-12-31 22:08:17 +03:00
Nekotekina
a92bf39efa
Trophy: check both bdvd and hdd locations
2017-12-29 20:04:40 +03:00
Nekotekina
e836c33f37
cellGame: don't write empty TITLE_IDs in PARAM.SFO
2017-12-29 20:04:10 +03:00
Nekotekina
f271b650da
SPU: minor addition for CFLTU, CUFLT
2017-12-29 03:09:35 +03:00
Nekotekina
14929a1497
Fix game category issues
...
Fix cellGameDataCheckCreate2 PARAM.SFO
Fix trophy initialization for gamedata (game patch)
Implement psf::assign
Potentially fix cellGameSetParamString
2017-12-29 03:09:35 +03:00
Nekotekina
e768bdc80f
Remove /app_home/ dependency
...
Should also fix exitspawn
2017-12-27 02:51:58 +03:00
Nekotekina
a605919729
Fix lv2_socket id_base
2017-12-27 02:51:58 +03:00
Nekotekina
39a3ed2d03
SPU: minor additions for AVX2+
2017-12-27 02:51:58 +03:00
Nekotekina
0a89f1db39
Fix primary stack size
2017-12-25 21:08:15 +03:00
Ofek
3cf0fb60a4
Set lv2_socket id_base ( #3983 )
2017-12-25 15:47:28 +04:00
Megamouse
fc2ef5529d
Fix cellPadSetPortSetting ( #3980 )
...
* Don't skip setting port settings when no controller is connected
* DS4: fix error message
2017-12-24 14:47:36 +00:00
Ofek
a6208d2bd7
Reset initial seek position in MSELF files ( #3977 )
2017-12-23 23:18:55 +04:00
Ani
5e04a5f21d
_sys_process_exit: Fix logging ( #3963 )
2017-12-21 19:48:21 +00:00
Nekotekina
f24491de84
SPU: fixes
2017-12-20 01:21:59 +03:00
Nekotekina
83da7f9b63
PPU: remove SSSE3 dependency
2017-12-20 01:21:15 +03:00
Nekotekina
1ae8850b3f
PPU: rewrite VMHRADDSHS without SSSE3
2017-12-20 00:04:09 +03:00
Nekotekina
140a581d23
PPU: redesign LVSL, LVSR instructions
2017-12-20 00:04:09 +03:00
Nekotekina
d3198ddf60
SPU: reorder some instructions for better throughput
2017-12-20 00:04:09 +03:00
Nekotekina
6d34dcd75f
SPU: add some AVX-512 variants
2017-12-20 00:04:09 +03:00
Nekotekina
4aee4ed6d7
SPU: remove SSSE3 dependency
2017-12-20 00:04:08 +03:00
kd-11
0d0821e914
rsx: Pause FIFO queue when changing ctrl registers
2017-12-18 10:45:37 +03:00
Zion
17bfb3beaf
various memory access violation fixes (and friends) ( #3930 )
...
* various memory access violation fixes
* Another fix, for motorstorm demo
* Better stub cellGameUpdateCheckStartAsync and FinishAsync, Fixes #3934
2017-12-16 04:03:49 +04:00
scribam
6e9b064a0f
Add new functions to cellSysutil
2017-12-11 01:36:22 +04:00
scribam
50f2be57f7
Spaces to tabs
2017-12-10 16:48:33 +04:00
elad335
3aefd14b3d
disasm: display db[x]cyc
2017-12-10 16:19:36 +04:00
Nekotekina
d8ae94df5b
savedata: avoid passing vm memory to fs::file
2017-12-05 15:55:10 +03:00
Nekotekina
bfb3144f34
sys_net: Force AF_INET
2017-12-02 12:36:05 +03:00
Jake
d17093e65b
spu: Fix interrupt jump check - also change interrupt variable to atomic bool for ease of setting/checking
2017-12-01 20:29:59 +03:00
Jake
34e01ba3d8
mfc: Fix support for list transfer stall bit with partial support for out of order execution - Also give Sync commands a size so they are properly detected by queue checks
2017-12-01 20:29:59 +03:00
Jake
8b476b5bfa
spu: Recompiler Interrupt optimizations - Pigeonhole optimize for branching pattern that is used to enable and disable interrupts used in code, this should lower amount of blocks that are compiled and avoid falling out of a block - Recompiled interupt check in some cases to stay in block instead of falling out to dispatcher
2017-12-01 20:29:59 +03:00
Jake
ad97780c4f
spu: Implement DFCMGT for interpreter and recompiler
2017-12-01 20:29:59 +03:00
Jake
17cf24d0ed
sys_memory: Lower maximum size for memory block to fake OS size - Report available memory minus another fake block that can be used for the OS
2017-12-01 20:29:59 +03:00
Zion Nimchuk
c424652b43
Silence warnings in misc files (gui, psp2, mfc, mouse)
2017-11-30 18:07:19 +03:00
Zion Nimchuk
8276d29d4f
Silence warnings in lv2/Modules
2017-11-30 18:07:19 +03:00
Zion Nimchuk
b9b06143d2
Silence some warnings in some files in Utilities
2017-11-30 18:07:19 +03:00
elad
91fd1465f2
SPU MFC: Clamp tag and size ( #3803 )
2017-11-29 16:28:41 +04:00
Nekotekina
695b4c1f06
Change sys_usbd_receive_event
2017-11-27 23:15:28 +03:00
VelocityRa
754cdea435
Avoid recreating SwsContext every frame
...
* Applies to video decoding(`libvdec`) and post-processing(`libvpost`).
2017-11-27 22:35:40 +04:00
Nekotekina
f7803927d9
Fix exitspawn (autoexit option)
...
Fix other situations affected by this options
2017-11-26 09:02:37 +03:00
scribam
78101a9e57
cmake: remove unused link to ffmpeg libswresample
2017-11-25 14:07:11 +00:00
Nekotekina
74c248150b
Log sys_fs_utime values
2017-11-23 18:38:05 +03:00
Ofek
3628a8593f
Fix cellGameBootCheck for disc games ( #3771 )
...
Don't return dirName
2017-11-23 16:27:44 +04:00
Ofek
58c42ad9c0
Check sys_spu_thread_group_create's nsize ( #3742 )
...
* Check sys_spu_thread_group_create's nsize
* cellSearch callback correction
2017-11-23 02:02:23 +04:00
clienthax
86a34fbb45
Fix regressions caused by network code. ( #3702 )
...
* Stub SOCK_DGRAM_P2P to allow some games to load again.
* Add 'support' for unspec sockets
(Have only seen the youtube app using these so far)
2017-11-20 16:42:16 +03:00
Zion Nimchuk
12ecba7d49
Initial work on sys_usbd syscalls
2017-11-19 23:11:13 +03:00
Nekotekina
c435b328c7
Implement savedata delete op
2017-11-15 21:00:02 +03:00
Nekotekina
0d1cb8c878
Fix cellMsgDialog
2017-11-15 21:00:02 +03:00
Nekotekina
16d7023a92
cellSaveData fixes
2017-11-15 21:00:02 +03:00
Nekotekina
358afc045d
Minor fix (cellGame)
2017-11-15 21:00:02 +03:00
Nekotekina
0fbb8b9a18
Implement _sys_prx_load_module_by_fd
...
Implement _sys_prx_load_module_on_memcontainer_by_fd
2017-11-15 21:00:02 +03:00
clienthax
9e0b881b2b
Fire callback in cellSearchInitialize
...
Allows BLJS10131 to get ingame ;)
2017-11-15 02:26:36 +04:00
clienthax
946ba3be29
Fix bug in sys_spu_thread_group_create ( #3734 )
2017-11-14 22:24:55 +04:00
Ofek
8fc9862614
Fix cellGameGet(Set)Param ( #3690 )
...
* Fix cellGameGet(Set)Param
2017-11-11 22:22:38 +00:00
Talkashie
55d84414ee
Stub sceNpSnsFbCheckConfig ( #3720 )
2017-11-11 22:18:32 +04:00
scribam
3e7ed8a831
PPUTranslator minor changes
2017-11-08 08:34:00 +04:00
Zion Nimchuk
6782b22637
Make cellMouseGetDataList return CELL_MOUSE_ERROR_NO_DEVICE if mouse handler is set to null
2017-11-04 19:55:32 +00:00
Robbie
47bacc0ef0
Make trophy dialog smarter and not need the silly file. Can load all games by default now.
2017-11-03 21:15:43 +03:00
Tahir Akhlaq
3d0dced4bd
change CryptAcquireContextW to try CRYPT_NEWKEYSET flag if key container doesnt exist already < https://msdn.microsoft.com/en-us/library/windows/desktop/aa379886(v=vs.85).aspx >
2017-11-03 14:17:37 +03:00
Nekotekina
59cd0a9c7f
Implement set_native_priority (posix)
2017-11-01 05:07:12 +03:00
Nekotekina
af107df0b4
Fix NPDRM exitspawn
2017-11-01 05:07:12 +03:00
Nekotekina
0e7e40f2cb
Fix /dev_bdvd/ for exitspawn
2017-11-01 05:07:11 +03:00
Robbie
4aa89132d7
Implement Trophy Manager.
2017-10-29 18:48:33 +03:00
Nekotekina
1ffc1e82b0
fixup
2017-10-28 23:39:10 +03:00
Nekotekina
89fba1c385
ppu_acontext draft
2017-10-28 23:24:08 +03:00
Jake
e0d1ac676e
rsx: invalidate surface store address when tile is unbound
2017-10-28 12:46:20 +03:00
Jake
494cbac78b
spu: save and restore mfc cmd after processing
2017-10-28 12:46:20 +03:00
Jake
0d46a8e786
spu: Implement readch(mfc_cmd)
2017-10-28 12:46:20 +03:00
Jake
626b9f93c4
rsx: make dmactrl get 'readonly'
2017-10-28 12:46:20 +03:00
Zangetsu38
53f9defb07
Trophy: use system language setting
2017-10-27 14:09:50 +01:00
Robbie
b0737d1c90
Make a basic trophy notification dialog ( #3204 )
...
* Make trophy notification dialog.
* Fix bug where trophy state doesn't persist with game reboot.
2017-10-24 18:43:05 +03:00
Farseer
e8bde583ef
Remove sysutil callback
2017-10-12 04:46:10 +03:00
Nekotekina
5b19908996
Escape problematic characters in VFS
...
With full-width <>:"\|?*
2017-10-11 22:01:37 +03:00
Nekotekina
ac64792d99
Optimize PPU module loading
...
I'm garbage 🤦
2017-10-11 20:06:33 +03:00
Nekotekina
efe140bc0c
Fix instruction editor a bit
2017-10-11 20:06:33 +03:00
Nekotekina
df2fc13b7a
Add PPU instruction stat dumper
...
Needs PPU Debug option to activate and PPU Interpreter
Dumps after Resume (after Pause)
Fix utils::memory_decommit, clean vm.cpp
2017-10-11 20:06:33 +03:00
Robbie
47b121a700
PPU Page Faults ( #3309 )
...
I guess I'll merge it and fix some issues later myself.
2017-10-08 23:37:54 +03:00
Nekotekina
3907dd0444
Implement SYS_NET_SO_REUSEPORT
2017-10-05 19:51:37 +03:00
Nekotekina
3d64b65813
Fix /dev/urandom typo
2017-10-05 19:51:37 +03:00
Nekotekina
ab4e66a0bf
Add cellVdec hack (stolen TLS)
2017-10-05 19:51:37 +03:00
Nekotekina
144f6809bf
Implement CALL_FUNC
2017-10-05 19:51:37 +03:00
Nekotekina
d296e6021d
libbeisobmf.sprx
2017-10-05 19:51:37 +03:00
Nekotekina
45a855ef1f
Fix cellKb
2017-10-05 19:51:37 +03:00
Nekotekina
e5f756205c
sys_net full rewrite
...
Implement sys_net syscalls
Clean libnet functions
Use libnet.sprx
Use libhttp.sprx
Use libssl.sprx
Use librudp.sprx
Implement sys_ss_random_number_generator
2017-10-05 19:51:37 +03:00
kd-11
b338c81907
spu: Fixes ( #3526 )
...
* spu: Rewrite interpreter fast FM
- Partially implement accurate FM
- Fix FMA/FMS/FNMS by removing an optimization that does not work for INF (cmpunord)
- cmpunord does not catch all cases of an extended result/overflow
- NOTE: FM still does not handle corner cases well (e.g inf * 1.2 because SPU does not have concept of inf)
2017-10-04 20:58:06 +03:00
jjsat
632c8872cd
Respect the controller setting when returning data from cellPadGetData.
2017-09-28 12:15:54 +03:00
Farseer
2b0edf6cde
Allow null argument
...
Should fix Jak 2
2017-09-21 17:31:46 +03:00
Nekotekina
dd919c76b8
cellAudio: use error_code
2017-09-20 14:27:52 +03:00
Nekotekina
b9a0c107ab
Fix library loading mode 'both'
2017-09-20 14:26:42 +03:00
Nekotekina
5c93acefd9
Try to fix some fs errors
2017-09-19 15:07:07 +03:00
Nekotekina
a428dac71c
sys_fs_mkdir: implement ENOENT
2017-09-19 15:07:07 +03:00
Nekotekina
3901f08fa0
Fix error on loading a library twice
2017-09-19 15:07:07 +03:00
Nekotekina
519f21db18
Exitspawn support renewal
...
Implemented _sys_process_exit2 syscall
Rewritten sys_game_process_exitspawn
Rewritten sys_game_process_exitspawn2
Implemented _sys_process_atexitspawn
Implemented _sys_process_at_Exitspawn
And some other changes
2017-09-19 15:07:07 +03:00
Nekotekina
bc098d6b9c
Rewrite _sys_strncat
2017-09-19 15:07:07 +03:00
Nekotekina
22ff8abd7d
Rewrite _sys_strncpy
2017-09-19 15:07:07 +03:00
Nekotekina
871ccfd32c
Rewrite _sys_strrchr
2017-09-19 15:07:07 +03:00
Nekotekina
7a79e184c5
Rewrite _sys_strchr
2017-09-19 15:07:07 +03:00
Nekotekina
0e72cc879f
Rewrite _sys_strcpy
2017-09-19 15:07:07 +03:00
Nekotekina
13304bd18b
Rewrite _sys_strcat
2017-09-19 15:07:07 +03:00
Nekotekina
a4b824c50a
Rewrite _sys_strncmp
2017-09-19 15:07:07 +03:00
Nekotekina
ccc87081f3
Rewrite _sys_strcmp
2017-09-19 15:07:07 +03:00
Nekotekina
800ba9d902
Rewrite _sys_strlen
2017-09-19 15:07:07 +03:00
Nekotekina
015b9fdf8b
Fix _sys_strncasecmp
2017-09-19 15:07:07 +03:00
Nekotekina
83f93202d0
Rewrite _sys_memcmp
2017-09-19 15:07:07 +03:00
Nekotekina
ae2ea02377
Implemented _sys_prx_load_module_on_memcontainer
2017-09-19 15:07:07 +03:00
Nekotekina
4fe4521881
Implemented __sys_look_ctype_table
...
Implemented _sys_tolower, _sys_toupper
Fixed _sys_strncasecmp
2017-09-19 15:07:07 +03:00
Nekotekina
b9b71ccbc1
Implemented syscall _sys_process_exit
2017-09-19 15:07:07 +03:00
Nekotekina
e789b969b0
Implemented MFF_HIDDEN for VNIDs
...
Minor refactoring
Now possible: ```REF_FUNC(...).flag(MFF_HIDDEN);```
2017-09-19 15:07:07 +03:00
Nekotekina
837c5dddee
Add <typeinfo>
2017-09-19 15:07:07 +03:00
Nekotekina
669b1385cc
Move sys_process_exit
2017-09-19 15:07:07 +03:00
scribam
01ffaab3e0
Silent some compiler warnings
2017-09-19 13:21:12 +03:00
Robbie
d5fb7180d0
HGA calls sys_rsx_context_attribute before calling sys_rsx_memory_allocate. This inevitably causes RPCS3 to crash. Add nullptr check to prevent this.
2017-09-18 21:24:13 +01:00
Nekotekina
669d953529
Implement fs::error::notempty
2017-09-14 00:23:23 +03:00
Nekotekina
22d8b57027
Improve lv2_memory object
2017-09-14 00:23:23 +03:00
Nekotekina
0e691e2c51
sys_mmapper: minor range fix
2017-09-14 00:23:23 +03:00
Nekotekina
ae1e9e78db
sys_fs: use g_tls_error for diagnostic
...
Affected syscalls:
sys_fs_open
sys_fs_opendir
sys_fs_stat
sys_fs_mkdir
sys_fs_fcntl (get free space)
2017-09-14 00:23:23 +03:00
Zion Nimchuk
4a10dcc549
Fix buffer overrun in cert loading, made it more accurate. Fixes #3408
2017-09-13 17:40:57 +03:00
Robbie
47685bef39
If the loop is never entered, then the jit is null.
2017-09-10 18:51:59 +03:00
RipleyTom
0457f23b13
Pad Refactoring
...
Adds a window to setup multiple input types as once
All controllers are now handled by a single thread
[hcorion] evdev refactor
2017-09-09 00:55:03 +01:00
Farseer
0cbbd3a5b1
Trophy fixes
...
Should fix Kung Fu Panda 2 Raging Blast 2
2017-09-08 20:10:57 +03:00
RipleyTom
e4105f46de
Implement _sys_prx_get_module_info
2017-09-08 00:06:53 +03:00
Zion Nimchuk
7c897d5019
Weird tlou fix
2017-09-06 21:44:58 +01:00
jjsat
4558f93f92
Convert endianess before passing buffers to setsockopt.
2017-09-06 00:14:15 +03:00
jjsat
634c411946
Fix sys_tty_write() if called with pwritelen == NULL.
2017-09-06 00:14:15 +03:00
Nekotekina
83e139cd1a
Improve sys_fs_ftruncate
...
Handle stream API lock (EBUSY)
Handle append mode
2017-09-04 02:15:29 +03:00
Nekotekina
2e510e5ca0
Fix rXml limitation
...
(trophies)
2017-09-04 02:15:28 +03:00
Nekotekina
1262263f5c
Fix sys_event_port_connect_ipc
2017-09-04 02:15:28 +03:00
Nekotekina
9b9e2bcafb
Move sys_gamepad filter
2017-09-04 02:15:28 +03:00
Zion Nimchuk
cc880b53aa
Add cross-platform implementation of cellHttpUtilParseUri
2017-09-04 00:37:36 +03:00
Zion Nimchuk
8ad44dd00f
Implement cellSslCertificateLoader
2017-09-04 00:37:36 +03:00
Ofek
caab400258
Various fixes (Trophy, Gcm corrections, stack alloc) ( #2894 )
...
* Fixed sys_get_random_number generating less bytes than needed, and ceiling the buffer size in 0x1000 instead of failing
* Corrected alignment check in libgcm
* Now calling callback of sceNpManagerRegisterCallback
* Fixed trophies
2017-09-02 14:43:44 +03:00
Talkashie
ca6064b109
sys_usbd stuff ( #3346 )
...
* Create sys_usbd.cpp
* Create sys_usbd.h
* Update lv2.cpp
2017-09-02 04:21:42 +03:00
Ani
e57caefd09
libad: Enable LLE load
...
Removes libad from ignore list.
It will only affect games that call for it, making them progress further with the Recompiler instead of dying in Unregistered Function, as there's no HLE implementation of libad.
Tested with Guitar Hero 5 [BLES00576]
2017-09-01 21:10:50 +01:00
Nekotekina
a85caaee1d
Set PPU stack bounds
2017-09-01 21:24:43 +03:00
Nekotekina
5b00aaf561
Fix decrypt_self usage
2017-09-01 02:10:57 +03:00
Nekotekina
05442bdb11
Protect SPU segments
2017-09-01 00:59:25 +03:00
Nekotekina
9ba3cea2b1
RawSPU: implemented read SPU_RunCntl_offs
2017-08-31 23:22:52 +03:00
Nekotekina
20d48289b8
RawSPU: implement read SPU_NPC_offs
2017-08-31 22:55:39 +03:00
Nekotekina
8f9410ceff
Implemented syscall sys_event_port_connect_ipc
2017-08-31 22:10:22 +03:00
Nekotekina
3a08dd7dde
RawSPU: implement Prxy_TagStatus_offs
...
Rollback to immediate MFC transfers
2017-08-31 22:03:47 +03:00
Nekotekina
37d7fdbcae
Fix sys_raw_spu_image_load
2017-08-31 21:44:42 +03:00
Nekotekina
62c14e9437
Fix sys_raw_spu_load
2017-08-31 21:44:26 +03:00
Nekotekina
90b8346312
Implemented syscall _sys_spu_image_get_segments
2017-08-31 21:39:12 +03:00
Nekotekina
167d6a08f8
Implemented syscall _sys_spu_image_get_information
2017-08-31 21:30:13 +03:00
Nekotekina
649d68a00f
+sys_spu_elf_get_segments
2017-08-31 20:38:17 +03:00
Nekotekina
8807cd06b7
+sys_spu_elf_get_information
2017-08-31 20:37:54 +03:00
Nekotekina
b533d57717
sys_spu_image: minor update
...
Cleanup
Templates extended
2017-08-31 20:36:51 +03:00
Nekotekina
010b75251f
fs::rename fixed
...
Added overwriting policy
sys_fs_rename improved
2017-08-30 17:14:30 +03:00
JayC-03
64a6fbe39f
Add missing game categories
...
Used by some media apps,
YouTube boots now.
2017-08-29 03:19:35 +03:00
Nekotekina
f59a448f3f
Copy sys_spu_segment info in SPU TG
...
No idea whether it fixes something or not
2017-08-27 03:00:10 +03:00
Nekotekina
aa5dc5455e
_sys_spu_image_import implemented
...
vm:var<T[]> improved (begin/end)
sys_spu_image_import rewritten
2017-08-27 03:00:10 +03:00
scribam
8fdf1b23a3
Update cell_FreeType2.cpp
2017-08-26 22:03:15 +01:00
kd-11
8358bda133
gl/rsx: Fixes to zcull pixel counting
2017-08-26 21:53:54 +03:00
RipleyTom
5681801b85
cellOskDialogLoadAsync fix
...
Takes into account text limit and initial text
2017-08-25 21:31:27 +03:00
Nekotekina
590ca7115f
Rewrite cellVideoOutConfigure
2017-08-19 17:35:04 +03:00
Jake
650db9c962
cellPad: remove unneeded &
2017-08-19 12:27:53 +03:00
Danila Malyutin
9d1aebce74
Silence some obvious warnings
...
Makes travis logs a bit cleaner
2017-08-18 23:09:52 +03:00
scribam
dc9671c639
Add cellAtracGetSamplingRate and cellAtracMultiGetSamplingRate functions
2017-08-18 22:42:38 +03:00
scribam
93bfe8164c
Move sys_gamepad files to the correct directory
2017-08-18 21:59:25 +03:00
Talkashie
d8c449aadf
Update cellNetCtl.cpp
2017-08-14 18:17:46 +03:00
Talkashie
2c611ec0ba
Update cellHttp.cpp
2017-08-14 18:17:46 +03:00
Nekotekina
24f9f06279
Check FNID duplication
2017-08-13 21:39:08 +03:00
Talkashie
a909bd6edd
Register missing functions in cellSysutil ( #3206 )
2017-08-13 00:32:00 +03:00
scribam
98ef419abd
Add sceNpTssGetDataNoLimit and sceNpTssGetDataNoLimitAsync functions
2017-08-10 15:03:54 +03:00
scribam
77354f0f90
Add _sce_net_add_name_server function
2017-08-10 15:03:54 +03:00
scribam
108f87c08f
Add cellUsbdRegisterCompositeLdd, cellUsbdUnregisterCompositeLdd and cellUsbdResetDevice functions
2017-08-10 15:03:54 +03:00
scribam
08e2698b9c
Add cellSearchGetContentInfoSharable function
2017-08-10 15:03:54 +03:00
scribam
6e81db7b43
Add cellVideoOutSetCopyControl function
2017-08-10 15:03:54 +03:00
scribam
e9f12ae30a
Stub cellAvconfExt functions
2017-08-10 15:03:54 +03:00
scribam
2f977aae18
Stub cellSysutilAvc2 functions
2017-08-10 15:03:54 +03:00
Aurora
7e1c6a5819
Make it build on macOS with Clang
2017-08-08 23:20:07 +03:00
Nekotekina
613214cdca
Improve error formatting
2017-08-08 22:17:51 +03:00
kd-11
fcb7072fee
Implement hardware zcull emulation
...
rsx/gl: Support s1 immediate values; ogl minor refactoring
2017-08-06 14:29:42 +03:00
Nekotekina
b05434bc6f
Fix Firmware message
2017-08-05 17:07:30 +03:00
Nekotekina
7b4c044480
Relax allocations in ppu_load_exec
2017-08-04 14:33:53 +03:00
Jake
02845f546e
Add gcm to auto lle / liblv2
2017-08-02 01:33:12 +03:00
Jake
21dd715b42
sys_rsx: implement support for lle-gcm
2017-08-02 01:33:12 +03:00
Jake
d9a693019b
rsx/gcm: Implement rsx dma. Refactor gcm/rsx to not be as codependent
2017-08-02 01:33:12 +03:00
mp-t
607d2486ea
Code review ( #3114 )
...
* Fix always-true conditions in sceNp module
* gl_render_targets: useless check on unsigned variable, possible bug
* fixed UB in crypto utility functions
* copy-paste error in vk::init_default_resources
* pass strings by const ref
* Dont copy vectors. Make sure copies are not needed because functions are used in a multi-threaded context.
2017-08-01 20:22:33 +03:00
Nekotekina
bf14cbdb27
Fix _sys_lwcond_signal, _sys_lwcond_signal_all
2017-07-30 01:09:42 +03:00
Nekotekina
93db420f80
sys_lwmutex, sys_lwcond refactoring
2017-07-30 01:09:42 +03:00
Nekotekina
a209d0d7fa
Minor fix of sys_event_queue_receive
2017-07-30 01:09:42 +03:00
Nekotekina
f564a72d03
SPU: minor optimization
2017-07-30 01:09:42 +03:00
Talkashie
aeb01bd216
Update outdated firmware log message
2017-07-30 01:10:24 +03:00
Robbie
f9e996e006
Rewrite memory pool to be thread safe.
2017-07-28 23:50:21 +03:00
kd-11
17c399d4e8
spu: acquire_pc rewritten to be more precise in timing
...
- More accurate pauses may slightly reduce performance but makes it more viable
to allow more threads to participate without stuttering
2017-07-27 14:33:30 +03:00
Nekotekina
7fa42cfaad
Fix sys_semaphore_wait (on timeout)
2017-07-26 22:35:45 +03:00
Nekotekina
f58652e51c
cellRec: fix vm::bptr
2017-07-26 21:09:00 +03:00
Nekotekina
bf53035e3f
IPC support for lv2 sync objects
2017-07-26 21:03:41 +03:00
Nekotekina
60c6bb9865
Restore hook static functions
2017-07-26 21:03:41 +03:00
Nekotekina
67b71c0f89
Fix sys_rwlock_wunlock
2017-07-26 21:03:41 +03:00
Nekotekina
5766fb1f31
Fix sys_rwlock_wlock
2017-07-26 21:03:41 +03:00
Zion Nimchuk
08f0047529
Refactor setsockopt for better cross-platform-ness
2017-07-26 20:27:07 +03:00
Zion Nimchuk
54a38aa927
Fix issue #2788
2017-07-26 20:27:07 +03:00
scribam
173cc13d01
Stub some cellSysutilAvc2 functions
2017-07-26 17:49:40 +03:00
scribam
1899f399b6
Mixed minor changes
2017-07-26 17:49:40 +03:00
scribam
4c5921a7a4
Stub some cellGameExec and cellResc functions
2017-07-26 17:49:40 +03:00
scribam
be84dd73a9
Stub cellRec functions
2017-07-26 17:49:40 +03:00
RipleyTom
b2fa0fdf53
Fix PARAM.SFO filename case ( #3081 )
...
For (get_list_item)
2017-07-24 23:53:20 +03:00
Nekotekina
adf119e960
sys_rwlock_runlock fixed
...
Registered _sys_rwlock_trywlock
2017-07-23 16:01:52 +03:00
Nekotekina
2bc57fbee3
LLVM: Add error message
2017-07-23 11:03:38 +03:00
Nekotekina
42b06af577
Force recompiling liblv2.sprx
2017-07-23 11:03:38 +03:00
Nekotekina
f9a69c449d
PPU LLVM: minor bitcast avoidance
2017-07-23 11:03:38 +03:00
Nekotekina
3f9affd2ad
Stub some SPU syscalls
2017-07-23 11:03:38 +03:00
Nekotekina
c9abab6828
cellGame: minor refactoring
2017-07-23 11:03:38 +03:00
Jake
7b3693bb29
sys_timer: Fix initial timer state
2017-07-22 09:41:00 +03:00
scribam
9747ab61f9
Missing function names (HLE) and small fixes ( #3038 )
...
* Add sceNpScoreGetFriendsRanking and sceNpScoreGetFriendsRankingAsync functions
* Add sceNpSnsFbGetLongAccessToken function
* Add new functions for the sceNpTus module
* Add new functions for the cellSailRec module
* Stub cellCrossControllerInitialize
* Add sceNpAuth* functions for the sceNp2 module
* Remove unnecessary call to c_str()
* Add missing module id "CELL_SYSMODULE_ADEC_AT3MULTI"
* Add Turkish keyboard mapping constant
* Add cellOskDialogExtRegisterKeyboardEventHookCallbackEx function
* Update cellSubDisplay
* Update cotire version to 1.7.10
* Replace cellSubdisplay by cellSubDisplay
* Update cellSysutil.cpp with new functions stubbed
2017-07-21 18:41:11 +03:00
Nekotekina
291ec1eeb2
SPU recompiler: minor optimization
2017-07-20 17:22:09 +03:00
Nekotekina
b24eb621ae
Use RTM instructions (skylake+)
2017-07-20 17:22:09 +03:00
kd-11
99828a8f15
spu: Clean up asmjit - avoid touching the shared db whenever possible
...
- Gets around the locking issues when fetching from the shared db
2017-07-19 23:28:33 +03:00
kd-11
582913dc31
spu: Simplify watchdog design (PC is purely HLE and occupies SPU code kernel space only, max 256K)
2017-07-19 23:28:33 +03:00
kd-11
94c1b74a17
fix build; restore asmjit reader_lock for now
2017-07-19 23:28:33 +03:00
kd-11
cbd1b28d0d
spu: Add polling loop detection and clean up channel access contention code
...
- spus run a tight gpu-style kernel with no multitasking on the cores themselves
-- this does not map well to PC processor cores because they never sleep even when doing nothing
-- the poll detection hack tries to find a good place to insert a scheduler yield
-- RdDec is a good spot as it signifies the spu kernel is waiting on a timer
2017-07-19 23:28:33 +03:00
kd-11
72e13ddeb2
spu: Implement concurrent instruction execution watchdog for wrch
...
- Delays threads by a predetermined amount to 'desync' spurs kernels.
Largely reduces lock contention issues as well as making spurs kernels
play nice with reservations
- Also reduces number of lost notifications (SPU_EVENT_LR)
2017-07-19 23:28:33 +03:00
kd-11
78f09d7645
asmjit: Minimal locking when reading, also only lock when actually writing to the db
2017-07-19 23:28:33 +03:00
RipleyTom
0136215ef1
Minor sceNpBasicGetEvent Fix
2017-07-19 21:41:37 +03:00
Dangles91
7426eb285f
Fixes for save_op_get_list_item
...
Only return data for dir and bind where requested. Some games like Akiba's Trip call this function but don't ask for any data back.
2017-07-18 15:22:49 +03:00
Nekotekina
f91f2e3e6d
Patch: add floating point support
...
Also count applied entries
2017-07-17 18:36:54 +03:00
Nekotekina
e39ee10105
Patch system improved
...
SPU patch rewritten
PPU patch implemented
2017-07-17 16:49:46 +03:00
Nekotekina
2ef2f0f63b
PPU LLVM: simplify module loading
2017-07-17 16:49:46 +03:00
Dangles
6610abcd5f
Minor changes for save data utility ( #3005 )
2017-07-16 19:10:45 +03:00
Nekotekina
d8abe75526
Improved sprx boot (for devs only)
2017-07-14 01:47:00 +03:00
scribam
ce7b55871b
Add sceNp2* functions
2017-07-14 01:46:07 +03:00
scribam
9d8fa28dd9
Add sceNp* functions
2017-07-14 01:46:07 +03:00
scribam
3a3e9770f3
Add cellHttp* functions
2017-07-14 01:46:07 +03:00
Robbie
ab595d2b95
Improve Save Manager ( #2951 )
...
* Add the save icons to the save data entry and manager.
* Simplify code slightly since I have an else now so no need for == false
* Move the icon to the top of the list because it looks better. Remove redundant settitle.
* Fix size. It's a bit forced but there wasn't any better way as far as I could see on stack overflow.
Also, add an error dialog if you have no entries.
Simplify the logic slightly for the selected since with the no data case handled, I can make more assumptions about the return value.
* save_data_utility: fix dialog sizes
* CELL_OK
* Retcon dialog to instead be error in log.
* Dangle92 and I had some fun. Everything should be good now.
* In dangle's code he disabled the icon, in mine I hide it if there is nothing. Having both isn't needed. Yay merges resulting in doing stupid things.
* Fix leek
* Default size to zero for sanity. Shared pointer is fine handling null (tested with disgaea and renaming icon file)
* Simplifying. Thanks for review and advice all
2017-07-13 18:38:13 +03:00
Nekotekina
7702eb2fa7
PPU: clean linkage info
2017-07-12 21:29:09 +03:00
Nekotekina
a5c431c2b7
_lv2prx mutex implemented
2017-07-12 19:11:51 +03:00
Nekotekina
5ba23ac4c4
sys_lwmutex_locker aux class
2017-07-12 19:09:53 +03:00
Nekotekina
ff53ff3bbf
Force HLE for net-related libraries
2017-07-12 14:00:38 +03:00
Nekotekina
4a512694d9
Implemented _sys_memchr
2017-07-12 14:00:38 +03:00
Nekotekina
8202352452
Do not load sprx twice
2017-07-12 14:00:38 +03:00
Nekotekina
73a2a937c4
PPU LLVM: reuse loaded executables
2017-07-12 14:00:38 +03:00
Nekotekina
3278062c29
PPU: load only libsysmodule.sprx
2017-07-12 14:00:38 +03:00
Nekotekina
74f2be7307
PPU: free prx segments
2017-07-12 14:00:38 +03:00
Nekotekina
9a38d63661
Store sys_spu_image value
2017-07-12 14:00:38 +03:00
Nekotekina
bab537c7e2
PPU LLVM: unuse FP_SAT_OP
2017-07-12 14:00:38 +03:00
RipleyTom
34709eb399
Fix Stswi instruction
2017-07-10 18:42:02 +03:00
kd-11
41d921808b
spu: Reimplement FCGT and FCMGT to handle corner cases (such as comparisons against infinites and denormals)
...
- Also optimize FMA/FMS/FNMS for recompiler
2017-07-08 14:52:16 +03:00
kd-11
ab97a0a5a3
spu: dma tweaks
2017-07-08 14:52:16 +03:00
RipleyTom
d793f8ad78
Implements sys_fs_disk_free
2017-07-04 16:16:32 +03:00
Nekotekina
dda274afb0
Fix Miku OP video
...
And break something else
2017-07-04 02:04:22 +03:00
Nekotekina
f0d184f38b
PPU LLVM: relocation support
2017-07-04 02:04:22 +03:00
Robbie
458968658f
Fix akiba with cell cancel
2017-07-03 23:56:55 +03:00
Robbie
190a59ce03
Basic Save Manager ( #2924 )
...
* The basic unstubbing. Save entries will be listed and you can select a save. If you select none, then it'll work as well. WIP
* Filled out the trivial parts of the info dialog.
* Finish implementation and clean up. No "maintain" dialog or context menu for now until the copy/delete functions are implemented.
* Fix crash
* Update cellSaveData.cpp
2017-07-01 21:42:09 +03:00
Inviuz
645f0e63ab
REF 57 plus FREF fix
...
kept bothering me until i realized what was wrong with it
2017-06-30 14:24:00 +03:00
Nekotekina
c087a9534a
PPU LLVM: SSA reordering
...
Fetch indirect jump target
Flush registers earlier
2017-06-29 17:48:55 +03:00
Nekotekina
da87bb6710
PPU LLVM: minor fix
2017-06-29 17:48:55 +03:00
Nekotekina
3c064439b3
PPU LLVM: new mptr/cptr format
2017-06-29 17:48:55 +03:00
Nekotekina
85f8a42bd2
PPU: MTOCRF optimization
2017-06-29 17:48:55 +03:00
Nekotekina
ef55d6fa0c
PPU LLVM: less trash, fix crash
2017-06-29 17:48:55 +03:00
Nekotekina
aa34fa8baa
PPU LLVM: some passes disabled
2017-06-29 17:48:55 +03:00
Nekotekina
2629f9be44
PPU: VREFP, VRSQRTEFP changed
2017-06-29 17:48:55 +03:00
Nekotekina
fc2a45d6d6
Removed unnecessary code
2017-06-29 17:48:55 +03:00
kd-11
9cbaacb13f
cellVideoOut: Enable 59.94 Hz required for some games
2017-06-29 13:13:19 +03:00
Nekotekina
89f676de75
PPU: preparations (no fixes)
2017-06-26 16:56:13 +03:00
Nekotekina
061c92ba1f
PPU LLVM: Improve FlushRegisters
2017-06-26 16:56:13 +03:00
Nekotekina
8034196c25
ppu_syscall_code type added (for fmt)
2017-06-26 16:56:13 +03:00
Nekotekina
f49a30bc1a
PPU LLVM: disable unnecessary passes
2017-06-26 16:56:13 +03:00
Nekotekina
1196e9decc
PPU LLVM: remove unnecessary code
2017-06-26 16:56:13 +03:00
Nekotekina
cd4f290d3d
PPU LLVM: v2, simplification (no allocas)
2017-06-26 16:56:13 +03:00
Nekotekina
45fae363c6
PPU LLVM: MFCR optimized
2017-06-26 16:56:13 +03:00
Nekotekina
9738ce0cf6
LLVM: fix cancellation
2017-06-26 16:56:13 +03:00
Nekotekina
e5ae32e5f3
Fix #ifdef style
2017-06-26 16:56:13 +03:00
Inviuz
81ab6ab8b4
FREFS/weak imports and VREFS 4 and 6
2017-06-26 14:17:34 +03:00
Nekotekina
6561ddae41
PPU LLVM: multithread compilation
2017-06-24 19:12:19 +03:00
Nekotekina
d86858da64
Fix tabs
2017-06-24 14:25:11 +03:00
Nekotekina
d0b37777c3
Remove throw cpu_flag
2017-06-23 20:09:33 +03:00
Nekotekina
aea094730b
PPU LLVM: paradigm shift
...
For now, compile only one block at time
Use tail calls to move between blocks
Fully write PPU context (except CIA)
This fixes many compatibility problems
2017-06-23 20:09:33 +03:00
Nekotekina
a29d7d3962
LLVM: implement STSWI, LSWI...
...
Fix DIVD, DIVDU, DIVW, DIVWU, MULHW
Removed __adde_get_ca in ADDE, SUBFE
2017-06-23 20:09:33 +03:00
Nekotekina
82a296f900
PPUOpcodes.h updated
2017-06-23 20:09:33 +03:00
Jan Beich
392d91b604
Improve portability for BSDs ( #2813 )
...
* sys_net: don't use fds_bits from a system header on FreeBSD
rpcs3/Emu/Cell/Modules/sys_net.cpp:137:14: error: no member named '__fds_bits' in
'sys_net::fd_set'; did you mean 'fds_bits'?
if (src->fds_bits[i] & (1 << bit))
^~~~~~~~
fds_bits
/usr/include/sys/select.h:75:18: note: expanded from macro 'fds_bits'
#define fds_bits __fds_bits
^
rpcs3/Emu/Cell/Modules/sys_net.h:114:13: note: 'fds_bits' declared here
be_t<u32> fds_bits[32];
^
* GUI: fallback to xdg-open on other Unices
rpcs3/Gui/GameViewer.cpp:289:26: error: use of undeclared identifier 'command'
wxExecute(fmt::FromUTF8(command));
^
* File: FreeBSD never supported copyfile(3) but sendfile(2) works fine
Utilities/File.cpp:114:10: fatal error: 'copyfile.h' file not found
#include <copyfile.h>
^~~~~~~~~~~~
* Thread: add signal handling for BSDs
Utilities/Thread.cpp:761:23: error: use of undeclared identifier 'REG_RAX'
static const decltype(REG_RAX) reg_table[] =
^
Utilities/Thread.cpp:763:2: error: use of undeclared identifier 'REG_RAX'
REG_RAX, REG_RCX, REG_RDX, REG_RBX, REG_RSP, REG_RBP, REG_RSI, REG_RDI,
^
Utilities/Thread.cpp:763:11: error: use of undeclared identifier 'REG_RCX'
REG_RAX, REG_RCX, REG_RDX, REG_RBX, REG_RSP, REG_RBP, REG_RSI, REG_RDI,
^
Utilities/Thread.cpp:763:20: error: use of undeclared identifier 'REG_RDX'
REG_RAX, REG_RCX, REG_RDX, REG_RBX, REG_RSP, REG_RBP, REG_RSI, REG_RDI,
^
Utilities/Thread.cpp:763:29: error: use of undeclared identifier 'REG_RBX'
REG_RAX, REG_RCX, REG_RDX, REG_RBX, REG_RSP, REG_RBP, REG_RSI, REG_RDI,
^
Utilities/Thread.cpp:763:38: error: use of undeclared identifier 'REG_RSP'
REG_RAX, REG_RCX, REG_RDX, REG_RBX, REG_RSP, REG_RBP, REG_RSI, REG_RDI,
^
Utilities/Thread.cpp:763:47: error: use of undeclared identifier 'REG_RBP'
REG_RAX, REG_RCX, REG_RDX, REG_RBX, REG_RSP, REG_RBP, REG_RSI, REG_RDI,
^
Utilities/Thread.cpp:763:56: error: use of undeclared identifier 'REG_RSI'
REG_RAX, REG_RCX, REG_RDX, REG_RBX, REG_RSP, REG_RBP, REG_RSI, REG_RDI,
^
Utilities/Thread.cpp:763:65: error: use of undeclared identifier 'REG_RDI'
REG_RAX, REG_RCX, REG_RDX, REG_RBX, REG_RSP, REG_RBP, REG_RSI, REG_RDI,
^
Utilities/Thread.cpp:764:2: error: use of undeclared identifier 'REG_R8'
REG_R8, REG_R9, REG_R10, REG_R11, REG_R12, REG_R13, REG_R14, REG_R15, REG_RIP
^
Utilities/Thread.cpp:764:10: error: use of undeclared identifier 'REG_R9'
REG_R8, REG_R9, REG_R10, REG_R11, REG_R12, REG_R13, REG_R14, REG_R15, REG_RIP
^
Utilities/Thread.cpp:764:18: error: use of undeclared identifier 'REG_R10'
REG_R8, REG_R9, REG_R10, REG_R11, REG_R12, REG_R13, REG_R14, REG_R15, REG_RIP
^
Utilities/Thread.cpp:764:27: error: use of undeclared identifier 'REG_R11'
REG_R8, REG_R9, REG_R10, REG_R11, REG_R12, REG_R13, REG_R14, REG_R15, REG_RIP
^
Utilities/Thread.cpp:764:36: error: use of undeclared identifier 'REG_R12'
REG_R8, REG_R9, REG_R10, REG_R11, REG_R12, REG_R13, REG_R14, REG_R15, REG_RIP
^
Utilities/Thread.cpp:764:45: error: use of undeclared identifier 'REG_R13'
REG_R8, REG_R9, REG_R10, REG_R11, REG_R12, REG_R13, REG_R14, REG_R15, REG_RIP
^
Utilities/Thread.cpp:764:54: error: use of undeclared identifier 'REG_R14'
REG_R8, REG_R9, REG_R10, REG_R11, REG_R12, REG_R13, REG_R14, REG_R15, REG_RIP
^
Utilities/Thread.cpp:764:63: error: use of undeclared identifier 'REG_R15'
REG_R8, REG_R9, REG_R10, REG_R11, REG_R12, REG_R13, REG_R14, REG_R15, REG_RIP
^
Utilities/Thread.cpp:764:72: error: use of undeclared identifier 'REG_RIP'
REG_R8, REG_R9, REG_R10, REG_R11, REG_R12, REG_R13, REG_R14, REG_R15, REG_RIP
^
Utilities/Thread.cpp:792:26: error: no member named 'gregs' in '__mcontext'
const u64 reg_value = *X64REG(context, reg - X64R_RAX);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Utilities/Thread.cpp:767:55: note: expanded from macro 'X64REG'
#define X64REG(context, reg) (&(context)->uc_mcontext.gregs[reg_table[reg]])
~~~~~~~~~~~~~~~~~~~~~~ ^
Utilities/Thread.cpp:804:21: error: no member named 'gregs' in '__mcontext'
out_value = (u8)(*X64REG(context, reg - X64R_AL));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Utilities/Thread.cpp:767:55: note: expanded from macro 'X64REG'
#define X64REG(context, reg) (&(context)->uc_mcontext.gregs[reg_table[reg]])
~~~~~~~~~~~~~~~~~~~~~~ ^
Utilities/Thread.cpp:809:21: error: no member named 'gregs' in '__mcontext'
out_value = (u8)(*X64REG(context, reg - X64R_AH) >> 8);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Utilities/Thread.cpp:767:55: note: expanded from macro 'X64REG'
#define X64REG(context, reg) (&(context)->uc_mcontext.gregs[reg_table[reg]])
~~~~~~~~~~~~~~~~~~~~~~ ^
Utilities/Thread.cpp:815:31: error: no member named 'gregs' in '__mcontext'
const s8 imm_value = *(s8*)(RIP(context) + i_size - 1);
^~~~~~~~~~~~
Utilities/Thread.cpp:784:18: note: expanded from macro 'RIP'
#define RIP(c) (*X64REG((c), 16))
^~~~~~~~~~~~~~~
Utilities/Thread.cpp:767:55: note: expanded from macro 'X64REG'
#define X64REG(context, reg) (&(context)->uc_mcontext.gregs[reg_table[reg]])
~~~~~~~~~~~~~~~~~~~~~~ ^
Utilities/Thread.cpp:827:33: error: no member named 'gregs' in '__mcontext'
const s16 imm_value = *(s16*)(RIP(context) + i_size - 2);
^~~~~~~~~~~~
Utilities/Thread.cpp:784:18: note: expanded from macro 'RIP'
#define RIP(c) (*X64REG((c), 16))
^~~~~~~~~~~~~~~
Utilities/Thread.cpp:767:55: note: expanded from macro 'X64REG'
#define X64REG(context, reg) (&(context)->uc_mcontext.gregs[reg_table[reg]])
~~~~~~~~~~~~~~~~~~~~~~ ^
Utilities/Thread.cpp:836:33: error: no member named 'gregs' in '__mcontext'
const s32 imm_value = *(s32*)(RIP(context) + i_size - 4);
^~~~~~~~~~~~
Utilities/Thread.cpp:784:18: note: expanded from macro 'RIP'
#define RIP(c) (*X64REG((c), 16))
^~~~~~~~~~~~~~~
Utilities/Thread.cpp:767:55: note: expanded from macro 'X64REG'
#define X64REG(context, reg) (&(context)->uc_mcontext.gregs[reg_table[reg]])
~~~~~~~~~~~~~~~~~~~~~~ ^
Utilities/Thread.cpp:846:20: error: no member named 'gregs' in '__mcontext'
out_value = (u32)RCX(context);
^~~~~~~~~~~~
Utilities/Thread.cpp:779:18: note: expanded from macro 'RCX'
#define RCX(c) (*X64REG((c), 1))
^~~~~~~~~~~~~~
Utilities/Thread.cpp:767:55: note: expanded from macro 'X64REG'
#define X64REG(context, reg) (&(context)->uc_mcontext.gregs[reg_table[reg]])
~~~~~~~~~~~~~~~~~~~~~~ ^
Utilities/Thread.cpp:851:19: error: no member named 'gregs' in '__mcontext'
const u32 _cf = EFLAGS(context) & 0x1;
^~~~~~~~~~~~~~~
Utilities/Thread.cpp:769:49: note: expanded from macro 'EFLAGS'
#define EFLAGS(context) ((context)->uc_mcontext.gregs[REG_EFL])
~~~~~~~~~~~~~~~~~~~~~~ ^
Utilities/Thread.cpp:851:19: error: use of undeclared identifier 'REG_EFL'
Utilities/Thread.cpp:769:55: note: expanded from macro 'EFLAGS'
#define EFLAGS(context) ((context)->uc_mcontext.gregs[REG_EFL])
^
Utilities/Thread.cpp:852:19: error: no member named 'gregs' in '__mcontext'
const u32 _zf = EFLAGS(context) & 0x40;
^~~~~~~~~~~~~~~
Utilities/Thread.cpp:769:49: note: expanded from macro 'EFLAGS'
#define EFLAGS(context) ((context)->uc_mcontext.gregs[REG_EFL])
~~~~~~~~~~~~~~~~~~~~~~ ^
Utilities/Thread.cpp:852:19: error: use of undeclared identifier 'REG_EFL'
Utilities/Thread.cpp:769:55: note: expanded from macro 'EFLAGS'
#define EFLAGS(context) ((context)->uc_mcontext.gregs[REG_EFL])
^
Utilities/Thread.cpp:853:19: error: no member named 'gregs' in '__mcontext'
const u32 _sf = EFLAGS(context) & 0x80;
^~~~~~~~~~~~~~~
Utilities/Thread.cpp:769:49: note: expanded from macro 'EFLAGS'
#define EFLAGS(context) ((context)->uc_mcontext.gregs[REG_EFL])
~~~~~~~~~~~~~~~~~~~~~~ ^
Utilities/Thread.cpp:853:19: error: use of undeclared identifier 'REG_EFL'
Utilities/Thread.cpp:769:55: note: expanded from macro 'EFLAGS'
#define EFLAGS(context) ((context)->uc_mcontext.gregs[REG_EFL])
^
Utilities/Thread.cpp:854:19: error: no member named 'gregs' in '__mcontext'
const u32 _of = EFLAGS(context) & 0x800;
^~~~~~~~~~~~~~~
Utilities/Thread.cpp:769:49: note: expanded from macro 'EFLAGS'
#define EFLAGS(context) ((context)->uc_mcontext.gregs[REG_EFL])
~~~~~~~~~~~~~~~~~~~~~~ ^
Utilities/Thread.cpp:854:19: error: use of undeclared identifier 'REG_EFL'
Utilities/Thread.cpp:769:55: note: expanded from macro 'EFLAGS'
#define EFLAGS(context) ((context)->uc_mcontext.gregs[REG_EFL])
^
Utilities/Thread.cpp:855:19: error: no member named 'gregs' in '__mcontext'
const u32 _pf = EFLAGS(context) & 0x4;
^~~~~~~~~~~~~~~
Utilities/Thread.cpp:769:49: note: expanded from macro 'EFLAGS'
#define EFLAGS(context) ((context)->uc_mcontext.gregs[REG_EFL])
~~~~~~~~~~~~~~~~~~~~~~ ^
Utilities/Thread.cpp:855:19: error: use of undeclared identifier 'REG_EFL'
Utilities/Thread.cpp:769:55: note: expanded from macro 'EFLAGS'
#define EFLAGS(context) ((context)->uc_mcontext.gregs[REG_EFL])
^
Utilities/Thread.cpp:885:12: error: no member named 'gregs' in '__mcontext'
case 1: *X64REG(context, reg - X64R_RAX) = value & 0xff | *X64REG(context, re...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Utilities/Thread.cpp:767:55: note: expanded from macro 'X64REG'
#define X64REG(context, reg) (&(context)->uc_mcontext.gregs[reg_table[reg]])
~~~~~~~~~~~~~~~~~~~~~~ ^
Utilities/Thread.cpp:885:62: error: no member named 'gregs' in '__mcontext'
...*X64REG(context, reg - X64R_RAX) = value & 0xff | *X64REG(context, reg - X64R_RAX) & 0xffffff...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Utilities/Thread.cpp:767:55: note: expanded from macro 'X64REG'
#define X64REG(context, reg) (&(context)->uc_mcontext.gregs[reg_table[reg]])
~~~~~~~~~~~~~~~~~~~~~~ ^
Utilities/Thread.cpp:886:12: error: no member named 'gregs' in '__mcontext'
case 2: *X64REG(context, reg - X64R_RAX) = value & 0xffff | *X64REG(context, ...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Utilities/Thread.cpp:767:55: note: expanded from macro 'X64REG'
#define X64REG(context, reg) (&(context)->uc_mcontext.gregs[reg_table[reg]])
~~~~~~~~~~~~~~~~~~~~~~ ^
Utilities/Thread.cpp:886:64: error: no member named 'gregs' in '__mcontext'
...reg - X64R_RAX) = value & 0xffff | *X64REG(context, reg - X64R_RAX) & 0xffff0000; return true;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Utilities/Thread.cpp:767:55: note: expanded from macro 'X64REG'
#define X64REG(context, reg) (&(context)->uc_mcontext.gregs[reg_table[reg]])
~~~~~~~~~~~~~~~~~~~~~~ ^
Utilities/Thread.cpp:887:12: error: no member named 'gregs' in '__mcontext'
case 4: *X64REG(context, reg - X64R_RAX) = value & 0xffffffff; return true;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Utilities/Thread.cpp:767:55: note: expanded from macro 'X64REG'
#define X64REG(context, reg) (&(context)->uc_mcontext.gregs[reg_table[reg]])
~~~~~~~~~~~~~~~~~~~~~~ ^
Utilities/Thread.cpp:888:12: error: no member named 'gregs' in '__mcontext'
case 8: *X64REG(context, reg - X64R_RAX) = value; return true;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Utilities/Thread.cpp:767:55: note: expanded from macro 'X64REG'
#define X64REG(context, reg) (&(context)->uc_mcontext.gregs[reg_table[reg]])
~~~~~~~~~~~~~~~~~~~~~~ ^
Utilities/Thread.cpp:913:3: error: no member named 'gregs' in '__mcontext'
EFLAGS(context) |= 0x1; // set CF
^~~~~~~~~~~~~~~
Utilities/Thread.cpp:769:49: note: expanded from macro 'EFLAGS'
#define EFLAGS(context) ((context)->uc_mcontext.gregs[REG_EFL])
~~~~~~~~~~~~~~~~~~~~~~ ^
Utilities/Thread.cpp:913:3: error: use of undeclared identifier 'REG_EFL'
Utilities/Thread.cpp:769:55: note: expanded from macro 'EFLAGS'
#define EFLAGS(context) ((context)->uc_mcontext.gregs[REG_EFL])
^
Utilities/Thread.cpp:917:3: error: no member named 'gregs' in '__mcontext'
EFLAGS(context) &= ~0x1; // clear CF
^~~~~~~~~~~~~~~
Utilities/Thread.cpp:769:49: note: expanded from macro 'EFLAGS'
#define EFLAGS(context) ((context)->uc_mcontext.gregs[REG_EFL])
~~~~~~~~~~~~~~~~~~~~~~ ^
Utilities/Thread.cpp:917:3: error: use of undeclared identifier 'REG_EFL'
Utilities/Thread.cpp:769:55: note: expanded from macro 'EFLAGS'
#define EFLAGS(context) ((context)->uc_mcontext.gregs[REG_EFL])
^
Utilities/Thread.cpp:922:3: error: no member named 'gregs' in '__mcontext'
EFLAGS(context) |= 0x40; // set ZF
^~~~~~~~~~~~~~~
Utilities/Thread.cpp:769:49: note: expanded from macro 'EFLAGS'
#define EFLAGS(context) ((context)->uc_mcontext.gregs[REG_EFL])
~~~~~~~~~~~~~~~~~~~~~~ ^
Utilities/Thread.cpp:922:3: error: use of undeclared identifier 'REG_EFL'
Utilities/Thread.cpp:769:55: note: expanded from macro 'EFLAGS'
#define EFLAGS(context) ((context)->uc_mcontext.gregs[REG_EFL])
^
Utilities/Thread.cpp:926:3: error: no member named 'gregs' in '__mcontext'
EFLAGS(context) &= ~0x40; // clear ZF
^~~~~~~~~~~~~~~
Utilities/Thread.cpp:769:49: note: expanded from macro 'EFLAGS'
#define EFLAGS(context) ((context)->uc_mcontext.gregs[REG_EFL])
~~~~~~~~~~~~~~~~~~~~~~ ^
Utilities/Thread.cpp:926:3: error: use of undeclared identifier 'REG_EFL'
Utilities/Thread.cpp:769:55: note: expanded from macro 'EFLAGS'
#define EFLAGS(context) ((context)->uc_mcontext.gregs[REG_EFL])
^
Utilities/Thread.cpp:931:3: error: no member named 'gregs' in '__mcontext'
EFLAGS(context) |= 0x80; // set SF
^~~~~~~~~~~~~~~
Utilities/Thread.cpp:769:49: note: expanded from macro 'EFLAGS'
#define EFLAGS(context) ((context)->uc_mcontext.gregs[REG_EFL])
~~~~~~~~~~~~~~~~~~~~~~ ^
Utilities/Thread.cpp:931:3: error: use of undeclared identifier 'REG_EFL'
Utilities/Thread.cpp:769:55: note: expanded from macro 'EFLAGS'
#define EFLAGS(context) ((context)->uc_mcontext.gregs[REG_EFL])
^
Utilities/Thread.cpp:935:3: error: no member named 'gregs' in '__mcontext'
EFLAGS(context) &= ~0x80; // clear SF
^~~~~~~~~~~~~~~
Utilities/Thread.cpp:769:49: note: expanded from macro 'EFLAGS'
#define EFLAGS(context) ((context)->uc_mcontext.gregs[REG_EFL])
~~~~~~~~~~~~~~~~~~~~~~ ^
Utilities/Thread.cpp:935:3: error: use of undeclared identifier 'REG_EFL'
Utilities/Thread.cpp:769:55: note: expanded from macro 'EFLAGS'
#define EFLAGS(context) ((context)->uc_mcontext.gregs[REG_EFL])
^
Utilities/Thread.cpp:940:3: error: no member named 'gregs' in '__mcontext'
EFLAGS(context) |= 0x800; // set OF
^~~~~~~~~~~~~~~
Utilities/Thread.cpp:769:49: note: expanded from macro 'EFLAGS'
#define EFLAGS(context) ((context)->uc_mcontext.gregs[REG_EFL])
~~~~~~~~~~~~~~~~~~~~~~ ^
Utilities/Thread.cpp:940:3: error: use of undeclared identifier 'REG_EFL'
Utilities/Thread.cpp:769:55: note: expanded from macro 'EFLAGS'
#define EFLAGS(context) ((context)->uc_mcontext.gregs[REG_EFL])
^
Utilities/Thread.cpp:944:3: error: no member named 'gregs' in '__mcontext'
EFLAGS(context) &= ~0x800; // clear OF
^~~~~~~~~~~~~~~
Utilities/Thread.cpp:769:49: note: expanded from macro 'EFLAGS'
#define EFLAGS(context) ((context)->uc_mcontext.gregs[REG_EFL])
~~~~~~~~~~~~~~~~~~~~~~ ^
Utilities/Thread.cpp:944:3: error: use of undeclared identifier 'REG_EFL'
Utilities/Thread.cpp:769:55: note: expanded from macro 'EFLAGS'
#define EFLAGS(context) ((context)->uc_mcontext.gregs[REG_EFL])
^
Utilities/Thread.cpp:953:3: error: no member named 'gregs' in '__mcontext'
EFLAGS(context) |= 0x4; // set PF
^~~~~~~~~~~~~~~
Utilities/Thread.cpp:769:49: note: expanded from macro 'EFLAGS'
#define EFLAGS(context) ((context)->uc_mcontext.gregs[REG_EFL])
~~~~~~~~~~~~~~~~~~~~~~ ^
Utilities/Thread.cpp:953:3: error: use of undeclared identifier 'REG_EFL'
Utilities/Thread.cpp:769:55: note: expanded from macro 'EFLAGS'
#define EFLAGS(context) ((context)->uc_mcontext.gregs[REG_EFL])
^
Utilities/Thread.cpp:957:3: error: no member named 'gregs' in '__mcontext'
EFLAGS(context) &= ~0x4; // clear PF
^~~~~~~~~~~~~~~
Utilities/Thread.cpp:769:49: note: expanded from macro 'EFLAGS'
#define EFLAGS(context) ((context)->uc_mcontext.gregs[REG_EFL])
~~~~~~~~~~~~~~~~~~~~~~ ^
Utilities/Thread.cpp:957:3: error: use of undeclared identifier 'REG_EFL'
Utilities/Thread.cpp:769:55: note: expanded from macro 'EFLAGS'
#define EFLAGS(context) ((context)->uc_mcontext.gregs[REG_EFL])
^
Utilities/Thread.cpp:962:3: error: no member named 'gregs' in '__mcontext'
EFLAGS(context) |= 0x10; // set AF
^~~~~~~~~~~~~~~
Utilities/Thread.cpp:769:49: note: expanded from macro 'EFLAGS'
#define EFLAGS(context) ((context)->uc_mcontext.gregs[REG_EFL])
~~~~~~~~~~~~~~~~~~~~~~ ^
Utilities/Thread.cpp:962:3: error: use of undeclared identifier 'REG_EFL'
Utilities/Thread.cpp:769:55: note: expanded from macro 'EFLAGS'
#define EFLAGS(context) ((context)->uc_mcontext.gregs[REG_EFL])
^
Utilities/Thread.cpp:966:3: error: no member named 'gregs' in '__mcontext'
EFLAGS(context) &= ~0x10; // clear AF
^~~~~~~~~~~~~~~
Utilities/Thread.cpp:769:49: note: expanded from macro 'EFLAGS'
#define EFLAGS(context) ((context)->uc_mcontext.gregs[REG_EFL])
~~~~~~~~~~~~~~~~~~~~~~ ^
Utilities/Thread.cpp:966:3: error: use of undeclared identifier 'REG_EFL'
Utilities/Thread.cpp:769:55: note: expanded from macro 'EFLAGS'
#define EFLAGS(context) ((context)->uc_mcontext.gregs[REG_EFL])
^
Utilities/Thread.cpp:976:7: error: no member named 'gregs' in '__mcontext'
if (EFLAGS(context) & 0x400 /* direction flag */)
^~~~~~~~~~~~~~~
Utilities/Thread.cpp:769:49: note: expanded from macro 'EFLAGS'
#define EFLAGS(context) ((context)->uc_mcontext.gregs[REG_EFL])
~~~~~~~~~~~~~~~~~~~~~~ ^
Utilities/Thread.cpp:976:7: error: use of undeclared identifier 'REG_EFL'
Utilities/Thread.cpp:769:55: note: expanded from macro 'EFLAGS'
#define EFLAGS(context) ((context)->uc_mcontext.gregs[REG_EFL])
^
Utilities/Thread.cpp:1020:25: error: no member named 'gregs' in '__mcontext'
auto code = (const u8*)RIP(context);
^~~~~~~~~~~~
Utilities/Thread.cpp:784:18: note: expanded from macro 'RIP'
#define RIP(c) (*X64REG((c), 16))
^~~~~~~~~~~~~~~
Utilities/Thread.cpp:767:55: note: expanded from macro 'X64REG'
#define X64REG(context, reg) (&(context)->uc_mcontext.gregs[reg_table[reg]])
~~~~~~~~~~~~~~~~~~~~~~ ^
Utilities/Thread.cpp:1146:3: error: no member named 'gregs' in '__mcontext'
RIP(context) += i_size;
^~~~~~~~~~~~
Utilities/Thread.cpp:784:18: note: expanded from macro 'RIP'
#define RIP(c) (*X64REG((c), 16))
^~~~~~~~~~~~~~~
Utilities/Thread.cpp:767:55: note: expanded from macro 'X64REG'
#define X64REG(context, reg) (&(context)->uc_mcontext.gregs[reg_table[reg]])
~~~~~~~~~~~~~~~~~~~~~~ ^
Utilities/Thread.cpp:1368:47: error: no member named 'gregs' in '__mcontext'
const bool is_writing = context->uc_mcontext.gregs[REG_ERR] & 0x2;
~~~~~~~~~~~~~~~~~~~~ ^
Utilities/Thread.cpp:1368:53: error: use of undeclared identifier 'REG_ERR'
const bool is_writing = context->uc_mcontext.gregs[REG_ERR] & 0x2;
^
Utilities/Thread.cpp:1393:89: error: no member named 'gregs' in '__mcontext'
...%s location %p at %p.", cause, info->si_addr, RIP(context)));
^~~~~~~~~~~~
Utilities/Thread.cpp:784:18: note: expanded from macro 'RIP'
#define RIP(c) (*X64REG((c), 16))
^~~~~~~~~~~~~~~
Utilities/Thread.cpp:767:55: note: expanded from macro 'X64REG'
#define X64REG(context, reg) (&(context)->uc_mcontext.gregs[reg_table[reg]])
~~~~~~~~~~~~~~~~~~~~~~ ^
* Thread: add explict casts for incomplete pthread_t on some platforms
Utilities/Thread.cpp:1467:17: error: no viable overloaded '='
ctrl->m_thread = thread;
~~~~~~~~~~~~~~ ^ ~~~~~~
Utilities/Atomic.h:776:12: note: candidate function not viable: cannot convert argument of
incomplete type 'pthread_t' (aka 'pthread *') to 'const atomic_t<unsigned long>' for 1st
argument
atomic_t& operator =(const atomic_t&) = delete;
^
Utilities/Atomic.h:902:7: note: candidate function not viable: cannot convert argument of
incomplete type 'pthread_t' (aka 'pthread *') to 'const type' (aka 'const unsigned long') for
1st argument
type operator =(const type& rhs)
^
Utilities/Thread.cpp:1656:3: error: no matching function for call to 'pthread_detach'
pthread_detach(m_thread.raw());
^~~~~~~~~~~~~~
/usr/include/pthread.h:218:6: note: candidate function not viable: no known conversion from 'type'
(aka 'unsigned long') to 'pthread_t' (aka 'pthread *') for 1st argument
int pthread_detach(pthread_t);
^
* build: dlopen() maybe in libc
/usr/bin/ld: cannot find -ldl
c++: error: linker command failed with exit code 1 (use -v to see invocation)
* build: iconv() maybe available on some BSDs in libc
/usr/bin/ld: cannot find -liconv
c++: error: linker command failed with exit code 1 (use -v to see invocation)
* build: hidapi-hidraw is only built on Linux
/usr/bin/ld: cannot find -lhidapi-hidraw
c++: error: linker command failed with exit code 1 (use -v to see invocation)
* Thread: use getrusage() on more POSIX-like systems
* Qt: don't return NULL handle on other platforms
rpcs3/rpcs3qt/gs_frame.cpp:120:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
* build: properly disable Vulkan on other platforms
In file included from rpcs3/rpcs3_app.cpp:40:
In file included from rpcs3/Emu/RSX/VK/VKGSRender.h:3:
rpcs3/Emu/RSX/VK/VKHelpers.h:1209:42: error: unknown type name 'device_queues'
std::vector<VkBool32> supportsPresent(device_queues);
^
rpcs3/Emu/RSX/VK/VKHelpers.h:1211:4: error: expected member name or ';' after declaration specifiers
for (u32 index = 0; index < device_queues; index++)
^
rpcs3/Emu/RSX/VK/VKHelpers.h:1221:4: error: expected member name or ';' after declaration specifiers
for (u32 i = 0; i < device_queues; i++)
^
rpcs3/Emu/RSX/VK/VKHelpers.h:1256:4: error: expected member name or ';' after declaration specifiers
if (graphicsQueueNodeIndex != presentQueueNodeIndex)
^
rpcs3/Emu/RSX/VK/VKHelpers.h:1261:4: error: expected member name or ';' after declaration specifiers
CHECK_RESULT(vkGetPhysicalDeviceSurfaceFormatsKHR(dev, surface, &formatCount, nullptr));
^
[...]
/usr/bin/ld: cannot find -lvulkan
c++: error: linker command failed with exit code 1 (use -v to see invocation)
* build: make install/strip work by moving commands
* Qt: create surface for GL context if it wasn't ready
#0 strlen (str=0x0) at /usr/src/lib/libc/string/strlen.c:100
#1 0x000000000090f02e in std::__1::char_traits<char>::length (__s=0x0)
at /usr/include/c++/v1/__string:215
#2 std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::basic_string (__s=0x0, this=<optimized out>) at /usr/include/c++/v1/string:1547
#3 gl::capabilities::initialize (this=0x2ba32a0 <gl::g_driver_caps>)
at rpcs3/Emu/RSX/GL/GLHelpers.h:133
#4 0x000000000090d3dd in gl::get_driver_caps () at rpcs3/Emu/RSX/GL/GLHelpers.cpp:56
#5 0x00000000008fa511 in GLGSRender::on_init_thread (this=0x838d30018)
at rpcs3/Emu/RSX/GL/GLGSRender.cpp:484
#6 0x0000000000938f9e in rsx:🧵 :on_task (this=0x838d30018)
at rpcs3/Emu/RSX/RSXThread.cpp:334
#7 0x0000000000abc329 in task_stack::task_type<named_thread::start_thread(std::__1::shared_ptr<void> const&)::$_10>::invoke() ()
#8 0x0000000000abc114 in thread_ctrl::start(std::__1::shared_ptr<thread_ctrl> const&, task_stack)::$_7::__invoke(void*) ()
#9 0x0000000801e60c35 in thread_start (curthread=0x843650a00)
at /usr/src/lib/libthr/thread/thr_create.c:289
#10 0x0000000000000000 in ?? ()
* build: don't abort without git metadata
-- Found Git: /usr/local/bin/git (found version "2.13.1")
fatal: Not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
CMake Warning at git-version.cmake:12 (message):
git rev-list failed, unable to include version.
* build: non-parallel needs git-version.h earlier
rpcs3/rpcs3_version.cpp:3:10: fatal error: 'git-version.h' file not found
#include "git-version.h"
^~~~~~~~~~~~~~~
1 error generated.
2017-06-22 21:03:41 +03:00
clienthax
ac12fc8b44
HLE cellHttpUtilParseUri, Also initalise networking with windows. ( #2879 )
...
TODO: rewrite with <regex>
2017-06-22 20:27:12 +03:00
scribam
fe67d51e5e
Stub cellMsgDialogOpenSimulViewWarning
2017-06-22 20:08:21 +03:00
scribam
4d294e7a69
Stub sys_rsxaudio_ functions
2017-06-22 20:08:21 +03:00
scribam
45dc7fbac8
Stub some cellHttpAuth* functions
2017-06-22 20:08:21 +03:00
Jake
72590e2c93
cellGem: Fix headers
2017-06-21 19:28:05 +03:00
Jake
d3df83a3ea
Sprx: loading / reloc fixes
2017-06-21 19:28:05 +03:00
Jake
03268b0838
Trophy: return size for GetRequiredDiskSpace again
2017-06-21 19:28:05 +03:00
Jake
f77e9f8bc1
kb/mouse: fix max in init
2017-06-21 19:28:05 +03:00
Zion Nimchuk
0c4cc34488
Implement strncasecmp and strrchr
2017-06-12 20:25:03 +03:00
Jake
195f24507b
cellPad: Clear info structs before setting
2017-06-02 19:40:22 +03:00
Jake
56b21fd411
cellPadPeriphGetData impl
2017-06-02 19:40:22 +03:00
Jake
80fc471067
Ignore LLE savedata modules
2017-05-21 18:07:43 +03:00
Jake
4bcafb3e75
Fix C00 SPRX loading
2017-05-21 18:07:43 +03:00
Jake
7ccc5d3910
Set TrophyRequiredSize to 0
2017-05-21 18:07:43 +03:00
Nekotekina
f010b5b235
Configuration simplified
2017-05-20 16:01:48 +03:00
Nekotekina
d5107aab47
cfmt improved
2017-05-19 01:13:23 +03:00
Nekotekina
b613fb70f1
Fix MFC_WrTagUpdate
2017-05-19 01:13:23 +03:00
Zion
c133db6721
Update asmjit submodule (Testers wanted!) ( #2782 )
...
* Update asmjit submodule
* Add myself as a contributor 😉
2017-05-18 14:22:45 +03:00
raven02
f54628fcfd
Stub cellGcmSetWaitFlipUnsafe() ( #2786 )
2017-05-16 07:33:37 +08:00
Nekotekina
7ac64a6725
CELL_OK cleanup
2017-05-15 14:58:32 +03:00
Nekotekina
81c8d3f27a
Added CELL_CANCEL
2017-05-15 14:37:05 +03:00
Nekotekina
88fef183a3
config.yml: Log section optimized
2017-05-15 14:37:05 +03:00
scribam
299f627321
Stub cell ( #2785 )
...
* Update cellGcmSys
* Update cellStorage
* Update cellSubdisplay
* Update sceNpTrophy
- Use error_code as return type
- Add few checks
* Update cellKey2char
* Update cellKb:
- Use error_code as return type
- Replace UNIMPLEMENTED_FUNC by .todo
* Update cellNetCtl
* Update cellSpudll
* Update cellSysutilAp
* Update cellUserInfo
* Stub sys_mempool_allocate_block (bad idea)
2017-05-15 14:30:14 +03:00
Nekotekina
8df95dbe39
Stub sys_fs syscalls
2017-05-11 19:05:41 +03:00
Nekotekina
75017345be
cellFsGetPath implemented
2017-05-11 19:05:41 +03:00
Nekotekina
08c955d177
Remove AutoPause.cpp
2017-05-11 19:05:41 +03:00
Nekotekina
8209e6c1e3
ppu_initialize_syscalls draft
2017-05-11 19:05:41 +03:00
Nekotekina
3a5efe9809
sys_ppu_thread_register_atexit implemented
2017-05-11 19:05:41 +03:00
Nekotekina
5ffb4766b0
sys_ppu_thread_once rewritten
...
sys_initialize_tls moved
sys_interrupt_thread_disestablish moved
2017-05-11 19:05:41 +03:00
kd-11
df7b466656
spu: Speed hacks - Do not starve PPU threads
...
optionally hint to the OS scheduler to give less attention to SPUs
ui: Add speed 'hacks' as configurable options
2017-05-10 21:50:14 +03:00
Nekotekina
b1e8eefad0
cellFs fixes
...
cellFsAllocateFileAreaWithoutZeroFill implemented
2017-05-07 15:24:07 +03:00
Nekotekina
e8d76ede14
sys_fs_fsync fix
2017-05-05 00:11:57 +03:00
Jake
6bb32e4e80
DS4 Support. Supports sixaxis and vibrate
2017-05-04 23:35:09 +03:00
scribam
e33c01131e
Update sceNpSns ( #2732 )
2017-05-01 21:35:49 +03:00
Nekotekina
95c6278863
Organize cellDaisy
2017-04-30 21:10:27 +03:00
Nekotekina
eba44261c7
Preserve original function names
2017-04-30 21:10:27 +03:00
Nekotekina
b349100d9d
Stack overflow detection
...
Added a gap between stack allocations
PPU callstack improved
2017-04-30 21:10:27 +03:00
Wilfried Rabouin
7ab210432e
PPU interpreter (precise): SAT bit implemented ( #2736 )
2017-04-30 21:05:50 +03:00
Pierre Vezien
f40dcbfa30
Stub sceNp functions to return an offline status until further developement is done.
2017-04-30 18:21:34 +03:00
scribam
84ba7c3e73
Stub cellFiber module ( #2704 )
2017-04-29 02:44:42 +03:00
Jake
ff366f4e4e
Partially implement cellPadGetDataExtra
2017-04-29 01:26:03 +03:00
Jake
5f470b316a
Fix cellPadGetData button reports
2017-04-29 01:26:03 +03:00
Jake
c8252d2b28
Fix cellGameContentErrorDialog freeze
2017-04-29 01:26:03 +03:00
Jake
16d7eb4f55
[Crypto] Edat cleanup
2017-04-29 01:26:03 +03:00
Nekotekina
5f26c2fc8f
REG_FUNC+ macro improved
...
This includes REG_FNID, REG_VAR, REG_VNID
Allows to specify alternative function name
2017-04-26 23:38:24 +03:00
Nekotekina
f6383f6e06
cellAudioAdd2chData fixed
...
cellAudioAdd6chData fixed
Speculatively.
2017-04-26 23:05:49 +03:00
Nekotekina
8055d83da2
sys_fs_fget_block_size improved
2017-04-26 20:31:39 +03:00
Nekotekina
b0a83cdb56
sys_fs_lsn_get_cda_size stub
2017-04-26 20:26:29 +03:00
Nekotekina
3f5951c9f8
sys_fs_fcntl update
2017-04-26 16:10:26 +03:00
Nekotekina
c3c442ccb1
cellFsGetFreeSize implemented
2017-04-26 02:27:35 +03:00
Nekotekina
a95a63a58a
sys_fs_lsn_lock implemented
2017-04-26 02:27:35 +03:00
Nekotekina
1bbb76fa20
sys_fs_test implemented
2017-04-26 02:27:35 +03:00
Nekotekina
f42b830ce9
fs::statfs implemented
2017-04-26 02:27:35 +03:00
Nekotekina
256dfc5729
sys_fs_fsync implemented
...
sys_fs_fdatasync implemented as equal function
2017-04-26 02:27:34 +03:00
Nekotekina
19fd8c109e
cellFsSdataOpenByFd fixed
2017-04-26 02:27:34 +03:00
Nekotekina
634f353ed4
Fix module initialization
2017-04-26 02:27:34 +03:00
Nekotekina
d7c3d1ce12
sys_fs: 0xc0000006 stub
2017-04-26 02:27:34 +03:00
Nekotekina
a626bbf635
PPU Debug fix
2017-04-26 02:27:34 +03:00
Nekotekina
0f95736c36
cellFsGetDirectoryEntries rewritten
2017-04-26 02:27:34 +03:00
Nekotekina
d05b6135c6
Use libfs.sprx (LLE)
2017-04-26 02:27:34 +03:00
scribam
8b2473251d
Stub new modules
...
- cellGamePs1Emu
- cellSysconfPs1emu
- sysBdMediaId (which included sys_get_bd_media_id)
- sysConsoleId (which included sys_get_console_id)
- sysPs2Disc
2017-04-23 16:02:57 +03:00
Nekotekina
463e18f893
Disable SPUJIT.log (opt-in)
2017-04-20 00:52:31 +03:00
Nekotekina
f7cb1aea64
Fix Lib Loading
2017-04-20 00:52:11 +03:00
Nekotekina
9b43203111
offset32(): pointer-to-member arithmetic
2017-04-20 00:17:16 +03:00
Megamouse
ff5295de32
Lib Loader Radiobutton ( #2689 )
2017-04-20 00:16:55 +03:00
scribam
8060cf9b19
Add cellRtcAlarm module ( #2703 )
2017-04-19 21:24:52 +03:00
scribam
ba9fdfa802
Add cellFsAccess function
2017-04-19 03:42:44 +03:00
scribam
df8a0517dc
Add FT_Done_Library function
2017-04-19 03:42:44 +03:00
scribam
d27c3eee24
Add FTFaceH_GetMaxVerticalAdvance function
2017-04-19 03:42:44 +03:00
Ryan Gonzalez
e447f071ce
Misc compile fixes
2017-04-18 22:37:17 +03:00
Nekotekina
4ceaab10a5
_mxr000 hack moved
2017-04-16 17:44:20 +03:00
Nekotekina
402df68235
sys_spu_image loading rewritten
2017-04-16 17:44:20 +03:00
Nekotekina
db1b012a26
SPU fix
2017-04-16 17:44:20 +03:00
Nekotekina
b1f1a5885b
PPU LLVM improved
2017-04-16 17:44:19 +03:00
Nekotekina
2fd58dc7e8
sys_prx updated
2017-04-16 17:44:19 +03:00
Nekotekina
7428bb3025
HLE linkage rewritten
2017-04-16 17:44:19 +03:00
Jeremiah
14f02b23c2
Properly overwrite param.sfo in savedata ( #2690 )
2017-04-16 01:45:50 +03:00
Ofek
617746606d
Trophy fixed ( #2687 )
2017-04-14 13:08:17 +03:00
kd-11
65bdcaed29
spu: Check exponent bits in FMA ops ( #2683 )
2017-04-13 23:02:51 +03:00
Ofek
a5fd7abcf7
Trophy update ( #2655 )
...
* Added checksum check to TROPHY.TRP loader
* Implemented sceNpTrophyGetGameProgress, sceNpTrophyGetGameIcon & sceNpTrophyGetTrophyIcon
* Updates to up to date APIs and tiny changes
* Code style fixes for checksum verifier, and another fix for trophy functions
* Format fix
2017-04-13 20:29:47 +03:00
Ani
94ab3ae7cf
Misc ( #2614 )
...
* cellSysmodule: Register libad modules
Register libad_core, libad_async, libad_billboard_util
* Misc
sys_ss_get_console_open_psid (Called on Project Diva F 2nd),
sys_ss_get_console_id
Stub cellWebBrowserGetUsrdataOnGameExit for Professional Baseball
Spirits 2015
Fix two logs on GcmSys
2017-04-13 19:30:25 +03:00
Jeremiah
370c2ecac5
Update cellSaveDataGetListItem
2017-04-13 18:42:38 +03:00
scribam
9ba0a9189b
Update sys_spu
...
- Implement sys_spu_thread_group_set_priority
- Implement sys_spu_thread_group_get_priority
2017-04-10 04:08:55 +03:00
scribam
7cd15a6202
Add functions to cellSsl
2017-04-10 03:25:45 +03:00
scribam
49ba4bbfb5
Typo
2017-04-10 02:39:52 +03:00
Nekotekina
77aa3142a9
Audio: downmix to stereo
2017-04-10 00:18:12 +03:00
Nekotekina
dc3d38c255
PPU Analyser: TOC detection
...
Improved TOC detection logic
Added "PPU Debug" option
2017-04-09 00:16:53 +03:00
Nekotekina
fb9b09d004
PPU disasm: print HLE index
2017-04-08 23:51:54 +03:00
Nekotekina
d7c66fc949
ppu_analyse: use entry point
2017-04-08 23:51:54 +03:00
Zangetsu38
b3cb827526
Registers more functions missing.
...
Implement and stub cell_FreeType2.
Reorder cellRtc.
2017-04-08 22:32:59 +03:00
Nekotekina
ac79654d1b
Warn about libfiber.sprx
...
It's currently incompatible with LLVM
Also fixed breakpoint bug
2017-04-08 00:56:38 +03:00
Nekotekina
69d86e39b9
Fixed auto LLE
2017-04-08 00:56:38 +03:00
Nekotekina
ed7883ba07
PPU Analyser fix
2017-04-08 00:56:38 +03:00
scribam
7a1fd27ecc
Update cellSpudll
...
- Stub cellSpudllGetImageSize
- Implement cellSpudllHandleConfigSetDefaultValues
2017-04-08 00:09:06 +03:00
scribam
d160c862c7
Stub cellScreenshot module
2017-04-07 22:40:23 +03:00
scribam
4c4b353766
Stub cellVideoUpload module ( #2642 )
2017-04-07 19:45:38 +03:00
scribam
22ec8c4dd2
Stub cellSysconf module
2017-04-07 18:53:00 +03:00
scribam
219dba8aae
Stub cellBgdl module
2017-04-07 16:36:51 +03:00
scribam
7c2af5ceae
Register cellSpursRemoveSystemWorkloadForUtility
...
Before
! LDR: **** cellSpurs export: [0x31F5196B] at 0x13ab56c
After
! LDR: **** cellSpurs export: [cellSpursRemoveSystemWorkloadForUtility] at 0x13ab56c
2017-04-07 16:13:14 +03:00
scribam
a1cc40e7b1
Add cellLibprof module ( #2637 )
2017-04-07 15:48:59 +03:00
ikki84
27ea4285ef
Imejp: cellImeJpEnterChar ( #2600 )
2017-04-07 15:30:07 +03:00
jjsat
d8dc4f4474
Fix isdenormal() for MS VC.
2017-04-06 20:58:02 +03:00
scribam
ba8aa580a1
Add few functions in cellSysutil.
2017-04-06 14:58:03 +03:00
scribam
c863da278f
Add cellRtc functions
2017-04-06 12:55:33 +03:00
Inviuz
22e679e23e
cellSave fix plus bugfixes ( #2631 )
...
* cellSave fix plus bugfixes
allows allocation of last byte in memory block
prevents rpcs3 from crashing when closing non existent socket
* Fix overflow
* add more socket options
fix typo
prevent sys_net from operating on nullptr sockets
2017-04-05 16:08:58 +03:00
Nekotekina
65488078a4
cellSaveData workaround
2017-04-03 16:02:43 +03:00
Andrey
215a9f9e11
Gdb debug server ( #2542 )
2017-04-02 21:10:06 +03:00
scribam
b54ba47870
Stub cellHttpUtil ( #2611 )
2017-04-02 15:32:53 +03:00
Nekotekina
3ec156b2f2
Enable patch engine for SPU images
2017-03-30 12:04:59 +03:00
Nekotekina
77e88741bc
Alternative TLS allocation
...
Should fix "out of TLS memory"
2017-03-30 12:04:59 +03:00
Inviuz
632287afe7
Add simple divide to get kbytes
...
integer division
2017-03-28 23:13:25 +03:00
Inviuz
08c9a7c184
Check for invalid arguments
...
Caused crash when recvfrom was using null buffer
2017-03-28 23:13:25 +03:00
Inviuz
149c08ba78
implement getSizeKB functions
...
bugfix in sys_net. id 0 is acceptable socket id
2017-03-28 23:13:25 +03:00
Nekotekina
6b471d50eb
libmedi fix
2017-03-27 01:15:41 +03:00
Nekotekina
e8984d976c
_sys_sprintf implemented
...
_sys_printf, _sys_snprintf fixed
2017-03-27 01:15:41 +03:00
Nekotekina
37a97a71e3
vm::g_exec_addr added
...
s_ppu_compiled renamed
Exception handling enabled
2017-03-27 01:15:41 +03:00
Nekotekina
f1f53de24b
PPU analyser fix
2017-03-27 01:15:41 +03:00
Nekotekina
cd9bd79639
AutoLLE: libhttp.sprx added
2017-03-27 01:15:41 +03:00
Nekotekina
0393c7f52c
fs:: handle negative seek
2017-03-27 01:15:41 +03:00
Nekotekina
e12a708036
LLVM: fix for mingw
2017-03-27 01:15:41 +03:00
Zangetsu38
0f9f787a55
Move module in correct path
2017-03-26 01:50:22 +03:00
Ani
7ae2a8840b
Register HLE libmedi, cellCrossController, cellSysutilNpEula
...
Motorstorm Apocalypse calls for cellMediatorGetSignatureLength,
cellMediatorCreateContext, cellMediatorGetProviderUrl,
cellMediatorGetStatus
LittleBigPlanet 2 and 3 may call for 0x37E1F502 (unknown name) on
cellCrossController
Resistance 3 and Uncharted 2 may call for the functions registered
on cellSysutilNpEula
2017-03-26 01:04:39 +03:00
Ani
7d59f7e69c
cellSysmodule: Register 0xF044, 0x0054, 0x005C modules
...
cellSysmodule: Register 0xF044 module (cellSysutilNpEula)
Found by debugging Uncharted 2 Demo (NPEA90055)
Helps in all games that register sys module configuration 'multi-player'
cellSysmodule: Register 0x0054 module (libmedi)
Found on Motorstorm Apocalypse [NPEA00315] (thanks Zangetsu for the log)
cellSysmodule: Register 0x005C module (cellCrossController)
Found on LittleBigPlanet 2 [BCES00850] (thanks Zangetsu for the log)
2017-03-26 01:04:39 +03:00
Jake
65696bf6a3
Crypto: fix sprx/self check in npDrm and edata fixes
2017-03-25 14:26:27 +03:00
clienthax
44e62c5c92
Fixs for klics
2017-03-25 14:26:27 +03:00
Svyatoslav
620ec7ef25
PVS-Studio: fix V547 ( #2543 )
2017-03-25 13:27:42 +03:00
Nekotekina
3bfe17a14f
PPU: HACK instruction removed
...
Breakpoints fixed
2017-03-22 23:23:47 +03:00
Nekotekina
ddd6ebc58d
LLVM: Bump obj version
2017-03-22 01:33:50 +03:00
Nekotekina
1b5c0c68dd
LLVM: enable New GVN Pass
2017-03-22 01:21:19 +03:00
Nekotekina
3e6f9faf71
Use LLVM 4.0
2017-03-21 23:32:14 +03:00
Nekotekina
4fc8276f0f
LLVM: fix FCTIW, FCTID
2017-03-21 20:16:41 +03:00
Nekotekina
aad035c4b5
LLVM: fix FCTIWZ, FCTIDZ
2017-03-21 20:16:41 +03:00
Nekotekina
c2cd0c994f
LLVM: volatile load for state
2017-03-21 20:16:41 +03:00
Inviuz
c729d6d65a
Use sys_vm_memory_map plus add default value for sys_allocate ( #2560 )
...
for different memory map(unconfirmed) also handle default action.
Fixes unknown syscall 313 error
Issue 2510
2017-03-21 16:02:00 +03:00
scribam
5785ebb384
Update cellOvis
...
- Add parameters to cellOvisInitializeOverlayTable, cellOvisFixSpuSegments and cellOvisInvalidateOverlappedSegments functions
- Modify return type for cellOvisFixSpuSegments and cellOvisInvalidateOverlappedSegments functions
- Replace UNIMPLEMENTED_FUNC by cellOvis.todo
2017-03-20 16:40:44 +03:00
scribam
b32ad80c23
Update PPUFunction.cpp
...
Source:
- http://www.psdevwiki.com/ps3/LV2_Functions_and_Syscalls
- http://www.psdevwiki.com/ps3/VSH_Exports
2017-03-19 20:12:11 +03:00
Nekotekina
2b79a3691f
cellVdec: default FRC workaround
2017-03-17 20:51:06 +03:00
Nekotekina
c4bdc930ca
Fix UB in PPU interpreter
2017-03-17 20:23:03 +03:00
Nekotekina
d45d8eb4bc
Stub sys_crash_dump_set_user_log_area
2017-03-17 20:08:00 +03:00
al0xf
c5e6665010
Fix async OSK loading ( #2531 )
2017-03-16 12:34:47 +03:00
Nekotekina
1b5a479bbd
Auto LLE: cellSsl
2017-03-14 19:21:03 +03:00
Nekotekina
63a107acbc
Small fix
2017-03-14 16:12:03 +03:00
Nekotekina
07646c2124
LLVM CPU override option
2017-03-14 16:12:03 +03:00
Nekotekina
b45cea1434
Opt-in LLVM logs
2017-03-14 16:12:03 +03:00
Nekotekina
3648a058d1
Auto LLE update
...
libdtslbrdec.sprx removed
Some encoders added
2017-03-14 16:12:03 +03:00
Nekotekina
90479eaad6
sys_lv2coredump, sys_crashdump modules
2017-03-14 16:12:03 +03:00
Nekotekina
1c8cb3b7d3
Boot messages
2017-03-13 18:03:38 +03:00
Nekotekina
d09dd29054
utils::memory_protect
2017-03-13 13:16:22 +03:00
ikki84
c8b9cc9fe5
Stub cellAvconfExt
...
Changed "fmt::throw_exception("Unimplemented" HERE); "
into:
"UNIMPLEMENTED_FUNC(cellAvconfExt); "
"return CELL_OK;"
Allow NPEB01283 to go further in boot (pass the intro and reaches the menu)...
2017-03-13 12:19:38 +03:00
Inviuz
b70a1edbc7
Mmapper with Neko's review fixes ( #2503 )
2017-03-12 03:15:22 +03:00
Nekotekina
7b65f93953
SPU ch69
2017-03-11 21:55:50 +03:00
Nekotekina
ce35554a55
Fixes (sys_memory, sys_mmapper)
...
DeS
2017-03-11 21:37:18 +03:00
Nekotekina
4739eb3601
Reservation fix
2017-03-11 15:48:43 +03:00
Inviuz
40a84dd477
Handles directory creation in cellGameDataCheckCreate2 ( #2488 )
...
* Handle directory creation in cellGameDataCheckCreate2
Stops some games from displaying information about not enough memory on
hdd
* Returning CELL_OK causes some games to loop on sceNp functions
for "shaman magic"
* cellGameDataCheckCreate2 added param.sfo creating/rewriting
* fix fs::file null
and one readability change
* For debugging purposes
When fs::file problem is located will be improved
* Fixed wrong operators
* Conversion from vfs to fs
Should take care of fs::null
* Cleanup
removed some unnecessary logging
* Fix successive function calls
second call was always ending in error since it didn't create the conent
permission
* Changes according to Neko's review
* Change to use u32 value
2017-03-11 11:59:50 +03:00
Jake
309f409554
Fixes: cellMsgDialog, cellPad
2017-03-11 01:13:53 -06:00
Jake
a6f8e4f6b3
Edat / Sdata: On the fly decryption for edat, fix EDAT_FLAG_0x20 decryption
2017-03-10 19:39:01 -06:00
Nekotekina
5e3bacbd9b
New reservations
...
Memory system cleanup
sys_memory_get_page_attribute
2017-03-10 15:51:40 +03:00
Ani
7cdb5f3123
Add missing system languages
...
Adds Portuguese (BR) which was introduced in firmware 4.00 alongside
with English (UK)
Adds Turkish which was introduced in firmware 4.30
2017-03-08 19:59:34 +03:00
Jake
87fe93ee9a
Mself / Sdata: on the fly partial decoding support ( #2468 )
2017-03-07 08:59:05 +08:00
Nekotekina
3baf79f929
ror64 added
2017-03-04 17:34:59 +03:00
Nekotekina
74d47943e9
sceNpDrmVerifyUpgradeLicense fixed
2017-03-04 17:14:51 +03:00
Nekotekina
8e4a09d9e5
cellFsSdataOpenByFd draft
...
LLE-compatible implementation
lv2_file::make_view implemented
2017-03-04 16:54:49 +03:00
Wilfried Rabouin
67ac8bf070
PPUInterpreter: Fix undefined behavior of left rotate functions ( #2469 )
...
* PPUInterpreter: Fix undefined behavior of rol8 and rol16 with inline assembly
* PPUInterpreter: Fix undefined behavior of rol32 and rol64
* PPUInterpreter: Change left rotate functions to inline functions and move to types.h
2017-03-04 16:41:40 +03:00
Nekotekina
48b0583866
Default LLE option
2017-03-03 01:40:27 +03:00
clienthax
bd85f23ed9
Stub sys_gamepad ycon interface ( #2435 )
...
* Attempt to add sys_gamepad...
* Stub ycon methods
Signed-off-by: clienthax <clienthax@gmail.com>
2017-02-28 19:15:11 +03:00
Ani
557e1c3694
Fix cellDiscGameGetBootDiscInfo ( #2430 )
...
cellDiscGameGetBootDiscInfo is called by non-disc games for some reason.
That wasn't accounted for and therefore it would try to read PARAM.SFO
from an unmounted path and throw an access violation.
Tested with NBA Live 08 Demo NPUB90029, probably fixes similar games as
well
2017-02-28 18:42:45 +03:00
Nekotekina
c785b14c18
LLVM fix
2017-02-28 17:16:32 +03:00
Ani
01ef9ecca4
sceNp: Fix ExitSpawn, Implement VerifyUpgradeLicense ( #2428 )
...
* sceNp: Fix ExitSpawn and ExitSpawn2
Fixes sceNpDrmProcessExitSpawn and sceNpDrmProcessExitSpawn2
functions
The problem was that first argument klicensee was missing, therefore
shifting every other argument out of place and throwing an access
violation at the end.
* Use npDrmIsAvailable on sceNpDrmProcessExitSpawn
Tries to decrypt DRM file with provided klicensee
* Implement sceNpDrmVerifyUpgradeLicense
Implements sceNpDrmVerifyUpgradeLicense / sceNpDrmVerifyUpgradeLicense2
2017-02-26 23:44:48 +03:00
Nekotekina
0eb6bf6a67
LLVM: splitting and caching
2017-02-26 20:14:18 +03:00
Ani
4d9b56c7f1
libnet: recvfrom() fix ( #2427 )
...
Prevents emulator crash when invalid socket is provided to the function
2017-02-25 23:27:31 +00:00
Nekotekina
d0afef47f8
LLVM: block borders fixed
2017-02-25 21:30:28 +03:00
Nekotekina
af53ce6f76
Stack overflow constrained
2017-02-25 19:29:31 +03:00
Nekotekina
8369cb2af6
Complex STOP 0x0 hack
2017-02-24 16:57:09 +03:00
Nekotekina
07d49b1bd8
sys_spu_thread_send_event fix
2017-02-24 16:57:09 +03:00
Nekotekina
7c418f7ea5
PPU: block info fix
2017-02-23 00:35:29 +03:00
Nekotekina
9000407a77
cpu_thread::test_state added
...
lv2_obj::sleep adjustment
synchronization fixes
2017-02-22 13:23:21 +03:00
Jake
47fdaf6902
Improve cellPngDec ( #2394 )
...
* Improve cellPngDec
- ReadHeader and SetParam corrected
- Partial loading Implemented
- Interlace Support added
- Improve error handling
* Use custom exception
* Change to catch ref
2017-02-19 14:59:49 +03:00
gmoralis
b4557789f8
Implemented cellDiscGameGetBootDiscInfo
2017-02-15 10:49:18 +02:00
georgemoralis
5d705c0e9c
fix up an issue with sceNpTrophyCreateContext ( #2382 )
2017-02-14 20:46:56 +03:00
Nekotekina
598c90f376
PPU thread scheduler
2017-02-13 22:26:11 +03:00
Nekotekina
e4962054a4
LLVM: add check state
2017-02-13 20:51:56 +03:00
Nekotekina
8891d85f75
Hack for 0x0
2017-02-13 18:32:54 +03:00
Nekotekina
d2ddb9882f
SPU: IRET, SN event
2017-02-13 16:29:32 +03:00
Nekotekina
64ac6a59c4
REG_FUNC simplified
2017-02-13 16:29:32 +03:00
Nekotekina
acd9d6ff24
Stub some modules
2017-02-12 21:35:55 +03:00
Nekotekina
f4b95c0226
PPU analyser improved
2017-02-12 21:12:08 +03:00
Nekotekina
177084b1f4
cellSysutil functions
...
E1EC7B6A implemented
2017-02-12 21:03:08 +03:00
Nekotekina
aff0484ea2
Stub some functions
2017-02-12 02:55:09 +03:00
clienthax
b407d12ed1
Make APP packages bootable - from BlackDaemon ( #2368 )
2017-02-11 22:11:04 +03:00
Nekotekina
e8bfce4ebd
decrypt_self() function
...
Fixed SPU self decryption
Fixed PSV debug self load
2017-02-11 21:36:48 +03:00
Nekotekina
3356a76c9b
PPU fix
2017-02-11 17:17:07 +03:00
Nekotekina
e899de88ff
Log empty functions
2017-02-11 02:43:31 +03:00
Nekotekina
bb111d325f
memory fix
2017-02-10 23:27:58 +03:00
Nekotekina
b20d7ff48c
PPU breakpoints resurrected
...
Now with zero overhead
2017-02-10 16:33:22 +03:00
Nekotekina
8262d56574
PPU interpreter improved
2017-02-10 16:33:22 +03:00
Nekotekina
257b9a2015
Debugger fix
...
Crash fixes
GUI fixes
Debug enhancements
2017-02-10 16:33:22 +03:00
raven02
a1189fa37a
finding from @3141card on PS3 console
2017-02-08 23:33:43 +03:00
raven02
5a2a2f49ed
add missing LV2 error code
2017-02-08 23:33:43 +03:00
Ani
6c372d1781
cellL10n: Small adjustements ( #2320 )
...
l10n: Partial jstrnchk
l10n: SBCSstoUTF8s
l10n: Replace fmt::throw_exception() for cellL10n.todo() and
return ConversionOK for String methods, 0 for character methods
and the character itself for specific methods;
2017-02-08 03:25:10 +03:00
Oil
1669d0fdbd
Minor changes ( #2352 )
...
* More initial values for rsx method registers
* Implemented spu decrementer event
* Remove u32 cast
2017-02-07 23:59:59 +03:00
Nekotekina
47b4c649f1
PPU fixes
2017-02-07 16:37:30 +03:00
Nekotekina
ead67d8e67
Minor changes
...
Fix psv loader
2017-02-07 16:37:30 +03:00
☠Emulator_Team☠
8c4ba3257c
Some changes ( #2350 )
...
cellSysutilAvc2: Use UNIMPLEMENTED_FUNC macro instead of fmt::throw_exception.
2017-02-07 15:28:19 +03:00
ikki84
05c4aa5017
cellMsgDialogOpen: Go further using cellMsgDialogOpen2. ( #2345 )
...
Notes:
Needs proper implementation (!)
The functions shows similarities but the bits in argument "type" may vary a little.
Comparing both functions but testing in NPJA00014 I believe it could be acceptable until it be implemented properly
Feel free to reject if it´s not allowed
Update cellMsgDialog.cpp
2017-02-07 13:00:19 +03:00
ikki84
9b122e5449
cellMusic.cpp Change Throw Exception into UNIMPLEMENTED_FUNC
...
Also return CELL_OK in function until the it become properly developed.
2017-02-05 19:39:21 +03:00
Nekotekina
246b9f3182
CHECK_EMU_STATUS removal
2017-02-05 17:35:27 +03:00
Nekotekina
bf6854d121
LV2_LOCK removed
2017-02-05 16:35:10 +03:00
Nekotekina
eebd48e51d
cellHddGameGetSizeKB w/a
2017-02-05 16:07:26 +03:00
Nekotekina
11b0b6958f
sys_spu diag
2017-02-05 15:48:11 +03:00
Nekotekina
ec943b38a2
sys_spu...
2017-02-05 02:26:57 +03:00
Nekotekina
68f0393cf3
sys_interrupt...
2017-02-04 20:39:04 +03:00
Nekotekina
fe26db4d36
idm::last_id cleanup
2017-02-04 20:39:04 +03:00
Nekotekina
e3e4decabf
sys_timer...
2017-02-04 20:39:04 +03:00
Nekotekina
6537909fd2
sys_event_queue...
2017-02-04 20:39:04 +03:00
Nekotekina
26ced19e18
sys_event_flag...
2017-02-04 20:39:03 +03:00
Nekotekina
3d85a89cc9
sys_lwcond, sys_lwmutex
2017-02-04 20:39:03 +03:00
Nekotekina
16944b0c4c
sys_cond, sys_mutex
2017-02-04 20:39:03 +03:00
Nekotekina
c4cc3ad81e
sys_rwlock...
2017-02-04 20:39:03 +03:00
Nekotekina
0674a58502
idm::check extended
...
idm::check_unlocked
idm::find_unlocked
idm::get_unlocked
2017-02-04 20:39:03 +03:00
O1L
57ef6dae91
Implemented cellGcmSetDefaultCommandBufferAndSegmentWordSize
2017-02-04 19:32:54 +03:00
ikki84
5aaee670d1
Update ErrorCodes.h ( #2332 )
2017-02-03 02:10:16 +03:00
Ani
9916f0e5c5
[O1L] cellVideoOut: X8B8G8R8 fix
...
O1L's fix for cellVideoOut.
2017-02-02 21:15:40 +03:00
gmoralis
9eba0ac58c
proper error code when file not found . This should fix issue #1923 at least bomberman works
2017-02-01 14:22:30 +03:00
Nekotekina
213527ca71
sys_semaphore...
2017-01-31 19:36:17 +03:00
Nekotekina
dc7ac22f84
sys_ppu
...
LV2_LOCK removal
error_code introduction
2017-01-31 18:03:09 +03:00
Ani
35b7cf4c98
Misc changes ( #2309 )
...
AppVeyor: Improve artifact name
Travis: Update notification email
README: Fix forum link and remove coveralls
sceNp2: Use UNIMPLEMENTED_FUNC macro instead of fmt::throw_exception
VK: Fix pathing for linux
AboutDialog: Fix forum link
2017-01-31 01:16:47 +03:00
Nekotekina
c733d03525
cellVdec mem limit
2017-01-30 01:50:20 +03:00
Nekotekina
b21fce4d6f
IdManager improved
...
lv2_obj for kernel objects
Simple lookup (vector)
Another idm API refactoring
2017-01-29 21:37:04 +03:00
Nekotekina
a5a2d43d7c
Thread.cpp refinement
...
Hide thread mutex
Safe notify() method
Other refactoring
2017-01-29 19:52:19 +03:00
Zangetsu38
da878c36bd
fix osk dialog ( #2302 )
2017-01-29 13:21:58 +08:00
Ryan Gonzalez
11e2965b5c
Switch to always using a steady clock ( closes #2200 )
2017-01-29 03:07:08 +03:00
Nekotekina
d4c3905355
Debug build fix
2017-01-28 15:32:45 +03:00
Nekotekina
5ee0cea672
cellAudio fix
2017-01-28 03:21:11 +03:00
Nekotekina
df6607e236
Minor fixes
2017-01-28 03:21:11 +03:00
Nekotekina
8693031b06
cellVdec: minor fix
2017-01-28 03:21:10 +03:00
Ani
5e8852af80
sceNp: Register missing functions ( #2291 )
...
Registers missing named functions exported from sceNp on firmware 4.76
2017-01-27 20:17:34 +03:00
Zangetsu38
b6f8eface7
Register missing cellSysutil and sysPrxForUser function.
2017-01-27 17:27:22 +03:00
Nekotekina
bdca52a95d
cellVdec: 2997/50 support
2017-01-26 20:01:16 +03:00
Nekotekina
33d2618e5b
cellOskDialog fixes
2017-01-26 20:01:16 +03:00
Nekotekina
2bc8723824
cellVdecDecodeAu mode implemented
2017-01-26 20:01:16 +03:00
Nekotekina
4ecf05aa13
cellFsUtime implemented
2017-01-26 20:01:16 +03:00
Nekotekina
1705638e25
MFVSCR error removed
2017-01-26 20:01:16 +03:00
Nekotekina
5db0f47710
lv2_fs_object fix
2017-01-26 04:22:15 +03:00
Nekotekina
ee173dc3a2
IdManager fix
2017-01-26 04:22:15 +03:00
Nekotekina
591a6c8671
IdManager improved
2017-01-25 23:29:36 +03:00
Nekotekina
a06223b844
IdManager sugar
2017-01-25 04:43:12 +03:00
Nekotekina
9232ddf0ab
Minor changes
2017-01-25 04:43:12 +03:00
Nekotekina
1c14d872a8
New shared_mutex
...
Experimental sync utils
New semaphore<>
New cond_variable
New owned_mutex
2017-01-25 00:38:07 +03:00
Ivan
46dde3f8f7
Fixes ( #2279 )
...
Fixed appveyor icon
PPUAnalyser fix
OSK dialog fix
2017-01-24 00:56:27 +03:00
Nekotekina
d07ea31400
cellOskDialog fix
2017-01-23 21:25:29 +03:00
al0xf
aa357b9ae8
Add OSK GUI ( #2275 )
...
* Initial commit of OSK GUI
Also handles character encoding, you can for instance input in Chinese.
* Fixes for osk gui
2017-01-23 20:14:12 +03:00
Nekotekina
78ecb115f3
LLVM: progress dialog
2017-01-22 22:44:26 +03:00
al0xf
f2ba41af46
Stub cellOsk ( #2264 )
...
* Stub cellOsk
Returns the word "rpcs3" as OSK input for now. Tested and working in
Terraria, Nier, and some homebrew. The next step would be to hook it up
to the GUI so the user can enter any text.
* Fix commit
* Fix formatting
* cellOsk improvements
* cellOsk improvements
2017-01-19 01:01:25 +03:00
Viktor Ivanov
1a4b5413bd
Log call to cellGameDataGetSizeKB
2016-12-05 21:47:23 +03:00
itmo153277
124f5d0097
Allow UE3 games to startup
2016-12-05 20:35:05 +03:00
Yishuai Li
80a9abcfc8
fix type conflict with macOS ( #2157 )
2016-10-20 03:42:14 +03:00
Melissa Goad
22b1400018
Revamp PFIFO command submission emulation ( #2179 )
2016-10-01 22:13:15 +03:00
raven02
be9cebbc8f
Workaround id_min/max ( #2079 )
2016-08-20 21:27:50 +08:00
Nekotekina
c20756136a
Minor diagnostic added
2016-08-18 13:29:53 +03:00
Nekotekina
066e3006bf
cellGameCreateGameData fixed
...
cellGameDataCheck fixed
PARAM.SFO creation fixed
2016-08-17 21:59:42 +03:00
Nekotekina
bbb0effe23
Minor fixes
...
cellSyncMutexTryLock fixed
2016-08-17 19:50:20 +03:00
Nekotekina
ad174eb12c
error_code implemented
...
Reports based on formatting system
ppu_error_code removed
arm_error_code removed
2016-08-16 18:57:44 +03:00
Nekotekina
1c33c012ad
ERROR_CODE macro removed
2016-08-15 19:18:05 +03:00
Nekotekina
3c82e1a58d
Silly macro removed-3
2016-08-15 18:30:33 +03:00
Nekotekina
dbcb5df172
WRAP_EXPR macro removed
2016-08-15 17:11:45 +03:00
Nekotekina
84d0d396ed
EXPECTS usage removed
2016-08-15 16:29:38 +03:00
Nekotekina
56b9b38c9c
verify() fix
2016-08-15 14:59:19 +03:00
Nekotekina
05fb57baff
VERIFY macro removed
2016-08-15 03:13:31 +03:00
Nekotekina
1f3433464c
ENSURES usage removed
2016-08-14 22:41:01 +03:00
Nekotekina
0f87c4485d
Silly macro removed-2
2016-08-14 18:19:42 +03:00
Nekotekina
5e0489dcc0
cpu_init removed
2016-08-14 18:07:34 +03:00
Nekotekina
7a2802a5e0
Silly macro removed
2016-08-12 19:31:28 +03:00
Nekotekina
fc56e70172
vm::ptr<char> formatting
2016-08-11 16:47:20 +03:00
Nekotekina
bdeccd889f
cpu_type removed, system_type added
...
cpu_state -> cpu_flag
vm::stack_allocator template improved
ppu_cmd type changed to enum, cmd64 type added
2016-08-09 17:14:41 +03:00
Nekotekina
a7e808b35b
EXCEPTION macro removed
...
fmt::throw_exception<> implemented
::narrow improved
Minor fixes
2016-08-08 19:19:32 +03:00
Nekotekina
46735d6b3d
New bitsets (experimental)
2016-08-08 16:29:37 +03:00
Nekotekina
c9a789bf76
PPU LLVM fix
2016-08-06 13:39:03 +03:00
Nekotekina
f7dcaa4a68
cellSysutilCheckCallback fix
2016-08-04 22:36:41 +03:00
Nekotekina
5a36c57c57
Formatting system improved
...
`unveil<>` renamed to `fmt_unveil<>`, now packs args to u64 imitating va_args
`bijective...` removed, `cfg::enum_entry` now uses formatting system
`fmt_class_string<>` added, providing type-specific "%s" handler function
Added `fmt::append`, removed `fmt::narrow` (too obscure)
Utilities/cfmt.h: C-style format template function (WIP)
Minor formatting fixes and cleanup
2016-08-04 21:34:00 +03:00
raven02
61c6f82f74
Regression fix #1995 ( #2014 )
2016-08-01 19:47:14 +08:00
Nekotekina
e6bd91ada0
id_manager: embedded RTTI
2016-08-01 12:51:47 +03:00
Nekotekina
f8719c1230
PPUThread refactoring
...
`CallbackManager` removed, added _gcm_intr_thread for cellGcmSys
`PPUThread` renamed to `ppu_thread`, inheritance allowed
Added lightweight command queue for `ppu_thread`
Implemented call stack dump for PPU
`get_current_thread_mutex` removed
`thread_ctrl::spawn`: minor initialization fix
`thread_ctrl::wait_for` added
`named_thread`: some methods added
`cpu_thread::run` added
Some bugs fixes, including SPU channels
2016-07-30 16:35:02 +03:00
Nekotekina
44bee7d0ba
LLVM: Use small code model
...
Global variables modified:
__mptr: pointer to memory base addr
__cptr: pointer to function map addr
Use 32 bit pointers in function map
2016-07-25 18:26:02 +03:00
raven02
2a3029a62c
PPU: register undocumented functions in cellSysmodule ( #1987 )
2016-07-25 08:43:02 +08:00
Nekotekina
5c9f83c3a8
PPU LLVM: New "stack" strategy
...
Minor pessimization: all memory accesses are volatile
Special handling of prologues and epilogues
Minor optimizing assumption for SP
2016-07-24 21:47:45 +03:00
Nekotekina
712c04b2ad
PPU Analyser update
...
WIP, nothing changed
2016-07-24 21:06:10 +03:00
Nekotekina
39dadad534
PPU executable memory protection
...
Experimental commit, not improved for PRX
Also fixed minor bug in PRX loader
2016-07-24 21:06:09 +03:00
Nekotekina
a026d35c97
sys_interrupt_thread_eoi fixed
...
thread_ctrl::interrupt improved
BIND_FUNC improved: preparations
2016-07-24 21:06:07 +03:00
Nekotekina
7ccdea7822
Removed std::enable_shared_from_this
...
Minor ID manager refactoring
2016-07-24 21:06:05 +03:00
Nekotekina
5eb98b745f
cellVdec fixed (requires LLE dmux)
...
Basic MPEG2 support
2016-07-22 18:29:05 +03:00
Nekotekina
0227c03366
GUI logging improved
...
logs::listener resurrected
rpcs3 version: constexpr
2016-07-21 01:54:39 +03:00
Nekotekina
fc9fdca3f6
Make TLS great again
...
And clean System.h a bit
2016-07-19 14:06:39 +03:00
Nekotekina
438e057dc8
Partial commit: sys_fs
2016-07-17 02:27:52 +03:00
Nekotekina
96728a83f6
Partial commit: sys_memory, sys_mmapper
2016-07-16 14:46:01 +03:00
Nekotekina
f5e65e4ad9
Partial commit: sys_tty
2016-07-16 14:45:59 +03:00
Nekotekina
c95f6c8c56
Partial commit: sys_vm
2016-07-16 14:45:58 +03:00
Nekotekina
73c2115968
BEType: explicit alignment specifier
2016-07-16 14:45:57 +03:00
Nekotekina
c77dec6d6a
PPU Analyser improved
...
Fix for old homebrews
2016-07-15 13:42:22 +03:00
AnnieL
dc34d5b350
cell: add several error (return) codes and definitions ( #1914 )
...
* cellHttp: add error codes
Adds error codes for cellHttp and cellHttps
* libDaisy: adds error codes and definitions
Adds error codes, assertations and definitions for cellDaisy.
* cellHttpUtil: add error codes
Adds error codes for cellHttpUtil.
* cellCelp8Enc: moves error codes, adds definitions
Moves error codes to cellCelp8Enc.h, adds some definitions.
* cellCelpEnc: moves error codes, adds definitions
* cellJpgEnc: adds error codes and definitions
Moves the existant error codes to cellJpgEnc.h and adds more error codes
/ definitions.
* cellVoice: moves error codes, adds definitions
Moves error codes to cellVoice.h, adds most cellVoice definitions
* Fix typos
2016-07-15 00:02:07 +03:00
AnnieL
ca835ba68a
cellGame: unknown category temporary fix (hack) ( #1909 )
...
All the games I've been trying to load from outside RPCS3's bin directory are returning me empty directories
```
{PPU[0x3] Thread (main_thread) [0x011223d8]} class fmt::exception thrown: cellGameBootCheck(): Unknown CATEGORY:
```
This is a hack for when the category is empty or unknown.
We assume it's a disk game and proceed with the emulation.
2016-07-14 23:12:26 +03:00
raven02
d60b292ef1
Modules: savedata fix ( #1910 )
2016-07-15 00:28:26 +08:00
Nekotekina
eb377f425c
PPU LLVM: Analyser fix
...
ppu_branch_target removed
2016-07-14 16:27:14 +03:00
Nekotekina
0a5b518aea
PPU Analyser fix
2016-07-13 02:54:34 +03:00
Nekotekina
94da0dbd4d
PPU LLVM improvements
...
Removed interpreter dependencies
Reciprocal instructions improved
2016-07-12 17:33:13 +03:00
Nekotekina
06c6c8212d
Minor fixes
...
elf_object
Loader fix
Analyser fix
2016-07-11 16:30:11 +03:00
raven02
d4da0e052d
sys_net: add few socket options ( #1874 )
2016-07-10 02:30:56 +08:00
Ivan
77594dc66c
PPU LLVM: New analyser ( #1858 )
...
Minor fixes
VEX prefix support
2016-07-07 21:42:39 +03:00
Lena
869e10027d
Add optimal build options to CMakeLists ( #1841 )
...
Provides two options when building RPCS3
USE_SYSTEM_FFMPEG BOOL (default: OFF)
USE_SYSTEM_LIBPNG BOOL (default: OFF)
These options lets the user select between the system provided and builtin libraries of ffmpeg and libpng to overcome possible system issues.
Also adds support for older libpng releases if the user doesn't have libpng 1.5 or higher.
2016-07-01 12:07:16 +08:00
Nekotekina
0ea0c21fed
LLVM: Indirect call map
2016-06-27 19:34:14 +03:00
Nekotekina
7a921cbdf9
cpu_thread compressed
2016-06-27 16:43:57 +03:00
Nekotekina
9db7de29fb
Syscall analysis implemented
2016-06-27 16:43:56 +03:00
Nekotekina
a19b721c26
LLVM: Added JIT.cpp
...
Refactoring, used -fno-rtti option
2016-06-27 16:43:53 +03:00
Nekotekina
73ea020525
PPU LLVM: Thread context argument
2016-06-27 16:43:50 +03:00
DH
55bc9eda9a
Do not throw exception if cellDiscGame* executed
...
That not a critical situation, simple message in the log should be a good enough
2016-06-26 21:32:48 +03:00
raven02
4a08e8cd0b
sys_ppu_thread_create break fix ( #1824 )
2016-06-25 22:36:48 +08:00
raven02
091b6711ae
sys_net: set other options using setockopt() ( #1815 )
...
* sys_net: set other options using setockopt()
* typo fix
* Typo fix #2
2016-06-23 09:54:46 +08:00
Nekotekina
251fb86ab0
PPU LLVM: Some instructions simplified
2016-06-21 18:08:21 +03:00
Nekotekina
860926d731
File op buffer
2016-06-21 13:22:07 +03:00
raven02
c96057296a
Fix invalid map<K, T> key error ( #1801 )
2016-06-20 06:43:13 +08:00
Nekotekina
a8bebcba55
LLVM AOT
2016-06-19 21:29:48 +03:00
Nekotekina
6fa5e2cc7c
PPUAnalyser.h added
2016-06-19 20:50:21 +03:00
Raul Tambre
2e5d20c315
sys_net: Use IDM, initialize networking on startup
2016-06-03 08:56:37 +03:00
Raul Tambre
31ec26a7a1
Big sys_net improvements and fixes
...
* Error codes are now properly handled
* Couple more functions implemented
* Support for setting certain socket information
* socketselect() handles Unix waiting behaviour on Windows
* accept() fixed
2016-06-03 08:56:37 +03:00
Raul Tambre
8d2b6f6054
Implement sceNpUtilCmpNpId
...
Will need a full implementation of emulated network to be "fully"
implemented.
2016-06-03 08:56:37 +03:00
Raul Tambre
b073ead988
cellUserInfo: Cleanup, notify about errors
2016-06-03 08:56:37 +03:00
Raul Tambre
97083ebba4
Implement cellFsAllocateFileAreaWithoutZeroFill
...
And a couple minor null pointer checks in sys_fs.
2016-06-03 08:56:37 +03:00
Nekotekina
e2d82394f6
Cell
2016-05-23 16:22:23 +03:00
John
ce3fdeda5e
Replace math macros by function calls from cmath. ( #1695 )
2016-05-19 19:15:56 +03:00
Ivan
aafcf44581
Header optimizations ( #1684 )
...
Shouldn't break anything. I hope.
2016-04-27 01:27:24 +03:00
Ivan
da7472fe81
Optimizations ( #1680 )
...
* Optimizations
1) Some headers simplified for better compilation time
2) Some templates simplified for smaller executable size
3) Eliminate std::future to fix compilation for mingw64
4) PKG installation can be cancelled now
5) cellGame fixes
6) XAudio2 fix for mingw64
7) PPUInterpreter bug fixed (Clang)
* any_pod<> implemented
Aliases: any16, any32, any64
rsx::make_command fixed
2016-04-25 13:49:12 +03:00
Ivan
75fe95eeb1
GSL moved from stdafx.h ( #1676 )
...
Added GSL.h helper for correct including
2016-04-20 02:32:27 +03:00
Ivan
efc8779275
SPU channel optimization ( #1675 )
2016-04-19 16:04:02 +03:00
Nekotekina
4cf41305e0
Partial commit: Cell (deletions)
2016-04-15 19:22:35 +03:00
Nekotekina
c4e99dbdb2
Partial commit: Cell
2016-04-15 19:22:34 +03:00
Nekotekina
42e1d4d752
Partial commit: Syscalls
2016-04-15 19:22:30 +03:00
Nekotekina
5637c22363
Partial commit: Modules (cell)
2016-04-15 19:22:29 +03:00
Nekotekina
7e30a0f464
Partial commit: Modules
2016-04-15 19:22:25 +03:00
Vincent Lejeune
72375d9e3d
build: Add a separate project for ppu llvm recompiler
...
Fix some defect found by static analysis.
2016-03-02 14:53:14 +01:00
Nekotekina
960668ecf1
For #1355
...
offsetof() eliminated
OFFSET_32, SIZE_32, ALIGN_32 used
2016-01-14 19:07:27 +03:00
Nekotekina
38531459df
Logging system rewritten
...
GUI doesn't freeze anymore
Some things simplified
2016-01-13 18:54:57 +03:00
Nekotekina
b3e3c68f15
File utility improved
...
+ minor fixes
2016-01-13 14:12:04 +03:00
Raul Tambre
3afc62e525
Fix #1368
2016-01-08 08:39:34 +02:00
Vincent Lejeune
082815f93e
llvm: Implement trap instructions
2015-12-29 22:25:19 +01:00
Vincent Lejeune
243bc0d06e
PPU/LLVM: Use interp version of some instruction for debugging purpose.
2015-12-23 17:03:01 +01:00
Vincent Lejeune
e7df81ade0
PPU/LLVM: Call fast_stop when function returns and PC corresponds
2015-12-23 17:02:56 +01:00
Vincent Lejeune
743f5f07cb
llvm: Reenable debug info dump
2015-12-23 17:02:51 +01:00
Nekotekina
3ed603074c
Changes done by [DH] rewritten
...
Added rsx_program_decompiler submodule
Added fs::dir iterator
Added fmt::match
2015-12-22 23:11:20 +03:00
Nekotekina
321e6d3a86
fs::get_config_dir, fs::get_executable_dir
2015-12-20 15:41:06 +03:00
DHrpcs3
8a21e0fcb8
Implemented some cellSaveData functions
...
Implemented cellSaveDataListSave, cellSaveDataListLoad,
cellSaveDataFixedSave, cellSaveDataFixedLoad, cellSaveDataAutoSave,
cellSaveDataAutoLoad
2015-12-20 10:39:07 +02:00
DHrpcs3
416d66a438
Ignore SPU sync channels
2015-12-20 10:16:31 +02:00
Vincent Lejeune
8e451126ac
llvm: Make Compiler class a module builder only class.
2015-12-06 23:51:50 +01:00
Vincent Lejeune
7ae1b51753
llvm: Remove PPULLVMRecompilerTests.cpp
2015-12-05 22:17:28 +01:00
Nekotekina
3465106456
Shared PCH (experimental)
...
"Rebuild" is broken though.
2015-12-04 23:37:44 +03:00
Nekotekina
82cb8fe5bd
SharedMutex improved
2015-12-04 23:37:39 +03:00
Nekotekina
ca6783ba9a
Threads improved, ID manager improved
2015-12-04 23:37:34 +03:00
Nekotekina
5f6caf33f0
MINGW64: Compilation fix
2015-11-16 19:12:51 +03:00
Nekotekina
a4db58f5f2
Added fs::file_ptr, fom::rewrite, cleanup
2015-11-14 20:26:40 +03:00
O1L
c0255208cc
Old ini-manager only partially used in VFS. Global configuration used as defualt.
2015-10-27 01:09:31 +04:00
O1L
1673ba217c
Do not try to change default config, use state configs.
2015-10-24 22:48:07 +04:00
Nekotekina
fd628d8345
Minor changes
2015-10-22 22:38:34 +03:00
Nekotekina
a974ee009e
vm::var improved, cleanup
...
Mostly vm::var initialization introduced.
Added vm::make_var function.
2015-10-14 18:17:37 +03:00
Nekotekina
8ae3401ffa
Some things improved
...
shared_mutex_t implemented
GUI Emu Callbacks rewritten
fxm::import, fxm::import_always implemented
cellMsgDialog rewritten
Emu.CallAfter improved (returns std::future)
2015-09-22 16:48:21 +03:00
Nekotekina
59f1077a36
Cleanup, be_t fixed
...
Some functions renamed:
get_ps3_function_name
execute_syscall_by_index
2015-09-22 13:28:34 +03:00
Danila Malyutin
11eeab0a1a
PPU/LLVM: Added noexcept and some fixes
2015-09-19 17:09:50 +03:00
Danila Malyutin
3208a7713f
PPU/LLVM: Fix for crashes on exit with jit
2015-09-19 17:09:49 +03:00
Vincent Lejeune
05c5058dfd
PPU/LLVM: Remove useless call to NotifyBlockStart
...
Likely a rebase error, with this Metal Slug can run at 60 fps again.
2015-09-16 22:39:49 +02:00
Vincent Lejeune
c407c786cc
PPU/LLVM: Do not notify already compiled block.
...
Also flush m_pending_address_start to avoid memory consumption
explosion.
2015-09-15 19:21:40 +02:00
Vincent Lejeune
ecb3d93918
PPU/LLVM: Remove lock in GetCompiledExecutableIfAvailable
...
This should increase performance a lot in some case.
2015-09-15 19:21:40 +02:00
Vincent Lejeune
667cb64c29
PPU/LLVM: Rename ProcessExecutionTrace to better reflect what it does.
2015-09-15 19:21:40 +02:00
Vincent Lejeune
359258c3d3
PPU/LLVM: Increase recompiler thread responsiveness.
2015-09-15 19:21:39 +02:00
Vincent Lejeune
9d18bba1df
PPU/LLVM: Propagate exceptions
...
It fixes a crash in Retro City Rampage with low (ie 10) llvm threshold.
2015-09-15 19:21:39 +02:00
Nekotekina
7e01c81154
SPU Recompiler fixed
2015-09-07 00:36:32 +03:00
Nekotekina
817fec9684
SPU Cleanup
...
SPURecompiler improved
Old SPU decoder removed
SPU Interpreters merged
2015-09-02 00:38:44 +03:00
Vincent Lejeune
58181c5c17
PPU/LLVM: Remove indirect call completly
2015-09-01 18:58:14 +03:00
Vincent Lejeune
02a1bffc12
PPU/LLVM: Simplify trace management
2015-09-01 18:58:11 +03:00
Vincent Lejeune
f2c8db75bf
PPU/LLVM: Do not recompile blocks
2015-09-01 18:58:10 +03:00
Vincent Lejeune
5fe3ea6440
PPU/LLVM: Use a big table instead of an unordered_map to get compilation result.
...
The hashmap overhead may be really big in some case.
2015-08-26 22:22:01 +02:00
Vincent Lejeune
942f26509b
Memory: Factorize virtual memory reservation/allocation code in function
2015-08-26 21:54:40 +02:00
Vincent Lejeune
241dedef4e
PPU/LLVM: Properly print verification string
2015-08-26 21:54:40 +02:00
Vincent Lejeune
eb90e509f9
PPU/LLVM: Avoid using an indirect call for function call
2015-08-26 21:54:39 +02:00
Vincent Lejeune
b2ca9edde2
PPU/LLVM: Use ExecuteFunction in ExecuteTillReturn
2015-08-26 21:54:39 +02:00
Vincent Lejeune
f81192373f
PPU/LLVM: Replace magic number with opcode enum in GetBranchTypeFromInstruction.
2015-08-26 21:54:39 +02:00
Danila Malyutin
3468a7ebcf
PPU/LLVM: Add regression tests for SUBFIC
2015-08-26 14:39:50 +03:00
Danila Malyutin
8ea7da56ec
PPU/LLVM: Fix SUBFIC instruction
...
Fixes sprites in Disgaea 3
2015-08-26 14:39:48 +03:00
Nekotekina
e551e2bc5d
Bugfix
2015-08-24 21:22:49 +03:00
Nekotekina
5e14310071
noexcept usage fixed
...
thread_t renamed to named_thread_t
2015-08-24 21:22:48 +03:00
Nekotekina
ce494f8847
fmt::by_value, fmt::Format removed
2015-08-24 21:22:42 +03:00
Nekotekina
15057ffc5e
wtf?
2015-08-24 21:22:40 +03:00
Nekotekina
73b108765e
fs:: const renaming, fs::g_tls_error stub
2015-08-24 21:22:39 +03:00
Nekotekina
be9a599beb
PPU Decoder Cache improved
2015-08-24 21:22:35 +03:00
Nekotekina
eb63558c6d
KernelExplorer improved
2015-08-24 21:22:34 +03:00
Nekotekina
6f3c50eba2
u128 renamed to v128
...
Since it's vector union type
2015-08-24 21:22:23 +03:00
Nekotekina
dd665e7363
ID manager simplified
...
ID manager refactoring, redundant "type" information removed
2015-08-24 21:22:19 +03:00
Danila Malyutin
aeee0758c2
Ignore warnings in VS from llvm headers
2015-08-16 23:40:03 +03:00
Raul Tambre
a775b428f4
Merge pull request #1173 from vlj/llvm36-debug
...
Add debug options for llvm compiler
2015-08-12 17:53:49 +03:00
Raul Tambre
d10c44ed3a
Merge pull request #1175 from danilaml/appveyor-cmake
...
Make it possible to compile rpcs3 on win via cmake and make win builds available for download on appveyor
2015-08-11 20:44:22 +03:00
Vincent Lejeune
e459d01927
PPU/LLVM: Add debug tool for LLVM recompiler
2015-08-11 18:10:32 +02:00
Vincent Lejeune
6e8a5f3a5f
PPU/LLVM: Avoid recompiler thread spinning forever
2015-08-10 20:32:22 +02:00
Vincent Lejeune
53769ae1bd
PPU/LLVM: Fix recursive call crashing llvm backend
2015-08-10 19:59:30 +02:00
Raul Tambre
fd5fbab115
Merge pull request #1171 from vlj/llvm-fix
...
Fix Sonic CD music with LLVM backend
2015-08-08 18:35:29 +03:00
Danila Malyutin
ddff65d288
Make it possible to build rpcs3 via cmake/vs2015 combo.
2015-08-08 04:43:08 +03:00
Danila Malyutin
a3c22eb836
Add MTOCRF tests
2015-08-06 03:43:49 +03:00
Danila Malyutin
98a3cbdf84
Fix MTOCRF instruction
...
to be the same as interpreter.
2015-08-06 03:43:48 +03:00
Vincent Lejeune
09347ba92a
PPU/LLVM: Fix MTOCRF instruction
2015-08-05 17:27:59 +02:00
Vincent Lejeune
fc3314ea96
PPU/LLVM: Print PPC block before translated LLVM bytecode
2015-08-05 17:27:59 +02:00
Hykem
0541371a0e
Merge pull request #1161 from Nekotekina/master
...
Various changes
2015-08-02 16:54:27 +01:00
Nekotekina
6da5138683
sysPrxForUser module split
2015-08-02 05:15:49 +03:00
Danila Malyutin
eac63f7265
Fix crashes in tests with unresolved "func" errors
...
and uncomment fixed tests
2015-08-02 04:16:44 +03:00
Vincent Lejeune
8f490e8ecd
PPU/LLVM: Try to fix crash (again) when cleaning modules
2015-08-01 21:56:44 +02:00
Nekotekina
ff1f6d3d4f
PPUInterpreter formal fix (affects nothing)
2015-08-01 14:38:53 +03:00
Nekotekina
ffc11bfda3
b8 type
2015-08-01 14:38:45 +03:00
Danila Malyutin
582329ffc6
Fixes for some of clang warnings
2015-07-26 23:24:37 +03:00
Danila Malyutin
5ae6586803
Add missing override specifiers
2015-07-26 18:37:14 +03:00
Danila Malyutin
e810eabd32
Clean up and fixes
2015-07-26 18:09:33 +03:00
Danila Malyutin
6849192b39
Tabify
2015-07-26 18:09:31 +03:00
Danila Malyutin
6832910187
Update llvm tests to work with new mcjit recomp
...
WIP, also found some offending instructions with it.
2015-07-26 18:09:29 +03:00
vlj
26f6b89530
PPU/LLVM: Remove duplicate m_address_to_ordinal map and improve cleaning
2015-07-22 02:11:00 +03:00
vlj
501c14fc65
PPU/LLVM: Clean code
...
Replace auto with real type, reduce indent and useless variables...
2015-07-22 02:10:58 +03:00
vlj
4adb9a2683
PPU/LLVM: Do not cache block
2015-07-22 02:10:57 +03:00
vlj
abd61538ea
PPU/LLVM: Rename ExecutionEngine to CPUHybridDecoderRecompiler
...
In order to avoid naming conflict with llvm own ExecutionEngine
2015-07-22 02:10:55 +03:00
vlj
7592b87a90
PPU/LLVM: Fix build
2015-07-22 02:10:54 +03:00
Nekotekina
b3dfa4f5a2
VS2015
2015-07-22 02:10:14 +03:00
vlj
cfa0079c3d
PPU/LLVM: Fix branch detection
...
Thanks Nekotekina for the fix
2015-07-22 01:32:19 +03:00
Vincent Lejeune
b7d5d70a92
PPU/LLVM: Fix for callback spinning undefinitly
...
Thanks for Nekoteki for the fix
2015-07-22 01:32:18 +03:00
Nekotekina
0aefaec46e
sys_event improved, some unnamed functions named
2015-07-21 23:14:38 +03:00
Nekotekina
6255f3b07d
sys_event_flag improved
2015-07-21 23:14:34 +03:00
Nekotekina
bc91ad0f4d
sys_event improved
2015-07-21 23:14:33 +03:00
Nekotekina
2f7fe35f5c
Minor style change
2015-07-21 23:14:31 +03:00
Nekotekina
8175630619
sys_cond/sys_mutex improved
2015-07-21 23:14:29 +03:00
Nekotekina
43d3ccce95
SPU Channels improved
2015-07-21 23:14:28 +03:00
Nekotekina
5bd83516ba
SPU Interrupt Enable Status implemented
...
SPU Interrupts are still NOT implemented
2015-07-21 23:14:25 +03:00
Nekotekina
a7668ff57f
SPU_EVENT_LR improved
2015-07-21 23:14:22 +03:00
Nekotekina
a8fcf71f9c
Minor bugfix, cleanup
2015-07-21 23:14:04 +03:00
Nekotekina
3bc6c53eb3
sys_interrupt improved
2015-07-18 03:12:10 +03:00
Nekotekina
b8a27d8a4c
Silly bugs fixed
2015-07-18 03:12:08 +03:00
Nekotekina
48c75105e2
"Memory" eliminated
2015-07-18 03:12:06 +03:00
Nekotekina
2d37c6b5e2
sys_memory, sys_mmapper rewritten
...
LogBase::Fatal() removed
2015-07-10 20:37:12 +03:00
Nekotekina
4bacfcf847
sys_lv2dbg added, bugfix
2015-07-10 04:31:41 +03:00
Nekotekina
daa93a7226
ARMv7 func binder improved (faster compilation)
2015-07-10 04:31:39 +03:00
Nekotekina
82781e620a
Small fixes
2015-07-10 04:31:36 +03:00
Nekotekina
c0f13f7084
sleep_queue_t rewritten, used in sys_cond/sys_mutex
...
Some synchronization fixes
2015-07-10 04:31:34 +03:00
Nekotekina
83321c5be7
sys_time_get_current_time fixed, CALL_FUNC draft
2015-07-10 04:31:30 +03:00
Nekotekina
22e1da5e76
Minor cleanup
2015-07-10 04:31:29 +03:00
Nekotekina
3064cf8101
CHECK_EMU_STATUS, autojoin_thread_t
2015-07-10 04:31:27 +03:00
Nekotekina
8f9e1100c8
SPU fixes, various fixes
2015-07-10 04:31:25 +03:00
Nekotekina
721ad404d2
VM_CAST macro
2015-07-10 04:31:23 +03:00
Nekotekina
32d3d1fbe5
EXCEPTION() macro usage, sceNpTrophy improved
2015-07-10 04:31:20 +03:00
Nekotekina
6f1e76198a
Some fixes
2015-07-10 04:31:18 +03:00
Nekotekina
3aefa2b4e1
ThreadBase rewritten (wip)
2015-07-10 04:31:16 +03:00
Nekotekina
c598fe7aa9
atomic_op() rewritten, atomic.h refactoring
...
cellSync refactoring, wait_op() rewritten, bugfixes
2015-07-10 04:31:10 +03:00
Nekotekina
39f836b495
re32/se32/... macro eliminated, some fixes
2015-07-10 04:31:09 +03:00
Nekotekina
ef6f9f6ded
be_t constructor implemented, make() eliminated
...
be_t enums are forbidden, le_t improved, some operators cleaned.
2015-07-10 04:31:07 +03:00
Nekotekina
714da1aa7c
vm::var fix, vm::ptr improved
...
GetCurrentPPUThread() removed
2015-07-10 04:31:00 +03:00
S Gopal Rajagopal
5b7f701878
SPURS: Implement SPURS SPU thread exit using throw
...
Conflicts:
rpcs3/Emu/SysCalls/Modules/cellSpursSpu.cpp
2015-07-10 04:30:56 +03:00
Nekotekina
a7f77c27f7
ARMv7Context used through multiple inheritance
...
Forgive me...
2015-07-10 04:30:49 +03:00
Nekotekina
6c4148a949
Bugfix
2015-07-10 04:30:47 +03:00
Nekotekina
edb9595721
Using vm::ps3 namespace moved in proper places
...
Various fixes
2015-07-10 04:30:41 +03:00
Nekotekina
1256d648c1
be_t simplified, vm::ref improved
...
remove_be_t renamed to to_ne_t (to native endianness)
le_t and to_le_t draft, bugfixes
2015-06-15 19:21:07 +03:00
Danila Malyutin
ee715d9d36
Make ppuJIT testlog more compact and easier to read
2015-06-02 23:11:46 +03:00
Nekotekina
b84d831d8f
MFF_NO_RETURN flag introduced
2015-05-29 01:49:50 +03:00
Nekotekina
78fdcf75e7
Attribute macro changed
...
__forceinline -> force_inline
__noinline -> never_inline
printf_alike(x,y) added
2015-05-28 18:14:22 +03:00
Nekotekina
f83306b0bf
Fix
2015-05-27 15:49:54 +03:00
Nekotekina
22b78fec71
IdManager improved, atomic_t improved
...
Various changes
2015-05-27 06:11:59 +03:00
Nekotekina
f92c10ef71
Minor fixes
2015-05-08 12:45:21 +03:00
Nekotekina
ff359ed118
SPU Interpreter2 initialization fix
2015-04-26 01:56:58 +03:00
Hykem
d18d19870f
Merge pull request #1062 from Nekotekina/master
...
SPURecompiler improved
2015-04-25 19:32:47 +01:00
Nekotekina
74b3580b69
rfile_t renamed
2015-04-25 00:38:11 +03:00
Nekotekina
b449545ae0
Compilation fix
2015-04-24 18:12:40 +03:00
Nekotekina
743421881e
Some code disabled
2015-04-22 00:18:34 +03:00
Nekotekina
935302b620
Bugfix
2015-04-20 02:49:13 +03:00
Nekotekina
b1f7543436
PPU stack fixed (2)
2015-04-18 04:35:58 +03:00
Nekotekina
b7fd09740b
PPU stack fixed
2015-04-18 03:25:26 +03:00
luxsie
0f1bb8545d
Tab to Space.
2015-04-18 03:12:25 +08:00
Nekotekina
4d85a49666
SPURS fixed
2015-04-13 20:39:38 +03:00
Nekotekina
85b63de631
Events improved
2015-04-13 16:32:09 +03:00
luxsie
0233fbff51
Thanks to @Nekotekina, about his patience on SPUThread.h.
2015-04-13 00:37:58 +08:00
Nekotekina
ea5110cec3
Various changes
2015-04-12 04:36:25 +03:00
luxsie
147c50e7ca
Removed some useless comments, thank Neko.
2015-04-11 00:27:20 +08:00
luxsie
900389d857
CppCheck: Tried to classify and marked some lines that weird.
2015-04-10 20:13:25 +08:00
luxsie
cd23a2ecaf
CppCheck: About assert side-effect and remove_if that i don't know enough..
2015-04-10 19:29:45 +08:00
Nekotekina
d1fbccc9ce
SPURecompiler improved
2015-04-05 21:01:15 +03:00
Nekotekina
d2883fc554
SPURecompiler cleanup
2015-04-04 21:21:49 +03:00
B1ackDaemon
952098c00f
Merge pull request #1046 from Nekotekina/new_interpreter
...
Alternative interpreters
2015-04-04 20:03:18 +03:00
Nekotekina
26b5eebc17
Bugfixes
2015-04-04 19:00:02 +03:00
Nekotekina
1c82e8b1d5
Bugfixes
2015-04-03 19:56:57 +03:00
Nekotekina
59effb3412
PPU: some instructions replaced
2015-04-02 18:22:43 +03:00
Nekotekina
6b9a6c50fe
PPU: some instructions replaced
2015-04-01 17:01:04 +03:00
Nekotekina
72fdcf120c
PPU: some instructions replaced
2015-03-31 17:54:41 +03:00
Nekotekina
3247152ff7
PPU: some instructions replaced
2015-03-29 14:00:10 +03:00
Nekotekina
d640aba903
PPU: some instructions replaced
2015-03-26 21:42:12 +03:00
Nekotekina
75fa95c7ff
PPU: some instruction replaced
2015-03-24 22:54:15 +03:00
Nekotekina
ec8519b969
LLVM stack overflow fix
2015-03-24 18:17:53 +03:00
Nekotekina
f095dec43d
Compilation fix
2015-03-22 02:22:24 +03:00
Nekotekina
dc6c21833d
SPU: completed
2015-03-22 01:03:28 +03:00
Nekotekina
08dd95e52b
SPU: Floating Interpolate implemented
2015-03-21 22:39:56 +03:00
Nekotekina
a86317ce5a
SPU: some instructions updated
2015-03-21 21:07:37 +03:00
Nekotekina
e477a0b8fc
SPU: some instructions updated
2015-03-21 18:36:56 +03:00
Nekotekina
ff1708a899
SPU: some instructions updated
2015-03-21 17:29:33 +03:00
Nekotekina
ef563f038d
SPU: some instructions updated
2015-03-21 02:36:05 +03:00
Nekotekina
c8bb83b824
spu_opcode_t
2015-03-20 20:30:13 +03:00
Nekotekina
63276a3f84
SPU interpreter (basic concept)
2015-03-20 19:53:54 +03:00
Nekotekina
620e937473
Basic load
2015-03-17 23:03:24 +03:00
Nekotekina
573f112b37
Small update
2015-03-17 03:44:35 +03:00
Nekotekina
0ca4c189a5
Small update
2015-03-17 02:18:13 +03:00
Nekotekina
a71cb5f521
Basic concept
2015-03-17 00:38:21 +03:00
Nekotekina
6a0ce1850a
Initial commit
2015-03-16 21:50:59 +03:00
Nekotekina
3e412a2a1f
Syscall names registered
2015-03-15 16:26:01 +03:00
Nekotekina
3e34bd64bf
Compilation fix
2015-03-13 04:59:25 +03:00
Nekotekina
c88e0a0eb9
Small cleanup
2015-03-13 04:09:53 +03:00
Nekotekina
a3d400b5cc
Minor cleanup
2015-03-11 18:30:50 +03:00
Nekotekina
1d2351bf85
Attempt to fix bug
2015-03-08 00:20:38 +03:00
Nekotekina
961fc27215
Minor cleanup
2015-03-07 16:39:07 +03:00
Nekotekina
d234493b4a
Compilation fix
2015-03-07 01:58:42 +03:00
Nekotekina
ef65299dff
Lv2 Cond/Mutex rewritten, bugfixes
2015-03-07 01:10:04 +03:00
Nekotekina
e2a2709ad0
Event Flag refactoring, bugfixes
2015-03-06 00:29:05 +03:00
Nekotekina
5d768bd3cf
Bugfix, sys_spu_thread_group_connect_event implemented
2015-03-05 16:18:06 +03:00
Nekotekina
f22001d527
Bugfix
...
+sys_spu_thread_group_disconnect_event_all_threads
2015-03-05 02:34:20 +03:00
Nekotekina
9e49a33b3c
SPU syscall improvements
2015-03-05 00:51:14 +03:00
Nekotekina
ad38e9f0fe
event_queue_t, event_port_t rewritten
2015-03-04 07:42:04 +03:00
Nekotekina
78c37ff8b6
Some bicycle for PSV
2015-03-03 23:09:23 +03:00
Nekotekina
8587ae5883
Compilation fix
2015-03-03 02:34:49 +03:00
Nekotekina
5f8cf18a5a
SPU refactoring
2015-03-03 00:09:20 +03:00
Nekotekina
bc94d92cba
nyu
2015-03-02 05:10:41 +03:00
Nekotekina
eaf3787ae6
Imports fixed
2015-02-28 21:47:37 +03:00
Nekotekina
942d984dc5
sys_process_get_paramsfo implemented
2015-02-28 17:41:15 +03:00
Nekotekina
6cbdeb9411
Unused code removed
2015-02-28 15:37:06 +03:00
Nekotekina
d62e95d0f8
Success log level fixed
2015-02-27 21:11:07 +03:00
Nekotekina
ae21783680
sys_libc.cpp with memcpy
2015-02-26 23:08:48 +03:00
Nekotekina
88476fe698
Insignificant changes
2015-02-26 21:26:44 +03:00
Nekotekina
be4e85f0f2
PPCThread removed (it does nothing anyway)
2015-02-26 03:54:49 +03:00
Nekotekina
0b21474b79
Logging fixed
2015-02-25 14:48:12 +03:00
Nekotekina
9ee9523680
StaticFuncManager removed
2015-02-21 17:07:22 +03:00
Nekotekina
faaef03604
Fix
2015-02-21 14:30:26 +03:00
Nekotekina
152feb898e
libmixer fix
2015-02-19 22:17:30 +03:00
Nekotekina
2d1d996c50
Small fix
2015-02-19 14:18:28 +03:00
S Gopal Rajagopal
4272ec7a82
PPUJIT: Convert tabs to spaces
2015-02-19 00:37:09 +05:30
S Gopal Rajagopal
85648da706
Merge remote-tracking branch 'upstream/master'
2015-02-18 23:43:37 +05:30
S Gopal Rajagopal
681fb1eeaa
PPUJIT: Support stopping/pausing threads (does not always work)
2015-02-18 23:40:04 +05:30
Nekotekina
af986d8f4c
Loader improved, ModuleManager refactored
2015-02-18 19:22:06 +03:00
Nekotekina
1f2eafc4f2
Loader fixed
2015-02-17 18:27:15 +03:00
S Gopal Rajagopal
1365c830b2
PPUJIT: Fix EOL issues
2015-02-16 23:07:22 +05:30
S Gopal Rajagopal
3a2b13c02b
PPUJIT: Fix unit tests
2015-02-16 23:00:41 +05:30
S Gopal Rajagopal
e7f278b5d2
PPUJIT: Support exception based MMIO and reservations
2015-02-16 22:49:17 +05:30
Nekotekina
e6c628caba
Memory (unfinished)
2015-02-16 04:53:53 +03:00
Nekotekina
1189503b4d
Some cleanup
2015-02-15 20:13:06 +03:00
Nekotekina
f01059283a
Some cleanup
2015-02-14 00:45:36 +03:00
Nekotekina
0d489518ab
Compilation fix
2015-02-13 23:24:18 +03:00
Nekotekina
5fc77fe89e
Merge branch 'master' of https://github.com/DHrpcs3/rpcs3
2015-02-13 23:15:35 +03:00
Hykem
fcd300ad4d
Merge pull request #1008 from robxu9/master
...
Fix building on OS X 10.10
2015-02-13 15:55:08 +00:00
Nekotekina
267de68441
Memory cleanup, page flags implemented
...
RSXCMDMem, SPRXMem, MmaperMem removed
MainMem range fixed
2015-02-13 17:04:03 +03:00
Nekotekina
0eebfb0aaa
Memory cleanup: u64 -> u32, empty TLS fixed
...
cellGameContentPermit fixed
2015-02-12 23:10:25 +03:00
Nekotekina
250fb15592
Compilation fix 3
2015-02-11 15:25:20 +03:00
Nekotekina
fdc5fa34be
Bugfix
2015-02-11 14:39:51 +03:00
S Gopal Rajagopal
853234f7d7
Merge remote-tracking branch 'upstream/master' into spurs_taskset
2015-02-11 15:00:46 +05:30
Robert Xu
00e637645c
Fix building on OS X 10.10
2015-02-10 23:17:39 -05:00
Nekotekina
31bbf56ff1
Reservations improved
2015-02-08 18:25:50 +03:00
Nekotekina
19acaf3f86
Bugfix, ECIWX/ECOWX disabled
2015-02-08 16:38:08 +03:00
Nekotekina
39db6bb461
Reservations improved
2015-02-07 16:46:42 +03:00
Nekotekina
1af4848324
New reservations (not finished)
2015-02-07 02:39:51 +03:00
S Gopal Rajagopal
d1a7c85e95
Merge remote-tracking branch 'upstream/master' into spurs_taskset
...
Conflicts:
rpcs3/emucore.vcxproj.filters
2015-02-03 23:12:26 +05:30
S Gopal Rajagopal
ba6ac5019e
SPURS: Implement some portions of taskset policy manager
2015-02-02 01:32:40 +05:30
Nekotekina
e5dd03dbcb
ARMv7: argc, argv setting, LDRSB_IMM, bugfixes
2015-02-01 16:52:34 +03:00
Nekotekina
8a945a1a52
Fixes
2015-02-01 10:09:24 +03:00
S Gopal Rajagopal
61342946a4
SPURS: Implement some portions of taskset pm
2015-02-01 02:16:06 +05:30
Nekotekina
61a5459ccb
TLS for ARMv7 threads
2015-01-31 19:44:26 +03:00
Nekotekina
4ea1b8cffc
Fixed TLS for PPU threads
2015-01-30 23:01:13 +03:00
S Gopal Rajagopal
507638e6d8
SPURS: Update system service workload to use lock line reservations
2015-01-31 00:36:58 +05:30
S Gopal Rajagopal
62e2d8d9a7
SPURS: Update kernel to use lock line reservations
2015-01-29 20:20:34 +05:30
B1ackDaemon
1fa301b719
Merge pull request #981 from Nekotekina/master
...
ARMv7 progress, some changes in vm_ptr
2015-01-29 01:57:42 +02:00
Nekotekina
579a88b7c4
vm_ptr: function format changed
2015-01-28 15:59:16 +03:00
Raul Tambre
be50130c3f
Various fixes
...
Fixes to dead code and a couple self-assignings
2015-01-24 21:50:26 +02:00
Nekotekina
1a5d5c96ed
Compilation fix
2015-01-22 00:39:25 +03:00
Nekotekina
79d03ece66
ARMv7 decoder improved
2015-01-22 00:09:37 +03:00
S Gopal Rajagopal
411dfd9a3f
Merge remote-tracking branch 'upstream/master' into spurs_taskset
...
Conflicts:
rpcs3/Emu/SysCalls/Modules/cellSpurs.cpp
rpcs3/Emu/SysCalls/Modules/cellSpurs.h
rpcs3/emucore.vcxproj.filters
2015-01-21 01:13:53 +05:30
Nekotekina
ec2e53dc6b
Formatting changes
2015-01-20 02:15:43 +03:00
Nekotekina
c4558d2ca7
cast_armv7_gpr added
2015-01-19 21:02:33 +03:00
Nekotekina
f3c9143a81
cast_to_ppu_gpr(), cast_from_ppu_gpr() updated
2015-01-19 17:16:31 +03:00
Nekotekina
0d28f378a7
fmt::format() optimization (fmt::unveil template)
2015-01-19 01:54:56 +03:00
B1ackDaemon
d9dd3a7eda
Merge pull request #969 from achurch/spu-interpreter-fixes
...
Fix SPU interpreter to match real hardware
2015-01-18 20:54:12 +02:00
Andrew Church
e64f6a1db3
Implement full floating-point support.
2015-01-19 03:19:10 +09:00
Andrew Church
4375422c09
Implement the mfspr and mtspr instructions.
2015-01-19 03:18:36 +09:00
Andrew Church
03b059c1d5
Implement the SRR0 register.
2015-01-19 03:18:03 +09:00
Andrew Church
a87de1b565
Implement the FPSCR register.
2015-01-19 03:17:51 +09:00
Andrew Church
3a87a40593
Implement host FP exception checking for PPU floating-point instructions.
2015-01-18 21:14:31 +09:00
Andrew Church
04902965fe
Set host FP rounding mode for PPU floating-point instructions.
2015-01-18 21:14:19 +09:00
B1ackDaemon
26f1e2c9e3
Merge pull request #965 from Nekotekina/master
...
cellAudio update, thread_t
2015-01-18 02:40:03 +02:00
Andrew Church
c9df9c93ed
Implement VSCR_NJ for all vector FP instructions.
2015-01-18 07:05:48 +09:00
Andrew Church
9a310c312e
Fix intermediate truncation in vector FP fused multiply-add.
2015-01-18 07:05:38 +09:00
Andrew Church
3eb3f66e96
Fix vmaxfp/vminfp with mixed signs of zero.
2015-01-18 07:05:30 +09:00
Andrew Church
10c706d9a5
Handle NaNs correctly in vector FP instructions.
2015-01-18 07:05:18 +09:00
Andrew Church
2e2dbf6c33
Reduce code duplication for vcmp instructions.
2015-01-18 07:05:08 +09:00
Andrew Church
0fa0946a46
Fix vsumsws clobbering input registers and reading from the wrong word.
2015-01-18 07:04:56 +09:00
Andrew Church
14e0cbde9c
Catch invalid and zero-division exceptions in FPU instructions.
2015-01-18 07:04:45 +09:00
Andrew Church
43e74a9c61
Fix intermediate rounding of fused multiply-add instructions.
2015-01-18 07:04:35 +09:00
Andrew Church
fee20573d2
Fix fcti rounding.
2015-01-18 07:04:22 +09:00
Andrew Church
5fd88bf801
Fix invalid double constant.
2015-01-18 07:04:13 +09:00
Andrew Church
46fa645555
Reduce code duplication in FPU instruction implementations.
2015-01-18 07:04:01 +09:00
Andrew Church
bbe12bf4b1
Fix mftbu returning the wrong half of the timebase register.
2015-01-18 07:03:48 +09:00
Andrew Church
74cbf1877b
Fix stwcx. and stdcx. not properly clearing the reservation address.
2015-01-18 07:03:16 +09:00
Andrew Church
d78fe3b4d4
Fix detection of denormals in frsp.
2015-01-18 07:03:02 +09:00
Andrew Church
b7761beee9
Fix lfs/stfs with SNaNs.
2015-01-18 07:02:50 +09:00
Andrew Church
42b55c60e7
Fix fcmp.
2015-01-18 07:02:18 +09:00
Andrew Church
6cd3310171
Fix FPSCR manipulation instructions.
2015-01-18 07:02:11 +09:00
Andrew Church
ee508f85b4
Fix handling of VRSAVE, and remove references to nonexistent USPRG registers.
2015-01-18 07:01:52 +09:00
Andrew Church
e47d21024c
Fix mtcrf.
2015-01-18 07:01:25 +09:00
Andrew Church
54827f7267
Fix conditional bcctr.
2015-01-18 07:01:16 +09:00
Andrew Church
ae4420e604
Implement missing PPU instructions.
2015-01-18 07:00:58 +09:00
Nekotekina
42b748a881
Syscall name resolving improved
2015-01-14 22:45:36 +03:00
Nekotekina
809ba66290
vm::cast in PPUInterpreter
2015-01-14 19:48:50 +03:00
Nekotekina
bf7cf0ee9d
.ToLE() changed to .value() or removed
2015-01-14 02:08:00 +03:00
Nekotekina
1c4e89d2bf
Formatting fixes, ToBE() replaced with data()
2015-01-13 17:54:36 +03:00
Nekotekina
b6ec618f97
Experimental template formatting with be_t<> support
2015-01-12 21:12:06 +03:00
Nekotekina
da09477be8
Callback syntax changed
...
call() became overloaded () operator
2015-01-11 13:43:40 +03:00
Nekotekina
056f93f3e4
Linux fixes
2015-01-09 01:17:26 +03:00
Nekotekina
bd71c1200e
CB_FUNC/SC_FUNC fixed
2015-01-07 19:44:47 +03:00
S Gopal Rajagopal
2d94db4945
Merge upstream
2015-01-05 16:44:26 +05:30
S Gopal Rajagopal
c1df79b713
SPURS: Integrate SPURS kernel and system service workload. Also, fixed some bugs.
2015-01-03 15:59:22 +05:30
Nekotekina
d8664c8da4
Bugfix
2015-01-02 19:02:31 +03:00
Nekotekina
318d7276c0
Warning fix
2015-01-02 18:29:57 +03:00
Nekotekina
f3cd908d5c
Sync primitives reworked
...
(rwlock rewritten)
2015-01-02 02:41:29 +03:00
Nekotekina
be2d606193
Conflicts fixed
2014-12-26 17:06:36 +03:00
Nekotekina
7613d749ec
SQueue renamed and moved
2014-12-25 01:24:17 +03:00
Nekotekina
d8239a39c9
std::shared_ptr in IdManager
2014-12-24 02:38:13 +03:00
Nekotekina
b2de24db73
SMutex eliminated
2014-12-23 02:31:11 +03:00
Nekotekina
0fb092f2a5
Syscalls: minor fixes
2014-12-22 03:56:04 +03:00
Raul Tambre
688e5a3af6
Fix compiling
2014-12-21 21:44:07 +02:00
S Gopal Rajagopal
698f4fd450
SPURS: Improve the readability of the SPURS2 kernel at the cost of some performance
2014-12-21 01:37:29 +05:30
S Gopal Rajagopal
5db254f3a5
PPU: Corrected SC instruction format to comply with the PowerISA
2014-12-11 19:13:17 +05:30
S Gopal Rajagopal
1f60d6374c
Merge remote-tracking branch 'upstream/master'
2014-12-02 00:49:18 +05:30
Nekotekina
697b699873
Some bugs fixed
...
ARMv7 partially restored
2014-12-01 01:04:47 +03:00
S Gopal Rajagopal
6cc6ca9f3c
PPU: Implemented more instructions
2014-12-01 02:09:48 +05:30
S Gopal Rajagopal
ce0f713f03
PPU: Implement more instructions in the recompiler. Fix some instructions in the interpreter.
2014-11-30 02:46:29 +05:30
Nekotekina
9fc7197c4f
cellGameContentPermit: extremely DANGEROUS bug fixed
...
And few tiny changes.
2014-11-29 20:41:18 +03:00
S Gopal Rajagopal
6ea50567b6
PPU: Implemented some instructions in the recompiler. Fixed some bugs in the interpreter.
2014-11-29 01:39:59 +05:30
S Gopal Rajagopal
205e1d88b3
PPU LLVM recompiler: Implement more instructions
2014-11-26 00:53:24 +05:30
S Gopal Rajagopal
631675fdd6
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
rpcs3/Emu/Cell/PPUInterpreter.h
2014-11-25 23:26:16 +05:30
S Gopal Rajagopal
a9645eda73
Implement some more FP instructions in the PPU LLVM recompiler
2014-11-25 02:14:12 +05:30
S Gopal Rajagopal
bb1e08a6be
Remove code left in comments from the PPU LLVM recompiler. Also cause the emulator to pause if unsupported instructions are required to be compiled.
2014-11-24 23:49:06 +05:30
S Gopal Rajagopal
d92344f383
Implement more instructions in the PPU LLVM recompiler
2014-11-24 01:41:25 +05:30
S Gopal Rajagopal
5934132b55
Implemented VPK*
2014-11-23 20:47:00 +05:30
S Gopal Rajagopal
921ee1464b
Implemented some vector instructions
2014-11-23 19:06:20 +05:30
Raul Tambre
16b4b9bf40
Fix Travis compiling
2014-11-21 15:52:01 +02:00
DHrpcs3
cdfef3bf9e
Fixed compilation errors
...
Implemented converter_le_be
2014-11-20 21:41:04 +02:00
S Gopal Rajagopal
5addbcbbb0
Direct UT output to PPULLVMRecompiler.log
2014-11-21 00:04:59 +05:30
S Gopal Rajagopal
6661018691
Fixed the unit test framework for the PPU LLVM recompiler. Added tests for ANDC. Fixed an issues that prevented LMW/STMW from being generated properly.
2014-11-20 23:38:10 +05:30
S Gopal Rajagopal
13acb06d1a
Implemented ANDC and also added support for TB and TBH in MFSPR
2014-11-20 01:03:51 +05:30
S Gopal Rajagopal
e8582c8655
Improved the logic that detects which functions should be recompiled
2014-11-20 00:42:07 +05:30
DHrpcs3
598d929aba
Implemented LLE Modules Manager (draft)
...
Improved loader core.
Implemented *_thread wrappers.
Minor fixes.
Temporary disabled ELF Compiler & DisAsm frame.
2014-11-19 16:16:30 +02:00
Raul Tambre
f99353f649
Fix for TB SPR and disable writing to TB SPR
...
Now use get_time() like MFTB instead of reading for the time-based SPR.
2014-11-18 18:03:49 +02:00
Hykem
19d1a6babc
Merge pull request #858 from gopalsr83/ppu_llvm_recompiler
...
Improved tracer for the PPU recompiler
2014-11-15 15:19:40 +00:00
Raul Tambre
3af57957d5
cellSail fixes and GetRegBySPR split up
...
* Fixed cellSailPlayerAddDescriptor
* Fixed cellSailDescriptorSetAutoSelection
* Fixed cellSailDescriptorIsAutoSelection
* Split GetRegBySPR into ReadSPR and WriteSPR
* Added 0x10c for ReadSPR and WriteSPR (Time-based register)
2014-11-15 16:45:02 +02:00
S Gopal Rajagopal
1568d2d602
Fixed some more gcc/clang compilation errors
2014-11-10 14:32:41 +05:30
S Gopal Rajagopal
87accc624f
Fixed some errors thrown by gcc/clang
2014-11-10 12:49:48 +05:30
S Gopal Rajagopal
06a4c301cd
Merge remote-tracking branch 'upstream/master' into ppu_llvm_recompiler
...
Conflicts:
rpcs3/Emu/Cell/PPUInterpreter.h
rpcs3/Emu/Cell/PPULLVMRecompiler.cpp
rpcs3/Emu/Cell/PPULLVMRecompiler.h
rpcs3/Emu/Cell/PPUThread.cpp
rpcs3/emucore.vcxproj.filters
rpcs3/rpcs3.vcxproj
2014-11-10 02:31:35 +05:30
S Gopal Rajagopal
c12a98510c
Utilize idle time to combine blocks
2014-11-10 01:04:21 +05:30
S Gopal Rajagopal
71c12360c7
Always inline functions
2014-11-09 14:03:36 +05:30
S Gopal Rajagopal
5c468d7591
Disabled call stack tracing when using the PPU LLVM recompiler
2014-11-09 11:50:01 +05:30
S Gopal Rajagopal
80294e1034
Fixed some bugs
2014-11-09 02:00:19 +05:30
S Gopal Rajagopal
34e34910fd
Integrated execution engine, tracer, recompilation engine and compiler
2014-11-08 09:52:23 +05:30
S Gopal Rajagopal
ee6a239679
Generate code from a CFG
2014-11-07 16:24:59 +05:30
Nekotekina
5d63c6b526
Merge branch 'master' of https://github.com/DHrpcs3/rpcs3
2014-11-05 19:20:44 +03:00
S Gopal Rajagopal
7c3c5ae08e
Construct CFG from execution traces
2014-11-05 01:01:20 +05:30
Hykem
5a27a84f5a
Merge branch 'master' of https://github.com/gopalsr83/rpcs3 into gopalsr83-master
2014-11-04 16:45:25 +00:00
S Gopal Rajagopal
7846fa5829
Made changes to tracer so that it understand compiled blocks
2014-11-01 01:22:39 +05:30
Nekotekina
7aeda3b0c7
ARMv7: more opcodes
2014-10-30 18:17:51 +03:00
Nekotekina
0f602e0e13
Bugfix
2014-10-28 19:46:14 +03:00
Nekotekina
65ddf980e0
Small fix
2014-10-28 15:30:37 +03:00
raven02
f54a5c6591
Stub DCBI instruction
2014-10-26 06:30:43 +08:00
S Gopal Rajagopal
160b58cf61
Fixed compilation issues
2014-10-25 06:56:57 +05:30
S Gopal Rajagopal
6bc0ce8046
Intial commit for advanced tracer
2014-10-25 06:38:47 +05:30
Nekotekina
6df5ddb973
Few warnings fixed
2014-10-24 17:24:09 +04:00
raven02
4eb4186b5c
Support FCTID/FCTIW instructions
2014-10-24 08:46:14 +08:00
Nekotekina
973e3f8f7e
Few instructions simplified
2014-10-24 02:06:15 +04:00
Nekotekina
7777be6fc1
Some things simplified
2014-10-23 02:53:44 +04:00
S Gopal Rajagopal
dfd3425e65
Merge remote-tracking branch 'upstream/master' into ppu_llvm_recompiler
...
Conflicts:
Utilities/BEType.h
rpcs3/Emu/Cell/PPUInterpreter.h
rpcs3/emucore.vcxproj.filters
2014-10-22 00:01:16 +05:30
raven02
00486d39e2
Add test against interpreter
2014-10-21 22:43:46 +08:00
raven02
20a5bf424f
Support FSQRT/FSQRTS instructions
2014-10-21 22:20:52 +08:00
S Gopal Rajagopal
4514fc12bd
Updated Travis CI configuration to compile LLVM
2014-10-21 02:17:00 +05:30
Hykem
ab0a907c7a
Merge pull request #846 from gopalsr83/master
...
Fixed the implementation of LSWI and STSWI. Simplified the implementation of VSL and VSR.
2014-10-20 16:43:20 +01:00
S Gopal Rajagopal
7e1413badf
Fixed the implementation of LSWI and STSWI. Simplified the implementation
...
of VSL and VSR.
2014-10-20 17:19:01 +05:30
S Gopal Rajagopal
024c15d4d3
Some cleanup
2014-10-20 01:16:35 +05:30
S Gopal Rajagopal
8a7ba5a709
Merge remote-tracking branch 'upstream/master' into ppu_llvm_recompiler
...
Conflicts:
Utilities/BEType.h
rpcs3/Emu/Cell/PPUInterpreter.h
rpcs3/emucore.vcxproj.filters
2014-10-19 02:36:26 +05:30
S Gopal Rajagopal
ce4d04290e
Support more instructions
2014-10-19 01:57:54 +05:30
B1ackDaemon
3d415d653b
Merge pull request #841 from Nekotekina/master
...
Small cellSpurs / cellSync update
2014-10-17 01:13:27 +03:00
S Gopal Rajagopal
817947e373
Made minor fixes to some instructions in the PPU interpreter. Also changed the implementation of MFTB so that it always increments at a constant rate.
2014-10-16 17:03:46 +05:30
S Gopal Rajagopal
35a0e0c625
Support more instructions
2014-10-16 15:28:57 +05:30
S Gopal Rajagopal
b95cddb0c7
Fix compilation errors caused by rebase
2014-10-14 14:23:50 +05:30
S Gopal Rajagopal
cd154ad357
Support more instructions
2014-10-13 15:40:42 +05:30
S Gopal Rajagopal
143f542bd6
Fixed some bugs
2014-10-13 15:40:42 +05:30
S Gopal Rajagopal
9c99fc7bb1
Disabled unit tests
2014-10-13 15:40:41 +05:30
S Gopal Rajagopal
3e7d42b023
Support some instructions
2014-10-13 15:40:41 +05:30
S Gopal Rajagopal
1bd235616f
Implemented branch instructions and some basic block combining.
2014-10-13 15:40:40 +05:30
gopalsr83
d5e86f7190
Fixed compilation in Linux. Have not tested it though.
2014-10-13 15:40:39 +05:30
S Gopal Rajagopal
f210180aa6
Disabled the use of BMI instructions since older processors do not support it
2014-10-13 15:40:39 +05:30
S Gopal Rajagopal
e687a91243
Implemented some FP instructions but did not add support for updating the FPSCR. Many misc changes.
2014-10-13 15:40:38 +05:30
S Gopal Rajagopal
ccc37b5dc5
Print disassembly to log
2014-10-13 15:40:38 +05:30
S Gopal Rajagopal
c72d97c64a
Implemented LF*, STF*, RL* and a few more instructions
2014-10-13 15:30:58 +05:30
S Gopal Rajagopal
e485047a10
Enabled some LLVM analysis/transform passes
...
Implement mul, neg, nor, subf
2014-10-13 15:26:10 +05:30
S Gopal Rajagopal
d69de9c332
Fixed some bugs that prevented the recompiler from terminating properly
2014-10-13 15:26:09 +05:30
S Gopal Rajagopal
840ae2f86b
Run recompilation in the background
2014-10-13 15:26:09 +05:30
S Gopal Rajagopal
1f3a117744
Disabled tests
2014-10-13 15:26:08 +05:30
S Gopal Rajagopal
f5188cdb32
Some refactoring. Added support for some load/store instructions.
2014-10-13 15:26:08 +05:30
S Gopal Rajagopal
1be5222e66
Made changes so that there is a single LLVM context instead of one per PPU. If separate LLVM contexts are used per PPU and if different PPUs execute the same address then the address will have to compiled once per PPU.
2014-10-13 15:26:07 +05:30
S Gopal Rajagopal
a4bb9eaa55
Made changes so that the recompiler output may be verfied against that of the interpreter. This seems to be a better strategy for testing the recompiler. The best strategy would be to verify its output against a real PPU core but I dont have access to one.
2014-10-13 15:26:07 +05:30
S Gopal Rajagopal
791f8e3b9a
Compilation Fix
2014-10-13 15:25:02 +05:30
S Gopal Rajagopal
6135b450c2
Implemented fallback to PPU Interpreter
2014-10-13 15:22:39 +05:30
S Gopal Rajagopal
aa614e83f2
Refactoring + new instructions
2014-10-13 15:22:39 +05:30
S Gopal Rajagopal
878926f57c
Support few more instructions
2014-10-13 15:22:38 +05:30
S Gopal Rajagopal
ac86ee8fa9
Added support for MULLI
2014-10-13 15:22:38 +05:30
S Gopal Rajagopal
eaa644dc20
Added support for a few more vector instructions
2014-10-13 15:22:37 +05:30
S Gopal Rajagopal
d8d0c0d2fe
Added support for 3 more instructions
2014-10-13 15:21:25 +05:30
S Gopal Rajagopal
659a3d88c6
Added more tests
2014-10-13 15:21:24 +05:30
S Gopal Rajagopal
66d0b25448
Moved tests to a new file
2014-10-13 15:21:24 +05:30
S Gopal Rajagopal
2ea881301a
Implemented a basic UT framework for PPULLVMRecompiler
2014-10-13 15:18:53 +05:30
S Gopal Rajagopal
2bb63ad051
LLVM based PPU Recompiler. Intial commit
2014-10-13 15:18:17 +05:30
Nekotekina
b7d0bfa972
SPU branch D/E flags workaround
2014-10-10 01:38:02 +04:00
Nekotekina
9a02add930
Bugfix
2014-10-08 16:29:29 +04:00
Nekotekina
fd7da9d61a
Compilation fix
2014-10-08 01:53:50 +04:00
Nekotekina
237ab974dd
SPURS kernel v1
2014-10-07 17:35:44 +04:00
Nekotekina
74007d5e5d
Small changes in memory and RSXIOMem
...
Some bugs fixed, some other changes.
2014-10-04 18:43:46 +04:00
Nekotekina
6b0857dcff
Conflicts fixed
2014-10-02 16:19:52 +04:00
Nekotekina
752449bbc0
Small update
2014-10-02 14:29:20 +04:00
DHrpcs3
eada1fe12c
Improved be_t
...
Fixed NV4097_SET_TWO_SIDE_LIGHT_EN
Added LIS, ORI, NOP & BLR to PPU Jit
2014-10-01 12:45:43 +03:00
Nekotekina
ce97a7e7a6
Channel<> rewritten
2014-09-30 23:06:04 +04:00
Nekotekina
7d95311a01
Some %x fixed
2014-09-29 19:38:04 +04:00
Nekotekina
05a7466a5a
m_custom_task thread member
2014-09-24 22:44:26 +04:00
Nekotekina
e5a485e50b
More changes
2014-09-23 03:07:40 +04:00
Nekotekina
3ab08e0d7a
vm::atomic update (or, and, xor)
...
CellSyncMutex, CellSyncBarrier, CellSyncRwm refactoring
2014-09-21 03:29:42 +04:00
Raul Tambre
6360ef1790
Added sceNpBasicGetFriendListEntryCount and sceNpBasicGetMessageEntryCount
...
Fixed (?) sometimes functions being unloaded when they shouldn't.
Also reverted the SPUThread hack.
2014-09-20 19:09:18 +03:00
Nekotekina
bb77249ac8
CellSpurs initialization
2014-09-19 04:19:22 +04:00
Raul Tambre
fcfdd1551b
Added a camera option
...
Also a couple minor optimizations
2014-09-18 21:19:10 +03:00
Nekotekina
0044141631
sys_process_is_spu_lock_line_reservation_address
...
Formatting changed a bit
2014-09-17 17:15:17 +04:00
Nekotekina
626133c0eb
declCPU removed, PPUThread& is passed as argument
...
Added experimental feature: passing PPUThread& to syscall
2014-09-16 21:49:50 +04:00
Nekotekina
5f1253598c
Fix formatting
2014-09-15 23:04:18 +04:00
Nekotekina
c9132a4bdb
Compilation fix + CellSpursAttribute
2014-09-15 22:17:30 +04:00
Nekotekina
4243558319
Compilation fix 3
2014-09-15 02:52:22 +04:00
Nekotekina
38746a5ef9
Compilation fix 2
2014-09-15 02:34:59 +04:00
Nekotekina
597d07bf24
Small refactoring
2014-09-15 02:17:24 +04:00
Nekotekina
860d7bd3f1
Small fix 2
2014-09-13 18:25:02 +04:00
Nekotekina
c1da446653
FastCall() removed
2014-09-12 23:27:33 +04:00
Nekotekina
3e1c04b356
Small fix
2014-09-12 01:10:44 +04:00
Nekotekina
8cde1c18c4
Cb fix
2014-09-12 00:46:11 +04:00
Nekotekina
82433d946e
u128
...
Only useful as vector type anyway.
2014-09-06 20:30:13 +04:00
Nekotekina
43a61d0ab9
Memory.Write*/Read* replaced
2014-09-06 17:33:01 +04:00
Nekotekina
12becc6120
MemoryBase::operator[] replaced
2014-09-06 02:12:10 +04:00
Nekotekina
db9cbe6cdd
MemoryBase::operator+ replaced
2014-09-06 00:26:36 +04:00
Nekotekina
225dba754d
GetMemFromAddr, VirtualToRealAddr replaced
...
Some arg types changed
2014-09-05 21:23:00 +04:00
Nekotekina
f298d0451e
Attempt to fix some warnings
2014-09-05 15:24:37 +04:00
Nekotekina
964c1bfd6c
WriteString replaced
...
strcpy_trunc (defined in GNU.h) is better for fixed-length char arrays
2014-09-05 03:23:36 +04:00
Nekotekina
9f2afffca1
Some functions removed
2014-09-04 21:32:20 +04:00
Nekotekina
05cebd1017
re() removed, added be_t<const T> specialization
2014-09-04 13:21:23 +04:00
Nekotekina
5a20d41fb2
Conflicts fixed
2014-09-02 05:25:57 +04:00
Nekotekina
b952017a3a
mem_ptr_t replaced
2014-09-02 05:05:13 +04:00
Lioncash
82840282fb
Core: Apply const to some functions
2014-08-31 16:12:09 -04:00
Nekotekina
a8cfefac07
vm::ptr for u8/char types, mem_list_ptr_t removed
2014-08-31 19:01:48 +04:00
Nekotekina
fb1d7d3982
Some warnings fixed
2014-08-30 22:35:18 +04:00
Nekotekina
3269c88d02
Some warnings fixed, some code removed
2014-08-30 21:51:00 +04:00
Nekotekina
8dfe7138df
(nothing, really)
2014-08-30 17:52:12 +04:00
Nekotekina
d14f22d059
Compilation fix 2
2014-08-30 00:26:27 +04:00
Nekotekina
028ce2dd9f
stdafx_gui.h created, wx removed from stdafx.h
2014-08-29 02:49:26 +04:00
Nekotekina
693e7a38fa
Some std include moved
2014-08-28 20:29:05 +04:00
Nekotekina
d5aa7aae43
sys_spu_thread_group_exit
2014-08-28 01:04:55 +04:00
Nekotekina
0fb45cccbc
cellSync2 stub
2014-08-27 17:11:34 +04:00
Nekotekina
78cbb90ef6
Some leaks fixed
2014-08-26 03:55:37 +04:00
Nekotekina
f6ba1eaebd
SPU spr name table
2014-08-25 21:01:40 +04:00
Nekotekina
61c4a88ab4
rFile.h, Thread.h, IdManager.h includes moved
2014-08-25 18:56:13 +04:00
Nekotekina
50b5d72bb2
Include cleaning
2014-08-24 21:42:19 +04:00
Nekotekina
4ffd03fe3e
Include clearing
2014-08-24 00:40:04 +04:00
Nekotekina
b005ee3cda
Log include fixes
2014-08-23 18:51:51 +04:00
Nekotekina
efa538f9d7
include clearing
2014-08-23 04:16:54 +04:00
Nekotekina
861ce9e733
include clearing
2014-08-23 01:15:02 +04:00
Nekotekina
652c5901f8
Another try
2014-08-22 20:36:27 +04:00
Nekotekina
5abd3fabfa
Attempt to remove some includes
2014-08-22 18:21:55 +04:00
Nekotekina
a169c5bcac
Reservation global struct removed
...
It wasn't solving anything, unfortunately.
2014-08-22 01:37:45 +04:00
Nekotekina
184007e1e0
sys_spu_thread_throw_event
2014-08-21 16:55:28 +04:00
Nekotekina
f153143c9d
still FSCRRD
2014-08-21 06:20:41 +04:00
Nekotekina
1f3f6f4664
sys_event_flag_set_bit_impatient
2014-08-21 05:31:45 +04:00
Nekotekina
1941f3d916
Interrupt handling changed
2014-08-21 05:02:55 +04:00
Nekotekina
126b636edf
Light hack for FSCRRD and FSCRWR
...
SPU_*Event* channels implemented for LR event
MFC_RdTagMask implemented
2014-08-21 02:12:56 +04:00
Nekotekina
9eb280c367
SetCurrentNamedThread()
2014-08-20 18:23:48 +04:00
Nekotekina
ffa258d334
Some fixes
2014-08-20 04:32:25 +04:00
Nekotekina
89b944c397
REG_FUNC macros
...
And some auxiliary changes
2014-08-19 22:17:20 +04:00
Nekotekina
afe984ca29
Small fix
2014-08-19 02:33:21 +04:00
Nekotekina
07a5720c17
SPU: some instructions removed
...
They can't be used on PS3.
Bitfields for interrupt flags added.
2014-08-18 04:23:05 +04:00
Nekotekina
8a785fefc2
SPR are not used
2014-08-18 02:46:39 +04:00
Nekotekina
55ee7065be
SPR removed from SPU
2014-08-18 02:39:25 +04:00
Nekotekina
cb58a773c9
Some hack
2014-08-15 16:50:59 +04:00
Nekotekina
c9cd80c089
Memory bugs fixed
2014-08-14 16:02:01 +04:00
Nekotekina
18e1799980
Last syscall registering
2014-08-09 20:25:05 +04:00
Nekotekina
dfd5fd388e
Little cleanup
2014-08-08 22:13:17 +04:00
Nekotekina
b00e0fcf69
sys_event_flag.cpp restored
2014-08-08 19:55:12 +04:00
Nekotekina
8f04ab07ed
IsGood() check elimination
...
Reasons: 1) It's unsafe - we cannot guarantee that address is still good
while it is used. 2) It's wrong in many modules which are usually just
compare pointer with zero.
2014-08-05 14:18:22 +04:00
Nekotekina
424d5e22d2
GetCount for Out_IntrMBox
2014-08-04 22:43:42 +04:00
Nekotekina
fa5311718e
Small SPU cleanup
2014-07-21 22:35:44 +04:00
Nekotekina
1f46098b23
Name fix (SPU JIT)
...
Unnecessary check removed
2014-07-20 21:03:41 +04:00
Nekotekina
ecbc9d1b08
RawSPU cleanup
2014-07-16 20:10:18 +04:00
Nekotekina
694a2b774e
SPU Recompiler fix
2014-07-16 16:15:20 +04:00
Nekotekina
3d0983e7d0
SPU Interpreter fix
...
(these bugs weren't in SPURecompiler)
2014-07-16 16:13:11 +04:00
Nekotekina
d94ce7094e
Rounding mode set
2014-07-16 16:09:20 +04:00
Nekotekina
b487dcee27
RawSPU initialization fix
2014-07-16 16:06:58 +04:00
Nekotekina
51b54a4d6b
SSE4.1 detection
2014-07-15 01:32:32 +04:00
Nekotekina
a71053ae15
Asmjit updated
2014-07-14 13:24:10 +04:00
boxingcow
a4f73bc705
Fix broken OS X build with isnan and MAP_ANONYMOUS
2014-07-12 22:06:43 +01:00
Nekotekina
1908842255
Build fix
...
Non-ASCII characters replaced in PPUThread.h
Some cleanup
2014-07-12 18:53:36 +04:00
Sacha
a1158c9515
Remove some indirect headers.
2014-07-12 17:46:14 +10:00
Sacha
9816ec3aa0
Fix conflicts.
2014-07-12 17:02:39 +10:00
Sacha
6e06fdf638
Stdafx: Major header cleanup
2014-07-12 16:33:04 +10:00
Nekotekina
ad524798fa
Compilation fix
2014-07-11 13:39:51 +04:00
Nekotekina
125359e30e
Some fixes
2014-07-11 13:18:23 +04:00
Nekotekina
259b57c64a
Fixed conflicts
2014-07-11 10:09:38 +04:00
Sacha
f256153a2b
Warnings: Fix several warnings.
2014-07-11 05:08:05 +10:00
Nekotekina
22b9afdb60
Some cleanup 2
2014-07-10 04:13:04 +04:00
Nekotekina
d1fff053c2
Some cleanup
2014-07-07 21:22:36 +04:00
Alexandro Sánchez Bach
230ba0d360
Fixed conflicts and minor changes (2)
2014-07-06 18:05:52 +02:00
Alexandro Sánchez Bach
08d61163ea
Removed external functions from SysCalls.h
...
* Replace `int` with `s32` as return type for syscalls.
* Renamed `SC_Something.*` files with the proper lv2 name
`sys_something.*`.
* Moving away from the lv2, those functions and folders that doesn't
correspond to lv2 functions. E.g. module functions from sys_io,
sysPrxForUser, cellGcmSys.
* Splitted some files (memory -> memory+mmapper) and merged other ones
(event+event_flag ->event, spu+spu_thread -> spu), according to common
sense, PSDevWiki docs, and checking firmware files.
* Removed external functions from `SysCalls.h`.
NOTE: What should we do about: cellGcmCallback? It's not a lv2 syscall
but it appears on the sc_table and it is actually called in games. Is
this some kind of hack?
2014-07-06 16:23:37 +02:00
Nekotekina
d16953d392
SPU Decrementer
2014-07-05 23:23:34 +04:00
Peter Tissen
95f1a0e645
use only one set of logging macros instead of two and don't use free() as a function name
2014-06-27 15:28:17 +02:00
Peter Tissen
21da317453
Logging system rework
...
* use one central unified log with channels/priorities ad-hoc listener registration and de-registration
* disable buffering by default
* add multi-threaded ringbuffer implementation
* use buffered listener for the gui (using the ringbuffer)
2014-06-26 17:34:28 +02:00
Nekotekina
2200e6f4d9
Small fixes
2014-06-25 02:16:44 +04:00
Nekotekina
f9c592098f
Work on RawSPU: interrupt mailbox
...
Achievement unlocked: run spu_test!
2014-06-23 05:03:16 +04:00
Nekotekina
30b8e51234
rCriticalSection & rSemaphore removed
...
SC_Semaphore errors fixed
Room for interrupt threads
2014-06-22 14:59:28 +04:00
Nekotekina
90b9861043
SMutex partially replaced with std::mutex
...
SPURecompiler.h: SETcc bug fixed
2014-06-20 15:00:36 +04:00
Nekotekina
4fedf5749e
cellSysmoduleLoadModule modified
...
cellSysutilEnableBgmPlayback draft
cellSurMixerGetCurrentBlockTag
cellSurMixerGetTimestamp
Interval.h draft
2014-06-09 17:35:35 +04:00
Peter Tissen
e85abdeb2c
remove unexplained commented out code that I added myself with the last PR
...
* remove unexplained commented out code that I added myself
* revert asmjit settings change that was meant to only be local for me
2014-06-09 02:55:16 +02:00
Peter Tissen
c37905e465
initial start to eliminate static func init, not compilable atm
...
move module initialization into a module manager, still has some issues like stopping not working and debug crashing
add #idef 0 to modules that aren't in the windows project
don't double initialize and don't de-initialize for now, since many modules don't expect it and it leads to many errors
remove duplicate module lists for empty modules and implemented ones, make Module non-copyable but movable
add secondary project, no real use for it now
add some memleak config to the emucore and add asmjit path to rpcs3
small rebase error fixed to get it to compile again
add filters for emucore
re-add the module manager and static file
WIP commit, linker errors abound
some more abstraction layer stuff
fix the remaining linker errors, re-enable platform specific mouse, pad and keyboard handlers
rebasing
fix memset undefined and re() usage of se_t before declaration
Add wxGUI define by default for cmake builds
fix copy constructors of Datetime header
fix copy constructors of other wx interface classes
remove static declarations of global variables
make wxGLCanvas constructor non-ambiguous even with wx2.8. compat mode, fix wrong std::exception constructor calls
remove duplicate definition for FromUTF8 and ToUTF8
temp changes
2014-06-08 23:16:06 +02:00
B1ackDaemon
c4e3ec825e
Merge pull request #322 from raven02/patch-16
...
cellSpurs : create new taskset using attr
2014-06-08 19:36:58 +03:00
raven02
f051011fd1
cellSpurs: create new taskset using attr
2014-06-08 23:29:16 +08:00
Peter Tissen
4d84507c96
try include guards to circumvent a weird error with gcc and unity builds
2014-06-08 16:58:40 +02:00
DH
7bb966ba82
Improved PPU Interpreter
...
- Fixed UpdateCR0
- Fixed XER.CA updating
2014-06-08 08:27:57 +03:00
DH
a4740d5f09
Improved unknown HLE functions logging
...
Fixed Fragment Shader Decompiler
2014-06-07 18:08:14 +03:00
raven02
7855ebcd9f
cellSpurs : initialize eventFlag
2014-06-07 20:31:07 +08:00
Peter Tissen
40add8f9a2
Seperate ConLog.h and ConLogFrame.h (for now only seperate headers)
...
make precompiled header slimmer under Linux to increase CI and dev-machine build-times
make sure unused modules don't compile
add unused modules to the VS project to easier keep track of them
2014-06-06 02:50:22 +02:00
Peter Tissen
96e229abfa
add primitive InterlockedOr64 implementation
...
use non msvc specific type for int64_t
add umul for gcc
2014-06-02 19:29:22 +02:00
Alexandro Sánchez Bach
82c6d8d68b
Removed 32-bit related #if(n)def's
2014-06-02 14:08:32 +02:00
raven02
41d0163781
cellSpursAttributeSetMemoryContainerForSpuThread()
2014-05-31 10:31:43 +08:00
Unknown W. Brackets
f49d3d6a28
Fix the DCBZ instruction.
...
Needs to zero memory.
2014-05-23 09:57:13 -07:00
Unknown W. Brackets
82d60ee48d
Do not set the CA bit in ADD().
...
Thanks Ashe`.
2014-05-23 09:20:58 -07:00
Unknown W. Brackets
493bf93a5a
Update LR only when cond passes.
...
It should not be updated otherwise. In most cases, won't matter.
Also, reorder slightly so SetBranch() can safely set PC directly.
2014-05-23 09:20:57 -07:00
Unknown W. Brackets
ff89e06fd6
Add missing ICBI instruction.
2014-05-07 23:53:19 -07:00
Unknown W. Brackets
9290453d2e
Add missing STFSUX/STFDUX instructions.
2014-05-07 23:48:27 -07:00
Unknown W. Brackets
592e13b6a0
Add missing LSWX and STSWX instructions.
2014-05-07 23:39:45 -07:00
Unknown W. Brackets
a5c18b2a09
Add missing TD instruction.
2014-05-07 23:36:13 -07:00
Unknown W. Brackets
d54237b0a3
Fix SRAWI instruction decoding.
...
It's SH, not sh. Lowercase combines bits from two fields.
2014-05-07 23:23:23 -07:00
Unknown W. Brackets
134e891068
Fix operand order in DSTST instruction.
...
No functional change. Also, switch SC to use a u32 for more typesafe
opcode decoding - also no functional change.
2014-05-07 23:22:03 -07:00
Hykem
90896560bb
Merge pull request #209 from unknownbrackets/warnings
...
Fix a bunch of warnings
2014-04-28 17:15:12 +01:00
Unknown W. Brackets
bdb08c58d3
Clarify a no-content loop.
2014-04-28 07:43:11 -07:00
Unknown W. Brackets
1fb8060263
Clarify precedence in macro.
2014-04-28 07:43:10 -07:00
Unknown W. Brackets
563aa2d2ca
Log unhandled case in FPSCR::checkSliceRounding().
2014-04-28 07:43:07 -07:00
Unknown W. Brackets
e4c0b0310c
Don't ask twice if MemoryBlocks can read mem.
...
They already check on Read32(), so just use that to iterate.
2014-04-28 00:15:37 -07:00
Unknown W. Brackets
42d5da633a
Fix an unused variable warning.
2014-04-27 21:31:42 -07:00
Unknown W. Brackets
5f6a2e498a
Fix some type comparion warnings.
2014-04-27 21:31:41 -07:00
Peter Tissen
870fa5a153
explicit cast from void(*)() to void *
2014-04-27 20:23:32 +02:00
Peter Tissen
0bcadaf155
explicitER casting, why you heff to be mad Clang
2014-04-27 20:13:47 +02:00
Peter Tissen
9d3d7b09b3
explicit casting
2014-04-27 19:55:31 +02:00
Peter Tissen
85be97e6a2
add explicit casts for the ptrdiffs
2014-04-27 19:15:35 +02:00
Peter Tissen
60a7fe17b5
remove .m128i_uxx subscripts because they're non standard
2014-04-27 18:51:24 +02:00
Peter Tissen
f906d031fa
remove more offsetof calls on linux and add asmjit linkage
2014-04-27 18:37:21 +02:00
Peter Tissen
1ba5cafc5f
enable SPU recompiler on linux
2014-04-27 18:18:04 +02:00
Bigpet
eea3aa9729
This is squashed commit from the follwing commits:
...
* various changes to make it compile with clang
* don't compile recompiler on linux yet but make the CMake build include asmjit already
* add experimental travis bot
* modify yml to match
* try to build and install wxWidgets, since it's not in the travis repo
* use newer cmake version for travis
* add keys with sudo
* use sudo for all apt- commands
* Add additional dependencies
* use version approriate gcc flags for c++11
* try clang, gcc too old
* set c++0x flag for clang
* use gcc 4.8
* use gcc 4.8 and add the repo for it
* use gcc 4.8 even for clang to get newer headers
* fix ambiguous conversions
* add lz from hykem and more explicit conversions from be for x86
* more switch disambiguation
* more switch disambiguation
* add additional unigned int casts to deal with be_t conversion ambiguity
* remove unnecessary clang flag
* add lz.cpp to vcxproj and cast to u32 instead of unsigned int
* correct temporaray #ifdefs
2014-04-27 00:41:46 +02:00
Nekotekina
0d375809b1
Useless code removed
2014-04-26 00:28:43 +04:00
Nekotekina
a24cb250d8
Compilation fix again
2014-04-26 00:09:23 +04:00
Nekotekina
555d053e32
Compilation fixes
2014-04-25 16:48:27 +04:00
darkf
090f7f8cfb
Add SPU decoder mode selection to GUI/Config
2014-04-23 05:06:19 -07:00
Nekotekina
525084e7cc
Some stuff
2014-04-20 23:36:53 +04:00
Nekotekina
e1bbedd4bf
Accuracy improved
2014-04-20 02:53:42 +04:00
Nekotekina
7875738391
More opcodes
2014-04-19 02:11:07 +04:00
Nekotekina
62df7eb499
Merge branch 'master' of https://github.com/DHrpcs3/rpcs3
...
Conflicts:
rpcs3/rpcs3.vcxproj.filters
Conflicts fixed
2014-04-18 16:59:31 +04:00
Nekotekina
5d091411a3
More opcodes
2014-04-18 00:25:02 +04:00
nohbdy
d136adc73f
RSX Bugfixes and plugging memory leaks
...
BUGFIX: Add break after NV4097_SET_TEXTURE_BORDER_COLOR in RSXThread.cpp
BUGFIX: Fix parameters passed to RSXTexture::SetControl3 (they were being
passed in reverse order)
BUGFIX: Remove invalid, non-sensical call to glPixelStorei in GLGSRender.h
BUGFIX: Fix signed/unsigned comparison compiler warnings in GLGSRender.h
CHANGE: Make GLFragmentProgram::Decompiler synchronous by default
CHANGE: Update wxWidgets submodule to latest commit
BUGFIX: Fix several memory leaks
ADDED: Created a new MSVC debug configuration to output locations
of allocations that end up leaking after the program
is closed.
BUGFIX: Fix the stupid PadHandler crash due to the lack of a virtual d'tor
2014-04-17 15:15:43 -05:00
Nekotekina
29d2ea7513
Some bugs fixed
2014-04-17 03:28:21 +04:00
Nekotekina
a57841d006
Some comments cleared
2014-04-16 15:36:20 +04:00
Nekotekina
dab0751300
...
2014-04-16 15:09:06 +04:00
Nekotekina
c41317dd82
New bugs added
2014-04-14 13:42:55 +04:00
Nekotekina
180f8aac5d
SPU Interpreter fix
2014-04-12 14:27:27 +04:00
Bigpet
25c3aa8e19
fixes to get llvm to compile (excepti for utils.cpp, that'll get fixed
...
later)
Eradicate the Array almost everywhere, some usages like Stack still
remains
2014-04-12 12:06:52 +02:00
Nekotekina
a7057f5205
Conflicts fixed
2014-04-10 02:00:01 +04:00
Nekotekina
33f7afd6e6
Some bugs fixed
2014-04-08 19:10:07 +04:00
Nekotekina
4e9dc8ab9c
SPU JIT: more asm
2014-04-07 22:27:30 +04:00
Lioncash
f019bd995a
Fix typo in SUBFZE for the PPUInterpreter.
2014-04-07 11:48:30 -04:00
Nekotekina
f9b68bc012
SPU JIT fix
...
Nothing changed in interpreter.
2014-04-07 17:06:13 +04:00
Nekotekina
e614a7313c
SPU JIT WIP
2014-04-06 23:23:32 +04:00
Nekotekina
4a9310755f
Working on simple SPU JIT
...
No, it doesn't work.
2014-04-05 20:30:08 +04:00
lioncash
d0c9d7c0ae
Use spaces for vertical alignment
2014-04-04 09:25:38 -04:00
Lioncash
1aff35f669
Fix the build.
2014-04-02 14:42:25 -04:00
Lioncash
990fca3e7b
Minor simplifications to PPUProgramCompiler
2014-04-02 10:21:16 -04:00
Lioncash
b3e0441940
Move PPUProgramCompiler to vector
2014-04-02 09:58:47 -04:00
Peter Tissen
373ae6b107
remove dummy alias in strfmt. Fix some wxString remnants, that only make problems in Linux
2014-04-01 20:13:22 +02:00
Peter Tissen
02729695ff
remove some wxString references I missed
2014-04-01 19:25:22 +02:00
Peter Tissen
8ac226ae69
replace all instances of wxString with std::string in all cases not
...
directly involved in either the GUI or other wxWidget classes like wxFile
2014-04-01 16:23:03 +02:00
Alexandro Sánchez Bach
01dbb8eb9a
Merge pull request #145 from Nekotekina/master
...
Fixed conflicts.
2014-03-31 12:04:34 +02:00
Hykem
196c2ffe5b
Updated the crypto engine:
...
- Updated AES and SHA-1 source code;
- Fixed a few code warnings;
- Implemented EDAT/SDAT decryption.
Started SPURS implementation:
- Added an internal SPURSManager class draft;
- Added several drafts for cellSpurs functions.
Implemented key.edat decryption in sceNpDrmIsAvailable:
- NOTE: Currently, the decrypted key.edat is stored under dev_hdd1/titleID and the user must replace this file in dev_hdd0. This behavior will change in the future as it's currently intended for controlled testing only.
2014-03-30 21:09:49 +01:00
Alexandro Sánchez Bach
2c7269e3de
PSF Loader improved & issue #126 fixed
...
* Improved PSF Loader: Now you can get the value of the PARAM.SFO
entries directly with the GetString(key), GetInteger(key) methods.
GameInfo related lines were removed since they have nothing to do with
PSF files.
* cellGame, cellSysutil, and GameViewer are modified because of the PSF
Loader changes.
* Removed unnecessary null pointer checks:
https://github.com/DHrpcs3/rpcs3/issues/126
2014-03-28 05:20:13 +01:00
Lioncash
a5d9c9033f
Fix erroneous assignment in an if statement.
...
Should have been a comparison.
2014-03-24 20:08:33 -04:00
lioncash
c00850c4c5
Minor const correctness
2014-03-24 08:47:30 -04:00
lioncash
874da27599
Initialize strings through the initializer list in PPUProgramCompiler.h
2014-03-24 08:40:35 -04:00
Nekotekina
cad7a05848
Merge branch 'master' of https://github.com/DHrpcs3/rpcs3
2014-03-21 13:02:10 +04:00
Peter Tissen
f0e73a652f
stswi and lswi instructions
2014-03-20 02:48:02 +01:00
Nekotekina
87e016bdf0
RLWIMI, RLWINM and RLWNM fixed
2014-03-19 23:40:52 +01:00
Peter Tissen
5a1ce28105
fix carry errors
2014-03-19 23:40:49 +01:00
Peter Tissen
acf955635f
correct the subtraction instructions and try something more sensible for overflow detection
2014-03-19 18:13:52 +01:00
Nekotekina
a520934abd
RLWIMI, RLWINM and RLWNM fixed
2014-03-19 18:47:28 +04:00
Peter Tissen
27bb41d652
Merge branch 'master' of https://github.com/DHrpcs3/rpcs3
2014-03-19 14:38:42 +01:00
Peter Tissen
2ddee26d83
add experimental subfme and subfze support and fix cache folder creation
2014-03-18 23:58:42 +01:00
Nekotekina
c4d9223034
event flag improvement (not finished)
...
Fixed empty SPU thread name issue
2014-03-17 19:07:47 +04:00
Nekotekina
1a1bed2258
Event flag partial implementation
2014-03-17 00:14:46 +04:00
Nekotekina
4aa6ddf3dd
Weird MFC_PUTR_CMD handling
2014-03-16 01:33:19 +04:00
Nekotekina
c9a421f12f
SPU Thread Group-specific MMIO
...
LS access, SNR writing
2014-03-16 00:46:53 +04:00
Hykem
c4a9c874d1
Improved FRES and FRSQRTE results (tested with ppu_fpu).
...
Implemented and improved several SC_Memory syscalls.
Started working in sceNp module.
2014-03-15 19:45:43 +00:00
Nekotekina
60d922da11
DMA List commands
...
cellAudio: multiple queue support
sys_cond simplified
cellFsMkdir (?)
2014-03-15 19:43:14 +04:00
Nekotekina
2de22f0321
Fixed conflicts
2014-03-13 13:18:47 +04:00
DH
0e437312ad
Improved OpenAL audio output
...
Implemented LDBRX PPU instruction
Enabled FRSQRTE PPU instruction
Improved Fragment Program Decompiler
Implemented Log lvl selection
2014-03-13 02:26:53 +02:00
Alexandro Sánchez Bach
80cfb2eb58
cellGame functions & MULHD(U) warn. disabled
2014-03-12 23:34:35 +01:00
Nekotekina
b7b33145f6
Compilation fix
2014-03-12 02:36:58 +10:00
Nekotekina
7f7d5a57c8
rldcr, rldcl instructions
...
Some intructions fixed
2014-03-11 20:20:01 +04:00
Nekotekina
a33575b115
Compilation fix
2014-03-10 03:07:53 +04:00
Nekotekina
3a00ec7682
Merge branch 'master' of https://github.com/DHrpcs3/rpcs3
2014-03-07 16:04:14 +04:00
Nekotekina
3127543b6e
sys_ppu_thread_join, sys_ppu_thread_exit fixed
...
Some diagnostic messages in mutexes
2014-03-07 16:03:42 +04:00
Alexandro Sánchez Bach
898fbf02b8
Fixes in sceNpTrophy and FSEL (PPU instr.)
2014-03-06 13:27:58 +01:00
Nekotekina
05c6a96d27
Conflicts fixed
2014-03-06 15:50:45 +04:00
Nekotekina
e86a849600
libmixer draft
...
and some hacks
2014-03-06 15:40:50 +04:00
Nekotekina
384536ba4f
prx_mem memory leak fixed
...
CPUThread::ExecAsCallback (experimental)
2014-03-04 23:18:17 +04:00
Alexandro Sánchez Bach
8204deaae6
Minor changes
...
* Fixed some forgotten `!` in cellFsGetFreeSize.
* Fixed VSUM2SWS opcode.
* Added cellNetCtl to the project.
* Implemented cellNetCtlGetState.
2014-03-04 15:40:15 +01:00
Nekotekina
c978fe377d
Merge branch 'master' of https://github.com/DHrpcs3/rpcs3
2014-03-02 10:24:18 +04:00
Alexandro Sánchez Bach
1e53c7f244
Reverted 'Unimpl.' warning on some SPU instr.
...
I'm sorry. I deserve punishment and torture for this.
2014-03-01 20:29:26 +01:00
Alexandro Sánchez Bach
6c28753dae
Minor fixes: SPU, sys_mmapper, and cmd-line args.
...
* Some SPU instructions updated:
- Updated wrong instructions: SHLH, FRDS
- Added UNIMPLEMENTED warning to: HBR, HBRA, HBRR
* Updated sys_mmapper_allocate_memory declaration in SysCalls.h
* Added sceNp.cpp to project
* Added checkbox in the Settings menu for exiting RPCS3 when
sys_process_exit (SC_Process.cpp) is called. Unfortunately, due to some
problems, this checkbox doesn't have a real effect yet.
2014-03-01 19:33:40 +01:00
Nekotekina
4828723d5c
Merge branch 'master' of https://github.com/DHrpcs3/rpcs3
2014-03-01 12:39:42 +04:00
Peter Tissen
dbc39bce40
fix small mistakes
...
fix endian mistakes, mistaken word length and preprocessor mistake
2014-02-28 19:36:19 +01:00
Nekotekina
8b952bf98c
memcpy partially replaced
...
Fixed one of exit issues
2014-02-26 18:06:13 +04:00
Nekotekina
8bd0ee875c
Fixed conflicts
2014-02-26 15:27:06 +04:00
Nekotekina
0bd5dc5363
Demuxer improved, cellPamf improved
...
File reading improved
2014-02-26 11:51:00 +04:00
Bigpet
1be8563fdb
fix small merge mistake
2014-02-23 18:21:10 +01:00
Bigpet
9a30ce5f18
Make buildable with GCC in Linux
...
* replace GetThreadID with std::this_thread.getId()
* name all anonymous structs and unions that contain non-trivially constructable objects
* made default constructor for big endian type noexcept to make it work with std::atomic
* move instantiated specialized template function members ouside of the class definition to comply with the standard
* added default instantiation for template parameter "=nullptr"
* used the C++11 standardized thread_local instead of the __declspec(thread)
* added transitional definitions to bridge the microsoft specific calls (compare and exchange and aligned alloc)
* removed cyclic dependency between Emulator->CPUThreadManager->CPUThread->SMutex->Emulator->...
* fixed some instances of indentation by space instead of tabs
* surrounded some unused code with an #if 0 block to make sure it doesn't compile
2014-02-23 17:52:52 +01:00
Alexandro Sánchez Bach
696e00a570
Merge refactoring branch & Krofna's pull req. #46
2014-02-23 02:39:46 +01:00
DH
81b19057bb
Implemented audio Dump To File
...
Fixed MFOCRF, MTOCRF, MTCRF
Minor fixes
2014-02-22 14:06:23 +02:00
DHrpcs3
7c6c20ef18
Merge pull request #82 from Nekotekina/master
...
Event, audio, SPU fixes
2014-02-22 10:54:32 +02:00
DH
05184d2e71
Improved GameViewer
...
GameViewer use VFS.
Implemented be_t increment / decrement
Implemented se
Improved sys_fs syscalls.
2014-02-22 04:53:06 +02:00
Nekotekina
b56df0c7f6
New functions
...
sys_spu_thread_bind_queue, sys_spu_thread_connect_event and SPU-side
sys_spu_thread_receive_event, sys_spu_thread_send_event
Fixed event system
Fixed SleepQueue priority alg
Audio: cellAudioGetPortTimestamp and cellAudioGetPortBlockTag
2014-02-22 04:26:50 +04:00
Bigpet
07135570f4
merge branch
2014-02-21 20:36:22 +01:00
Alexandro Sánchez Bach
e7a721a1fb
Merge pull request #46 from krofna
2014-02-21 17:13:57 +01:00
elisha464
45452c57c4
fixed MFOCRF
2014-02-20 00:38:47 +02:00
Nekotekina
848c5dadf0
Fixed some problems
2014-02-16 01:16:35 +04:00
Nekotekina
e066bcf261
Small cellAudio update
2014-02-15 00:08:02 +04:00
Alexandro Sánchez Bach
eb93e87b7f
Logging CheckBox, cellGame stuff and other fixes
...
* cellGameContentPermit and cellGameBootCheck updated.
* Checkbox in the Settings dialog, for enabling logging.
* Fixed GUI issue in the InterpreterDisAsmFrame.
* Fixed -dirty flag in wxWidgets submodule.
2014-02-13 20:05:23 +01:00
Nekotekina
5a240c32a9
log fixes (to wx_str())
2014-02-13 20:59:13 +04:00
Alexandro Sánchez Bach
373d189edb
Merge pull request #70 from Nekotekina/rpcs3
...
and conflicts fixed.
2014-02-13 12:13:05 +01:00
Peter Tissen
b05e466e8f
clean up more output conversions, everything that wants to get printed needs to be explicitly convertex to the wxCharType otherwise the VFormat prints nothing
2014-02-10 19:51:03 +01:00
Peter Tissen
b9c3dc352d
use .wx_str() instead of .mb_str(), Dbg console is still broken
2014-02-10 13:53:09 +01:00
Peter Tissen
b9abb1e075
merging vfs changes because I need to fix wxstring reads
2014-02-10 02:23:40 +01:00
Peter Tissen
59dcbd3ba3
make it compilable, don't merge this, string logs are broken and paths absolute to my machine
2014-02-10 02:13:13 +01:00
Alexandro Sánchez Bach
4d98826259
Directory-related functions implemented
...
* cellFsOpendir, cellFsReaddir, cellFsClosedir functions implemented.
* vfsDirBase: m_entryes, GetEntryes renamed to m_entries, GetEntries
respectively.
* vfsLocalDir: Read() function added to get the entries one by one.
* Moved IsExists() from vfsLocalDir to vfsDirBase to avoid "R6025 pure
virtual function call" error.
* Other minor changes in some functions of sys_fs
2014-02-09 22:53:48 +01:00
Nekotekina
3308fefa7f
Small changes
...
lwmutex completely implemented
2014-02-09 15:11:48 +04:00
Nekotekina
ed40732e7b
Reservation review
...
Minor changes
SC_Event_flag.cpp module detached
2014-02-08 01:55:25 +04:00
Nekotekina
6c606be09f
Reservation implemented
...
Some SPU bugs fixed;
sys_spu_thread_get_exit_status
sys_spu_thread_group_destroy
2014-02-07 02:55:48 +04:00
Nekotekina
311486ed79
Fixed thread issues
...
Fixed args passing
Fixed thread stopping/pausing (temporarily)
Fixed problems with SC_Condition and SC_Mutex (partially)
2014-02-03 17:12:25 +04:00
Nekotekina
a0c8e116df
Merge branch 'master' of https://github.com/DHrpcs3/rpcs3
2014-02-03 01:20:48 +04:00
Nekotekina
7fce5589f8
Memory alignment fix
...
Some mutexes added, _sys_heap_memalign implemented
2014-02-02 23:49:10 +04:00
DH
beb19633e9
Implemented vfsLocalDir & vfsDirBase.
...
Improved ThreadBase.
Minor fixes.
2014-02-02 21:42:32 +02:00
Nekotekina
15dd0bb0f2
Oops
2014-02-01 14:19:15 +04:00
Nekotekina
b602260314
Some typos fixed (thanks to Nukem9)
...
cellSysutilCheckCallback() modified, some warnings converted
2014-02-01 14:17:15 +04:00
Nekotekina
6553909dc5
Fixed conflicts
2014-02-01 01:56:44 +04:00
DH
4b8d6b6919
Improved ThreadBase.
...
Improved Vertex Shader Decompiler.
2014-01-31 20:40:18 +02:00
Nekotekina
432c6cf206
Small changes
...
SC_FUNC changes (done by DH)
PPUInterpreter changes (copied from main, done by elisha464)
Log() using fixed
2014-01-31 16:46:49 +04:00
elisha464
7e591deaf3
Merge branch 'master' of https://github.com/DHrpcs3/rpcs3
2014-01-28 20:02:20 +02:00
elisha464
3209b2f5f3
fixed VPREM and VSLDOI
2014-01-28 20:01:44 +02:00
Nekotekina
d16dbedaa1
Fixed conflicts
2014-01-23 22:45:40 +04:00
Nekotekina
93faac5780
Small changes
2014-01-23 22:40:49 +04:00
Nekotekina
d65647acf3
cellPamf update, cellDmux draft
2014-01-19 14:52:30 +04:00
DH
ab41540064
Improved ID manager.
...
Improved MemoryBlock.
2014-01-19 05:14:11 +02:00
Nekotekina
e41f21abc7
Simple analog stick support (from KB)
...
Left stick: arrows; right stick: PgDn/PgUp (vertical) and Home/End
(horizontal)
Added L10n functions' list (copied from old distr)
Fixed "LoadShdr64 error: shstrndx too big" in ELF64 loader
Other minor changes
2014-01-14 23:03:48 +04:00
Nekotekina
970b834f2e
CellSync review (mutexes, SPU).
...
File descriptors temporarily detached from ID manager.
Some logs disabled.
2014-01-12 14:27:59 +04:00
Nekotekina
1be7454bc4
Fixed errors, improvements
...
cellSync review, MFC channel AtomicStat added, draft implementation of
MFC_GETLLAR_CMD, MFC_PUTLLC_CMD etc, memory allocating hacks for
alignment.
2014-01-10 05:30:59 +04:00
Nekotekina
5f06f46f32
Minor improvements
...
cellFsAioRead partially implemented, cellPadInfoPressMode &
cellPadInfoSensorMode stubs
2014-01-05 03:58:03 +04:00
Nekotekina
ca13d4f2ef
SPU
...
LQX Hack removed, Critical Section for m_status removed.
2013-12-27 15:35:08 +04:00
Nekotekina
1ab5ef9dd7
SPU
...
Implemented sys_raw_spu_load, sys_raw_spu_image_load. Minor review of
MFC, channels.
2013-12-25 21:28:10 +04:00
Nekotekina
3a82ed5dc9
Fixed x86 build
...
Fixed crashes
2013-12-24 15:10:55 +04:00
Nekotekina
ab2bc35b18
Fixed conflicts
...
(merge branch)
2013-12-24 12:42:03 +04:00
DH
eb2ab73e16
Implemented LWZUX, LWAX, LWAUX, LHA, LHAU, LWA, STWBRX, STHBRX.
2013-12-24 07:25:15 +02:00
DH
b500fcbaed
Fixed ELF64 loader.
...
Fixed cellPadGetInfo.
Fixed cellFsOpen path encoding.
Draft implementation of cellAudioGetPortConfig.
Implemented STBUX, STHUX, STWUX.
Improved Boot (S)ELF / Install PKG UI.
2013-12-24 05:58:32 +02:00
Nekotekina
ba8108d595
SPU Fixes
...
Mandelbrot set does work now and its modified version included in
TEST12345 folder.
2013-12-23 15:57:09 +04:00
Nekotekina
c9abf559be
SPU Improvements
...
Implemented SNR channels and syscalls, fixed sys_spu_thread_initialize
(args' passing, SPU image copying for each thread)
2013-12-22 21:40:50 +04:00
Nekotekina
e28ba30561
Notification of NI flag change
...
Probably useless.
2013-12-19 02:30:06 +04:00
Nekotekina
c3d2cd344f
Win32 fix & elf loading fix
...
Fixed compilation error for x86 version. Fixed issue with ELF loading.
2013-12-15 01:59:37 +04:00
Nekotekina
eed6a7ffe3
STBUX implemented
...
Missed PPU opcode + replaced some non-unicode non-ASCII characters in
PPPInstrTable.h
2013-12-14 04:15:20 +04:00
Nekotekina
ee137323aa
MBox, some improvements
...
Some changes reverted (warnings), multi-thread safety fixed, MBox MMIO
modified
2013-12-13 05:35:28 +04:00
Nekotekina
c9fc99c388
Basic DMA, MFC, channel changes
...
Added new consts, thread-safe locks for critical resources, removed some
warnings. Modified git-version.h
2013-12-11 02:58:11 +04:00
Nekotekina
e8d2245a0b
Revert "SPU Improvement"
...
This reverts commit 9bf8f2eec5 .
2013-12-08 21:44:52 +04:00
Nekotekina
78ca7e1d44
Merge branch 'master' of https://github.com/DHrpcs3/rpcs3
2013-12-08 18:04:12 +04:00
Nekotekina
34ac4688e6
MFC
...
Minor changes
2013-12-08 18:03:51 +04:00
DH
eaef09df91
Improved PSF loader.
...
Improved Game Viewer.
Implemented cellPadGetInfo.
Minor improvements.
2013-12-08 15:47:54 +02:00
Nekotekina
430ded8259
Merge branch 'master' of https://github.com/DHrpcs3/rpcs3
2013-12-08 03:13:03 +04:00
Nekotekina
9bf8f2eec5
SPU Improvement
...
Some instructions implemented with SSE intrinsics
2013-12-08 03:12:37 +04:00
DH
bba1b6a6e0
SPU improvements
...
- Implemented more SPU Channels.
- Improved interpreter.
Minor improvements.
2013-12-08 00:52:41 +02:00
Nekotekina
241ae83645
SPU Improvement
...
Implemented CFLTS, CFLTU, CSFLT and CUFLT. Finally fixed FREST.
2013-12-04 00:35:45 +04:00
Nekotekina
73c2628ef4
SPU Fixes 3.2
2013-12-02 22:49:06 +04:00
Nekotekina
38fabf7cd2
SPU Fixes 3.1
...
Small fixes
2013-12-02 14:40:58 +04:00
Nekotekina
1cfcc742d8
SPU Fixes 3
...
Almost all implemented instructions are fixed. Partialy tested. Some
instructions are still unimplemented.
2013-12-01 21:30:40 +04:00
Nekotekina
ae39d3802f
SPU Fixes 2
...
It's almost finished
2013-12-01 04:36:55 +04:00
Nekotekina
384e20acf0
SPU fixes
...
Partially tested and fixed
2013-11-30 03:40:31 +04:00
Nekotekina
a32fe40275
Merge branch 'master' of https://github.com/DHrpcs3/rpcs3
2013-11-28 18:37:33 +04:00
Nekotekina
794cd4cf89
cellGcmSetUserHandler (empty), SPU.SF syntax
...
Test commit
2013-11-28 02:15:45 +04:00
Sacha
6bcaf469e8
First stage of WX dependency removal.
2013-11-28 05:16:19 +10:00
DH
9ce30fdd74
Improved OpenGL renderer & RAW SPU
...
- Improved Fragment Shader Decompiler.
- Fixed NV308A_COLOR cmd.
- Fixed break points for RAW SPU Thread.
- Added cellMsgDialogOpen2 to cellSysutil module.
2013-11-26 06:34:19 +02:00
DH
c7ca4b996a
Fixed compilation errors
...
Minor improvements
2013-11-24 02:01:57 +02:00
Mislav Blažević
d8bd34b57e
Start porting to GNU compiler
2013-11-23 23:27:58 +01:00
DH
da9c778a4c
Improved RAW SPU
...
Fixed sc binder_func_10
2013-11-23 20:50:54 +02:00
DH
8463694d4f
- Improved call stack.
2013-11-23 17:20:31 +02:00
Alexandro Sánchez Bach
5e1a958ee6
New debugging features, cellGame & minor changes
...
Two cellGame functions partially implemented:
- cellGameGetParamInt
- cellGameGetParamString
New debugging features:
- Call Stack viewer added
- Memory Viewer rewritten (Not finished yet)
Modified definition of UNIMPLEMENTED_FUNC to improve compatibility with
other compilers: Thanks @krofna
Replaced the "Compiler" menu entry with "Tools" and "Memory Viewer"
entry added.
NOTE: To "quickly" browse the memory using the Memory Viewer you can use
the scrollbar. Notice the irony of the word 'quickly' since the memory
viewer is actually slow as fuck. I will fix that soon. As you can see,
I'd like to add a Raw image viewer in the future in order to "see"
textures directly from memory.
2013-11-23 05:47:19 +01:00
DH
62c1980cac
Improved PPU Interpreter
...
- Fixed MULHW & MULHWU.
- Improved MULHD & MULHDU.
2013-11-23 04:55:26 +02:00
DH
aab69513aa
Fixed SLD.
...
Thanks to elisha464.
2013-11-22 17:15:04 +02:00
Alexandro Sánchez Bach
382ae8a78f
Improved cellResc module
...
* cellResc module improved
* Many changes in this commit are from [DH]: The implementation of
cellRescSetConvertAndFlip, cellRescSetWaitFlip and cellRescSetSrc as
well as all the other changes that are not in cellResc module.
* Fixed another conflict from O1L/rpcs3 (master): Deleted
"cellPhotoUtility" (which already exists in cellPhotoExport)
Now all the conflicts are solved. :-)
NOTE: We should search for a better name for 's_rescInternalInstance'.
This one is just too long and some lines don't even fit in my screen
because of this.
2013-11-16 01:38:22 +01:00
Magn3s1um
63482dcfdc
-Fixed MPYU and special registers based on comments
2013-11-09 07:51:26 -08:00
Magn3s1um
1192d20295
-Partial Implementation of Floating-Point Status and Control Register (FPSCR)
2013-11-09 07:41:56 -08:00
Magn3s1um
3c762750a0
-Added SPR registers
...
-Implemented MTSPR
2013-11-08 17:17:44 -08:00
DH
b263c3ebaf
- Renamed ARM9 to ARMv7.
...
- Improved ELF32 loader.
2013-11-05 21:22:58 +02:00
DH
6b22e7d90a
- Implemented ARM9Interpreter & ARM9DisAsm.
...
- Implemented MemoryBlockLE & DynamicMemoryBlockLE.
- Implemented CPUDecoder.
2013-11-05 20:12:18 +02:00
DH
0b35be32a4
- Implemented ARM9Thread.
...
- Improved OpenGL Renderer.
- Improved RAW SPU mfc.
2013-11-03 21:23:16 +02:00
DH
5874a5683e
Fixed small error.
2013-10-06 18:41:19 +03:00
DH
64cd9746b8
Fixed minor Debugger errors.
2013-10-06 18:05:58 +03:00
DH
eebe859f83
Improved mem_t.
...
- Implemented mem_ptr_t.
- Fixed issue 3.
2013-09-25 00:11:29 +03:00
Alexandro Sánchez Bach
7d97bbfbbf
Changed syntax of last SPU instructions
2013-09-23 14:20:47 +02:00
Alexandro Sánchez Bach
03dcfeabc3
More SPU Instructions: Floating point comparison
...
* Implemented Floating/Double-floating comparison instructions:
FCGT, FCMGT, FCEQ, FCMEQ, DFCGT, DFCMGT, DFCEQ, DFCMEQ
* Implemented more Floating/Double-floating operations:
FMA, FMS, FNMS, DFMA, DFMS, DFNMS, DFNMA
* Implemented Double / Single floating-point conversion:
FESD, FRSD
2013-09-23 12:48:27 +02:00
Alexandro Sánchez Bach
db7e68d308
More SPU Instructions: Floating point arithmetic
...
Implemented Floating/Double-floating arithmetic operations: Add,
Substract and Multiply: FA, FS, FM, DFA, DFS, DFM respectively.
* Fixed issue in the register editor: Wrong value displayed when reading
64 bit or 128 bit registers.
* Fixed issue in the register editor: Error when writing to 128 bit
registers.
2013-09-23 01:50:16 +02:00
Alexandro Sánchez Bach
9c6ae554fa
Debugger improved: Register editor added
...
How to use the register editor:
1. Load an .ELF file
2. Select any instruction from a thread. (This is a workaround to
activate the appropriate event listener. This will be changed in the
future).
3. Press 'R' key and modify any register you want.
Note:
The register editor only works with PPU and SPU threads.
Additional changes:
* Fixed the filesize problem caused by the instruction editor dialog.
* Instruction Editor: Fixed small issue in SPU threads
2013-09-22 13:34:54 +02:00
Cornee Traas
f4b98074b0
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
rpcs3/Emu/GS/GL/GLGSRender.cpp
rpcs3/Gui/InterpreterDisAsm.cpp
rpcs3/Gui/MainFrame.cpp
2013-09-03 19:26:31 +02:00
DH
f83aa9d5ae
OpenGL renderer:
...
- Improved Vertex & Fragment Shader Decompilers.
- Implemented fp uniform loader.
- Implemented DXT1 & DXT2 textures decompression.
- Implemented draft cellResc module.
- Updated glext.
PPU Interpreter:
- Fixed VSPLTW, VNMSUBFP, VMRGLW, VMRGLH, VMRGLB, VMRGHW, VMRGHH, VMRGHB instructions.
cellFs:
- Fixed cellFsStat syscall.
2013-08-26 17:18:59 +03:00
DH
234e174b7d
- Implemented send open system menu cmd.
...
- Added cellSysutil module.
- Improved OpenGL renderer.
- Added cube & hello world homebrews.
- Implemented more GCM syscalls.
2013-08-19 02:06:11 +03:00
DH
2f5fa75bb4
- Fixed sys_ppu_thread_exit.
...
- Disabled some dbg tools.
2013-08-17 19:23:03 +03:00
DH
0aff049960
- Improved Vertex & Fragment Shader Decompilers.
...
- Fixed some FPR instructions.
- Implemented more GCM syscalls.
- Fixed callbacks alert.
2013-08-17 01:22:26 +03:00
Cornee Traas
96c692aefc
Fix spelling of IsRunned to IsRunning
2013-08-12 11:56:56 +02:00
DH
f42d4b6572
OpenGL Renderer fixes:
...
- Fixed Vertex & Fragment Shader Decompilers.
- Fixed Transform Constants loading.
2013-08-11 00:56:24 +03:00
DH
81e874c9e2
- Implemented HDD manager.
...
- Implemented VFS manager.
- Implemented MFC.
- Fixed ELF Compiler.
- Improved HLE Func binder.
2013-08-03 12:40:03 +03:00
DH
559852a8fc
- Implemented RAW SPU.
...
- Implemented memory mapping.
2013-07-12 15:42:17 +03:00
DH
027a31bd84
- Fixed PPU G_3f_0 Decoder.
2013-07-11 17:28:10 +03:00
DH
fb57bb9c4e
- Implemented MTCRF instruction.
...
- Implemented sys_spu_thread_set_argument syscall.
- Improved Debugger.
2013-07-08 16:24:46 +03:00
DH
6d7d3acb43
- Fixed loading modules in debug mode.
...
- Improved Lwmutex.
- Implemented events syscalls.
- Fixed SPU local storage.
2013-07-06 02:49:38 +03:00
DH
991f281bbd
- Improved SPU Decoder.
2013-07-04 17:20:36 +03:00
DH
7e07cd9595
PPUDecoder:
...
- Fixed BI field.
Project updated to VS12.
2013-07-03 23:25:54 +03:00
DH
b35dfdf29b
- Improved PPCDecoder.
...
- Improved PPUDecoder.
- Improved Debugger GUI.
CompilerELF:
- Added all PPU instructions.
- Fixed analyzer crash.
2013-07-03 19:17:16 +03:00
DH
8ba26db020
PPU Interpreter: Fixed all VPR instructions.
2013-07-03 16:02:46 +03:00
DH
4486cbb855
- Improved PPU decoder
2013-07-01 15:08:58 +03:00
DH
5753edf6ef
- Improved sc function binder.
...
- Improved GLGSRender.
2013-06-30 11:46:29 +03:00
DH
a90b5cf37a
http://code.google.com/p/rpcs3/source/detail?r=44
2012-11-15 01:39:56 +02:00