Commit Graph

393 Commits

Author SHA1 Message Date
Gabriel Correia
63a2be8634 EE: We are finally executing instructions from the cache 2024-06-18 22:45:07 -03:00
Gabriel Correia
3399503ed4 Cop0: Fixes serious issues with the cache implementation in the EE
- And yes, this was the first time these lines of code actually executed
- There are still several issues with cache handling, including instructions
in memory areas that are subject to changes. We will address this over
the course of the week
2024-06-18 17:52:40 -03:00
Gabriel Correia
80d8b5b3ec EE: Saves 4 unnecessary cache lookup jumps 2024-06-18 17:49:22 -03:00
Gabriel Correia
fddca66dae `(Creeper, EE): Fixes the EEs jalr instruction 2024-06-18 17:47:45 -03:00
Gabriel Correia
8178694faa Cop0: Reduces some kilobytes of unnecessarily allocated memory 2024-06-18 17:46:50 -03:00
Gabriel Correia
c10092699f OS: Fixes the incorrect indexing of integers 2024-06-18 17:44:30 -03:00
Gabriel Correia
d485e5fa77 EE: Fixes the writeArr method
- The address was being calculated incorrectly, not accounting
for the increment by 4
2024-06-18 00:28:37 -03:00
Gabriel Correia
dd3d9b9d03 (Creeper, VU): Fixes the behavior of the hardware fault 2024-06-17 20:53:43 -03:00
Gabriel Correia
a05cebb499 (Creeper, VU): Adds some multiplication instructions to the VU 2024-06-17 14:22:48 -03:00
Gabriel Correia
ea77d1f765 VM: Updates the task addition mechanism to the scheduler
- Both functions (Events and Tasks) have been merged
- Fix for pointers being incorrectly dereferenced
2024-06-14 23:30:25 -03:00
Gabriel Correia
4dae7d20f0 EE: We dont need to store the diff. between the generated cycles 2024-06-12 22:59:42 -03:00
Gabriel Correia
05e2d5b5ed Cop0: Fixes the data types used in the cache 2024-06-11 21:31:36 -03:00
Gabriel Correia
e93610d5c3 Core: Enhancements and overall code cleanup
- Improves the use of convenient functions of the main MIPS
- Removes the various uses of raw pointers and reinterpret_cast in the code
2024-06-11 20:33:30 -03:00
Gabriel Correia
17eb800f7b Creeper: Starting to translate some instructions 2024-06-11 02:02:47 -03:00
Gabriel Correia
b68716bca4 Cop0: Fixes issues in the MTC instruction
Fixes the fault in handling the MTC instruction with registers other than 14 and 30
2024-06-08 21:07:29 -03:00
Gabriel Correia
2840d304de (Engine): Fixes the fault at address 0x0...820 and the TLB faults 2024-06-08 01:12:17 -03:00
Gabriel Correia
373745c2f8 Creeper: The MPEG decoder returns 1 upon completion, not 0 2024-06-07 11:28:35 -03:00
Gabriel Correia
18cab712ba Creeper: Resolves most of the bad practices involved 2024-06-06 19:04:53 -03:00
Gabriel Correia
ec973619a3 Project: Preparations made for version 0.0.20 2024-06-05 23:19:13 -03:00
Gabriel Correia
14d10c8c33 (EE, IOP): Fixes the header inclusion method 2024-06-05 18:56:22 -03:00
Gabriel Correia
f30a475786 Creeper: Fixes compilation and runtime errors 2024-06-05 18:49:11 -03:00
Gabriel Correia
6319ee9101 (Creeper, Fishron): Program executors have been reorganized 2024-06-05 18:46:05 -03:00
Gabriel Correia
c6f99c9171 Vif: Fixes data transfer inconsistency between FIFOs 2024-06-05 11:15:26 -03:00
Gabriel Correia
9667a2aa4f Core: Fixes regressions and addresses various bugs 2024-06-04 22:23:35 -03:00
Gabriel Correia
4778e03229 MIO: From now on, well dump the memory to files on crash 2024-06-03 23:43:19 -03:00
Gabriel Correia
b6b70575e6 Java/OS: Refactors the state system 2024-06-03 23:42:00 -03:00
Gabriel Correia
e924d2809d Frontend: Resolves all warnings in compliance with the new Kotlin version 2024-06-03 15:57:51 -03:00
Gabriel Correia
773d7a6213 Frontend: We will use some settings from the frontend in the future 2024-06-03 15:50:35 -03:00
Gabriel Correia
2f40ab8023 OS: Fixes some peculiarities of the variable handler 2024-06-03 15:33:38 -03:00
Gabriel Correia
9518bbfdf4 Project: Removes the fs dir and updates the Boost references 2024-06-03 10:04:49 -03:00
Gabriel Correia
ceab8008e9 Adds the Boost library from the organizations source 2024-06-01 21:36:44 -03:00
Gabriel Correia
8fac6f061e Project: Refactoring the project and adapting it for new features 2024-06-01 21:22:32 -03:00
Correia
c09297db16 Creeper: Adds the AND, OR, XOR, and NOR operations for the EE 2024-05-24 21:48:06 -03:00
Correia
8a4e384198 Creeper: Now handling sync on the EE 2024-05-24 20:19:42 -03:00
Correia
23e849fdf3 Creeper: Fixes the execution method of VU instructions 2024-05-24 19:49:20 -03:00
Correia
77f9c6f1a5 Mio: Prepare the memory pipe to receive interrupts from the DMAC 2024-05-22 21:09:49 -03:00
Correia
02c638d3af GS: Activates the GS and begins executing our first DMA access 2024-05-22 14:27:03 -03:00
Correia
b64b5f845e GS: Fixes writing to the GSs ST register 2024-05-21 21:48:58 -03:00
Correia
4caec4452a GS: Now the GIF is able to process data via DMAC 2024-05-21 16:49:36 -03:00
Correia
f29ccdb34a GS: Made numerous fixes to the TAG/IMAGE Gif decompressor 2024-05-21 12:22:41 -03:00
Correia
c186ce0675 IOP: We will use an abstraction to validate the caches 2024-05-19 20:19:46 -03:00
Correia
7a30ff87f0 IOP: Finally using the CPU cache 2024-05-19 14:15:40 -03:00
Correia
0f73aacf5d Project: Updates the project license to 2024 2024-05-17 23:36:55 -03:00
Correia
0f0ef89ac2 Core: Just to prevent GitHub from miscategorizing 2024-05-17 21:21:35 -03:00
Correia
2f16b1f4be Core: Fixes some compilation errors based on recent changes 2024-05-17 13:39:22 -03:00
Correia
ada17a7b7d Mio: Fixes a memory leak in a template function 2024-05-17 13:37:44 -03:00
Correia
9df76e3003 Mio: Change the allocation strategy for the auxiliary pointers 2024-05-17 13:35:44 -03:00
Correia
bddd6872c6 Core: Preparing and fixing the projects core, after 30 commits 2024-05-13 20:16:54 -03:00
Correia
96be8bf51c Core: Fixes dozens of errors across various devices 2024-05-13 01:03:21 -03:00
Correia
7a6c70df52 Creeper: Adds improvements to the code following observations 2024-05-09 20:13:24 -03:00