/*************************************************************************** * __________ __ ___. * Open \______ \ ____ ____ | | _\_ |__ _______ ___ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ * \/ \/ \/ \/ \/ * $Id$ * * Copyright (C) 2002 by Björn Stenberg * * All files in this archive are subject to the GNU General Public License. * See the file COPYING in the source tree root for full license agreement. * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY * KIND, either express or implied. * ****************************************************************************/ #include #include #include #include "debug.h" #include "screens.h" #include "button.h" #include "menu.h" #include "string.h" #include "lcd.h" void backlight_on(void) { /* we could do something better here! */ } void backlight_time(int dummy) { (void)dummy; } int fat_startsector(void) { return 63; } int ata_write_sectors(unsigned long start, unsigned char count, void* buf) { int i; for (i=0; itm_hour%10) | ((teem->tm_hour/10) << 4); case 2: /* minute */ return (teem->tm_min%10) | ((teem->tm_min/10) << 4); } return address ^ 0x55; } int rtc_write(int address, int value) { DEBUGF("write %x to address %x\n", value, address); return 0; }