Commit graph

343 commits

Author SHA1 Message Date
StrikerX3
fbdfd3ffbe Almost finished IRQ rework 2018-03-18 12:18:15 -03:00
Ivan Roberto de Oliveira
bd9089d27a
Merge pull request #34 from darrena092/full-lle
Fixed Linux build
2018-03-18 11:37:47 -03:00
darrena092
d9dc993ef5 Fixed Linux build 2018-03-18 14:35:42 +00:00
StrikerX3
1465327c61 Basic ISA bus implementation 2018-03-18 00:56:47 -03:00
StrikerX3
017dd5f8ca More IRQ stuff 2018-03-18 00:23:38 -03:00
StrikerX3
8d2e621782 PCI busses can now map IRQs 2018-03-17 19:14:35 -03:00
StrikerX3
d92f8f178d More PCI stuff 2018-03-17 18:01:16 -03:00
StrikerX3
48615d2ea6 Some PCI IRQ stuff 2018-03-17 17:34:45 -03:00
StrikerX3
b1eb62a426 Removed unused macros 2018-03-17 17:10:20 -03:00
StrikerX3
fdd3df71c7 A bit of refactoring 2018-03-17 17:09:27 -03:00
StrikerX3
8176d8e5e6 Initialize GSI and IRQs 2018-03-17 17:06:32 -03:00
StrikerX3
a59446ba1b Some IRQ work 2018-03-17 17:06:09 -03:00
StrikerX3
cfa6637b02 NV2A IRQ pin is 1, not 3 2018-03-17 13:01:36 -03:00
StrikerX3
6e85e3dcd5 Add -DCPU_MODULE=kvm to Linux command line example 2018-03-16 22:48:31 -03:00
StrikerX3
d4f2f1aa47 More README updates 2018-03-16 20:38:29 -03:00
StrikerX3
31b586c1eb extern/zydis is no longer needed 2018-03-16 20:24:35 -03:00
StrikerX3
74bcacd34d Update README 2018-03-16 20:21:42 -03:00
StrikerX3
b483a03e03 Some fixes for MSVC 2018-03-16 20:16:59 -03:00
StrikerX3
3e57a3f32b Added support for Linux 2018-03-16 15:59:33 -07:00
StrikerX3
1daa9fe161 Rename Win32Serial char driver type to HostSerialPort
The same constant should be used across all platforms to represent a native serial port
2018-03-15 23:22:32 -03:00
StrikerX3
423358cb94 Use std::thread instead of a custom cross-platform thread API
Properly cleanup threads and resources

Name all emulation threads
2018-03-15 21:09:23 -03:00
Ivan Roberto de Oliveira
c7cb5a73a8
Merge pull request #31 from darrena092/full-lle
Added argument for console type (retail/debug).
2018-03-15 19:19:25 -03:00
Darren Anderson
2115e12eb5 Added argument for console type (retail/debug). 2018-03-15 20:22:57 +00:00
StrikerX3
02f4be9270 NV2A refactor + fixes 2018-03-14 22:31:41 -03:00
StrikerX3
c3d414a8d2 Reduce spew log clutter a nd use %u for data sizes 2018-03-14 22:31:25 -03:00
StrikerX3
febc99a2e0 Initialize i8259 interrupt output state 2018-03-14 22:19:35 -03:00
StrikerX3
db74292a5e Use calculated PCI BAR addresses 2018-03-14 22:09:36 -03:00
Ivan Roberto de Oliveira
14796af362
Merge pull request #30 from darrena092/full-lle
Added disassembly on crash/exit.
2018-03-14 21:13:48 -03:00
Darren Anderson
3f61454d5d Fix memory leaks. 2018-03-14 22:54:33 +00:00
Darren Anderson
1dc84eb211 Delete memory buffer correctly... 2018-03-14 22:46:46 +00:00
Darren Anderson
a1d195b3ec Memory buffer in disassembly is now deleted. 2018-03-14 22:43:12 +00:00
StrikerX3
6130c9b7f1 Serial port controller: discard old data when queue is full 2018-03-14 18:51:17 -03:00
StrikerX3
4110a486d5 Use 128 MiB RAM on DebugKit model 2018-03-14 18:43:28 -03:00
Darren Anderson
56c37224f3 Added disassembly on crash/cpu exit. 2018-03-14 21:20:07 +00:00
Darren Anderson
20437b73e0 Added Zydis. 2018-03-14 20:34:04 +00:00
Ivan Roberto de Oliveira
356cb7953e Fix NV2A IRQ 2018-03-14 07:51:54 -03:00
StrikerX3
d844ce1870 Disable serial transfer spam 2018-03-13 22:33:09 -03:00
StrikerX3
d9c6c6564a Finally fixed serial comm for good
Kernel debugging the virtual Xbox is now a reality!
2018-03-13 22:01:15 -03:00
StrikerX3
46480abf33 More fixes, looking a little better now 2018-03-13 21:43:26 -03:00
StrikerX3
a06b78b892 More improvements and fixes
Still not enough. WinDbg still cannot talk to the Xbox kernel
2018-03-13 20:48:47 -03:00
Ivan Roberto de Oliveira
0c02caa2c6 A couple of fixes 2018-03-13 14:41:35 -03:00
Ivan Roberto de Oliveira
d669261fe8 Reimplemented Windows serial port driver. Untested 2018-03-13 13:34:15 -03:00
StrikerX3
af0fb8bd71 Comment to remind me what to do next 2018-03-11 22:38:18 -03:00
StrikerX3
f9b0366bd2 More small changes
There seems to be a race condition happening when trying to read and/or write the serial port
2018-03-11 22:35:46 -03:00
StrikerX3
a7e61eecf5 Reverted to polling
It's less than ideal, but works a little better
2018-03-11 22:02:15 -03:00
StrikerX3
3f4e2125ba Some changes, but serial comm is still not working 2018-03-11 21:48:07 -03:00
StrikerX3
37992038c4 Partially working Windows serial character driver
Polling is pegging down a CPU for no good reason
2018-03-11 21:07:10 -03:00
StrikerX3
6076adab0a Fix FIFO entry type 2018-03-11 19:23:05 -03:00
StrikerX3
f599fa0145 Added serial character driver for Win32. Untested 2018-03-11 19:21:10 -03:00
StrikerX3
e4a3a9961b Implemented Super I/O, serial devices and a null char driver 2018-03-11 17:51:22 -03:00