Commit graph

307 commits

Author SHA1 Message Date
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
StrikerX3 a1637d3bbb Display EBP on stack dump 2019-01-25 17:34:01 -02:00
StrikerX3 7d15a0d331 Set all Xbox device pointers to nullptr on construction
We should replace them with std::unique_ptr in the future
2019-01-25 17:34:01 -02:00
StrikerX3 c39937c9ea Require C++17 features 2019-01-25 17:34:01 -02:00
StrikerX3 48ebcfd53b Renamed SharedMemory to DynamicVariant 2019-01-25 17:34:01 -02:00
StrikerX3 068dcfce27 Use std::forward and rvalue references to simplify SharedMemory.Allocate invocations with reference arguments 2019-01-25 17:34:01 -02:00
Ivan Roberto de Oliveira 3bf2988b34 Update README.md 2019-01-25 17:34:01 -02:00
StrikerX3 23d81bce64 Make ATA commands use shared memory instead of allocating/deallocating objects every time 2019-01-13 15:09:57 -02:00
StrikerX3 c5f0363c61 Initialize PCI config space of all devices
Based on a DVT4 dump using an official 5558 debug ROM as seen in http://xboxdevwiki.net/PCI
2018-12-30 14:49:18 -02:00
StrikerX3 71d18c70a0 PCI class/subclass bytes were swapped 2018-12-30 11:55:52 -02:00
StrikerX3 0f4942ae1b Return reference to emulator settings instead of pointer 2018-12-30 11:38:18 -02:00
StrikerX3 5049ff3bd9 That serial port change broke serial comm... 2018-12-30 11:37:58 -02:00
StrikerX3 11d870a555 Fix infinite loop and occasional crashes on shutdown in Win32 serial driver 2018-12-29 21:59:57 -02:00
StrikerX3 c39df02a04 Handle CPU_EXIT_ERROR 2018-12-29 21:59:20 -02:00
StrikerX3 9afadeb7af Add 1.1+ compatible EEPROM (commented out for now) 2018-12-29 21:59:04 -02:00
StrikerX3 a0a4b8c909 Improve WHPX initialization 2018-12-29 21:58:35 -02:00
StrikerX3 42139f684b A few minor fixes in NV2A 2018-12-11 13:02:48 -02:00
StrikerX3 db16858dea Disable some logs 2018-12-10 18:19:01 -02:00
StrikerX3 0fc7143228 Implement a basic ADM1032 2018-12-10 18:18:49 -02:00
StrikerX3 673307a2bf Reenable VHD writes 2018-12-10 16:55:40 -02:00
StrikerX3 a7e6b0dd96 Only assert INTRQ on PIO transfers in the PACKET ATA command 2018-12-10 16:34:40 -02:00
StrikerX3 31f456efe6 Fill in more READ DVD STRUCTURE fields 2018-12-10 16:33:55 -02:00
StrikerX3 48ee1f364f Fix READ DVD STRUCTURE CDB 2018-12-10 14:54:01 -02:00
StrikerX3 b5d4d7e442 Disable some log instructions 2018-12-10 14:52:49 -02:00
StrikerX3 b465a540dd Fix large packet data transfers 2018-12-10 13:53:42 -02:00
StrikerX3 b68e17b1e9 Refactored ATAPI commands
READ (10) still doesn't work correctly with large transfers, but it's a huge step in the right direction
2018-12-10 13:33:03 -02:00
StrikerX3 8cf4830d0c This thing really needs a rework... 2018-12-09 19:58:09 -02:00
StrikerX3 84f6dd48bc Fix double INTRQ assertion on certain occasions involving DMA transfers and ATAPI commands
Still doesn't fix broken DMA transfer for the READ DVD STRUCTURE
2018-12-09 19:14:21 -02:00
StrikerX3 bd501ac359 WIP: Poorly implemented READ DVD STRUCTURE
The ATAPI command processing code needs a refactor, similar to the ATA commands
2018-12-09 17:59:19 -02:00
StrikerX3 6398536b97 Fix inconsistent nomenclature 2018-12-09 15:52:30 -02:00
StrikerX3 0281d2ebff READ(10) transfer length was not being set on ValidateCommand
This caused some DMA transfers from the DVD drive to fail
2018-12-09 14:54:18 -02:00
StrikerX3 ad0fbc9a29 More CMOS initialization 2018-12-09 14:30:51 -02:00
StrikerX3 25490129f2 Implemented enough of the CMOS to make the kernel happy 2018-12-09 14:22:03 -02:00
StrikerX3 d94bdf2225 Basic DVD image reader
Implemented SCSI READ(10) command
2018-12-09 11:37:53 -02:00
StrikerX3 52b2549ac5 Fix typo 2018-12-08 22:23:08 -02:00
StrikerX3 cfe29552b5 Fixed a bug on DMA transfers when byte count is zero (which means a transfer of 65536 bytes) 2018-12-08 21:39:30 -02:00
StrikerX3 3acc9559a3 Respond to a few ATAPI commands in the early initialization procedure
Still getting stuck waiting for a DMA read
2018-12-08 14:33:59 -02:00