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
cc92bc1235
pinproctest: fix kPRDriverGroupsMax overflow
...
Compiler warnings showed we were overflowing arrays sized for
kPRDriverGroupsMax.
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
26670142b3
Added 'now' param to patter functions.
2012-02-03 16:38:33 -06:00
Gerry Stellenberg
3addfd2fa5
Change comments around polarity being true. PDBs are now active high only.
2011-06-27 20:17:18 -05:00
Gerry Stellenberg
3182b49d8d
Separated custom driver configuration functionality into functions for each type of configuration (drivers, groups, globals).
2011-06-12 08:39:58 -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
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
f198a341f8
Added include guards
2011-01-16 09:39:36 -06: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
44309d3aaf
Removed OS specific include path for yaml.h in pinproctest.cpp. Now always use yaml-cpp/yaml.h
2010-12-28 10:07:06 -06:00
Gerry Stellenberg
3ffb3b6f53
Added delay param to aux_output commands
2010-12-04 22:28:16 -06:00
Gerry Stellenberg
d6650531cd
Fixed alphanumeric segment map for 'R'
2010-11-19 22:34:43 -06:00
Gerry Stellenberg
fad99c4d1b
Changed binary constants to hex
2010-11-19 17:52:43 -06:00
Gerry Stellenberg
41fa8ce002
Added alphanumeric display test code.
2010-11-19 16:26:07 -06:00
preble
3d265e7bbf
First pass at handmade Makefiles.
2010-05-31 00:04:15 -04:00
gstellenberg
f6f731cf47
Set reloadActive bit for Bumpers to ensure they don't pop repeatedly due to misadjusted switches.
2010-04-30 20:43:29 -05: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
e392614cb9
Turn on all debounced switch events by default.
2010-01-11 18:27:37 -06:00
gstellenberg
7a39697f60
Made jd code more modular, added ball tracking logic.
2009-11-05 23:28:02 -06:00
gstellenberg
25471bc59d
add ifdef to pinproctest.h for WIN32 to use local yaml.h. Adjust notes in markdown.
2009-10-31 00:28:13 -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
ac296aab3e
Only use switch columns 8 and 9 with WPC and not WPC95.
2009-10-21 21:12:18 -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
e61311faf9
Separated machineType stern into sternSAM and sternWhitestar.
2009-09-28 23:33:49 -05:00
Gerry Stellenberg
966371a34e
Separated machineType stern into sternSAM and sternWhitestar.
2009-09-28 23:33:36 -05:00
gstellenberg
44c9e3d1db
Added code to set up Stern flipper rules
2009-09-27 00:22:08 -05:00
gstellenberg
5d81e1f4b6
Added constants for Stern flipper patter on and off times.
2009-09-27 00:20:36 -05:00
gstellenberg
fc32faea75
commented out test schedule to driver 0
2009-09-27 00:15:52 -05:00
Adam Preble
a70a8ea59c
Added /shared folder; moved dmd, sound, and yaml files there.
2009-09-22 00:15:43 -04:00
gstellenberg
d8006b3029
Added ball search, service modes, and sounds
2009-08-09 18:37:52 -05:00
gstellenberg
6a223cd85e
Experimenting with a ball search mode
2009-08-02 16:18:52 -05:00
Adam Preble
d68df9eb39
Merge branch 'master' of git@github.com:preble/P-ROC
2009-07-20 20:40:30 -04:00
gstellenberg
0a4aefdd6c
Added support for DMD frame events and new switch event enable.
2009-07-12 16:11:19 -05:00
Adam Preble
cc9329d893
Added jdtest.DropTargetsCompletedHurryup. Added game_started() and start_game(). Added auto_reset to drop target class.
2009-07-04 12:27:07 -04:00
Adam Preble
ae8b4ecbb1
Working on ball_starting(), ball_ended(), etc. state events.
2009-07-03 16:28:57 -04:00
Adam Preble
045152f973
Snapshot of progress adding DisplayController and other DMD classes.
2009-07-02 19:25:18 -04:00
Adam Preble
ac90247902
Implemented ProgressiveDropTargetBank. Moved some procgame methods/vars to be private. Added enable_flippers(); load_config() no longer does this automatically.
2009-06-25 19:47:45 -04:00
Adam Preble
817ff655c1
Added BasicDropTargetBank mode. Reorganized procgame module.
2009-06-23 21:50:54 -04:00
Adam Preble
b106f44e8a
Python progress. Bugfix in PRDevice.cpp.
2009-06-22 18:31:38 -04:00
Adam Preble
f5a65921c9
Updated instructions to reflect libusb-1.0. More JD.yaml.
2009-06-21 15:36:18 -04:00
Adam Preble
09b77068ea
Python: Added procgame, various driver and switch calls to pypinproc.
2009-06-07 14:47:20 -04:00