1
0
mirror of https://github.com/preble/libpinproc synced 2026-02-24 18:25:23 +01:00
Commit Graph

127 Commits

Author SHA1 Message Date
Tom Collins
e512fd2a6e correct #include path to ftdi.h from libftdi1 2015-04-20 17:03:59 -07:00
Tom Collins
ed70e41229 cleanup: include stdlib.h instead of defining NULL in PRCommon.h 2015-04-20 16:58:34 -07:00
Koen Heltzel
86c27a80f1 update DriverAuxSendCommands() to work on P3-ROC 2015-04-20 16:58:16 -07:00
Koen Heltzel
52c828df50 revert mappedWPCDriverGroupSlowTime change causing lamps to be dimmer in WPC machines
Signed-off-by: Tom Collins <tom@tomlogic.com>
2015-04-20 16:49:55 -07:00
Gerry Stellenberg
5aba1a5c8b Use PrepareWriteData() for LED commands instead of WriteData so that data isn't flushed on every command. 2014-04-16 11:31:12 -05:00
Koen Heltzel
12d065b9b7 Restored mappedWPCDriverGroupSlowTime timings that were changed & committed by mistake, causing lamps to be dimmer in WPC machines.
a9f35706da
2013-12-17 12:54:53 +01:00
Koen Heltzel
946ef7ac08 A schedule request with a 0x0 schedule is now converted to a disable command automatically, this fixes unexpected LED flashing in lampshows where schedules can be 0x0.
http://www.pinballcontrollers.com/forum/index.php?topic=251.msg6791#msg6791
http://www.pinballcontrollers.com/forum/index.php?topic=802.msg6783#msg6783
2013-12-17 12:42:28 +01:00
Gerry Stellenberg
ab0739e0dd Keep track of chip_id and use it when retrieving switch states. 2013-10-02 13:45:18 -05:00
Gerry Stellenberg
718c695a87 Merge branch 'dev' of github.com:preble/libpinproc into dev 2013-07-02 23:14:10 -05:00
Gerry Stellenberg
235a5d9f50 Added AccelerometerIRQ support. 2013-07-02 23:13:58 -05:00
Gerry Stellenberg
a9f35706da Changes for p3-roc 2013-06-25 18:54:54 -05:00
Roy Eltham
0c975d372b Hardcoded number cleanup and more.
Made the hard coded number cleanup changes Gerry requested.
Also changed FillLEDWriteCommand to FillPDBCommand, now it can be used
filling out any PDB command (extra constants in PRHardware.h).
2013-03-01 09:59:37 -08:00
Roy Eltham
cd9b88dea6 Added PD-LED board functions. 2013-02-28 21:20:29 -08:00
Roy Eltham
c871ddfeb3 Revert "Added functions for PD-LED boards."
This reverts commit dec4955b15.
2013-02-28 20:36:01 -08:00
Roy Eltham
dec4955b15 Added functions for PD-LED boards. 2013-02-28 19:16:18 -08:00
Roy Eltham
c7daca92d6 Fix memory stomp due to incorrect malloc size. 2013-02-24 23:02:20 -08:00
Gerry Stellenberg
78ed8bbe67 Added accelerometer events 2012-07-30 19:22:19 -05:00
Gerry Stellenberg
72301ec1dd Separated switch event parsing for V1 vs V2. 2012-05-12 15:06:23 -05:00
Gerry Stellenberg
26670142b3 Added 'now' param to patter functions. 2012-02-03 16:38:33 -06:00
Gerry Stellenberg
27bfbbf342 Added future pulse support. 2011-12-16 19:13:36 -06:00
Gerry Stellenberg
21c3a45e88 Added support for PDB machine type. 2011-11-04 16:09:23 -05:00
Gerry Stellenberg
b6a40477c0 Provide P-ROC event timestamps with switch events. 2011-09-15 19:04:39 -05:00
Gerry Stellenberg
06b8af5393 Replace concept of virtual switches with switches that don't need to be debounced. This is necessary because all switches 0-255 are used. Defining some as never-debounce makes switch rules available for linked rules. 2011-08-29 16:19:24 -05:00
Gerry Stellenberg
ed8f768ae2 Adjusted addresses used in PRSwitchGetStates to reflect FPGA change. Use the combined version/revision to choose between the old address and the new one so that old FPGAs will still work fine. 2011-06-07 09:00:18 -05:00
Gerry Stellenberg
3f41e9b4b9 Fixed bug where a switch rule driver wasn't getting programmed properly if there was only one driver. 2011-02-18 13:52:18 -06:00
Gerry Stellenberg
c53227c90e Added progress status to pinprocfw. Also added the drive_outputs_now parameter to PRSwitchUpdateRule() and associated methods. When true and FPGA version is 1.17 (non-debug) or higher), the P-ROC will check the switch state to see if the drivers should be processed immediately. 2011-02-17 21:40:06 -06:00
Gerry Stellenberg
a7130131f3 More tweaks for MSVC support, and eliminated deprecated conversion warnings from pinprocfw.cpp. 2011-01-16 18:06:29 -06:00
Gerry Stellenberg
f198a341f8 Added include guards 2011-01-16 09:39:36 -06:00
Gerry Stellenberg
9af691d70a Continued improvements for MSVC builds. Reworked CmakeLists.txt and simplified ifdefs in PRHardware.cpp 2011-01-10 17:01:51 -06:00
Gerry Stellenberg
1a82212cb4 Removed unnecesary ifdef around stdio.h. stdio.h should be available on all platforms. 2011-01-02 21:35:17 -06:00
Gerry Stellenberg
a07206ff39 More small tweaks for MSVC. 2011-01-02 18:02:07 -06:00
Gerry Stellenberg
d90bf717ba Back out protection code from previous check-in. It's too restrictive. 2010-12-30 19:44:40 -06:00
Gerry Stellenberg
b493bc702a Merge branch 'dev' of git@github.com:preble/libpinproc into dev 2010-12-30 18:01:16 -06:00
Gerry Stellenberg
b58c868a8f Removed debug printf from aux logic 2010-12-30 18:01:04 -06:00
Gerry Stellenberg
e08e4cde52 Minor changes to avoid compilation errors in MSVC 2010-12-29 17:21:34 -06:00
Gerry Stellenberg
f3ad533059 Adjusted CMakeLists.txt to allow #include <pinproc.h> to work. 2010-12-27 12:05:34 -06:00
Gerry Stellenberg
3ffb3b6f53 Added delay param to aux_output commands 2010-12-04 22:28:16 -06:00
Gerry Stellenberg
06e651026a Fixed a number decoding mistake for wpc95 games 2010-11-21 15:06:53 -06:00
Gerry Stellenberg
4314b48548 Added driver group disable helper functions. 2010-11-17 17:49:10 -06:00
preble
23cf3b374b Minor improvements. Fixed PRSleep() on POSIX platforms. 2010-06-14 01:02:49 -04:00
Gerry Stellenberg
c29a6daa48 Added additional includes for better cross-platform compilation support. 2010-05-12 18:10:00 -05:00
gstellenberg
aa7e064d70 Added support for a reload timer for each switch rule. 2010-04-30 20:39:39 -05:00
gstellenberg
e7ffc77566 Set reloadActive bit on switch rule updates. 2010-04-30 20:38:37 -05:00
gstellenberg
e90731e7b9 Added PRDriverPulsedPatter for patter bursts. 2010-04-11 19:30:08 -05:00
gstellenberg
25c4fe2d0b Added kPRMachineTypeWPCAlphanumeric to differentiate between WPC machines needing an Aux port for alphanumeric control versus those using a DMD. Also added default driver code to configure the FPGA's Manager Config register. 2010-04-10 23:17:55 -05:00
Gerry Stellenberg
2be7223089 Removed enableExtraData from Aux commits. That bit is now a global bit in the FPGA's Manager logic. 2010-04-10 20:33:11 -05:00
gstellenberg
f5754d961b Added support for Aux Port and Pulsed Patter 2010-04-04 14:19:43 -05:00
preble
ed7f0153f0 Improved error reporting. PRGetEvents() now returns -1 if an error occurred. 2010-03-28 14:23:07 -04:00
gstellenberg
00009be170 Fixed linked rules free list maintenance bug. 2010-02-23 13:20:21 -06:00
gstellenberg
3155dc9a10 Fixed switch event typo. 2010-02-17 10:35:37 -06:00