Page 2 of 46

Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Sun Mar 14, 2021 5:35 pm
by venice
Update SD-Version
-Changed SD Card Access from SPI Mode to SD Bus Mode
-New Transition Effects (just for fun)
-Some new Pictures by RealLarry

Update Standard Version
-Some new Pictures by RealLarry

Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Mon Mar 15, 2021 9:22 am
by LamerDeluxe
The logos look really cool in those display photos.

I'd also love to see this supported with the MT32-pi, but that connects to the user port, which, if I'm not mistaking, connects to the FPGA. So the core itself would have to display its logo on it and the MT32-pi would need functionality added to make this possible.

Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Tue Mar 16, 2021 4:00 am
by RealLarry
LamerDeluxe wrote: Mon Mar 15, 2021 9:22 amI'd also love to see this supported with the MT32-pi, but that connects to the user port, which, if I'm not mistaking, connects to the FPGA. So the core itself would have to display its logo on it and the MT32-pi would need functionality added to make this possible.
If I understand you correctly what you intend to do, this wouldn't work. The MT32-pi hat has no display and MT32-pi itself is using it's own microkernel. The latter means that there is no "usual" OS where you could start and process the core names.
I'd wouldn't say that your project isn't possible at all, but not realizable in a (very) short time. Maybe it's worth to open an issue at https://github.com/dwhinham/mt32-pi and ask for help/ideas there as I find your idea comprehensible.

Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Tue Mar 16, 2021 7:43 am
by LamerDeluxe
RealLarry wrote: Tue Mar 16, 2021 4:00 am
LamerDeluxe wrote: Mon Mar 15, 2021 9:22 amI'd also love to see this supported with the MT32-pi, but that connects to the user port, which, if I'm not mistaking, connects to the FPGA. So the core itself would have to display its logo on it and the MT32-pi would need functionality added to make this possible.
If I understand you correctly what you intend to do, this wouldn't work. The MT32-pi hat has no display and MT32-pi itself is using it's own microkernel. The latter means that there is no "usual" OS where you could start and process the core names.
I'd wouldn't say that your project isn't possible at all, but not realizable in a (very) short time. Maybe it's worth to open an issue at https://github.com/dwhinham/mt32-pi and ask for help/ideas there as I find your idea comprehensible.
The MT32-pi hat does have a display, where it shows texts, volume and channel VU meters. I know it has its own microkernel, that is why it works so well. I think we're on the same page, explaining that it would be a whole lot of work to do something like this and function in a very different way to the tty2oled. I was referring to someone earlier in the thread who wanted this.

Indeed the microkernel would have to be changed to allow sending images to it. And all cores that wanted to use it would need to have this functionality added at their FPGA side. So it would be great to be able to use the MT32-pi hat for this combined functionality, but it would require a large amount of work from a lot of developers.

Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Tue Mar 16, 2021 7:50 am
by Jukk@M
I got the parts, are they suitable?
Links:
https://www.aliexpress.com/item/4000115 ... 4c4dQlTaKm
https://www.aliexpress.com/item/3295379 ... 4c4dQlTaKm
Is the connection correct?
  • ESP32-Board SSD1322
    Pin 26 -------> Pin 16
    Pin 25 -------> Pin 14
    Pin 27 -------> Pin 15
    Gnd ---------> Pin 1
    +3,3V or +5V --> Pin 2
Which option?
Core Debug Level: None, Error, Warn, Info, Debug, Verbose.

Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Tue Mar 16, 2021 11:27 am
by venice
Jukk@M wrote: Tue Mar 16, 2021 7:50 am I got the parts, are they suitable?
  • ESP32-Board SSD1322
    Pin 26 -------> Pin 16
    Pin 25 -------> Pin 14
    Pin 27 -------> Pin 15
    Gnd ---------> Pin 1
    +3,3V or +5V --> Pin 2
Which option?
Core Debug Level: None, Error, Warn, Info, Debug, Verbose.
The Parts are fine.

//Edit
Doku moved to viewtopic.php?p=16725#p16725

Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Tue Mar 16, 2021 11:36 am
by Jukk@M
Thanks for the quick reply. I'll test tomorrow.
Are the display pins 4 and 5 left unconnected?

Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Tue Mar 16, 2021 3:26 pm
by venice
Pin 4+5 are SPI Pins
Pin 4 of the Display must be connected to ESP Pin 18 (SPI SCLK)
Pin 5 of the Display must be connected to ESP Pin 23 (SPI MOSI)

