Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 7 of 7

Thread: Teensy 4.0 video games

  1. #1
    Junior Member
    Join Date
    Jul 2021
    Posts
    2

    Teensy 4.0 video games

    Hi. My first post.
    I was wondering if anyone else is making video games on the teensy 4.0 or 4.1
    With the introduction of the excellent vga t4 project it would make game creation possible.
    For myself, I'm attempting to recreate ROBOTRON, the manic shooting game by Williams. It would be really interesting to hear of game projects in the making.

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    24,784
    Jean-Marc has ported several game emulators. Here's some blog articles with links to the github code and forum threads.

    https://www.pjrc.com/amiga-emulator-on-teensy-4-1/

    https://www.pjrc.com/atari-520st-emu...on-teensy-4-0/

    https://www.pjrc.com/console-emulators-collection/

  3. #3
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany
    Posts
    9,056
    Yup, and the most difficult (at least for me) is when it comes to sound for games. The old console chips can be emulated, too (or just play a mp3 converted to a raw file).

    But right.. it's somehow a shame to use all the CPU power to emulate old machines. On the other hand, you'll get thousands of already working games.
    Hey, I played Doom on a teensy, too. Quite fast! - faster (if I remember correctly) than my old PC where I used to play it, ages ago...

    How powerful it would be without emulation? A game (or at least graphics demo) for T4 would be fantastic. There is a demo for the older teensies in the ili9341_t3 library folder.

    Here is a nice gfx lib: https://forum.pjrc.com/threads/66070...ary-for-Teensy

  4. #4
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany
    Posts
    9,056
    If I think of the C64 or AMIGA demos... what was possible with !1!MHz and 64kB RAM on a 8 Bit C64 was really fantasic. SO... what's possible with 600x (*32 Bit) the power of a c64?

    This one works on the Teensy 3.6 c64 emulator (incl. sound), too: https://c64.ch/productions/993/Delirious_9
    I know, today this looks pretty lame. But try that with 1 MHz on a 8 Bit CPU.
    Last edited by Frank B; 08-31-2021 at 01:36 PM.

  5. #5
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany
    Posts
    9,056
    This a "Second Reality (1993) on a PC and C64 at once https://c64.ch/productions/1/Second_Reality

  6. #6
    Junior Member
    Join Date
    Dec 2020
    Posts
    12
    Together with a friend we build a Tennsy based replacement PCB that fits without changes into the original arcade cabinet. The Tennsy runs an custom emulation that is able to drive the vector monitor 100% like the original PCB with ultra low latency for inputs and audio as bonus.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	235923501_1034313897107871_870992031448944515_n.jpg 
Views:	17 
Size:	93.8 KB 
ID:	25743  

  7. #7
    Junior Member
    Join Date
    Jul 2021
    Posts
    2
    Thanks Paul. Emulators are really fun, but I was looking for teensy ported games from the arcades. Some time ago I created a pretty faithful copy of space invaders on the teensy 4.0, with my own vga engine, and as Frank points out, creating sound is a challenge!
    I have rewritten my vga handler, with assembler code doing all the dirty work. I'm focused on a robotron port, only because it was such a manic game, on such a slow processor, running at 600mhz has got to be something worth seeing!.. When I can stabilise the display, I shall post some pictures.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •