Skip to content

Commit

Permalink
added coin door service buttons, disabled "smoothing" for WPC
Browse files Browse the repository at this point in the history
  • Loading branch information
mkalkbrenner committed Nov 22, 2023
1 parent ca3047e commit 325a7d3
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 1 deletion.
1 change: 1 addition & 0 deletions cmake/ppuc/CMakeLists_linux-arm64.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ add_compile_definitions(
PINMAME_NO_UNUSED
LIBPINMAME
SAM_INCLUDE_COLORED
PPUC_SUPPORT
SERUM_SUPPORT
NAME="LIBPINMAME"

Expand Down
1 change: 1 addition & 0 deletions cmake/ppuc/CMakeLists_linux-x64.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ add_compile_definitions(
PINMAME_NO_UNUSED
LIBPINMAME
SAM_INCLUDE_COLORED
PPUC_SUPPORT
SERUM_SUPPORT
NAME="LIBPINMAME"

Expand Down
1 change: 1 addition & 0 deletions cmake/ppuc/CMakeLists_osx-x64.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ add_compile_definitions(
PINMAME
PINMAME_NO_UNUSED
LIBPINMAME
PPUC_SUPPORT
SAM_INCLUDE_COLORED
SERUM_SUPPORT

Expand Down
1 change: 1 addition & 0 deletions cmake/ppuc/CMakeLists_win-x64.txt
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ add_compile_definitions(
PINMAME_NO_UNUSED
LIBPINMAME
SAM_INCLUDE_COLORED
PPUC_SUPPORT
SERUM_SUPPORT

LSB_FIRST
Expand Down
20 changes: 20 additions & 0 deletions src/ppuc/examples/t2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,26 @@ boards:
pollEvents: true
dipSwitches: { }
switches:
-
description: 'Service Escape'
number: 5
board: 1
port: 11
-
description: 'Volume Down'
number: 6
board: 1
port: 12
-
description: 'Volume Up'
number: 7
board: 1
port: 13
-
description: 'Begin Enter'
number: 8
board: 1
port: 14
-
description: 'Right Flipper'
number: 11
Expand Down
2 changes: 1 addition & 1 deletion src/wpc/wpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#define DMD_FRAMES 3 /* Some early machines like T2 could in some few animations (like T2 attract mode) profit from more shades, but very tricky to get right without flicker ! */

/*-- Smoothing values --*/
#ifdef PROC_SUPPORT
#if defined(PROC_SUPPORT) || defined(PPUC_SUPPORT)
// TODO/PROC: Make variables out of these defines. Values depend on "-proc" switch.
#define WPC_SOLSMOOTH 1 /* Don't smooth values on real hardware */
#define WPC_LAMPSMOOTH 1
Expand Down

0 comments on commit 325a7d3

Please sign in to comment.