Cheers

Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Tue Mar 16, 2021 6:53 pm
by d0pefish
LamerDeluxe wrote: Tue Mar 16, 2021 7:43 am Indeed the microkernel would have to be changed to allow sending images to it. And all cores that wanted to use it would need to have this functionality added at their FPGA side. So it would be great to be able to use the MT32-pi hat for this combined functionality, but it would require a large amount of work from a lot of developers.
Indeed - I've already addressed this here: https://github.com/dwhinham/mt32-pi/discussions/79

The closest I'd be willing to go is maybe image transfer via another custom SysEx command (similar to SC-55 images, just higher resolution); that way it's a generic feature that anything speaking MIDI can utilize. But you still have the huge problem of somehow bridging the Linux side of the MiSTer to the FPGA side so you can send the graphics over.

Far too many moving parts for me to to even consider; sorry!

Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Tue Mar 16, 2021 8:58 pm
by LamerDeluxe
d0pefish wrote: Tue Mar 16, 2021 6:53 pm
LamerDeluxe wrote: Tue Mar 16, 2021 7:43 am Indeed the microkernel would have to be changed to allow sending images to it. And all cores that wanted to use it would need to have this functionality added at their FPGA side. So it would be great to be able to use the MT32-pi hat for this combined functionality, but it would require a large amount of work from a lot of developers.
Indeed - I've already addressed this here: https://github.com/dwhinham/mt32-pi/discussions/79

The closest I'd be willing to go is maybe image transfer via another custom SysEx command (similar to SC-55 images, just higher resolution); that way it's a generic feature that anything speaking MIDI can utilize. But you still have the huge problem of somehow bridging the Linux side of the MiSTer to the FPGA side so you can send the graphics over.

Far too many moving parts for me to to even consider; sorry!
Completely understandable. Sysex is a good idea, but then it would probably still boil down to the cores themselves having to transmit their own logo.

Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Wed Mar 17, 2021 12:39 pm
by venice
Let‘s keep the focus on the Add-On here please.
Thx

Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Thu Mar 18, 2021 5:05 pm
by Jukk@M
OLED connected and ESP32 programmed.
Pictures inserted on the SD card.
S60tty2oled and tty2oled transferred to MiSTer.
The display shows "MiSTer FPGA by Sorgelig and SD logo".
Nothing else happens. Can you advise what is wrong?

Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Thu Mar 18, 2021 9:07 pm
by venice
Hi,
Jukk@M wrote: Thu Mar 18, 2021 5:05 pm OLED connected and ESP32 programmed.
Pictures inserted on the SD card.
S60tty2oled and tty2oled transferred to MiSTer.
The display shows "MiSTer FPGA by Sorgelig and SD logo".
Nothing else happens. Can you advise what is wrong?
I can try.

Test your Display at first connected to your Computer using the Arduino Terminal with 57600 baud and LineFeed active.
Just send MENU, cls, sorg, llander or just a simple text to test if the ESP is working.
MENU should show the MiSTer Logo, cls should clear the screen, llander should show the Lunar Lander Logo.
Jukk@M wrote: Thu Mar 18, 2021 5:05 pm S60tty2oled and tty2oled transferred to MiSTer.
Are the two scripts copied to the correct folder?
Did you made the two scripts executable (chmod +x [script])? Sorry I forgot this in the HowTo. Done now!
Did you reboot the MISTer once after adding the files?
Or start the script manually typing /etc/init.d/S60tty2oled start on MiSTer's console.
Could you check your MiSTer has created the /dev/ttyUSB01 device after you connect the ESP to the MiSTer?

Good luck...

Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Fri Mar 19, 2021 7:27 am
by Jukk@M
Thanks a lot !!!
This helped. (chmod +x [scriptname])

Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Fri Mar 19, 2021 8:13 am
by venice
Jukk@M wrote: Fri Mar 19, 2021 7:27 am Thanks a lot !!!
This helped. (chmod +x [scriptname])
Does it work?

