tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Showcase builds, discuss cases, embedding MiSTer into existing computer cases.
User avatar
LamerDeluxe
Top Contributor
Posts: 1239
Joined: Sun May 24, 2020 10:25 pm
Has thanked: 887 times
Been thanked: 284 times

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by LamerDeluxe »

venice wrote: Sat Mar 19, 2022 9:32 am
LamerDeluxe wrote: Sat Mar 12, 2022 12:04 pm EDIT: And the MiSTer Super Attract Mode script got fixed for TTY2OLED gray-scale. I just submitted a pull request for Venice's latest additions to that. The SAM script now uses MGL files, which makes it work a whole lot better, it is really cool in combination with TTY2OLED.
Did you get Problems with an active Screensaver and MiSTer SAM?
Maybe the Screensaver should be disabled with SAM Start.
Use something like

Code: Select all

echo "CMDSAVER,0,0,0" > ${TTYDEV}
for this.
I hadn't noticed any serious problems, though I did change my screensaver to ten minutes. Thanks for the tip, the screensaver is not needed in combination with SAM, so that should work well. I'll update the code.

EDIT: Script updated and tested, pull request made.
User avatar
LamerDeluxe
Top Contributor
Posts: 1239
Joined: Sun May 24, 2020 10:25 pm
Has thanked: 887 times
Been thanked: 284 times

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by LamerDeluxe »

venice wrote: Sat Mar 19, 2022 9:49 am New tty2oled testing fw available.

It includes a shrinked core picture version for the screensaver, nothing more.
Some shrinked pictures look pretty good, some not ;)

Let me know what you think.
That is a great idea! It works quite well.

If that is exactly half the scale of the logo, would it be possible to average the value of four pixels (2 x 2) together instead of using nearest-neighbor scaling? That should give a smoother and more detailed result.
User avatar
venice
Top Contributor
Posts: 788
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 278 times
Been thanked: 278 times

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by venice »

Like dave18 did on his color display only each second pixel is drawn.
Simple and crude.
But let me see what I can do.

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard (Cardwarez) to me.

User avatar
venice
Top Contributor
Posts: 788
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 278 times
Been thanked: 278 times

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by venice »

LamerDeluxe wrote: Sat Mar 19, 2022 11:17 am ...would it be possible to average the value of four pixels (2 x 2) together...
Added for GSC Pictures, please try.

You can manually check/see the difference using the Commands CMDSSCP (shrink) or CMDSSCP2 (average 2x2).

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard (Cardwarez) to me.

User avatar
salamantecas
Posts: 108
Joined: Sat Feb 26, 2022 8:31 pm
Has thanked: 110 times
Been thanked: 14 times

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by salamantecas »

RealLarry wrote: Fri Mar 18, 2022 11:32 am
salamantecas wrote: Fri Mar 18, 2022 11:17 amI have taken the challenge and I have done the robocop one that I did not like, I hope you like it, I will be making more screens for everyone, I have a lot of fun and I like that they use them

my screen for robocop is here!!
Hell, yes, that's it! You seem very talented at it. I'm very excited to see what's to come.
Yours is the new default, mine went to _alt1. Already uploaded.

robocop.jpg

And that's my picture for todays upcoming Road Fighter beta by Jotego. Not yet uploaded because of unclear "setname". EDIT: Just uploaded!

roadf.gif
a friend is drawing an image of road fighter with a pen although I already made my version I will wait to have the sketch to see which one looks better before uploading it for now I leave you my version of savage reign of neogeo. as I would like to have a color screen I hope that one day it can be put

https://www.mediafire.com/file/ko3sgx0a ... e.gsc/file
User avatar
Moondandy
Top Contributor
Posts: 535
Joined: Mon May 25, 2020 2:14 am
Location: Edinburgh, Scotland
Has thanked: 32 times
Been thanked: 102 times

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by Moondandy »

We have a WIP Entex Adventure Vision core that will hopefully be in Main soon AdventureVision.rbf is in the dev channel of the discord if anyone fancies making an image.
User avatar
salamantecas
Posts: 108
Joined: Sat Feb 26, 2022 8:31 pm
Has thanked: 110 times
Been thanked: 14 times

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by salamantecas »

Moondandy wrote: Sat Mar 19, 2022 5:37 pm We have a WIP Entex Adventure Vision core that will hopefully be in Main soon AdventureVision.rbf is in the dev channel of the discord if anyone fancies making an image.
The core would be good to get an idea of the setting, although I've seen that it looks like the virtual boy. When it comes out I'll look to do some, although I'm sure someone else will be encouraged. You also have to know what name the core will finally have in the system. I have already created a provisional one but I will not upload it until the final name is known. I always like to test the files in case I can make versions that have a certain atmosphere to do original things
User avatar
LamerDeluxe
Top Contributor
Posts: 1239
Joined: Sun May 24, 2020 10:25 pm
Has thanked: 887 times
Been thanked: 284 times

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by LamerDeluxe »

