notaz.gp2x.de
/
ginge.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
69e4b3a174078043b519b3183db6a3684fcd973b
[ginge.git]
/
dist
/
ginge.sh
1
#!/bin/sh
2
3
export FBDEV=/dev/fb1
4
ofbset -fb $FBDEV -pos 80 0 -size 640 480 -mem 614400 -en 1
5
fbset -fb $FBDEV -g 320 240 320 480 16
6
7
# make it runnable from ssh
8
if [ -z "$DISPLAY" ]; then
9
export DISPLAY=:0
10
fi
11
12
./gp2xmenu
13
14
ofbset -fb $FBDEV -pos 0 0 -size 0 0 -mem 0 -en 0