Post a picture/video if you like.

Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Fri Mar 19, 2021 10:03 am
by Jukk@M
Works well.
I made .xbm pictures (Gauntlet & Gauntlet 2).
I would attach pictures and attachments here but I don't know how.

Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Fri Mar 19, 2021 1:20 pm
by venice
If you don't see the Attachments Section you may need to have done a few posts more.
You can add the Pictures to my Github Repo requesting an Pull Request or I can send you my mail address via PM.
Up to you...

Attachment.png

Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Fri Mar 19, 2021 1:46 pm
by venice
My Case now with the mounted OLED.
Jump to viewtopic.php?p=21055#p21055

Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Fri Mar 19, 2021 2:01 pm
by Jukk@M
Gauntlet 2.jpg
Liitteenä on kolme .xbm-kuvaa (Gauntlet, Gauntlet 2 & Xevious).
tty2oled-xbm.rar

Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Fri Mar 19, 2021 2:10 pm
by venice
Good to see another working tty2oled.
Jukk@M wrote: Fri Mar 19, 2021 2:01 pm Liitteenä on kolme .xbm-kuvaa (Gauntlet, Gauntlet 2 & Xevious).
tty2oled-xbm.rar
All 3 are Arcades? Got it!
I already added them to the Github Repo.

Many Thanks/Kiitos paljon (Correct?)

Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Fri Mar 19, 2021 2:11 pm
by venice
Important Note!
It's likely you need to copy the two needed Script's again to the MiSTer after an OS Update.

Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Thu Mar 25, 2021 7:09 am
by Jukk@M
I made eight more .xbm images.
Arcade: 1941, Alibaba and 40 Thieves, Arkanoid, Bomb Jack, Green Beret & Tapper.
Computers: C16
MENU.xbm slightly modified.
tty2oled-xbm_2.rar

Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Thu Mar 25, 2021 8:15 am
by venice
Jukk@M wrote: Thu Mar 25, 2021 7:09 am I made eight more .xbm images.
...
They are all looking great, many Thanks.
I already add them to the Repo.

Special Thanks for Bomb Jack, that's one of my favorite games.

Here is the list of all currently available XBM's.
https://github.com/venice1200/MiSTer_tt ... re_core.md

I add you to the Wiki: https://github.com/venice1200/MiSTer_tt ... ts-&-Links
Is this OK?

Update
tty2oled slightly reworked, thanks to RealLarry.
New Video added to Post #1.

Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Thu Mar 25, 2021 10:03 am
by Jukk@M
Yes OK.

Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Fri Mar 26, 2021 11:27 am
by Jukk@M
I made five more xbm images.
Arcade: Ms. Pac-Man, Pac-Man, Pac-Man Club, Pac-Man Plus & Pac Manic Miner Man.
tty2oled-xbm_3.rar

Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Fri Mar 26, 2021 8:43 pm
by venice
Jukk@M wrote: Fri Mar 26, 2021 11:27 am I made five more xbm images.
...
Many thanks :D.
I added them to the Github Repository already.

Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Sat Mar 27, 2021 4:06 pm
by Jukk@M
Here are sixteen more .xbm images.
tty2oled-xbm_4.rar

Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Sun Mar 28, 2021 3:20 pm
by venice
Jukk@M wrote: Sat Mar 27, 2021 4:06 pm Here are sixteen more .xbm images.
tty2oled-xbm_4.rar
Just uploaded them to the Github-Repo.
Many Thanks

Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Mon Mar 29, 2021 12:13 pm
by venice
Updates
  • tty2oled updates to support SD- and USB-Version with 115200 baud
  • SD-Version updated to support 115200 Baud
  • The Standard-Version will no longer get updates because of the new USB-Version.
Please test the USB Version and report here.

Second Post updated

Re: tty2oled Software Add-On now with SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Mon Mar 29, 2021 2:33 pm
by RealLarry
venice wrote: Mon Mar 29, 2021 12:13 pm Updates
  • tty2oled updates to support SD- and USB-Version
  • SD-Version updated to support 115200 Baud
  • The Standard-Version will no longer get updates because of the new USB-Version.
Please test the USB Version and report here.

Second Post updated
Yeah, it's a kind of magic! 8-)
Deriving from my own experiences you can enable and use 115200 Baud with all Arduinos and all the time, even with the small ESP8266's. While experimenting with their sketches I sent the XBM pictures over and over again and got no failure. So my recommendation is speeeeeed.