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

Thread: Amiga emulation on Teensy 4.1

  1. #1
    Senior Member
    Join Date
    May 2018
    Posts
    195

    Amiga emulation on Teensy 4.1

    Happy to share the initial code and the video of the UAE Amiga emulator running on the Teensy 4.1 + PSRAM.
    2MB chip ram and 4 MB fast ram now mapped on the PSRAM.
    Impressive performance of the PSRAM without any memory tweak.

    https://youtu.be/LE4IWPG5z6g

    https://github.com/Jean-MarcHarvengt...ster/README.md

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    23,066
    Awesome. I gave it a quick shout-out on Twitter.

  3. #3
    Senior Member
    Join Date
    May 2018
    Posts
    195
    Some updates of the UAE port to the teensy4.1...
    I restarted from a more compatible version of the source code.

    - Sound has been fixed
    - Most GFX problems too (no AGA support yet but ok)
    - Add support for Hard Disk (e.g. WHDload now working to launch demos and games from the HDD)
    - Moved to 68020 core (for better compatibility)

    Still runs on a 320x240 display.
    Anyone got the uVGA library working on the Teensy4.1?

  4. #4
    Senior Member
    Join Date
    May 2018
    Posts
    195
    I added 2 new videos to demo it...
    https://youtu.be/Ho8qZSCKdLg
    https://youtu.be/vuMYwylYqYs

  5. #5
    Member
    Join Date
    Apr 2020
    Location
    Germany, NRW
    Posts
    86
    This is just amazing.

  6. #6
    Senior Member ETMoody3's Avatar
    Join Date
    Mar 2014
    Location
    New Ulm, Mn
    Posts
    150
    I have an observation and a question concerning the teensy 4.1 bottom psram pads and the code... in teensyuae41/iopins.h the psram is defined on pins34-37 and the 4.1 psram pads on bottom are different pins , 48-50 and 52-54.

    Should I change those defines, or... ?

  7. #7
    Amazing work! Wish I had one!

  8. #8
    Great work here! Love Amiga!

  9. #9
    Senior Member
    Join Date
    May 2018
    Posts
    195
    Sorry, no need to change this for teensy4.1. I used to connect the psram my own way on the T4.0 but no need if you use teensyuae4.1...

  10. #10
    Senior Member
    Join Date
    May 2018
    Posts
    195
    so for people who wants to try, most important using the teensyuae41 project:
    1) have the PSRAM soldered under the T4.1
    2) select the type of display in platform_config.h (ILI or ST)
    3) look at the display pinout in iopins.h (TFT_*) and Analog joystick pins/ADC (forget second joystick, SD and PSRAM pins)
    4) finally compile for smallest code...
    For the sound I use the MQSR output on pin 10, therefore CS is using pin 22. If you don't have sound, it is because the SPI still initialize the CS as pin10 (my workaround is adapting pins_arduino.h => PIN_SPI_SS= something else that 10)
    I have done some more fix past w-e around the floppy driver (some games as great gianna sister were not booting anymore from adf) and some GFX issue (battle squadron sprite that was corrupted)
    You might experiment some issue due to the PSRAM. Some games might freeze because of the PSRAM caching I guess. It is very random. Please share the issue you have especially around the PSRAM. I find it strange because sometimes recompilation or rebooting seems to move the problem somewhere else... But I think it will be hard to fix...

  11. #11
    Senior Member ETMoody3's Avatar
    Join Date
    Mar 2014
    Location
    New Ulm, Mn
    Posts
    150
    Got it, thanks!

  12. #12
    Put your handheld up on tindie. Take my money!

  13. #13
    Senior Member
    Join Date
    May 2018
    Posts
    195
    Some updates:

    Better sound, USB mouse+keyboard and 640x240 rendering resolution over VGA!!!

    Amiga:
    https://www.youtube.com/watch?v=vex335vHc68

    And of course it competitor, Atari ST:
    https://www.youtube.com/watch?v=LKdcduVwwGQ

  14. #14
    Senior Member wwatson's Avatar
    Join Date
    Aug 2017
    Posts
    321
    Quote Originally Posted by Jean-Marc View Post
    Some updates:

    Better sound, USB mouse+keyboard and 640x240 rendering resolution over VGA!!!

    Amiga:
    https://www.youtube.com/watch?v=vex335vHc68

    And of course it competitor, Atari ST:
    https://www.youtube.com/watch?v=LKdcduVwwGQ
    This is so awesome! I had a Amiga 500 and loved playing Crystal Hammer. I Loved the sound effects. Do you have that working on this emulator? What are you using for disk drives?
    Great job

  15. #15
    Senior Member
    Join Date
    May 2018
    Posts
    195
    yes CrystalHammer works nicely but you have to run it from an HDD image (whdload installed in an HDF image).

    I have tried all variants of the games on floppy and only the 93 remake works (adf) and that one has not the nice music!

Posting Permissions

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