Tom Collins
705a2d25e6
pinproctest: more cleanup
2020-08-18 13:13:16 -05:00
Tom Collins
5ad464b167
pinproctest: use standard strcmp() vs. strcmpi()
...
While case-insensitive compare of the machine type passed on the
command line would be nice, the function to do so has different names
on different platforms, and its behavior may be impacted by the user's
locale setting.
2020-08-18 13:13:16 -05:00
Tom Collins
954084d348
pinproctest: code cleanup
...
Includes check to limit accelerometer-related code to P3-ROC since
it fails on the P-ROC (which doesn't have an accelerometer).
2020-08-18 13:13:16 -05:00
Tom Collins
40b0d86be2
yaml: remove yaml-cpp dependency
...
`pinproctest` now takes machineType as it's command-line parameter.
2020-08-18 13:13:16 -05:00
darren
dfe55cf217
changes for latest yaml-cpp and CPP 11
2019-05-29 14:06:19 -07:00
Gerry Stellenberg
235a5d9f50
Added AccelerometerIRQ support.
2013-07-02 23:13:58 -05:00
Gerry Stellenberg
78ed8bbe67
Added accelerometer events
2012-07-30 19:22:19 -05:00
Gerry Stellenberg
a488ad7ae7
Added example code to configure custom Driver Boards if the YAML's machineType field is 'custom'.
2011-06-11 20:48:49 -05:00
Gerry Stellenberg
a07206ff39
More small tweaks for MSVC.
2011-01-02 18:02:07 -06:00
Gerry Stellenberg
e08e4cde52
Minor changes to avoid compilation errors in MSVC
2010-12-29 17:21:34 -06:00
Gerry Stellenberg
41fa8ce002
Added alphanumeric display test code.
2010-11-19 16:26:07 -06:00
gstellenberg
be11214834
Removed extra param in call to PRDriverAuxPrepareOutput
2010-04-30 20:42:06 -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
gstellenberg
f5754d961b
Added support for Aux Port and Pulsed Patter
2010-04-04 14:19:43 -05:00
gstellenberg
b2e584773e
Commented out exception handling code since yaml-cpp.0.2.4 doesn't compile it.
2009-10-29 00:03:06 -05:00
gstellenberg
73bcc3575b
Made subdirectories for each game in pyprocgame. Still need to run the scripts from pyprocgame/. (ie. ./pryprocgame> python games/jd/jd.py
2009-10-18 16:49:25 -05:00
Gerry Stellenberg
966371a34e
Separated machineType stern into sternSAM and sternWhitestar.
2009-09-28 23:33:36 -05:00
gstellenberg
fc32faea75
commented out test schedule to driver 0
2009-09-27 00:15:52 -05:00
gstellenberg
6a223cd85e
Experimenting with a ball search mode
2009-08-02 16:18:52 -05:00
gstellenberg
0a4aefdd6c
Added support for DMD frame events and new switch event enable.
2009-07-12 16:11:19 -05:00
Adam Preble
c91d32dc3f
Added PRDecode(), updated TZ.yaml to reflect it.
2009-05-31 17:23:09 -04:00
Adam Preble
084c9160a5
Resolved conflict in PRDevice.cpp. Also bringing in Ruby and Python ext progress.
2009-05-31 13:12:21 -04:00
Adam Preble
33351abf41
Added & integrated PRDriverLoadMachineTypeDefaults().
2009-05-31 13:05:32 -04:00
gstellenberg
1045923258
Merge branch 'switch_dev'
2009-05-31 11:26:01 -05:00
gstellenberg
2fc0732908
Implemented PRSwitchGetStates to retrieve the current state of each switch
2009-05-31 11:25:09 -05:00
Adam Preble
e0b78373c9
Fixed accidental additions to pinproctest.cpp.
2009-05-31 11:11:39 -04:00
Adam Preble
71fc6c9b52
Added PRGetLastErrorText().
2009-05-31 10:47:51 -04:00
Adam Preble
301f3aa26b
Split out pinproctest into module-related files.
2009-05-30 16:43:15 -04:00
gstellenberg
61b791af8a
Merge branch 'master' of git@github.com:preble/P-ROC
2009-05-30 14:14:20 -05:00
gstellenberg
2276fcf248
Fixed compile error with new Stern code
2009-05-30 14:13:56 -05:00
Adam Preble
87c73a1f06
Added log levels. Fixed bug in PRDevice::Open() if VerifyChipID() worked the first time.
2009-05-30 14:43:48 -04:00
gstellenberg
35e29e3cab
Added Stern parameters to ConfigureDrivers()
2009-05-30 13:18:36 -05:00
Adam Preble
8e65a15a68
pinproctest now checks return value of LoadConfiguration().
2009-05-29 22:24:39 -04:00
Adam Preble
f3a71b7a6f
pinproctest: Expanded YAML format to allow for fields inside of each PRSwitches/PRLamps/PRCoils entry. Added use of 'number' field. Added TZ.yaml.
2009-05-29 19:54:11 -04:00
Adam Preble
579d3532ea
Fixed calls to PRSwitchUpdateRule() that weren't supposed to have drivers linked.
2009-05-29 19:09:38 -04:00
gstellenberg
a8f8e17824
Added call to PRFlushWriteData at the end of each run loop.
2009-05-29 12:14:24 -05:00
gstellenberg
1cf8101b19
Changed WPC coil mappings again. Previous change lost in a merge
2009-05-28 23:05:58 -05:00
Gerry Stellenberg
53570bbe55
Merge branch 'master' of ssh://gerrys-quad/home/gerrys/work/pinball/P-ROC/P-ROC
2009-05-28 22:54:53 -05:00
Gerry Stellenberg
8d65a9a352
Changed WPC coil mappings
2009-05-28 22:54:06 -05:00
gstellenberg
674e69a63e
Merge branch 'master' of git@github.com:preble/P-ROC
2009-05-28 22:49:55 -05:00
Adam Preble
e2ee789793
Added time information to switch printf()s.
...
Made vars in DMD update routine more descriptive.
ConfigureSwitches() no longer sets everything to notifyHost=true.
2009-05-28 23:40:06 -04:00
gstellenberg
1b9865da78
Added switch statement to change setup of driver globals and groups between WPC and Stern. Also changed the order of the WPC drivers to better match the order in game manuals
2009-05-28 18:50:53 -05:00
Adam Preble
b3b1298d23
Reworked PRReset() and added kPRResetFlag* #defs.
2009-05-27 21:29:18 -04:00
gstellenberg
06442264a1
Made PRDevice::Reset public for use in pinproctest and added a parameter to allow the disabled driver and switch rule structures to be written to the P-ROC.
2009-05-27 19:10:44 -05:00
Adam Preble
059c096531
Updated pinproctest to load switches and coils from command-line specified YAML file.
...
Removed Makefiles. Added instructions to install yaml-cpp in /usr/local so CMake can find it (relative paths == bad).
2009-05-26 23:36:09 -04:00
gstellenberg
0f4976c5e5
Implemented PRSwitchUpdateConfig
2009-05-25 22:27:50 -05:00
gstellenberg
179125367b
switched residual dotPointer to dotOffset to fix compile error.
2009-05-25 01:20:48 -05:00
Adam Preble
4a47637d99
Merging in changes for CMake building, etc.
...
Resolved conflict in:
libpinproc/examples/pinproctest/pinproctest.cpp
2009-05-25 01:45:28 -04:00
Adam Preble
dcd9c560d3
Added CMake building and instructions to README.markdown.
...
Removed YAML loading code from libpinproc.
2009-05-25 01:40:08 -04:00