/C-OSD/trunk/README.TXT |
---|
33,7 → 33,7 |
Instructions: |
Connect the "To FC" port from EPi-OSD to the Debug port of the NaviCtrl. |
You will need NaviCtrl 0.15c soft to fully enjoy the software. |
You will need NaviCtrl 0.18c soft to fully enjoy the software. |
S1 enters a menu where you can cycle through using S2 and toggle/accept choice with S1 |
/C-OSD/trunk/default/dist.bat |
---|
0,0 → 1,88 |
@echo off |
:: /**************************************************************************** |
:: * Copyright (C) 2010 by Claas Anders "CaScAdE" Rathje * |
:: * admiralcascade@gmail.com * |
:: * Project-URL: http://www.mylifesucks.de/oss/c-osd/ * |
:: * * |
:: * This program is free software; you can redistribute it and/or modify * |
:: * it under the terms of the GNU General Public License as published by * |
:: * the Free Software Foundation; either version 2 of the License. * |
:: * * |
:: * This program is distributed in the hope that it will be useful, * |
:: * but WITHOUT ANY WARRANTY; without even the implied warranty of * |
:: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * |
:: * GNU General Public License for more details. * |
:: * * |
:: * You should have received a copy of the GNU General Public License * |
:: * along with this program; if not, write to the * |
:: * Free Software Foundation, Inc., * |
:: * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * |
:: ****************************************************************************/ |
set DATE=20100214-1700 |
:: date /T |
:: clean up first |
del *.hex |
:: build pal hex |
set CFLAGS=-DNTSC=0 -DBUILDDATE=\"%DATE%\" |
make clean |
make |
move C-OSD.hex C-OSD-%DATE%-pal.hex |
:: build ntsc hex |
set CFLAGS=-DNTSC=1 -DBUILDDATE=\"%DATE%\" |
make clean |
make |
move C-OSD.hex C-OSD-%DATE%-ntsc.hex |
:: build pal hex FCONLY |
set CFLAGS=-DNTSC=0 -DFCONLY=1 -DBUILDDATE=\"%DATE%\" |
make clean |
make |
move C-OSD.hex C-OSD-%DATE%-pal-fconly.hex |
:: build ntsc hex FCONLY |
set CFLAGS=-DNTSC=1 -DFCONLY=1 -DBUILDDATE=\"%DATE%\" |
make clean |
make |
move C-OSD.hex C-OSD-%DATE%-ntsc-fconly.hex |
:: build character files |
:: PAL |
set CFLAGS=-DNTSC=0 -DWRITECHARS=1 -DBUILDDATE=\"%DATE%\" |
make clean |
make |
move C-OSD.hex C-OSD-characters-pal.hex |
:: and NTSC as well |
set CFLAGS=-DNTSC=1 -DWRITECHARS=1 -DBUILDDATE=\"%DATE%\" |
make clean |
make |
move C-OSD.hex C-OSD-characters-ntsc.hex |
:: clean up |
make clean |
:: show stats f.e. http://etree.org/cgi-bin/counter.cgi/software/md5sum.exe |
md5sum *.hex |
::dir /A *.hex |
:: pack all stuff |
mkdir C-OSD-%DATE% |
move *.hex C-OSD-%DATE% |
copy ..\CHANGE.LOG C-OSD-%DATE% |
copy ..\LICENSE.TXT C-OSD-%DATE% |
copy ..\README.TXT C-OSD-%DATE% |
:: 7zip command line version from http://www.7-zip.org |
7za a -tzip C-OSD-%DATE%.zip C-OSD-%DATE% |
rmdir /S /Q C-OSD-%DATE% |
dir /A C-OSD-%DATE%.zip |
::echo "building based on revision $REVISION is now DONE..." |
/C-OSD/trunk/default/dist.sh |
---|
1,6 → 1,6 |
#!/bin/sh |
#/**************************************************************************** |
# * Copyright (C) 2009 by Claas Anders "CaScAdE" Rathje * |
# * Copyright (C) 2009-10 by Claas Anders "CaScAdE" Rathje * |
# * admiralcascade@gmail.com * |
# * Project-URL: http://www.mylifesucks.de/oss/c-osd/ * |
# * * |
23,43 → 23,6 |
#DATE="20090604-1350" |
REVISION=`svn info .. | awk '$1 == "Revision:" {print $2}'` |
#NCMODES=`find ../ -name osd_ncmode_\*.c| sed 's/..\///g'` |
#FCMODES=`find ../ -name osd_fcmode_\*.c| sed 's/..\///g'` |
# |
# build all the NCMODE files |
#for CURRMODE in $NCMODES; do |
# CURRSHORTMODE=`echo $CURRMODE | sed -e 's/osd_ncmode_//g' -e 's/.c//g'` |
# |
# # build pal hex |
# export CFLAGS="-DBUILDDATE=\\\"${DATE}\\\" -DOSD_NCMODE=\\\"${CURRMODE}\\\"" |
# make clean |
# make |
# mv C-OSD.hex C-OSD-${DATE}-$CURRSHORTMODE-pal.hex |
# |
# # build ntsc hex |
# export CFLAGS="-DNTSC=1 -DBUILDDATE=\\\"${DATE}\\\" -DOSD_NCMODE=\\\"${CURRMODE}\\\"" |
# make clean |
# make |
# mv C-OSD.hex C-OSD-${DATE}-$CURRSHORTMODE-ntsc.hex |
#done |
# |
# build all the FCMODE files |
#for CURRMODE in $FCMODES; do |
# CURRSHORTMODE=`echo $CURRMODE | sed -e 's/osd_fcmode_//g' -e 's/.c//g'` |
# |
# #build pal hex FCONLY |
# export CFLAGS="-DFCONLY=1 -DBUILDDATE=\\\"${DATE}\\\" -DOSD_FCMODE=\\\"${CURRMODE}\\\"" |
# make clean |
# make |
# mv C-OSD.hex C-OSD-${DATE}-$CURRSHORTMODE-pal-fconly.hex |
# |
# # build ntsc hex FCONLY |
# export CFLAGS="-DNTSC=1 -DFCONLY=1 -DBUILDDATE=\\\"${DATE}\\\" -DOSD_FCMODE=\\\"${CURRMODE}\\\"" |
# make clean |
# make |
# mv C-OSD.hex C-OSD-${DATE}-$CURRSHORTMODE-ntsc-fconly.hex |
#done |
# build pal hex |
export CFLAGS="-DBUILDDATE=\\\"${DATE}\\\" " |
make clean |
85,7 → 48,7 |
mv C-OSD.hex C-OSD-${DATE}-ntsc-fconly.hex |
# buil character files |
# build character files |
# PAL |
make clean |
export CFLAGS="-DWRITECHARS=1 -DBUILDDATE=\\\"${DATE}\\\" " |
/C-OSD/trunk/main.c |
---|
380,7 → 380,7 |
// init on first data retrival, distinguished by last battery :) |
if (last_UBat == 255) { |
if (debugData.Analog[9] > 40) |
if (debugData.Analog[9] > 40) { |
// fix for min_UBat |
min_UBat = debugData.Analog[9]; |
last_UBat = debugData.Analog[9]; |