1
0
mirror of https://github.com/Gehstock/Mist_FPGA.git synced 2026-01-18 00:52:09 +00:00

Super Pacman support added

Known problems:
-Inserting a coin, seems to press 1P at the same time
-No DIP switches
This commit is contained in:
Jose Tejada 2021-03-11 16:08:28 +01:00
parent 28f3e4c47e
commit 3755f0f616
3 changed files with 12 additions and 10 deletions

View File

@ -11,10 +11,12 @@ The Tower of Druaga/Mappy/Motos/DigDug II to Mist FPGA by Slingshot
--
--
---------------------------------------------------------------------------------
--
--
-- Arcade: The Tower of Druaga port to MiSTer by MiSTer-X
-- 25 September 2019
--
--
-- Super Pacman support added by Jose Tejada (jotego), 11th March 2021
--
---------------------------------------------------------------------------------
-- FPGA Druaga for XILINX Spartan-3
--------------------------------------
@ -25,8 +27,8 @@ The Tower of Druaga/Mappy/Motos/DigDug II to Mist FPGA by Slingshot
---------------------------------------------------
-- Copyright (c) 2016, Greg Miller
---------------------------------------------------------------------------------
--
--
--
--
-- Keyboard inputs :
--
-- F2 : Coin + Start 2 players
@ -45,8 +47,8 @@ The Tower of Druaga/Mappy/Motos/DigDug II to Mist FPGA by Slingshot
-- S : Player 2 Trig2
--
-- Joystick support.
--
--
--
--
-- FIXED: Video timing.
--
---------------------------------------------------------------------------------

View File

@ -147,7 +147,7 @@ wire key_strobe;
wire key_pressed;
wire [7:0] key_code;
assign core_mod=7'd5;
// assign core_mod=7'd5;
user_io #(.STRLEN($size(CONF_STR)>>3))user_io(
.clk_sys (clock_48 ),
@ -161,7 +161,7 @@ user_io #(.STRLEN($size(CONF_STR)>>3))user_io(
.scandoubler_disable (scandoublerD ),
.ypbpr (ypbpr ),
.no_csync (no_csync ),
//.core_mod (core_mod ),
.core_mod (core_mod ),
.key_strobe (key_strobe ),
.key_pressed (key_pressed ),
.key_code (key_code ),

View File

@ -29,10 +29,10 @@
end
if ( mema[4'h9] == 0 ) begin
if ( ( credits >= 2 ) & iCSTART12[1] ) begin
if ( ( credits >= 2 ) && iCSTART12[1] ) begin
credit_sub = 8'h02;
credits = credits - 2;
end else if ( ( credits >= 1 ) & iCSTART12[0] ) begin
end else if ( ( credits >= 1 ) && iCSTART12[0] ) begin
credit_sub = 8'h01;
credits = credits - 1;
end