venice wrote: Sat Mar 19, 2022 4:52 pm
LamerDeluxe wrote: Sat Mar 19, 2022 11:17 am ...would it be possible to average the value of four pixels (2 x 2) together...
Added for GSC Pictures, please try.

You can manually check/see the difference using the Commands CMDSSCP (shrink) or CMDSSCP2 (average 2x2).
Wow, that was fast! This looks great. Try it for instance with the Acorn Atom core, average 2x2 looks really smooth and detailed.
User avatar
RealLarry
Top Contributor
Posts: 883
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 386 times

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by RealLarry »

Moondandy wrote: Sat Mar 19, 2022 5:37 pm We have a WIP Entex Adventure Vision core that will hopefully be in Main soon AdventureVision.rbf is in the dev channel of the discord if anyone fancies making an image.
I'm sure that you mean this one hehe:
AVision.jpg
Uploaded and sheet updated. 🥂
You do not have the required permissions to view the files attached to this post.
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
User avatar
RealLarry
Top Contributor
Posts: 883
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 386 times

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by RealLarry »

salamantecas wrote: Sat Mar 19, 2022 5:19 pma friend is drawing an image of road fighter with a pen although I already made my version I will wait to have the sketch to see which one looks better before uploading it
He is drawing pictures with a pen? I'm very excited to see how this will look like...

for now I leave you my version of savage reign of neogeo.
Many thanks, as usual. Couldn't decide which one looks better, so I uploaded it as _alt1[/quote]

as I would like to have a color screen I hope that one day it can be put
Do you mean a "full color" screen? There is such a thing in our pipeline and while I'm creating the GSC pictures, I'm doing them as JPG in parallel (which is an undemanding task, mostly copy & paste).
You do not have the required permissions to view the files attached to this post.
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
User avatar
salamantecas
Posts: 108
Joined: Sat Feb 26, 2022 8:31 pm
Has thanked: 110 times
Been thanked: 14 times

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by salamantecas »

RealLarry wrote: Sun Mar 20, 2022 8:29 am
salamantecas wrote: Sat Mar 19, 2022 5:19 pma friend is drawing an image of road fighter with a pen although I already made my version I will wait to have the sketch to see which one looks better before uploading it
He is drawing pictures with a pen? I'm very excited to see how this will look like...

for now I leave you my version of savage reign of neogeo.
Many thanks, as usual. Couldn't decide which one looks better, so I uploaded it as _alt1
as I would like to have a color screen I hope that one day it can be put
Do you mean a "full color" screen? There is such a thing in our pipeline and while I'm creating the GSC pictures, I'm doing them as JPG in parallel (which is an undemanding task, mostly copy & paste).
[/quote]

Do you mean that a color screen would work and load images? without modifying the firm or something similar I would love to try or what models I can buy to try to do it, I leave you the images in pen so you can see how my friend draws and then I will look to digitize them

photo-2022-03-19-12-14-53.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
RealLarry
Top Contributor
Posts: 883
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 386 times

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by RealLarry »

salamantecas wrote: Sun Mar 20, 2022 9:53 amDo you mean that a color screen would work and load images? without modifying the firm or something similar I would love to try or what models I can buy to try to do it,
Absolutely, yes (except for the firmware.). The device is based upon an ESP32, an ILI9341 display and and rewritten sketch/firmware that can display color pictures at 320x240 and is able to play MJPG videos :ugeek: But no public code yet and hardware is difficult to buy these days because of shortage.
Have a look to my posts at
viewtopic.php?p=39776#p39776
viewtopic.php?p=43460#p43460
viewtopic.php?p=43522#p43522

I leave you the images in pen so you can see how my friend draws and then I will look to digitize them
Oh, hey, he's drawing with a real pencil! Very impressive.
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
User avatar
RealLarry
Top Contributor
Posts: 883
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 386 times

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by RealLarry »

...did another two. Already uploaded and sheet updated. What's next?
Tried to compile pokemon_mini to get RBF's CORENAME but failed.
You do not have the required permissions to view the files attached to this post.
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
User avatar
salamantecas
Posts: 108
Joined: Sat Feb 26, 2022 8:31 pm
Has thanked: 110 times
Been thanked: 14 times

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by salamantecas »

