Commit Graph

11226 Commits

Author SHA1 Message Date
Matt Borgerson 24c056aeb8 Add networking support
This patch adds basic networking capabilities to XQEMU. Currently the
emulation is not exactly hardware-accurate, but is functional enough
for basic packet tx/rx with both the official Microsoft Xbox networking
libraries and NXDK networking libraries.
2016-01-17 13:31:36 -07:00
Matt Borgerson a958ad0dbc Support system resets via SMC. 2016-01-03 23:57:21 -07:00
espes 20264b1df8 quick support for w buffers 2015-10-21 03:45:45 +11:00
espes 32a04b3f38 factor psh_translate args into PshState 2015-10-20 22:52:01 +11:00
espes f16f79a1bc xid: nak unless new input data 2015-10-19 18:31:31 +11:00
espes ad6aef5a66 nforce chipset seems to allow setting irq0-3 to level triggered 2015-10-19 18:24:45 +11:00
espes 32cba22156 i8259: in edge triggered mode apparently a training edge should cancel the interrupt
https://lists.gnu.org/archive/html/qemu-devel/2012-09/msg00411.html
2015-10-19 18:21:43 +11:00
espes d532051a8e usb hub: don't return an overrun when there's no new status 2015-10-19 17:38:38 +11:00
espes eac9d5d608 texture cache and hash size tweak 2015-10-18 02:40:58 +11:00
espes 4593c6053a mask out write combined bit in context surfaces offsets 2015-10-17 14:44:46 +11:00
espes 80b440414d PGRAPH_INTR_ERROR and not PGRAPH_INTR_NOTIFY is used for software method calls? 2015-10-17 01:59:04 +11:00
Jannik Vogel db282fb310 Fix alphakill and hopefully clip planes 2015-09-29 02:59:51 +02:00
espes 1aa2869d95 Merge pull request #62 from apexad/game-hacks
Increase NV2A_MAX_BATCH_LENGTH to 131071
2015-09-16 02:46:07 +10:00
apexad 183e8a8705 Increase NV2A_MAX_BATCH_LENGTH to 131071 from 65535 2015-09-13 18:46:41 -07:00
espes ea3dc6517f Merge pull request #63 from JayFoxRox/texture-0x29-and-0x41
Texture format 0x28 (changed), 0x29 and 0x41
2015-09-14 06:07:27 +10:00
Jannik Vogel b1aca0bb85 Texture format 0x28 (changed), 0x29 and 0x41 2015-09-13 21:31:30 +02:00
Jannik Vogel 97be3f5986 Set initial value of oFog.x to 1.0 2015-09-11 03:47:20 +02:00
Jannik Vogel f379d5da7b Remove VP-foggen 2015-09-11 03:47:20 +02:00
Jannik Vogel 3f1b18378f Unify VP/FFP and fog for VP 2015-09-11 03:47:18 +02:00
Jannik Vogel 0df2f1c1f2 Initialize VP registers to zero 2015-09-09 15:06:21 +02:00
espes 4b5ff257f3 clear needs scope 2015-09-07 08:01:34 +10:00
Jannik Vogel cd6259287f Implement polygon modes in geometry shader 2015-09-06 21:00:09 +02:00
Jannik Vogel 2366b9bc9c Support for QUAD_STRIP and POLYGON (Fill and point rendering only) 2015-09-06 17:52:59 +02:00
espes ad8215cfbd Merge pull request #54 from JayFoxRox/dither
Add dither support
2015-09-06 10:13:03 +10:00
espes af64c017d7 Merge pull request #55 from JayFoxRox/clear-format
Respect framebuffer format for clears
2015-09-06 10:12:42 +10:00
Jannik Vogel 44fb0c51ce New gamepad keyboard mapping 2015-09-05 17:53:28 +02:00
Jannik Vogel ead287988f 0x201 XID USB request placeholder 2015-09-04 16:01:16 +02:00
Jannik Vogel 65c1efcb19 Merge pull request #57 from JayFoxRox/fix-rgb-to-a
Avoid shader compilation bug if 'g' is RGB
2015-09-04 03:26:06 +02:00
Jannik Vogel 0351caf058 Avoid shader compilation bug if 'g' is RGB 2015-09-04 03:24:16 +02:00
Jannik Vogel 092b9bef02 Also floor() negative numbers in ARL 2015-09-04 03:10:03 +02:00
Jannik Vogel e754087e18 Respect surface format for zeta clears 2015-09-04 02:01:27 +02:00
Jannik Vogel 5c017a2367 Add dither support 2015-09-04 01:35:18 +02:00
espes 60f8bce93a add some more simple gamepad keyboard mappings 2015-09-04 05:43:39 +10:00
Jannik Vogel f90a4cb5f9 Respect surface format for color clears 2015-09-03 18:53:33 +02:00
espes f275423103 Merge pull request #53 from JayFoxRox/polygon-offset-enable
Enable/Disable Polygon offset
2015-09-03 15:40:01 +10:00
Jannik Vogel 990b1138c5 Enable/Disable Polygon offset 2015-09-03 04:13:27 +02:00
Jannik Vogel fec5cb83e1 Add support for border colors 2015-09-03 02:09:46 +02:00
Jannik Vogel 2516d09a98 Fix typo which broke volume textures 2015-09-03 02:07:15 +02:00
espes c1e946a1ef Merge pull request #49 from JayFoxRox/polygon-offset
Polygon offset
2015-09-02 22:03:56 +10:00
Jannik Vogel 1ab319cacf Fix CMP vertex attrib type 2015-09-02 03:45:41 +02:00
Jannik Vogel 9a514dd795 Polygon offset 2015-09-01 21:15:14 +02:00
Jannik Vogel 0edbf5b8c6 SHADOW_ZSLOPE_THRESHOLD (registers only, no implementation) 2015-09-01 21:14:33 +02:00
Jannik Vogel 3017fcf6e3 Avoid multiplying xyz by w=zero 2015-09-01 19:33:47 +02:00
espes 967feb8c40 Merge pull request #41 from JayFoxRox/ubo
Use uniform buffer objects
2015-09-01 05:33:13 +10:00
Jannik Vogel 90c2eca5a8 Fix bug with duplicate uniform 2015-08-31 17:49:35 +02:00
Jannik Vogel 9edbfd08bc Eye registers and smaller changes 2015-08-31 17:49:34 +02:00
Jannik Vogel f6169030dc Comment about range being ignored 2015-08-31 17:49:34 +02:00
Jannik Vogel b7936a463d Point lights 2015-08-31 17:49:34 +02:00
Jannik Vogel 00aa96af3e Lighting base and directional lights 2015-08-31 17:49:17 +02:00
Jannik Vogel 9ebd07e9a1 Texture formats 0x20 and 0x3C 2015-08-30 13:46:36 +02:00