cvs | 1 Jan 2005 15:27
Picon
Favicon

hohensoh: firmware/common dir.c,1.24,1.25

Update of /cvsroot/rockbox/firmware/common
In directory labb.contactor.se:/tmp/cvs-serv19151/rockbox/firmware/common

Modified Files:
	dir.c 
Log Message:
volume names look better in sharp brackets, code slightly more compact

Index: dir.c
===================================================================
RCS file: /cvsroot/rockbox/firmware/common/dir.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- dir.c	28 Dec 2004 22:16:07 -0000	1.24
+++ dir.c	1 Jan 2005 14:27:28 -0000	1.25
 <at>  <at>  -34,9 +34,11  <at>  <at> 
 /* how to name volumes, first char must be outside of legal file names,
    a number gets appended to enumerate, if applicable */
 #ifdef HAVE_MMC
-static const char* vol_names = ":MMC";
+static const char* vol_names = "<MMC%d>";
+#define VOL_ENUM_POS 4 /* position of %d, to avoid runtime calculation */
 #else
-static const char* vol_names = ":HD";
+static const char* vol_names = "<HD%d>";
+#define VOL_ENUM_POS 3
 #endif

 /* returns on which volume this is, and copies the reduced name
(Continue reading)

cvs | 1 Jan 2005 17:02
Picon
Favicon

hohensoh: firmware/export config-ondiofm.h, 1.17, 1.18 config-ondiosp.h, 1.17, 1.18

Update of /cvsroot/rockbox/firmware/export
In directory labb.contactor.se:/tmp/cvs-serv14628/rockbox/firmware/export

Modified Files:
	config-ondiofm.h config-ondiosp.h 
Log Message:
finally: multivolume for Ondio officially enabled (use MMC and internal 128MB seamless)

Index: config-ondiosp.h
===================================================================
RCS file: /cvsroot/rockbox/firmware/export/config-ondiosp.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- config-ondiosp.h	12 Oct 2004 11:00:19 -0000	1.17
+++ config-ondiosp.h	1 Jan 2005 16:02:37 -0000	1.18
 <at>  <at>  -67,4 +67,7  <at>  <at> 
 /* Define this if you have a software controlled poweroff */
 #define HAVE_SW_POWEROFF

+/* define this if more than one device/partition can be used */
+#define HAVE_MULTIVOLUME
+
 #endif /* SIMULATOR */

Index: config-ondiofm.h
===================================================================
RCS file: /cvsroot/rockbox/firmware/export/config-ondiofm.h,v
retrieving revision 1.17
retrieving revision 1.18
(Continue reading)

cvs | 2 Jan 2005 10:20
Picon
Favicon

amiconn: apps/plugins calculator.c,1.6,1.7

Update of /cvsroot/rockbox/apps/plugins
In directory labb.contactor.se:/tmp/cvs-serv15207/apps/plugins

Modified Files:
	calculator.c 
Log Message:
Start with the basic button layout if the basic operators are not available separately (Ondio keypad)

Index: calculator.c
===================================================================
RCS file: /cvsroot/rockbox/apps/plugins/calculator.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- calculator.c	17 Oct 2004 00:54:09 -0000	1.6
+++ calculator.c	2 Jan 2005 09:20:24 -0000	1.7
 <at>  <at>  -366,8 +366,13  <at>  <at> 
         rb->lcd_drawline(X_1_POS+i*REC_WIDTH, Y_1_POS,
                          X_1_POS+i*REC_WIDTH, Y_6_POS);

-    /* draw buttons */
+#ifdef CALCULATOR_OPERATORS
+    /* basic operators are available through separate button */
     buttonGroup = sciButtons;