RealLarry wrote: Sun Mar 20, 2022 12:43 pm ...did another two. Already uploaded and sheet updated. What's next?
Tried to compile pokemon_mini to get RBF's CORENAME but failed.
i bet it will be pokemini.rbf
User avatar
Moondandy
Top Contributor
Posts: 535
Joined: Mon May 25, 2020 2:14 am
Location: Edinburgh, Scotland
Has thanked: 32 times
Been thanked: 102 times

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by Moondandy »

I imagine that the computers and arcade cores on MiST will be ported over in the not too distant future. Birdybro is working on Joust 2 currently. There are lists of possible upcoming ones at the bottom of the sheet if anyone is looking to make images.
User avatar
Moondandy
Top Contributor
Posts: 535
Joined: Mon May 25, 2020 2:14 am
Location: Edinburgh, Scotland
Has thanked: 32 times
Been thanked: 102 times

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by Moondandy »

Added a few more that are being worked on, or are going to be ported over soon.

Joust 2
Inferno
Turkey Shoot
viewtopic.php?f=25&t=4325

Terra Cresta
Booby Kids
Amatelass
viewtopic.php?f=25&t=4362

Pierco has this machine "Wheels" which he will presumably drop a core for at some point:
https://flyers.arcade-museum.com/?page= ... 60&image=1

At the bottom of the sheet awhile ago I added Sega System 18 which JT said he plans to do this year, some fun ones in there:
Bloxeed
Shadow Dancer
Alien Storm
Michael Jackson's Moonwalker
Laser Ghost
Clutch Hitter
D. D. Crew
Wally wo Sagase!
Desert Breaker

Also all these MiST arcade cores that will presumably come over at some point:
Sprint 4
SonSon
Bowling Alley
Checkmate
Oza Wars
Space Laser
Space Walk
Super Earth Invasion
Western Gun Part II
Tropical Angel
Nova 2001
Raiders5
Lotto Fun
Speed Ball

MiST computers that will almost certainly be ported over quite soon:
Bashkiria-2M
ITCI Brasov CoBra
Laser 500
LM80C
VEB Robotron KC 87
VEB Robotron Z1013

So lots of images if anyone is itching to make more.
User avatar
RealLarry
Top Contributor
Posts: 883
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 386 times

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by RealLarry »

Moondandy wrote: Sun Mar 20, 2022 9:00 pmAdded a few more that are being worked on, or are going to be ported over soon.
Did some of these whose setname is clear/known. Pictures uploaded, sheet updated.
You do not have the required permissions to view the files attached to this post.
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
User avatar
Moondandy
Top Contributor
Posts: 535
Joined: Mon May 25, 2020 2:14 am
Location: Edinburgh, Scotland
Has thanked: 32 times
Been thanked: 102 times

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by Moondandy »

Nice one Larry! I added Mystic Marathon, which is another one that has popped up ready to be ported. Noticed Joust 2 isn't marked off on the sheet but has an image, may need marked to YES.
User avatar
RealLarry
Top Contributor
Posts: 883
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 386 times

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by RealLarry »

Moondandy wrote: Mon Mar 21, 2022 11:06 amNice one Larry! I added Mystic Marathon, which is another one that has popped up ready to be ported.
Well, the early bird f*cks the worm:
mysticm.jpg
Noticed Joust 2 isn't marked off on the sheet but has an image, may need marked to YES.
Damn, I misplaced that entry to i2c2oled, but fixed it now. Mystic Marathon uploaded and sheet (at the correct positions) updated.
You do not have the required permissions to view the files attached to this post.
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
User avatar
RealLarry
Top Contributor
Posts: 883
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 386 times

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by RealLarry »

Some more pictures done and uploaded, sheet updated.
You do not have the required permissions to view the files attached to this post.
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
User avatar
RealLarry
Top Contributor
Posts: 883
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 386 times

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by RealLarry »

New friday, new beta from Jotego, new picture from me: Hyper Sports !
Picture uploaded, sheet updated. Happy gaming, Patreons!

hyperspt.jpg
You do not have the required permissions to view the files attached to this post.
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
User avatar
salamantecas
Posts: 108
Joined: Sat Feb 26, 2022 8:31 pm
Has thanked: 110 times
Been thanked: 14 times

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by salamantecas »

how fast haha thanks for the screen I did the same but with trackfield. a greeting
User avatar
RealLarry
Top Contributor
Posts: 883
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 386 times

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by RealLarry »

salamantecas wrote: Fri Mar 25, 2022 6:27 pm how fast haha
Yeah, I'm one of Jotego's Patreons, sitting 24/7 in my self-created eternal home office and can react in realtime when something has to be done :)
I did the same but with trackfield
Share it with us, please. It would replace mine or will go as an alternative one. The more, the better. Variety is good.
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
User avatar
venice
Top Contributor
Posts: 788
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 278 times
Been thanked: 278 times

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by venice »

