Peter Ivanov

  • Content count

  • Joined

  • Last visited

  • Days Won


Peter Ivanov last won the day on March 23 2017

Peter Ivanov had the most liked content!

Community Reputation

2 Neutral

About Peter Ivanov

  • Rank

Contact Methods

  • Website URL

Profile Information

  • Gender
  • Location
    Budapest, Hungary
  1. Peter Ivanov

    Sometris game

    Original version of game was running on PIC18F6622 and Dingoo A320. Now it's running on Papilio One 500K + Arcade Megawing. I've used the ZPUino soft processor which is realized by Xilinx Spartan-3E FPGA. VGA signal is also generated by the FPGA. The game can be played with integrated buttons of Arcade Megawing or with Atari/Commodore joysticks. I've used a QuickShot II Plus (SVI-102 Plus) joystick in the video below: Demo Please, use the .bit file included in the ZIP. Otherwise buttons and joystick are not working properly.
  2. Peter Ivanov

    Recommended Joystick?

    Better late than never: the sometris game works with DesignLab 1.0.8. I tested it with Papilio One 500K + Arcade Megawing. I had to re-synthesize the Arcade_MegaWing circuit, because the included .bit file does not handle the button and joystick inputs. Uploaded to github:
  3. Peter Ivanov

    DesignLab IDE replaces ZAP IDE

    Hi, I've just downloaded DesignLab 1.0.5. I tried to use Papilio One 500K and Arcade Megawing again. My sometris game can be compiled and uploaded to the board, but none of the joysticks are working (neither integrated buttons nor Joy A, . Reading with digitalRead returns always LOW. Regards, Peter
  4. Peter Ivanov

    DesignLab IDE replaces ZAP IDE

    Hi, Yes, Papilio One 500K and Arcade Megawing. I've sent the binaries. Regards, Peter
  5. Peter Ivanov

    DesignLab IDE replaces ZAP IDE

    I downloaded DesignLab 1.0.1 (Linux 32-bit). I got these errors: Executing /usr/share/papilio-designlab/hardware/tools/zpu/bin/zpu-elf-size /tmp/build9052358762595091587.tmp/sometris.cpp.elfBinary sketch size: 14,216 bytes (of a 12,160 byte maximum) - 12,836 bytes ROM, 2,736 bytes memory, 116% Sketch too big; see for tips on reducing it.But ZAP 2.3.0 produces this executable size: Executing /usr/share/papilio-zap-ide/hardware/tools/zpu/bin/zpu-elf-size /tmp/build246896770949469503.tmp/sometris.cpp.elfBinary sketch size: 9,144 bytes (of a 12,160 byte maximum) - 9,008 bytes ROM, 1,312 bytes memory, 75% used
  6. Peter Ivanov

    DesignLab IDE replaces ZAP IDE

    Another thing I found (under Linux): if I try to edit the circuit it always says it is a library circuit (but it is in ~/DesignLab/sometris/): EDIT: Probably 4 pull-ups are accidentally wired to integrated buttons instead of Joystick B pins.
  7. Peter Ivanov

    DesignLab IDE replaces ZAP IDE

    DesignLab 1.0.0, Papilio One 500K + Arcade MegaWing: I've changed boards.txt: One (500K) - ZPUino Hyperionzpuino_papilio_one500vps.boardid=0xb4010f00zpuino_papilio_one -DCLK_FREQ=92000000 -DBOARD_ID=0xb4010f00 -DBOARD_MEMORYSIZE=0x4000 -D__S3E_500__ the compiled binary is much larger than earlier for the sometris game. It was 9144 bytes for zpu1, but 14216 bytes without Timer now: Executing /usr/share/papilio-designlab/hardware/tools/zpu/bin/zpu-elf-size /tmp/build7908412095521054450.tmp/sometris.cpp.elf Binary sketch size: 14,216 bytes (of a 12,160 byte maximum) - 12,836 bytes ROM, 2,736 bytes memory, 116% used I've checked the dump of the zpuino1 and zpuino2 output. I found an sprintf in the latter one. Maybe -ffunction-sections -fdata-sections switches of gcc can help?
  8. Peter Ivanov

    Recommended Joystick?

    Ok, tell me how to upload/what to do! Peter
  9. Peter Ivanov

    Recommended Joystick?

    Hello, I've configured the joystick inputs to have pull up resistors. Thanks for help. Here is the little game what I've written: and the sources: Regards, Peter
  10. I see. No problem, I've just changed the ucf of previous zpuino and the pull-ups work fine! I can understand that if you've got more boards and more extensions your work expontentially increases. I really appreciate your work and help. Regards, Peter
  11. Hi, I'm using DesignLab-020, and want to synthesize zpu for Arcade MegaWing with pull-ups enabled for joystick inputs. I tried to copy schematic of Bricks example: ZPUino Soft Processor - Papilio One 500K - Vanilla -v2.0, HQVGA Adapter, VGA8 wing, clk_32to50dcm, VGA char map. Synthesize finishes, mapping returns with error (OVERMAPPED): Logic Utilization Used Available Utilization Note(s) Number of Slice Flip Flops 2,035 9,312 21% Number of SLICEMs 9,609 2,328 412% OVERMAPPED Number of 4 input LUTs 27,356 9,312 293% OVERMAPPED Number of occupied Slices 14,071 4,656 302% OVERMAPPED Number of Slices containing only related logic 14,071 14,071 100% Number of Slices containing unrelated logic 0 14,071 0% Total Number of 4 input LUTs 27,573 9,312 296% OVERMAPPED Number used as logic 11,962 Number used as a route-thru 217 Number used as 16x1 RAMs 2,048 Number used for Dual Port RAMs 12,288 Number used for 32x1 RAMs 1,024 Number used as Shift registers 34 Number of bonded IOBs 55 66 83% Number of RAMB16s 20 20 100% Number of BUFGMUXs 5 24 20% Number of DCMs 3 4 75% Number of MULT18X18SIOs 3 20 15% Can anybody help? Regards, Peter EDIT: Sorry for wrongly displayed table.
  12. Peter Ivanov

    Recommended Joystick?

    Hello Jack, Thanks for instant reply. I downloaded the last DesignLab and trying to change/synthesize an FPGA configuration. I'll be back in few days (weeks). Regards, Peter
  13. Peter Ivanov

    Recommended Joystick?

    Hi, I'm trying to use Arcade Megawing with zpuino. And I'm trying to use an original Quick Shot II plus joystick. It looks that there are no pull-up resistors in the joystick and there are no pull ups on the Megawing too. The INPUT_PULLUP parameter for pinMode () function is not supported. Any ideas to have pull-ups? Regards, Peter