Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Skip Hansen
    @skiphansen
    wow, there's a lot of info there!
    bzboi
    @bzboi
    Is there a reliable USB gamepad implementation yet? I vaguely recall reading somewhere that there were issues with the VerilogBoy implementation.
    Skip Hansen
    @skiphansen
    I fixed a number of issues with the VerilogBoy USB stack, but all I've used is USB mass storage. My gamepad worked with VerilogBoy w/o any issues.
    Where did you hear of the issues ? I don't see anything here: https://github.com/zephray/VerilogBoy/issues
    bzboi
    @bzboi
    might have been this one? I honestly don't remember where I saw it. what gamepad are you using? I have an xbox 360 and a playstation classic controller that I haven't tried
    sorry I meant zephray/VerilogBoy#20
    Skip Hansen
    @skiphansen
    Ah! I'll have to read that in detail at some point.
    I have two gamepads that I tried, both cheap no-name clones from Amazon.
    One is the NES layout by "RetroInc", the other doesn't even have a manufacture name on it.
    I much prefer my Atari 2600 joystick to either, at least for Pacman.
    bzboi
    @bzboi
    Is there any configuration required for USB gamepads in Panoman? I tried both the xbox360 and PSClassic controllers and neither worked.
    Tom Verbeure
    @tomverbeure
    @bzboi Hey Ernest, thanks for the gentle reminder. ;-) The board is on its way!
    bzboi
    @bzboi
    @tomverbeure thanks. I've other parts arriving on a slow boat from China, so I'm not too worried about the PCB. I'm really just trying to see if there's a way to test the 5 new games in the meantime before I get too carried away with more ports. I realize now that skip has a usb_support branch that is almost a year old at this point. I don't know how I missed that...
    Skip Hansen
    @skiphansen
    There's no USB support in Pano_man. I was referring to my gamepads working with Verilogboy.
    When Wenting got USB fully up and running on VerilogBoy I gave up on my efforts. The USB branch has "working" gamepad support, but it's NOT interfaced into the Pacman core, it just outputs to the serial port.
    I was in the process of working on USB stick support the last I touched it.
    In my stack the class code is non-standard so everything needs to be ported. Wenting's stack is compatible with u-boot so once he got it running the u-boot USB stick driver basically ran.
    Skip Hansen
    @skiphansen
    Redoing pano_man to use Wenting's infrastructure isn't a HUGH task, not it's not trivial either. That could bring USB support for both game pads and loading ROMs from USB sticks.
    Pano_man is SpinalHDL based, Wenting's stuff is pure Verilog.
    If you don't mind soldering and need a quick fix just solder some flying wires up for your joystick... it's only a PIA if you want to be neat and splice into the VGA cable. Since the needed pins are on the board to board connector it's not too difficult to solder.
    Wenting Zhang
    @zephray
    One thing I know for sure is that, it will not work with Xbox 360/One controllers
    These controllers are not HID gamepad compatible devices, thus requiring some hard coding to get it to work
    I do have one, but I just don’t want to introduce a lot of Xbox specific hard coding into my codebase, but that’s just me
    bzboi
    @bzboi
    Thanks for the clarification. I'm specifically interested in testing Lizard Wizard since I haven't had time to dig and don't (yet) know how the 2600 joystick/VGA_I2C buttons map to the game. We need the FIRE button together with P1-COIN/P1-START. I assume it's not a showstopper regardless of how it's mapped. @skiphansen and @tomverbeure , is there a defacto standard for the pushbutton mapping of the 4 buttons on the VGA_I2C board? It sure would be nice to use those for P1-COIN/P1-START/P2-COIN/P2-START and assign the joystick button for FIRE if that isn't how it's already set up.
    bzboi
    @bzboi
    On that note, in the longer term, I'd want to look at whether the VGA_I2C board could support all 3 buttons on a Sega Genesis controller since there is a lot of commonality with the 2600 joystick. This greatly expands options for supportable arcade games.
    bzboi
    @bzboi

    On that note, in the longer term, I'd want to look at whether the VGA_I2C board could support all 3 buttons on a Sega Genesis controller since there is a lot of commonality with the 2600 joystick. This greatly expands options for supportable arcade games.

    https://www.youtube.com/watch?v=GmxPpdwT7Pw
    https://en.wikipedia.org/wiki/Atari_joystick_port#Other_platforms

    I see that +5V is on a different pin on the Sega controller, so I suspect not without some rewiring to fix pinout, and doesn't look like more than 2 pins is plausible, but still better than 1.

    Skip Hansen
    @skiphansen
    Nothing that I am aware of uses the push buttons on the board currently. AFAIK my pano_man and pano_nes projects are the only projects using the board currently.
    Tom Verbeure
    @tomverbeure
    @bzboi Feel free to assign those 4 buttons any way you want. I haven't used them for anything.
    bzboi
    @bzboi
    eyeszacb2.jpeg
    eyeszacb
    bzboi
    @bzboi
    This one also requires the FIRE button. I'm going to see if I can figure out the ROM decryption logic to support Jumpshot next. That will probably take me some time...
    Current lineup:-
    1) Pacman
    2) Crush Roller
    3) Gorkans
    4) Lizard Wizard (FIRE)
    5) Crazy Otto
    6) Ms Pacman
    7) Eyes (FIRE)
    bzboi
    @bzboi
    Here's the mapping I propose. I'm going to implement it just to test lizwiz.
    // VGA_I2C pushbutton mapping bzboi
    // REF SCH ARCADE MCP23017
    // SW1 (sw1_2) P2-START gpio(13)
    // SW2 (sw2_2) TBD TBD
    // SW4 (sw2) COIN gpio(6)
    // SW3 (sw1) P1-START gpio(5)
    //
    // IN0 lizwiz
    // 0 - p1 up gpio(4)
    // 1 - p1 left gpio(1)
    // 2 - p1 right gpio(0)
    // 3 - p1 down gpio(2)
    // 4 - port service True
    // 5 - coin1 gpio(6)
    // 6 - tilt Pano button
    // 7 - coin2 False
    // IN1 lizwiz
    // 0 - p2 up gpio(12)
    // 1 - p2 left gpio(9)
    // 2 - p2 right gpio(8)
    // 3 - p2 down gpio(10)
    // 4 - P1-FIRE gpio(3)
    // 5 - start1 gpio(5)
    // 6 - start2 gpio(13)
    // 7 - P2-FIRE gpio(11)
    Also going to remap the pano button for lizwiz to TILT, just for kicks
    bzboi
    @bzboi
    Sorry, github noob here... github experts - I accidentally uploaded the file Pano_lizwiz.scala to the root of the repo instead of /src/main/scala/panoman/ . I don't see a way to revert to the last commit in the root of the repo. A google search references a History tab that doesn't seem to show up in the root of the repo. What's the secret? TIA!
    Skip Hansen
    @skiphansen
    Just move it to where you want it ... git mv <from> <to>
    bzboi
    @bzboi
    Thanks. I figured out the equivalent on the website. I'm happy to report that I received the VGA_I2C board from Tom and have slapped it together and tested all 6 games that I ported and they all seem to be working. I see a few weird video artifacts in Lizard Wizard like a "halo" above the dragons that isn't in the MiSTer YouTube videos, but it's good enough for now! COIN/P1-START/P2-START/TILT/P1-FIRE/P2-FIRE all work as defined above, so 2 player Lizard Wizard is now possible.
    Skip Hansen
    @skiphansen
    Congratulations! You are making an amazing amount of progress ! Do you have a second generation device as well ?
    bzboi
    @bzboi
    Thanks. I did, but unfortunately killed it by hooking up the wrong power supply with reverse polarity to it. I have enough experiments on the Pano G1 for now. I'm actually tempted to revive an old project. You might recognize the carpet and monitor:P https://forum.gigatron.io/viewtopic.php?f=4&t=55
    Tom Verbeure
    @tomverbeure

    I'm happy to report that I received the VGA_I2C board from Tom and have slapped it together and tested all 6 games that I ported and they all seem to be working.

    Excellent! Happy to see that it's all working.

    I did, but unfortunately killed it by hooking up the wrong power supply with reverse polarity to it. I have enough experiments on the Pano G1 for now.

    Once you're ready to move back to the G2, let me know. Since you're actually doing something with, I'm more than happy to give you one of my stash.

    bzboi
    @bzboi
    Thanks Tom. Will keep that in mind.
    Wenting Zhang
    @zephray
    Anyone here tried using MIG in a SpinalHDL design?
    My idea is to model MIG into a blackbox, then using it
    But I am not sure how to handle bidirectional IO (like inout ddr_dq)
    Skip Hansen
    @skiphansen
    Chris Wulff has wrapped the MIG for SpinalHDL on the G2. See https://github.com/crwulff/panologic-g2.git
    I added your memory test and ran it a few months back and it worked, but I haven't done anything with it since.
    Wenting Zhang
    @zephray
    Thanks, going to take a look at that