salamantecas wrote: Fri Mar 25, 2022 6:27 pm how fast haha thanks for the screen I did the same but with trackfield. a greeting
trackfield = Hyper Olympic?
Double check the PixViewer for "hyprolym".
https://venice1200.github.io/MiSTer_tty2oled_Pictures/#

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard (Cardwarez) to me.

User avatar
salamantecas
Posts: 108
Joined: Sat Feb 26, 2022 8:31 pm
Has thanked: 110 times
Been thanked: 14 times

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by salamantecas »

venice wrote: Sat Mar 26, 2022 5:16 pm
salamantecas wrote: Fri Mar 25, 2022 6:27 pm how fast haha thanks for the screen I did the same but with trackfield. a greeting
trackfield = Hyper Olympic?
Double check the PixViewer for "hyprolym".
https://venice1200.github.io/MiSTer_tty2oled_Pictures/#

ah well you're right they are 2 different games when I was 14 years old I played hyper sports on msx but in reality I see that it wasn't, it was track field maybe it was a translation problem of the title

thanks
User avatar
venice
Top Contributor
Posts: 788
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 278 times
Been thanked: 278 times

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by venice »

General Question, is someone still using the SD Version?
If not I think of removing the support for this Version.

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard (Cardwarez) to me.

User avatar
hellbent
Posts: 58
Joined: Tue Nov 09, 2021 9:19 pm
Has thanked: 22 times
Been thanked: 74 times
Contact:

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by hellbent »

so i've been working on a version of the tty2oled using a pair of 64x32 rgb HUB75 panels instead of the smaller oled displays to use in a bartop arcade based on my mister, and to use animated gifs instead of static bitmaps. but i'm running into trouble with the animated gif code and was wonderingg if anyone here would mind taking a look at the code. the author of the library has told me what's wrong but i haven't figured out how the library works to properly implement it. if anyone is any good at c++/arduino/esp32 and are willing to take a look let me know.

here are some samples of animated gifs i've been working on in the background:
Tetris_ATARI.gif
tapper.gif
spyhunter.gif
galaga.gif
donkeykong.gif
digdug.gif
centipede.gif
You do not have the required permissions to view the files attached to this post.

@h3llb3nt.bsky.social

User avatar
venice
Top Contributor
Posts: 788
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 278 times
Been thanked: 278 times

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by venice »

Great Artwork :)

Could you share some more details about the used hardware and software (libs etc.).

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard (Cardwarez) to me.

User avatar
hellbent
Posts: 58
Joined: Tue Nov 09, 2021 9:19 pm
Has thanked: 22 times
Been thanked: 74 times
Contact:

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by hellbent »

this is using an ESP32 based board called a trinity by a nice guy from ireland. i've used them before for other HUB75 panel setups like a tetris clock etc. the HUB75 rgb panels are using the ESP32-HUB75-MatrixPanel-I2S-DMA library found here -> https://github.com/mrfaptastic/ESP32-HU ... el-I2S-DMA
the animated gif portion of the code uses a library by Larry Bank called AnimatedGIF found here -> https://github.com/bitbank2/AnimatedGIF

now the animated gif code on its own is platform agnostic and depends on the individual to write a way to display the gif. the hub75 library author did write an example but it doesn't work properly for some gifs. Larry explained to me that "the issue is that the iX/iY variables passed in the GIFDRAW callback refer to the upper left corner of the sub-image being drawn onto the canvas. [the example] code only uses the iY value, so the changes are all squished up against the left side by ignoring the iX value.

i've zipped up my project code (arduino ide) thus far and attached it if anyone wants to poke around including some test gifs. this code is setup right now to use .h files for the images but thats just temporary. eventually i plan on either adding the files directly to flash or integrating a SDcard reader for more storage. static images will be handled by a similar PNG library but thats later on. this code also does NOTHING to read the serial output from the mister right now. this is simply to get the animated gifs displaying properly on the display.

and i have tested that the gifs aren't the problem using a different microcontroller running larry's animated gif code. they work fine on one of his best practices examples. this seems purely to do with how the base code is using library to read the gif and then writing out to the rgb panel.
You do not have the required permissions to view the files attached to this post.

@h3llb3nt.bsky.social

User avatar
venice
Top Contributor
Posts: 788
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 278 times
Been thanked: 278 times

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by venice »

tty2oled Stable FW 220331 released

Changes:
  • The Screensaver uses now a tiny version of the actual loaded core picture as third picture
  • Small Fix for MiSTer SAM support and 8266 MCU

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard (Cardwarez) to me.

Post Reply