Ian Curtis
9f5a19a04a
Use correct PCI IDs (Harry Tuttle)
2018-07-09 08:06:06 +00:00
Ian Curtis
0b6da91cc0
add the rest of the network board code (Spindizzi)
2018-01-07 14:07:59 +00:00
Ian Curtis
080acd08c2
Fix the smallest texture lods (Harry Tuttle)
2017-12-21 11:14:06 +00:00
Ian Curtis
a772dd32fc
fix array out of bounds
2017-12-20 18:47:17 +00:00
Ian Curtis
4702fef33e
remove debug code
2017-12-19 11:43:17 +00:00
Ian Curtis
429d6cbb02
mark as static
2017-12-17 23:02:25 +00:00
Ian Curtis
cc28d5f00e
Implement sub 8x8 tile encoding. Fixes incomplete mipmap chains which previously only went down to 8x8 pixels before. It wasn't known these textures existed before. (Harry Tuttle)
2017-12-17 22:25:50 +00:00
Ian Curtis
eb798ed15e
Star wars is the only game to pass unsigned fixed shaded values (per vertex brightness) to the renderer. Originally we thought that the specular flag would turn on unsigned values since it's the only game to set specular with these polys, but this logic turned out to be incorrect. The JTAG interface seems to config the GPU to turn on this functionality. (Harry Tuttle)
2017-10-05 19:15:00 +00:00
Ian Curtis
0376f74192
work around for visual studio bug
2017-09-24 22:36:12 +00:00
Ian Curtis
7590f50350
cannot specify explicit initializer for arrays - fix for visual studio
2017-09-24 22:03:31 +00:00
Bart Trzynadlowski
55bb02d4e5
- New work-in-progress frame timing code (disabled by default, compile with NEW_FRAME_TIMING defined to activate it)
...
- New JTAG emulation, moved into its own class, CJTAG
- Removed game-specific sun clamp hacks from CNew3D (JTAG and Real3D emulation will call the appropriate method to configure this at run-time)
- Removed JTAG from Real3D save state data and reused some of that space for new state variables having to do with the internal JTAG-based config as well as new frame timing state variables
2017-09-24 20:52:48 +00:00
Bart Trzynadlowski
f04a285727
DMA and register space access for Real3D have been unified and CReal3D::ReadRegister() returns little endian data now that the PowerPC handler byte-swaps back, to be consistent with how DMA registers work.
2017-08-29 01:28:21 +00:00
Bart Trzynadlowski
f34e25dfc7
Massive internal change: removed CConfig object and replaced it with a hierarchical config object system (Util::Config::Node). Games are now defined in an XML file. Hopefully I didn't break too many things :/
2017-03-27 03:19:15 +00:00
Ian Curtis
ff624afb4d
The mipmap data in some games seems to being sent behind the base textures, and when the base textures are bound and created the mipmap chain is not yet valid in memory. To fix this, we invalidate the base textures, when the mipmap chain is updated.
2017-03-25 00:06:24 +00:00
Ian Curtis
519cce34f5
remove debug code
2017-03-19 09:54:51 +00:00
Ian Curtis
9780f333b4
The model3 has this weird issue where the 2d and 3d planes are misaligned by 2 pixels. Originally I made a quick hack that shifted subviewports 2 pixels. But apparently that wasn't enough, as the issue effects everything. Thanks to HarryTuttle for pointing this out, and making a patch :)
2017-03-19 01:33:45 +00:00
Ian Curtis
2ddc8a30e0
Clear queued texture uploads after processing them. Saves re-uploading the same textures whilst paused
2016-11-20 17:02:59 +00:00
Bart Trzynadlowski
fa65542d76
Added support for A1RGB5 to BMP file writer and added a (commented-out) example of how to use it to dump texture memory in ~CReal3D()
2016-05-03 00:28:56 +00:00
Ian Curtis
499ac0e1c9
Don't use variable sized variables across platforms, unless needed
2016-04-11 09:00:20 +00:00
Ian Curtis
6d313fcf9e
Fix - cannot specify explicit initializer for arrays
2016-04-11 08:38:59 +00:00
Bart Trzynadlowski
94c66eea7b
Figured out Step 1.0 VROM texture uploads. Fixes missing textures in VF3 and VF3TB.
2016-04-11 03:48:36 +00:00
Bart Trzynadlowski
2524f2e837
Fixed Magical Truck Adventure by emulating VROM texture ports as a FIFO. Now, VF3 crashes on Akira's stage (and probably the other stages with texture glitches). Other games may be affected, too (not thoroughly tested yet).
2016-04-11 00:19:10 +00:00
Bart Trzynadlowski
198a469ff7
Created IEmulator interface, renamed CBus to IBus and CPCIDevice to IPCIDevice. Frames now rendered when emulator paused.
2016-04-10 03:42:41 +00:00
Bart Trzynadlowski
d8aefa421d
8-bit texture upload byte selection (thanks to Ville; but not tested yet); code cleanup
2016-04-04 03:42:26 +00:00
Bart Trzynadlowski
34301e97e1
Adding new 3D engine by Ian Curtis. Old engine moved to Graphics/Legacy3D/.
2016-03-21 04:10:14 +00:00
Bart Trzynadlowski
772c94d122
- Committing Nik's timing changes: the PowerPC's DEC and TBR now count at the correct rate and time is accurately maintained between calls to the emulator. A VBlank bit was identified in the Real3D status register space and is now timed. Unfortunately, there are still some problems and not all games are perfect, but FV2, VS2, and others are working much better or perfectly.
...
- Added a new dump of Scud Race Plus (scudp1). Strangely, this one uses an MPC106 instead of the MPC105 used by every other Step 1.5 game...
2012-07-12 06:13:24 +00:00
Nik Henson
d1d5175548
New multi-threaded rendering changes that parallelise graphics rendering and PPC execution in order to increase performance on multi-core machines.
...
New gpuMultiThreaded config option to enable/disable multi-threaded rendering (enabled by default, disabling it reverts to previous behaviour).
Other rendering optimisations:
- texture uploads now only affect appropriate region in the texture sheet, rather than uploading the whole sheet each time
- performance of clearing the model caches has been improved
New Alt+O key input added to toggle outputting of frame timings for debugging purposes.
2012-01-16 23:21:14 +00:00
Bart Trzynadlowski
46bc52bb12
- Changed save state error messages slightly.
...
- Wrapped rows that exceed 80 columns in Supermodel.ini.
- Added some member and function comments to a few header files.
- Changed version string to 0.2a-RC2 in anticipation of sending another release candidate build to testers.
- Added GAME_INPUT_RALLY flag to dirtdvlsa, eca, and ecax.
- Configuration dialog no longer refers to Sega Rally 2 and Dirt Devils; instead, "Miscellaneous Driving Game Buttons"
- More additions to README.txt.
2011-09-22 06:11:47 +00:00
Bart Trzynadlowski
2f5bf43bda
Updated copyright information and added headers to all remaining files except debugger.
2011-09-14 19:08:43 +00:00
Bart Trzynadlowski
11d1d61bc2
- Removed BOOL and replaced it with native C++ type, bool.
...
- Removed TRUE and FALSE, changed to 'true' and 'false' keywords.
2011-09-08 06:34:18 +00:00
Bart Trzynadlowski
abd86a5624
- Cleaned up game names (primary sets no longer have revision labels in title).
...
- Added volume controls to UI.
- Renamed "Sega Rally Controls" to "Sega Rally/Dirt Devils Controls" (even though Dirt Devils has no hand brake).
- Hooked up gear shifting and view change for Dirt Devils.
- Removed debug printf()'s from DSB.cpp.
- Removed debug printf() from Real3D.cpp.
- Disabled assertions in SCSPDSP.cpp.
- Converted all error messages in Amp library to Supermodel format.
2011-09-08 05:08:16 +00:00
Bart Trzynadlowski
8be2966ecb
- Added crosshairs for light gun games and disabled mouse cursor in full screen mode (no way to re-enable it now).
...
- Fixed Real3D FIFO buffer overflow bug.
- Input system cannot be changed for non-Windows builds (only SDL is available).
- Added Spikeout-specific controls.
2011-08-27 21:37:37 +00:00
Bart Trzynadlowski
fce3c7ad7c
- skichamp now works, but controls are not hooked up and seems to overload the display lists like many non-working Step 2.x games do. To bypass the drive board error, enter the test menu and exit again. It will reboot and run.
...
- Added some notes on the cause of the "NO DAUGHTER BOARD DETECTED" error in Real3D.cpp.
- Removed some debug code from texture uploader.
2011-08-02 03:33:40 +00:00
Bart Trzynadlowski
b0e8755afc
Added Spikeout protection data.
...
Added code to detect and abort erroneous 0-length texture transfers (was causing Spikeout to hang the emulator).
2011-07-06 05:07:04 +00:00
Bart Trzynadlowski
783446fca2
Fixing import mistake: moving source code to trunk/Src.
2011-04-24 01:19:40 +00:00