+#else
+    buttonGroup = basicButtons;
+#endif
+    /* draw buttons */
     for (i = 0; i < 5; i++){
         for (j = 0; j < 5; j++){
(Continue reading)

cvs | 2 Jan 2005 13:08
Picon
Favicon

amiconn: apps tree.c,1.279,1.280 tree.h,1.32,1.33

Update of /cvsroot/rockbox/apps
In directory labb.contactor.se:/tmp/cvs-serv11679/apps

Modified Files:
	tree.c tree.h 
Log Message:
Prevent entering the menu when returning from a subroutine with MODE-repeat events still in the queue
(e.g. from renaming a file) (Ondio)

Index: tree.h
===================================================================
RCS file: /cvsroot/rockbox/apps/tree.h,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- tree.h	28 Dec 2004 22:16:07 -0000	1.32
+++ tree.h	2 Jan 2005 12:08:34 -0000	1.33
 <at>  <at>  -87,6 +87,7  <at>  <at> 
 #define TREE_RUN   (BUTTON_RIGHT | BUTTON_REL)
 #define TREE_RUN_PRE BUTTON_RIGHT
 #define TREE_MENU  (BUTTON_MENU | BUTTON_REPEAT)
+#define TREE_MENU_PRE BUTTON_MENU
 #define TREE_WPS    (BUTTON_MENU | BUTTON_REL)
 #define TREE_WPS_PRE BUTTON_MENU
 #define TREE_CONTEXT (BUTTON_RIGHT | BUTTON_REPEAT)

Index: tree.c
===================================================================
RCS file: /cvsroot/rockbox/apps/tree.c,v
retrieving revision 1.279
(Continue reading)

cvs | 3 Jan 2005 08:59
Picon
Favicon

amiconn: firmware/export fat.h,1.8,1.9

Update of /cvsroot/rockbox/firmware/export
In directory labb.contactor.se:/tmp/cvs-serv12329/firmware/export

Modified Files:
	fat.h 
Log Message:
Correct handling of FAT16 root directory when it does not start on a pseudo cluster boundary. Fixed some
places where the cluster number can become negative. Significant code cleanup.

Index: fat.h
===================================================================
RCS file: /cvsroot/rockbox/firmware/export/fat.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- fat.h	28 Dec 2004 22:16:07 -0000	1.8
+++ fat.h	3 Jan 2005 07:59:49 -0000	1.9
 <at>  <at>  -57,10 +57,10  <at>  <at> 
     int sectornum;       /* sector number in this cluster */
     unsigned int direntry;   /* short dir entry index from start of dir */
     unsigned int direntries; /* number of dir entries used by this file */
-    unsigned int dircluster; /* first cluster of dir */
+    int dircluster;      /* first cluster of dir */
     bool eof;
 #ifdef HAVE_MULTIVOLUME
-    int volume;           /* file resides on which volume */
+    int volume;          /* file resides on which volume */
 #endif
 };

(Continue reading)

cvs | 3 Jan 2005 08:59
Picon
Favicon

amiconn: firmware/drivers fat.c,1.95,1.96

Update of /cvsroot/rockbox/firmware/drivers
In directory labb.contactor.se:/tmp/cvs-serv12329/firmware/drivers

Modified Files:
	fat.c 
Log Message:
Correct handling of FAT16 root directory when it does not start on a pseudo cluster boundary. Fixed some
places where the cluster number can become negative. Significant code cleanup.

Index: fat.c
===================================================================
RCS file: /cvsroot/rockbox/firmware/drivers/fat.c,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -d -r1.95 -r1.96
--- fat.c	28 Dec 2004 22:35:10 -0000	1.95
+++ fat.c	3 Jan 2005 07:59:48 -0000	1.96
 <at>  <at>  -217,7 +217,8  <at>  <at> 
     int bpb_rootentcnt;  /* Number of dir entries in the root */
     /* internals for FAT16 support */
     bool is_fat16; /* true if we mounted a FAT16 partition, false if FAT32 */
-    unsigned int rootdirsectors; /* fixed # of sectors occupied by root dir */
+    unsigned int rootdiroffset; /* sector offset of root dir relative to start
+                                 * of first pseudo cluster */
 #endif /* #ifdef HAVE_FAT16SUPPORT */
 #ifdef HAVE_MULTIVOLUME
     int drive; /* on which physical device is this located */
 <at>  <at>  -229,7 +230,6  <at>  <at> 

 static int update_fsinfo(IF_MV_NONVOID(struct bpb* fat_bpb));
(Continue reading)

cvs | 3 Jan 2005 21:23
Picon
Favicon

hohensoh: firmware/common dir.c,1.25,1.26

Update of /cvsroot/rockbox/firmware/common
In directory labb.contactor.se:/tmp/cvs-serv17085/rockbox/firmware/common

Modified Files:
	dir.c 
Log Message:
using a pointer instead of array dereferencing saves ~250 bytes

Index: dir.c
===================================================================
RCS file: /cvsroot/rockbox/firmware/common/dir.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- dir.c	1 Jan 2005 14:27:28 -0000	1.25
+++ dir.c	3 Jan 2005 20:23:42 -0000	1.26
 <at>  <at>  -74,13 +74,19  <at>  <at> 
     char* end;
     struct fat_direntry entry;
     int dd;
+    DIR* pdir = opendirs;
 #ifdef HAVE_MULTIVOLUME
     int volume;
 #endif

+    if ( name[0] != '/' ) {
+        DEBUGF("Only absolute paths supported right now\n");
+        return NULL;
+    }
+
(Continue reading)

cvs | 4 Jan 2005 00:20
Picon
Favicon

hohensoh: firmware/drivers ata_mmc.c,1.30,1.31

Update of /cvsroot/rockbox/firmware/drivers
In directory labb.contactor.se:/tmp/cvs-serv19483/rockbox/firmware/drivers

Modified Files:
	ata_mmc.c 
Log Message:
select the card within the mutex, seems more safe

Index: ata_mmc.c
===================================================================
RCS file: /cvsroot/rockbox/firmware/drivers/ata_mmc.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- ata_mmc.c	29 Dec 2004 22:50:34 -0000	1.30
+++ ata_mmc.c	3 Jan 2005 23:20:31 -0000	1.31
 <at>  <at>  -110,7 +110,9  <at>  <at> 
 static int current_buffer = 0;

 static tCardInfo card_info[2];
+#ifndef HAVE_MULTIVOLUME
 static int current_card = 0;
+#endif
 static bool last_mmc_status = false;
 static int countdown;  /* for mmc switch debouncing */

 <at>  <at>  -620,15 +622,17  <at>  <at> 
     unsigned char response;
     void *inbuf_prev = NULL;
     tCardInfo *card;
(Continue reading)

cvs | 4 Jan 2005 16:00
Picon
Favicon

bagder: tools configure,1.81,1.82

Update of /cvsroot/rockbox/tools
In directory labb.contactor.se:/tmp/cvs-serv19925/tools

Modified Files:
	configure 
Log Message:
prepare for gmini 120 port

Index: configure
===================================================================
RCS file: /cvsroot/rockbox/tools/configure,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -d -r1.81 -r1.82
--- configure	24 Nov 2004 16:45:07 -0000	1.81
+++ configure	4 Jan 2005 15:00:06 -0000	1.82
 <at>  <at>  -29,6 +29,16  <at>  <at> 
  GCCOPTIMIZE="-fomit-frame-pointer -fschedule-insns"
 }

