Commit graph

68839 commits

Author SHA1 Message Date
Matt Borgerson e1236e1b62 nv2a: Handle alignment padding between cubemap faces 2020-09-11 09:57:05 +01:00
Matt Borgerson 4a608b307c nv2a: Handle color material ambient/emissive 2020-09-11 09:56:01 +01:00
Jannik Vogel 4f7afe1240 nv2a: Don't normalize light direction 2020-09-11 09:55:09 +01:00
Voxel9 316513964a nv2a: Fix FFP texgen assertions
Should compare against channel index instead of texture stage index
2020-07-12 15:25:42 +01:00
Voxel9 48993e472e nv2a: Remove TEXGEN_SPHERE_MAP assertion 2020-07-12 15:25:42 +01:00
wutno 42579ba366 ci: Remove glib from macOS dep list 2020-04-13 15:25:49 +01:00
Luke Usher 0ced417e73 dsp: Use endianness handling functions when accessing memory 2020-01-03 02:28:14 +01:00
Matt Borgerson d57fa78169 ci: Unlink python@2 for macOS
Dependency resolution resulting in installation of 'python' will grab
python@3 which conflicts with existing python@2 installation's symlinks.
Unlink python@2 for now so python@3 can install cleanly.
2020-01-02 16:24:25 -07:00
Matt Borgerson 3cbe585b59 build: Disable some unnecessary features 2019-12-24 17:10:34 -07:00
Matt Borgerson 32ad2bc012 ci: Auto-confirm update to MSYS2 environment 2019-12-23 15:02:50 -07:00
Matt Borgerson b451995502 README: Update CI badges 2019-12-23 14:17:56 -07:00
Matt Borgerson dd26bee808 ci: Use ccache to reduce build time 2019-12-23 14:17:56 -07:00
Matt Borgerson 70f8837912 ci: Add GitHub Actions build workflows 2019-12-23 14:17:56 -07:00
Matt Borgerson 84c168de09 ci: Remove AppVeyor config 2019-12-23 14:17:56 -07:00
Matt Borgerson 3fa1ec3bd4 .travis.yml: Restore Travis-CI config to QEMU upstream 2019-12-23 14:17:56 -07:00
Matt Borgerson b23ea976cf build: Narrow make scope to i386-softmmu target 2019-12-23 14:17:56 -07:00
Matt Borgerson f8a7f34508 build: Disable source fortification for Windows builds
MSYS2/Mingw does not appear to provide a stable set of fortified source
functions which the compiler makes calls to when the feature is enabled.
Disable the feature for now.
2019-12-23 14:17:56 -07:00
Matt Borgerson 310addb197 configure: Add option to disable source fortification 2019-12-23 14:17:56 -07:00
Matt Borgerson 6dc3f4f582 osdep: Define __USE_MINGW_ANSI_STDIO before includes
This patch moves the definition of __USE_MINGW_ANSI_STDIO to precede
inclusion of any headers. This is done to prevent stdio.h from assigning
a default value which was previously conflicting with our unconditional
definition, resulting in numerous compiler warnings.
2019-12-23 14:17:56 -07:00
Lucas Eriksson 832b441427 build: Use bash 2019-10-18 21:33:10 +01:00
Darren Thompson 8e9fe7e054 ci: Update macOS build script to use GNU compat greadlink 2019-10-18 21:31:00 +01:00
Stanislav Motylkov c230d77bc2 nv2a: Add some missing RAMDAC registers
Cromwell sets these registers on video initialization and
guest OS should be able to read them in order to obtain
current screen resolution set up by firmware.
2019-10-18 21:30:16 +01:00
Stanislav Motylkov c4fca3843f lpc: Fix typo in CONFIG_DEVICE_INTERRUPT constant 2019-10-04 23:36:10 +02:00
Matt Borgerson c181259c31 README: Show debug/release build badges 2019-10-02 22:48:43 +02:00
Matt Borgerson b6a1a2d060 build: Add release builds to TravisCI 2019-10-02 22:48:43 +02:00
Jannik Vogel 2dc570561e nv2a: Fix VGA get_bpp for X1R5G5B5 2019-10-01 12:48:45 -07:00
Jannik Vogel f9b9a9bad8 nv2a: Add support for PGRAPH RDI select 0xCC 2019-09-16 12:15:25 -07:00
Jannik Vogel e42fb24752 nv2a: Add support for PGRAPH RDI select 0x17 2019-09-16 12:15:25 -07:00
Jannik Vogel 973f8db16a nv2a: Support PGRAPH RDI 2019-09-16 12:15:25 -07:00
Jannik Vogel 5ccd95ec4b nv2a: Use pg shortname in PGRAPH MMIO handler 2019-09-16 12:15:25 -07:00
Stanislav Motylkov 5e8af994c0 smc: Make attached avpack configurable
Also improved constant definitions based on https://xboxdevwiki.net/AV_Cables

