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

136 Commits

Author SHA1 Message Date
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
gstellenberg
c7367fc5ee Changed VerifyChipID retries to 5 now that it's ignoring unrequested data. Should really only need to be 1. 2009-10-30 23:50:44 -05:00
gstellenberg
8f6357fcb4 Changed VerifyChipID to use SortReturningData instead of just ReadData so it will ignore nonrequested events like DMD events. 2009-10-30 23:30:47 -05:00
gstellenberg
6a0c819939 When setting up defaults, set up the driver groups before enabling the drivers since the FPGA now uses the groups to set the initial polarity. 2009-10-29 00:02:26 -05:00
gstellenberg
df1bbb084e Added code to set the polarity of driver group 18 and drivers 144-151 for WPC machineTypes to 1 for the 8-driver board. 2009-10-26 12:03:55 -05:00
gstellenberg
a6ac5122e5 Cleanup for VerifyChipID logic. 2009-10-25 15:24:33 -05:00
gstellenberg
9550ba1223 Added debug for startup crashes, and put a while loop of 50 max iterations around VerifyChipID(). 2009-10-25 15:05:58 -05:00
gstellenberg
00724e58e3 Merge branch 'master' of git@github.com:preble/P-ROC 2009-10-25 13:13:03 -05:00
gstellenberg
f1b5c49295 adjusted WPC mappings for 8-driver board coils. 2009-10-25 13:12:58 -05:00
preble
b81b80c311 Fixed compiler warnings. 2009-10-25 10:43:06 -04:00
gstellenberg
c51af65a05 Initialize buffer pointers before using. 2009-10-24 23:11:30 -05:00
gstellenberg
96093802a6 Display chip_id and version as Errors so they are always printed. 2009-10-24 11:46:39 -05:00
gstellenberg
dd12016b0f Double flush read buffer on startup. 2009-10-23 22:18:48 -05:00
gstellenberg
520a8a5b17 Added support for WPC switch matrix columns 8 and 9. 2009-10-21 21:03:16 -05:00
gstellenberg
cee4aab5a2 Fixed logic comparing the requested machineType against the P-ROC's machine type. 2009-10-20 23:41:21 -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
Adam Preble
4ac76276d0 Added handling for 'custom' machineType to pypinproc. Set error text on machine type failure in PRCreate. 2009-10-17 18:09:09 -04:00
gstellenberg
672c48c61d Added code to parse Fxxx notation for WPC flipper coils, distinguish between WPC and WPC95 in coil numbering, and remap WPC coils between 37 and 44 to x + 101 to use P-ROC's enable[8] which goes to the 8-driver board 2009-10-10 23:02:03 -05:00
gstellenberg
e496c5d35e Split kPRMachineWPC into WPC and WPC95 2009-10-10 22:58:58 -05:00
Gerry Stellenberg
9b0322a4fc Only set up machine type defaults if not kPRMachineCustom. 2009-10-02 15:55:30 -05:00
Gerry Stellenberg
2efa0ad54c Added function IsStern() to assest PRDevice.cpp in determining the machineType. 2009-10-01 22:46:18 -05:00
Gerry Stellenberg
2a48ff79c9 Added high current drive protection to default WPC and Stern coils. Adjusted Stern driver group times to reflect latest FPGA 1.11, and moved some machineType determination logic into a function in PRHardware.cpp. 2009-10-01 22:45:37 -05:00
Gerry Stellenberg
12e81a4510 Separated kPRMachineStern into ...SternSAM and ...SternWhitestar and added SternWhitestar decodes. 2009-09-28 23:35:42 -05:00
Gerry Stellenberg
3f36b408ca Separated machineType stern into sternSAM and sternWhitestar. 2009-09-28 23:33:09 -05:00
gstellenberg
d767e74258 Fix error in Stern switch mappings. 2009-09-27 01:05:57 -05:00
gstellenberg
24a2ab662e Use kPRMachineCustom as an override to the machineType protection 2009-09-27 00:37:47 -05:00
gstellenberg
600845fe52 Added an internal variable readMachineType to hold the machineType read from the board. 2009-09-27 00:27:27 -05:00
gstellenberg
fba3d5354b Made some adjustments for initial Stern experiments. Also added a check of the requested machineType against the machineType read from the P-ROC. Create() fails if the check fails 2009-09-27 00:26:46 -05:00
gstellenberg
08d7655d27 Added Stern code to PRDecode 2009-09-27 00:25:13 -05:00
Adam Preble
5dbe3e696f libpinproc: fixed uninitialized memory that could cause memory consumption leading to a crash.
pypinproc: changed linker path to point to ../bin.  Added note about running in 64-bit environment (Snow Leopard).
pyprocgame: debug printing enhancements
jdtest: Fixed bug (not clearing out drop target mode).  Added initial Splash.dmd.
2009-09-21 23:12:41 -04:00
gstellenberg
0a4aefdd6c Added support for DMD frame events and new switch event enable. 2009-07-12 16:11:19 -05:00
gstellenberg
71255a0034 Merge branch 'master' of git@github.com:preble/P-ROC 2009-06-28 22:35:58 -05:00
gstellenberg
6b810edd78 Added pinprocfw, a utility to verify/update the P-ROC's firmware (FPGA image). 2009-06-28 22:33:02 -05:00
Adam Preble
b106f44e8a Python progress. Bugfix in PRDevice.cpp. 2009-06-22 18:31:38 -04:00
gstellenberg
3926fbb84e Resolved a number of build issues with WIN32 builds 2009-06-12 10:03:18 -05:00
gstellenberg
a2cf25620b Resolved a number of build issues with WIN32 builds 2009-06-12 10:00:20 -05:00
gstellenberg
b1ce47989c Resolved a number of build issues with WIN32 builds 2009-06-12 09:57:00 -05:00
gstellenberg
789ac049db Resolved a number of build issues with WIN32 builds 2009-06-12 09:47:43 -05:00
gstellenberg
419269a60d Added D2XX support 2009-06-01 11:07:56 -05:00
gstellenberg
f1e47d6a75 Merge branch 'master' of git@github.com:preble/P-ROC 2009-05-31 17:32:40 -05:00
gstellenberg
7543c30881 Added public PRWriteData and PRReadData for low level debug 2009-05-31 17:32:29 -05:00
Adam Preble
cd1d74db81 Added missing switch matrix formula for PRDecode(). 2009-05-31 17:29:03 -04:00