+calmrisccc () {
+ CC=calmrisc16-unknown-elf-gcc
+ LD=calmrisc16-unknown-elf-ld
+ AR=calmrisc16-unknown-elf-ar
+ AS=calmrisc16-unknown-elf-as
+ OC=calmrisc16-unknown-elf-objcopy
+ GCCOPTS="$CCOPTS -m1"
+ GCCOPTIMIZE="-fomit-frame-pointer"
+}
+
(Continue reading)

cvs | 4 Jan 2005 16:00
Picon
Favicon

bagder: firmware/export config-gmini120.h, NONE, 1.1 config.h, 1.14, 1.15

Update of /cvsroot/rockbox/firmware/export
In directory labb.contactor.se:/tmp/cvs-serv20130/export

Modified Files:
	config.h 
Added Files:
	config-gmini120.h 
Log Message:
Early and basic gmini 120 config. Needs attention and corrections.

Index: config.h
===================================================================
RCS file: /cvsroot/rockbox/firmware/export/config.h,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- config.h	18 Dec 2004 10:29:47 -0000	1.14
+++ config.h	4 Jan 2005 15:00:55 -0000	1.15
 <at>  <at>  -34,12 +34,14  <at>  <at> 
 /* CONFIG_CPU */
 #define SH7034  7034
 #define MCF5249 5249
+#define CR16    16   /* lacking a proper abbrivation */

 /* CONFIG_KEYPAD */
 #define PLAYER_PAD      0
 #define RECORDER_PAD    1
 #define ONDIO_PAD       2
 #define IRIVER_H100_PAD 3
+#define GMINI_PAD       4
(Continue reading)


Gmane