Eric Linenberg
038df5cdc9
Daniel,
...
The following patch makes loadable fonts actually work (finally!).
It took me quite a while, but I finally figured out why the sim
worked and the target didn't: the SH1 processor won't read
longwords from a shortword alignment... I had to rev the .fnt
file to version 1.1 (requires remaking *.fnt files) in order
to fix this. Please apply the following patch completely.
It's diffed against the latest CVS.
I've also attached rockbox-fonts-1.1.tar.gz which includes
known working *.fnt files, including a courB08 system.fnt,
for demonstration.
Now the real work can begin... Although the new
system.fnt will work fine, if you try going to a really
big font (try copying courB14.fnt to system.fnt), then
you will find that it comes up and works in tree mode,
but will crash the system when going into WPS
mode... I'm sure this is because of the low-level
lcd_bitmap not clipping properly when given a too-large
bitmap, which the characters become. I haven't yet
tried to debug the low-level driver. Of course, it all
works on the sim...
So the apps developers will now have to make sure that
all apps screen sizes may vary according to the loaded font.
The font height can be gotten through the lcd_getfontsize API.
Files patched in fonts-6.patch
1. apps/menu.c - LCD_PROPFONTS error (2nd resubmission on this, please checkin)
2. firmware/font.c - fixes and reformatting. Please check this in as is,
my vi editor requires more reformatting changes since I left tabs in the
file, these are removed now (2nd resubmission on this, please checkin)
3. firmware/fonts.h - doc change on .fnt file format, .fnt version
number incremented.
4. firmware/loadfont.c - fixes to load font properly, typedefs
removed.
5. firmware/system.c - lcd_setfont(FONT_SYSFIXED) before
issuing error, otherwise font may not exist.
6. tools/bdf2c - fixes for correct output when filename starts
with a number, as well as when no DEFAULT_CHAR in .bdf
file. (2nd resubmission on this, please checkin)
7. tools/writerbf.c - fixes for bugfixed fontfile format.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2294 a1c6a512-1295-4272-9138-f99709370657
2002-09-16 03:18:49 +00:00
Björn Stenberg
8ce651efa0
Added pitch setting screen for recorders. Hold ON in wps to see it. Pitch range is 50-200%
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2290 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 13:14:06 +00:00
Linus Nielsen Feltzing
4ede925c8d
mpeg_set_pitch() was backwards
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2289 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 09:26:14 +00:00
Daniel Stenberg
7414c3acda
bye bye chartables, you have served us well
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2285 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 06:38:50 +00:00
Daniel Stenberg
0a1c22128f
Greg Haerr's font patch 3:
...
Rotates the font bitmaps only once at font_init() time, with some source
cleanup to rockbox standards.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2284 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 06:37:49 +00:00
Daniel Stenberg
48c23501e9
moved the 12x16 font from the chartables to the bounce code, as that is
...
now the only code using that font table
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2283 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 06:32:25 +00:00
Daniel Stenberg
cc1662420f
undef MAX_PATH before defining it makes it play the simulator game better
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2280 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 06:27:16 +00:00
Daniel Stenberg
d45a1dbe1f
no longer include unicode.h, we've removed that file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2273 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 13:51:54 +00:00
Daniel Stenberg
93b231c693
Greg Haerr's new loadable font. No more #ifdef font-style, removed old
...
propfont and loadable font code. New font file format.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2269 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 13:33:59 +00:00
Linus Nielsen Feltzing
5ed78ea80c
Pitch control for Recorder
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2267 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 12:25:44 +00:00
Hardeep Sidhu
62bec9e0d2
Flush and reload preloaded tracks if playlist changes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2259 a1c6a512-1295-4272-9138-f99709370657
2002-09-10 08:50:40 +00:00
Daniel Stenberg
359b6954fa
define away lcd_update_rect() too on players
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2257 a1c6a512-1295-4272-9138-f99709370657
2002-09-10 08:42:03 +00:00
Björn Stenberg
3b97474978
lcd_puts() now clears to end-of-line
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2252 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 23:57:00 +00:00
Björn Stenberg
f50b4fc20c
Read tracknum from id3v1.1 tag (Kenneth Kiraly)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2248 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 22:31:11 +00:00
Linus Nielsen Feltzing
73f6abebc0
Fixed sim build
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2246 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 16:43:25 +00:00
Linus Nielsen Feltzing
a5e69062ba
Mono right had the wrong level
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2244 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 15:23:12 +00:00
Linus Nielsen Feltzing
b10989830c
Added channel configuration
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2243 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 15:13:33 +00:00
Linus Nielsen Feltzing
1c792601f7
Changed screen output
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2235 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 12:59:06 +00:00
Felix Arends
1d412e2611
now also build without parameters
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2232 a1c6a512-1295-4272-9138-f99709370657
2002-09-08 20:14:10 +00:00
Linus Nielsen Feltzing
a92420c7ac
Fixes for binutils 2.13
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2230 a1c6a512-1295-4272-9138-f99709370657
2002-09-08 17:05:28 +00:00
Felix Arends
f77b810d2e
a new firmware makefile for windows (GNUSH) supporting DISABLE_GAMES and different targets
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2228 a1c6a512-1295-4272-9138-f99709370657
2002-09-07 19:49:22 +00:00
Björn Stenberg
8e96c47ff0
Made the sleep code a little bit less aggressive.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2220 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 23:55:52 +00:00
Björn Stenberg
34fa70e321
Now runs SET_MULTIPLE_MODE after usb disconnect, since the windows driver sets it to a non-default value.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2214 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 17:20:44 +00:00
Linus Nielsen Feltzing
e82f701fa4
Optimized ata_read_sectors() a little
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2213 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 16:02:19 +00:00
Linus Nielsen Feltzing
8b01f614a8
Moved the LCD frame buffer back to DRAM
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2212 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 12:30:30 +00:00
Eric Linenberg
5bed6e648a
changed REPEAT_INTERVAL_START back to 4 as it originally was
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2210 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 10:04:24 +00:00
Eric Linenberg
99a8a40990
added button repeat acceleration
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2193 a1c6a512-1295-4272-9138-f99709370657
2002-09-05 22:41:22 +00:00
Björn Stenberg
8ccbc766a4
Now uses READ MULTIPLE command. Also corrected some return values.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2186 a1c6a512-1295-4272-9138-f99709370657
2002-09-05 15:25:08 +00:00
Linus Nielsen Feltzing
a2c0afb29d
Enabled Warp Mode as well
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2183 a1c6a512-1295-4272-9138-f99709370657
2002-09-05 10:21:48 +00:00
Linus Nielsen Feltzing
8ca44dc45d
Enabled DRAM burst mode
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2182 a1c6a512-1295-4272-9138-f99709370657
2002-09-05 07:22:37 +00:00
Björn Stenberg
e65b65eeb0
Increased BSY & RDY timeouts to 10 seconds
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2174 a1c6a512-1295-4272-9138-f99709370657
2002-09-04 20:15:45 +00:00
Linus Nielsen Feltzing
0f387e913a
Added (disabled) screendump feature
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2172 a1c6a512-1295-4272-9138-f99709370657
2002-09-04 12:34:13 +00:00
Björn Stenberg
abe11fd910
Added quick-set screens to F2 (play modes) and F3 (screen settings) in dir browser and wps. Fixed minor propfont issues in lcd.c. Exported icons outside of icons.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2154 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 15:58:47 +00:00
Björn Stenberg
c521ed128d
Added Randy Wood's ROLO
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2149 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 09:44:08 +00:00
Linus Nielsen Feltzing
3d641c92a5
Added lcd_putc()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2148 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 09:39:52 +00:00
Linus Nielsen Feltzing
00c1e0533b
Ooops! perform_soft_reset() unlocked the mutex...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2132 a1c6a512-1295-4272-9138-f99709370657
2002-09-02 12:48:08 +00:00
Daniel Stenberg
ba3ca9f4fd
added those gnush makefiles
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2123 a1c6a512-1295-4272-9138-f99709370657
2002-09-02 07:15:29 +00:00
Linus Nielsen Feltzing
c0a53eabca
STANDBY mode works again
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2115 a1c6a512-1295-4272-9138-f99709370657
2002-09-02 06:26:00 +00:00
Linus Nielsen Feltzing
ae17b526ff
Better handling of garbage in ID3V2 tags
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2090 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 22:01:35 +00:00
Hardeep Sidhu
98cb63629b
Fixed ff/rew new position calculation to handle large seek positions and files. This should remove any restrictions on CBR files. VBR files can now seek to ~12 hours (TODO: remove this limit). Also fixed small bug in elapsed time calculation after resume.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2073 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 07:07:57 +00:00
Björn Stenberg
924b5313ac
Simulators want is_playing too
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2065 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 00:32:57 +00:00
Hardeep Sidhu
a6000f991a
Don't set last_dma_tick in swap_data when song is paused. This should fix the bad time display when selecting resume after previous.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2062 a1c6a512-1295-4272-9138-f99709370657
2002-08-29 16:23:11 +00:00
Linus Nielsen Feltzing
5d154f9723
wait_for_rdy() now actually waits for RDY
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2057 a1c6a512-1295-4272-9138-f99709370657
2002-08-29 11:50:57 +00:00
Linus Nielsen Feltzing
9b1d1d46e1
Now uses STANDBY_IMMEDIATE instead of STANDBY
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2052 a1c6a512-1295-4272-9138-f99709370657
2002-08-29 11:34:46 +00:00
Linus Nielsen Feltzing
4cdd538f06
Changed the poll timer from 2ms to 1ms
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2049 a1c6a512-1295-4272-9138-f99709370657
2002-08-29 10:08:45 +00:00
Markus Braun
513044fe58
Changed lcd_drawrect() to use upper left corner and height/width as parameters
...
Added function lcd_invertpixel()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2037 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 14:21:25 +00:00
Björn Stenberg
1f4e4d339c
Reverted back to monospace again. Let's not rock the boat until people can change it themselves (i.e. loadable fonts).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2032 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 11:54:41 +00:00
Linus Nielsen Feltzing
cfbdf142bc
More error handling, handles empty MP3 files now. Part 2.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2031 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 11:50:19 +00:00
Linus Nielsen Feltzing
606b0f545d
More error handling, handles empty MP3 files now
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2030 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 11:43:49 +00:00
Linus Nielsen Feltzing
030b6bf4d4
Even still more simulator fixes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2028 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 11:03:43 +00:00