Lioncash
a64af28cf2
core: Use unique_ptr for holding the interpreter instances
10 years ago
polaris-
1d319e5b46
Implement gdbstub
10 years ago
polaris-
021fab70ac
Implement gdbstub
10 years ago
Emmanuel Gil Peyrot
aea15f5c73
Core: Cleanup core includes.
11 years ago
Yuri Kunde Schlesner
7ada357b2d
Memmap: Re-organize memory function in two files
memory.cpp/h contains definitions related to acessing memory and
configuring the address space
mem_map.cpp/h contains higher-level definitions related to configuring
the address space accoording to the kernel and allocating memory.
11 years ago
Yuri Kunde Schlesner
4f7a055081
Thread: Remove the idle thread
Instead just use nullptr to represent no thread is active.
11 years ago
Subv
000876858d
Core/Memory: Give every emulated thread it's own TLS area.
The TLS area for thread T with id Ti is located at TLS_AREA_VADDR + (Ti - 1) * 0x200.
This allows some games like Mario Kart 7 to continue further.
11 years ago
Yuri Kunde Schlesner
1c0b87edc2
Memory: Re-organize and rename memory area address constants
11 years ago
Yuri Kunde Schlesner
e1fbac3ca1
Common: Remove common.h
11 years ago
Lioncash
8004d35ea1
core: Migrate 3DS-specific CP15 register setting into Init
11 years ago
Lioncash
b7fac494cd
dyncom: Switch the app and system cores into the correct mode at initialization
11 years ago
Lioncash
f44781fd7b
arm: Adios armemu
11 years ago
Yuri Kunde Schlesner
9bf8462b96
Thread: Reduce use of Handles and move some funcs to inside the class.
11 years ago
Yuri Kunde Schlesner
7b3452c730
Move ThreadContext to core/core.h and deal with the fallout
11 years ago
Subv
40c1439c34
Core: Fixed a crash and removed some unused variables.
ARM_Disasm only has static methods, so there's no need to have an instance of it.
11 years ago
Subv
60a373a786
Threads: Use a dummy idle thread when no other are ready.
This thread will not actually execute instructions, it will only advance the timing/events and try to yield immediately to the next ready thread, if there aren't any ready threads then it will be rescheduled and start its job again.
11 years ago
bunnei
853b46c681
Core: Change default CPU to dyncom.
11 years ago
purpasmart96
ebfd831ccb
License change
11 years ago
Yuri Kunde Schlesner
0600e2d8b5
Convert old logging calls to new logging macros
11 years ago
Lioncash
7cbecde2ca
Add static to some variables
11 years ago
archshift
0783498f57
Use configuration files to enable or disable the new dyncom interpreter.
11 years ago
archshift
6e606c515f
core: Prune redundant includes
11 years ago
bunnei
eb36d3fc90
Core: Refactor core to use only one function for execution.
Core: Cleaned up comment to be more readable.
Citra: Changed loop to be more readable.
11 years ago
bunnei
ec14ffe1cd
GSP: Implements preliminary command synchronization via GPU interrupts.
Core: Added a comment to explain the logic for the RunLoop iterations.
12 years ago
bunnei
c95972275e
HLE: Updated all uses of NULL to nullptr (to be C++11 compliant)
12 years ago
bunnei
0deeda54ee
Core: Cleaned up SingleStep(), updated default LCD refresh to assume each instruction is ~3 cycles
12 years ago
bunnei
3449aaa350
Core: Changed HW update/thread reschedule to occur more frequently (assume each instruction is ~3 cycles)
12 years ago
bunnei
174cc9a0ed
hle: added a hokey way to force a thread reschedule during CPU single step mode (as used by the debugger)
12 years ago
bunnei
9839f3b6cd
core: changed time delay before kernel reschedule to "approximate" a screen refresh
12 years ago
bunnei
51f636b3d4
core: added Kernel::Reschedule() call to check for thread changes, shortened delay time to 100 instructions
12 years ago
bunnei
265c770a9d
updated how we call ARM core to make things much faster
12 years ago
bunnei
5d95bb9843
cleaned up some logging messages
12 years ago
bunnei
f68de21ad1
added initial modules for setting up SysCall HLE
12 years ago
bunnei
de0a034a84
fixed project includes to use new directory structure
12 years ago
bunnei
63e46abdb8
got rid of 'src' folders in each sub-project
12 years ago
bunnei
03c245345e
fixed some license headers that I missed
12 years ago
bunnei
e022717477
added g_app_core->Step and HW::Update to Core::SingleStep to be consistent with other changes made
12 years ago
bunnei
69223d007e
- added an interface layer for ARM cores
- cleaned up core.cpp a bit
12 years ago
bunnei
c2d4c7d4f4
added some commented out ARMulator functions
12 years ago
Mathieu Vaillancourt
564e3f5032
Add Core::GetState() for debugger
12 years ago
bunnei
d4b529111a
added very hackish ARMulator core initialization and CPU stepping
12 years ago
ShizZy
e0cb54ea35
moved some core functions over to system module
12 years ago
ShizZy
539bf8bc86
added a message option to Core::Halt function
12 years ago
ShizZy
c71868a6b1
added system.h to project
12 years ago
ShizZy
b2c5690413
added log msg to core
12 years ago
ShizZy
b8ca09160b
renamed project to 'citrus'
12 years ago
ShizZy
6847033b27
updated common paths
12 years ago
ShizZy
d708e2d68a
added core and mem_map files to the project
12 years ago
ShizZy
48db82013b
added missing files
12 years ago