Co-authored-by: Matt Borgerson <contact@mborgerson.com>
2019-09-09 12:46:20 -07:00
Stas'M dd1248a563 nv2a: Set PCI class id and subsystem id to match hardware
This patch sets the class id, subsystem id, and subsystem vendor id
in the PCI device header to match what the NV2A hardware advertises.

This resolves an issue with PCI device enumeration failing to detect and load
the driver for the NV2A device in some operating systems, namely ReactOS
version 0.2.5-xbox (custom build), which depend on these fields being
programmed correctly.
2019-08-28 13:55:21 -07:00
Matt Borgerson 4cf920d594 apu: Disable buffer sampling for now 2019-07-12 18:42:03 -07:00
Matt Borgerson 6c11490a35 apu: Add license for ADPCM decoder files 2019-07-12 18:42:03 -07:00
Matt Borgerson dd20a673ed apu: Fix unused var warnings used only in debug prints 2019-07-12 18:42:03 -07:00
Matt Borgerson ededef3b38 apu: Use MCPX_DPRINTF instead of printf 2019-07-12 18:42:03 -07:00
Matt Borgerson 3ae172c209 apu: Fix indentation for step_envelope 2019-07-12 18:42:03 -07:00
Matt Borgerson e90304a223 apu: Buffer playback cleanup and build fixes 2019-07-12 18:42:03 -07:00
Matt Borgerson 4073c3200e apu: Import JayFoxRox's basic buffer sampling code
This patch adds the code necessary to perform basic buffer sampling for
HW voices. Includes new register definitions, support for a few new
methods, envelope stepping, ADPCM decoding, and the individual voice
buffer sampling to be added to the VP output mixbufs. This code does not
add system audio playback nor streaming support.

Some portions are disabled as they will need to be fixed up for
compilation in this new tree.

This code originates from Jannik Vogel's 2017 audio branch. Copied into
the current, recently LGPL-licensed version of this file with
permission.

https://github.com/JayFoxRox/xqemu-espes/commits/audio
2019-07-12 18:42:03 -07:00
Lucas d1e77ec0c4 xid: Swap SDL binding for black and white buttons 2019-07-05 15:14:08 -07:00
Matt Borgerson 3b29f0888a build: Specify Xenial (16.04) for TravisCI 2019-07-04 12:11:37 -07:00
Matt Borgerson 8d17b4d772 smbus: Fixup potential buffer oob on ADM1032 2019-07-04 12:11:28 -07:00
Matt Borgerson 0550699026 Merge branch 'master' into merge-v4.0.0 2019-07-04 00:59:25 -07:00
Matt Borgerson 15331ac2da build: Update deps, always update homebrew 2019-07-04 00:57:49 -07:00
Stefan Schmidt e8680193c6 build.sh: Fix macOS; add path to libffi pkgconfig to PKG_CONFIG_PATH 2019-07-04 00:57:06 -07:00
Stefan Schmidt 4147b42afd ci: Update homebrew on macOS before installing packages 2019-07-04 00:57:06 -07:00
Matt Borgerson 130965646a build: Fixup Git dirty detector 2019-07-04 00:20:25 -07:00
Matt Borgerson 973a0c0409 build: Fixup Git commit detector
For XQEMU, we do not currently use dotted-version notation style
tag names, instead we simply use the raw commit-id. This returns
the Makefile to the simple commit-id style.
2019-07-04 00:14:56 -07:00
Matt Borgerson bc049f43e1 smbus: Fixup smbus_read/write_block calls 2019-07-04 00:04:00 -07:00
Matt Borgerson bc4bc54621 hvf: Use target-specific printf formatters 2019-07-04 00:04:00 -07:00