Commit Graph

1177 Commits (6c26ec72a5b299a5ceb3e4ca7ed0712d312da548)

Author SHA1 Message Date
Tony Wasserka 0da6a7e234 GPU: Properly implement memory fills. 11 years ago
bunnei 745b42d236 Merge pull request #570 from purpasmart96/config_mem
ConfigMem: Clean up the Config memory to be more like the shared page
11 years ago
bunnei 8e731b129d Merge pull request #582 from lioncash/warnings
vfpinstr: Fix trivial signed/unsigned mismatch warnings
11 years ago
bunnei 60f9cd6a4a Merge pull request #579 from lioncash/bkpt
dyncom: Support conditional BKPT instructions
11 years ago
Lioncash 4f910bb1a1 vfpinstr: Fix trivial signed/unsigned mismatch warnings 11 years ago
Lioncash a7120662e6 dyncom: Support conditional BKPT instructions 11 years ago
purpasmart96 c3c309f33d ConfigMem: Clean up the Config memory to be more like the shared page and moved
the helper macro for padding to common_funcs.h
11 years ago
Subv cb3d254517 Services: Fixed "Tried to connect to named port err:f".
err:f is a named port, not a service
11 years ago
bunnei 2b2b343ce0 Merge pull request #574 from lioncash/warn
vfpdouble: Use %p for printing pointer addresses.
11 years ago
Lioncash 012d1e32ad dyncom: Actually set the destination register for USAD8/USADA8.
Idiotville: Population: 1 - Inhabitant name: Lioncash
11 years ago
Lioncash f0c4bd629c vfpdouble: Use %p for printing pointer addresses. 11 years ago
bunnei 20dc07721c Merge pull request #539 from linkmauve/framebuffer-formats
Framebuffer formats
11 years ago
Emmanuel Gil Peyrot c439b3074d video_core: Implement the remaining framebuffer formats in the OpenGL renderer. 11 years ago
Lioncash 473afa4530 arm: Set the A bit on reset.
This enum value is ORed against in ARMul_Reset (and used to refer to all interrupt bits in the CPSR). So simply updating this is enough.
11 years ago
bunnei 12181c8a64 Merge pull request #529 from Subv/master
Build: Fixed some warnings
11 years ago
Lioncash 0c6434c379 core: Apply static to local functions 11 years ago
Lioncash a75e1ff6e6 arm: General cleanup
- Remove several typedefs for ARMul_State.
- Remove unused functions
- Remove unused/unnecessary headers
- Removed unused enums, etc.
11 years ago
Lioncash b7fac494cd dyncom: Switch the app and system cores into the correct mode at initialization 11 years ago
Lioncash c3211c9c80 dyncom: Clean up the constructor
Some function calls aren't necessary and would be handled by regular initialization routines.
11 years ago
Lioncash df9e0c0f81 dyncom: Remove warning for SXTAH
This is tested to work correctly.
11 years ago
Lioncash e3f5c6366c arm: Remove ARMul_EmulateInit
This was only used for armemu, which has since been removed. Removed components related to this as well.
11 years ago
Subv 8e2b248e05 Build: Fixed some warnings 11 years ago
Lioncash f48b0100a6 armdefs: Remove unnecessary extern C 11 years ago
Kevin Hartman a56f3f290e Implemented WriteHWRegsWithMask for GSP. 11 years ago
Lioncash 49a22acd02 arm: Remove ARM26 support.
This will never be used. 32-bit is the norm.
11 years ago
bunnei c51b23b052 Merge pull request #559 from lioncash/clean
arm: Some cleanup. Also fixed the initial ARM mode that is emulated.
11 years ago
Lioncash c94c41f95a arm: Get rid of some magic constants. Specify proper ARM mode.
Initially, we were starting the emulator in USER26MODE, which is incorrect, this should be USER32MODE.
11 years ago
Lioncash 93cd199633 arm: Change some more constants into enums 11 years ago
archshift ef24e72b26 Asserts: break/crash program, fit to style guide; log.h->assert.h
Involves making asserts use printf instead of the log functions (log functions are asynchronous and, as such, the log won't be printed in time)
As such, the log type argument was removed (printf obviously can't use it, and it's made obsolete by the file and line printing)

Also removed some GEKKO cruft.
11 years ago
bunnei 168eb27aee GSP: Fixed typo in SignalInterrupt 11 years ago
bunnei 76e7d41f88 Merge pull request #552 from bunnei/setbufferswap-fix
GSP SetBufferSwap fix
11 years ago
bunnei 9eae2400c0 GSP: Call SetBufferSwap for each screen on corresponding signal interrupt. 11 years ago
bunnei ca22ee3239 Merge pull request #526 from purpasmart96/citra_stubs
Services: Stub some functions
11 years ago
bunnei 5b735bdeea Merge pull request #556 from lioncash/clean
arm: Remove TRUE/FALSE defines
11 years ago
bunnei 8f35772bd7 Merge pull request #555 from lioncash/lut
arm_dyncom_thumb: Make lookup tables static
11 years ago
Lioncash 088fab743f arm: Remove TRUE/FALSE defines
- Removed the Debug parameter from ARMul_State since it isn't used.
- Changed ARMul_CoProInit to a void function. It always returned true.
11 years ago
Subv 0d2b6dd656 PTM: Fixed a problem with the gamecoin PTM file. 11 years ago
Subv 1bbf0567b1 Archives: Made the Format function more generic. 11 years ago
Subv 071663e074 Archives: Expose the File and Directory classes to HLE 11 years ago
Subv ca1a87ef7d ResultVal: Fixed compilation when reassigning a ResultVal. 11 years ago
Yuri Kunde Schlesner 3f1a3952d7 FS: Allow multiple instances of the same archive type to be open at once 11 years ago
Yuri Kunde Schlesner 4468625080 FS: Get rid of completely useless Archive class 11 years ago
Lioncash 8d2fb3bb2b arm_dyncom_thumb: Make lookup tables static
These don't need to be recreated all the time.
11 years ago
bunnei 67db6aa4ce Merge pull request #553 from lioncash/denorm
vfp: Normalize accumulator for multiply accumulate instructions
11 years ago
Lioncash 3eccc66abf dyncom: Add more regs to MCR/MRC
Adds the registers that were left out of some coprocessor ranges.
11 years ago
Lioncash a86d5e2752 vfp: Normalize accumulator for multiply accumulate instructions 11 years ago
Kevin Hartman 5fcbfc06eb Scheduler refactor Pt. 1
* Simplifies scheduling logic, specifically regarding thread status. It should be much clearer which statuses are valid
for a thread at any given point in the system.
* Removes dead code from thread.cpp.
* Moves the implementation of resetting a ThreadContext to the corresponding core's implementation.

Other changes:
* Fixed comments in arm interfaces.
* Updated comments in thread.cpp
* Removed confusing, useless, functions like MakeReady() and ChangeStatus() from thread.cpp.
* Removed stack_size from Thread. In the CTR kernel, the thread's stack would be allocated before thread creation.
11 years ago
bunnei 848795f383 Merge pull request #551 from bunnei/mutex-fixes
Mutex/synch fixes
11 years ago
bunnei 1b0bf00cbc Mutex: Locks should be recursive. 11 years ago
bunnei caa58acc84 WaitSynch: Always reschedule (verified behavior on hw). 11 years ago