![Smile :)](./images/smilies/icon_e_smile.gif)
I think I found another bug maybe? Seems that whenever you reinstall, SAM starts out muted even though the default INI is not muted now? If you unmute it in the menu it stays unmuted from then on though so no big deal.
I pushed a small change that now makes tty2oled exit cleanly with ttyuseack=yes. The problem was that the last tty_waitfor (in tty_exit function) broke MiSTer_SAM_on.sh's exit. I'm running it in the background now and that seems to have fixed it. I also have SAM's startup running in background now so it doesn't interfere with tty2oled's startup anymore.venice wrote: ↑Fri May 20, 2022 3:42 pmAntonio sells tty2oled Displays with ESP8266 Processors.rhester72 wrote: ↑Wed May 18, 2022 12:00 pm …
How do I tell? It's the one sold here:
https://www.antoniovillena.es/store/product/tty2oled/
Yes, otherwise I get the corruption I described (double-printed text in the center)
This Processor is slower than the ESP32 I am using for my setup.
My tests showing that some delays in the SAM Script needs to be adjusted to get rid of the the double printed text.
This will slow down the text output but we are not in a hurry![]()
I will test my findings with the latest SAM release and let you know.
EXCELLENT! Anybody know what the filetype is supposed to be for these, it doesn't seem to be finding .a26, .a78 or .a52 files.mrchrister wrote: ↑Wed May 25, 2022 4:24 am New cores:
Paradox just added Atari 2600, 5600, 7800 support
I pushed a small change that now makes tty2oled exit cleanly with ttyuseack=yes. The problem was that the last tty_waitfor (in tty_exit function) broke MiSTer_SAM_on.sh's exit. I'm running it in the background now and that seems to have fixed it. I also have SAM's startup running in background now so it doesn't interfere with tty2oled's startup anymore.
Hopefully this means we can close the github issues now, looking forward to your feedback!
Code: Select all
#!/bin/sh
echo "***" $1 "***"
# Startup tty2oled
[[ -e /media/fat/tty2oled/S60tty2oled ]] && /media/fat/tty2oled/S60tty2oled $1
# Startup MiSTer_SAM - Super Attract Mode
[[ -e /media/fat/Scripts/.MiSTer_SAM/MiSTer_SAM_init ]] && /media/fat/Scripts/.MiSTer_SAM/MiSTer_SAM_init $1 &
Code: Select all
#!/bin/sh
# Startup tty2oled
[[ -e /media/fat/tty2oled/S60tty2oled ]] && /media/fat/tty2oled/S60tty2oled $1
# Startup MiSTer_SAM - Super Attract Mode
[[ -e /media/fat/Scripts/.MiSTer_SAM/MiSTer_SAM_init ]] && /media/fat/Scripts/.MiSTer_SAM/MiSTer_SAM_init $1
Code: Select all
2283: # Clear Serial input buffer first
2284: if [ "${samquiet}" == "no" ]; then echo -n " Clear tty2oled Serial Input Buffer..."; fi
2285: while read -t 0 sdummy <${ttydevice}; do continue; done
2286: if [ "${samquiet}" == "no" ]; then echo " Done!"; fi
I have the premade tty2oled kit from https://www.pcbway.com/project/sharepro ... m_32d.htmlvenice wrote: ↑Tue May 31, 2022 8:07 pm Can you tell us a bit more about your used tty2oled hardware?
See here please: https://github.com/venice1200/MiSTer_tt ... nformation
I am testing up and down with different tty2oled MCU's and SAM settings and never stuck there.
SAM works for me without this "clear buffer" function as well, we can disable this part of the script.
Code: Select all
2283: # Clear Serial input buffer first 2284: if [ "${samquiet}" == "no" ]; then echo -n " Clear tty2oled Serial Input Buffer..."; fi 2285: while read -t 0 sdummy <${ttydevice}; do continue; done 2286: if [ "${samquiet}" == "no" ]; then echo " Done!"; fi
Code: Select all
/media/fat/Scripts# dmesg | grep tty
[ 1.622937] ch341-uart ttyUSB0: break control not supported, using simulated break
[ 1.623240] usb 1-1.5: ch341-uart converter now attached to ttyUSB0
That result is strange.jacob.pederson wrote: ↑Tue May 31, 2022 8:34 pm …
I have the premade tty2oled kit from https://www.pcbway.com/project/sharepro ... m_32d.html
This is all I get from dmesg
Code: Select all
/media/fat/Scripts# dmesg | grep tty [ 1.622937] ch341-uart ttyUSB0: break control not supported, using simulated break [ 1.623240] usb 1-1.5: ch341-uart converter now attached to ttyUSB0
Disabling the 3 suggested lines fixed my issue, venice figured out it's probably caused by my slow ESP8266 with an CH34x USB-Serial Adapter Chip version of TTY2OLED.
Yes, remove them.mrchrister wrote: ↑Sat Jun 04, 2022 5:15 pm Great, thanks for reporting back! @venice so can we take these lines out?
That is great news for Amiga fans, like me. So many great classics and a good way to discover new games.mrchrister wrote: ↑Tue Jun 07, 2022 8:07 pm We added support for Amiga! If you have the MegaAGS image, please update SAM and give it a try!
Supporting Amiga was one of my early goals with the project since it has such a diverse and big library so I'm glad we finally have Amiga support in SAM. We're working together with the MegaAGS team to make support in the future even more seamless by directly launching a game (currently SAM is just typing buttons in the menu to launch the "feeling lucky" mode of MegaAGS) and by displaying which game is currently playing.
Hi,mrchrister wrote: ↑Tue Jun 07, 2022 2:18 pm Hey Frank, that sounds like a controller problem. If a controller is not detected correctly by SAM it might think that buttons are always being pushed.
What controllers do you have connected to your setup?
My Sam also stopped working.mrchrister wrote: ↑Fri Jun 17, 2022 7:42 pm Hey therourke, not sure why SAM stops cycling for you.
What controllers do you have connected?
Please ssh into the mister and check with "/media/fat/Scripts/MiSTer_SAM_on.sh monitor" while SAM is running to see what it's doing.
Dreams don't die!
It did I think.mrchrister wrote: ↑Sun Jun 19, 2022 3:13 pm https://www.jamesfmackenzie.com/2021/01 ... ing-files/
This should help. We're trying to include BGM currently with SAM usage. I haven't tested it yet but probably unlikely that it's BGM related
Dreams don't die!