Commit graph

343 commits

Author SHA1 Message Date
StrikerX3
ccf20898b2 Forgot a condition 2019-12-14 23:19:50 -03:00
StrikerX3
7c14a1a656 Partially implement PFIFO puller thread 2019-12-14 23:16:43 -03:00
StrikerX3
343bf6a4a4 Allow unaligned accesses to PRMDIO and PNVIO registers 2019-12-14 22:06:00 -03:00
StrikerX3
8541e48397 Fake an empty runout buffer in PFIFO_RUNOUT_STATUS 2019-12-14 20:06:57 -03:00
StrikerX3
28999ab2f0 Basic PFIFO puller/pusher thread implementations 2019-12-14 19:43:11 -03:00
StrikerX3
4a77386071 Restore serial port number 2019-12-14 19:41:42 -03:00
StrikerX3
fe13f3e198 Restructure and include more important PFIFO registers 2019-12-14 15:53:01 -03:00
StrikerX3
0dd6b5fd49 Improve offset calculation of PGRAPH TILE and ZCOMP registers 2019-12-14 15:52:09 -03:00
StrikerX3
1173e59e6a Figure out most PGRAPH registers used during startup 2019-12-14 12:52:25 -03:00
StrikerX3
32274194d0 Reduce log verbosity 2019-12-12 22:45:09 -03:00
StrikerX3
1aa94ac526 Add link to nouveau for PGRAPH registers 2019-12-12 22:28:17 -03:00
StrikerX3
862e5585cf Link directly to PFIFO pusher/puller states sections 2019-12-12 22:04:10 -03:00
StrikerX3
2bbea78ff4 Fix typo 2019-12-12 22:00:26 -03:00
StrikerX3
1001a9d355 Figure out most of the remaining PFIFO registers accessed during startup 2019-12-12 21:43:47 -03:00
Ivan Roberto de Oliveira
8d7cce2d82 Project is no longer on hold 2019-12-11 13:17:28 -03:00
StrikerX3
8ee3a266f7 Make sense of some of the unhandled PFIFO accesses 2019-12-10 22:43:44 -03:00
StrikerX3
62da28ad07 Introduct RAMHT entry data structure and lookup method 2019-12-10 21:36:03 -03:00
StrikerX3
d36b91e2f4 Small cleanup 2019-12-09 23:18:08 -03:00
StrikerX3
4ac028f252 Describe RAMHT and RAMFC registers 2019-12-09 23:09:50 -03:00
StrikerX3
17510e1ca3 Cleanup RAMHT and RAMFC on reset 2019-12-09 22:35:28 -03:00
StrikerX3
69dab67e72 unique_ptr is no longer needed 2019-12-09 22:30:57 -03:00
StrikerX3
d7086f64ac Include nouveau as a reference
Add RAMHT and RAMFC PFIFO registers
2019-12-09 22:28:33 -03:00
StrikerX3
408e35623c Fix PRAMIN memory addressing 2019-12-09 21:44:55 -03:00
StrikerX3
a2ca7c1336 Zero-fill PFB, PRAMDAC and PRAMIN memory on reset 2019-12-09 21:39:11 -03:00
StrikerX3
7c30c537e9 Stub unaligned accesses to PRMCIO registers 2019-12-09 21:35:36 -03:00
StrikerX3
845dd279bd Silence PFB spam 2019-12-09 21:35:20 -03:00
Ivan Roberto de Oliveira
f5fbc9e3f8 Move NV2A engine sources and headers to a subfolder 2019-12-09 18:55:15 -03:00
Ivan Roberto de Oliveira
23a113123a Fix tick count masking 2019-12-09 18:01:17 -03:00
Ivan Roberto de Oliveira
8bfd640a4e PTIMER: update tick count before updating CLOCK_MUL/DIV to improve accuracy 2019-12-09 17:02:06 -03:00
Ivan Roberto de Oliveira
2e9e69b322 PTIMER TIME_LOW and TIME_HIGH registers are writable 2019-12-09 14:20:38 -03:00
Ivan Roberto de Oliveira
304e230540 Implement most of PTIMER 2019-12-09 14:02:41 -03:00
StrikerX3
1d4c76909f Display actual address of unaligned reads/writes in NV2A engines 2019-12-09 00:04:26 -03:00
StrikerX3
e80f3a52fc Add memory to PRAMIN 2019-12-09 00:04:07 -03:00
StrikerX3
4a257d1681 Implement interrupt registers on engines that have them
Don't reset engines while constructing them; reset them after fully constructing all NV2A objects instead
2019-12-08 23:37:23 -03:00
StrikerX3
3824a84bd2 Basic PMC enable/interrupt handling
This is enough to cover all registers accessed by the kernel during early initialization

Also upgrade emulated GPU to revision A02
2019-12-08 22:53:18 -03:00
StrikerX3
0257b01f41 Move registers to corresponding headers and implement PMC ID register 2019-12-08 21:46:39 -03:00
StrikerX3
5e623da2e9 Implement a few registers and move engines to NV2A state class 2019-12-08 20:27:35 -03:00
StrikerX3
cf0deb7d47 Allow NV2A engines to be reset 2019-12-08 16:46:02 -03:00
StrikerX3
170558276b Stub all NV2A engines 2019-12-08 16:07:40 -03:00
StrikerX3
c49ed8dffa Write down NV2A engine table for later 2019-12-07 23:02:33 -03:00
StrikerX3
cb385a0871 Fix MMIO reads 2019-12-07 19:04:16 -03:00
Ivan Roberto de Oliveira
6e2cfdca51
Merge pull request #23 from StrikerX3/add-license-1
Create LICENSE
2019-10-26 13:43:20 -03:00
Ivan Roberto de Oliveira
4403618d1e
Create LICENSE 2019-10-26 13:43:02 -03:00
StrikerX3
dc2ee11219 Get rid of most Cxbx-Reloaded, XQEMU and GPL code 2019-10-26 13:41:11 -03:00
Ivan Roberto de Oliveira
9f86a0812b
Update README.md
Removed Patreon link. The project isn't in a state where it's ready to be promoted.
2019-05-29 19:52:32 -03:00
Ivan Roberto de Oliveira
dca20cac96 Update README.md 2019-02-28 13:29:06 -03:00
Ivan Roberto de Oliveira
55adab93f7 Name change (again) 2019-02-28 11:45:09 -03:00
StrikerX3
3ef26120ee Replace CPU modules with virt86
Restructure CMake projects
2019-02-20 23:38:36 -03:00
Ivan Roberto de Oliveira
359bb7792c
Update README.md 2019-01-25 17:39:29 -02:00
StrikerX3
1c11f9d847 Remove unused function parity8 in cpu_haxm.cpp 2019-01-25 17:34:01 -02:00