forked from venice1200/MiSTer_tty2oled
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtty2oled.ini
80 lines (69 loc) · 2.94 KB
/
tty2oled.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# Version 1.4
#
# Copyright (c) 2021 ojaksch, venice
#
# v1.5 New Options CCSCRIPT
# Add "-echo" to TTYPARAM
# v1.4 New Options UPDATESCRIPT, INITDISABLED, ROTATE, SCRIPT_UPDATE
# New but unused Options USE_WO_PICTURE, USE_EU_PICTURE, USE_JP_PiCTURE
# Changed "RAW" REPOSITORY_URL.
# v1.3 New Option "USE_US_PICTURE"
# v1.2 New Option "CONTRAST"
# v1.1 New Option "USE_TEXT_PICTURE"
# v1.0 Initial Release
#
#Colors in tput format
fblink=`tput blink`
fbold=`tput bold`
freset=`tput sgr0`
finvers=`tput rev`
fblue=`tput setf 1`
fgreen=`tput setf 2`
fcyan=`tput setf 3`
fred=`tput setf 4`
fmagenta=`tput setf 5`
fyellow=`tput setf 6`
REPOSITORY_URL="https://raw.githubusercontent.com/venice1200/MiSTer_tty2oled/main"
#REPOSITORY_URL="https://raw.githubusercontent.com/venice1200/MiSTer_tty2oled/testing" # Testing branch
TTY2OLED_PATH="/media/fat/tty2oled"
NODEBUG="-q -o /dev/null"
INITSCRIPT="/etc/init.d/S60tty2oled"
INITDISABLED="/etc/init.d/_S60tty2oled"
UPDATESCRIPT="/media/fat/Scripts/update_tty2oled.sh"
DAEMONNAME="tty2oled"
DAEMONSCRIPT="/usr/bin/tty2oled"
CCSCRIPT="/media/fat/Scripts/tty2oled_cc.sh"
WAITSECS="0.01"
ttyresponse=""
newcore=""
oldcore=""
corenamefile="/tmp/CORENAME"
picturefolder="/media/fat/tty2oledpics"
picturefolder_pri="/media/fat/tty2oledpics/pri"
# ---Testing-Variables---
# DAEMONSCRIPT="/media/fat/Scripts/tty2oled/tty2oled"
# OLDDAEMONSCRIPT="/usr/bin/tty2oled"
# picturefolder="/media/fat/Scripts/tty2oled/pics"
# picturefolder_pri="/media/fat/Scripts/tty2oled/pics_pri"
# oldpicturefolder="/media/fat/tty2oledpics"
# Debugging
debug="false"
debugfile="/tmp/tty2oled"
# Do not change this until you know what you do
MOUNTRO="false" # Helper flag for update_tty2oled_script.sh. Please don't touch as it leaves the SD card of MiSTer writeable otherwise.
# Serial
BAUDRATE="115200"
TTYDEV="/dev/ttyUSB0"
TTYPARAM="cs8 raw -parenb -cstopb -hupcl -echo"
# ---Currently unused Location's---
USE_WO_PICTURE="no" # Set to "yes" if you want the Global/World Version of the Pictures, default is "no"
USE_EU_PICTURE="no" # Set to "yes" if you want the Europe Version of the Pictures, default is "no"
USE_JP_PiCTURE="no" # Set to "yes" if you want the Japan Version of the Pictures, default is "no"
# Userdata
CONTRAST="200" # Set/send your Contrast from 0..255, default by Arduino Sketch = 200
ROTATE="no" # Set to "yes" if you want the Display rotated by 180 degrees
SCRIPT_UPDATE="no" # Set to "yes" if you want to update the tty2oled Scripts by the "Updater"
USBMODE="yes" # Set to "yes" if you use the USB Mode Sketch, set to "no" for SD or Standard Version
OVERWRITE_PICTURE="no" # Set to "yes" if you want to overwrite existing Pictures if they're updated upstream
USE_TEXT_PICTURE="no" # Set to "yes" if you want to download the Text-Pictures-Version, default is no
USE_US_PICTURE="no" # Set to "yes" if you want the US Version of the Pictures, default is "no"