Commit graph

78 commits

Author SHA1 Message Date
Björn Stenberg
eacbef9466 Umm, bpb must be static to be local :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@833 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 19:49:15 +00:00
Björn Stenberg
827cee37d7 struct bpb does not have to be global
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@832 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 19:47:56 +00:00
Daniel Stenberg
44624521ff removed char(un)def.h includes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@828 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 14:50:28 +00:00
Daniel Stenberg
565f3b27f2 lcd_clear_display() now works when player-simulated the same way the
lcd_puts() does, it runs lcd_update() immediately itself


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@826 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 14:11:50 +00:00
Daniel Stenberg
af51791692 removed the ugly use of char(un)def.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@824 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 14:09:33 +00:00
Daniel Stenberg
c346991af8 when building a simulator for the player, we do lcd_update() from within
the lcd_puts() call.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@823 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 14:08:27 +00:00
Daniel Stenberg
43d96f9c41 lcd_getfontsize() now takes an unsigned font size as first argument
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@810 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 06:55:48 +00:00
Daniel Stenberg
7ec047c3a4 The recorder's lcd_putsxy() will now output '?' instead of just skipping
unknown characters.

I think we will need a rather full ISO-8859-1 character set.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@809 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 06:49:39 +00:00
Björn Stenberg
56f7202328 Stopped writting outsite screen. Removed LCD_ASCII macro.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@801 a1c6a512-1295-4272-9138-f99709370657
2002-05-29 16:29:17 +00:00
Björn Stenberg
3ad66b95fb FAT cache now uses static memory
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@789 a1c6a512-1295-4272-9138-f99709370657
2002-05-29 11:56:42 +00:00
Linus Nielsen Feltzing
95a323cbb1 getack didn't clean up after a NAK
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@768 a1c6a512-1295-4272-9138-f99709370657
2002-05-28 15:07:45 +00:00
Björn Stenberg
f008567379 Added 'block' parameter to button_get()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@759 a1c6a512-1295-4272-9138-f99709370657
2002-05-28 12:09:30 +00:00
Linus Nielsen Feltzing
14a20d54b3 fat_seek couldn't seek in the first cluster
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@751 a1c6a512-1295-4272-9138-f99709370657
2002-05-27 14:04:18 +00:00
Björn Stenberg
ff351c1fcc Added lcd_double_height()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@715 a1c6a512-1295-4272-9138-f99709370657
2002-05-26 20:54:52 +00:00
Björn Stenberg
50a33f06cf Clear 16 bytes per row
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@701 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 15:47:55 +00:00
Björn Stenberg
a95d956316 Disable USB before enabling ATA
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@692 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 11:32:53 +00:00
Björn Stenberg
a97c4419ed Fixed wrong reset pin. Removed unnecessary reset from init.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@691 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 11:25:24 +00:00
Daniel Stenberg
1eea4a5ade lcd_update() is a function for bitmap LCD targets too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@683 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 09:03:08 +00:00
Daniel Stenberg
18663e0fd1 more data needed by the Recorder build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@679 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 08:49:55 +00:00
Björn Stenberg
7a112a7204 Added repeat handling. Removed CRLF newlines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@664 a1c6a512-1295-4272-9138-f99709370657
2002-05-23 11:59:30 +00:00
Björn Stenberg
2549234bd7 Added timer-interrupt polling and button queue
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@659 a1c6a512-1295-4272-9138-f99709370657
2002-05-23 09:26:20 +00:00
Björn Stenberg
5c7847c501 Check for master/slave disk. Active 5s spindown timeout.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@655 a1c6a512-1295-4272-9138-f99709370657
2002-05-22 14:37:36 +00:00
Robert Hak
5d8e4c2156 trying to clean up Recorder vs Player issues
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@640 a1c6a512-1295-4272-9138-f99709370657
2002-05-21 08:50:46 +00:00
Björn Stenberg
2571912b35 Added dummy lcd_update() to player code, to avoid #ifdef everywhere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@634 a1c6a512-1295-4272-9138-f99709370657
2002-05-20 21:30:26 +00:00
Björn Stenberg
833556c2e7 Doh! Button signals are active low
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@624 a1c6a512-1295-4272-9138-f99709370657
2002-05-17 19:23:04 +00:00
Linus Nielsen Feltzing
afd30bb4cd More readable comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@609 a1c6a512-1295-4272-9138-f99709370657
2002-05-16 21:32:04 +00:00
Linus Nielsen Feltzing
3922466486 Added mutex protection
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@608 a1c6a512-1295-4272-9138-f99709370657
2002-05-16 21:28:21 +00:00
Linus Nielsen Feltzing
250c3b65df Now yields when waiting for flow control
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@607 a1c6a512-1295-4272-9138-f99709370657
2002-05-16 21:20:52 +00:00
Linus Nielsen Feltzing
0e085999d5 Changed default_read prototype
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@606 a1c6a512-1295-4272-9138-f99709370657
2002-05-16 21:12:57 +00:00
Linus Nielsen Feltzing
a2b0490060 First version
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@604 a1c6a512-1295-4272-9138-f99709370657
2002-05-16 21:03:57 +00:00
Björn Stenberg
e5992829d7 Fixed compiler warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@574 a1c6a512-1295-4272-9138-f99709370657
2002-05-14 12:28:48 +00:00
Linus Nielsen Feltzing
e14e13df5c C99 booleans
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@568 a1c6a512-1295-4272-9138-f99709370657
2002-05-13 19:22:38 +00:00
Björn Stenberg
7ae053a6e9 Changing to C99 'bool'
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@562 a1c6a512-1295-4272-9138-f99709370657
2002-05-13 12:45:46 +00:00
Björn Stenberg
2382044ffc Changing to C99 'bool' type
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@561 a1c6a512-1295-4272-9138-f99709370657
2002-05-13 12:29:34 +00:00
Linus Nielsen Feltzing
f70f06cc6b GRA1 was wrongly defined
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@546 a1c6a512-1295-4272-9138-f99709370657
2002-05-11 21:48:03 +00:00
Björn Stenberg
71cda11e65 Changed puts() to take 'character position'
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@540 a1c6a512-1295-4272-9138-f99709370657
2002-05-10 14:54:56 +00:00
Linus Nielsen Feltzing
564bb3edb0 Removed a few annoying debugf calls
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@534 a1c6a512-1295-4272-9138-f99709370657
2002-05-09 23:11:44 +00:00
Linus Nielsen Feltzing
01ede91cbe Removed a few debugf calls
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@528 a1c6a512-1295-4272-9138-f99709370657
2002-05-09 22:58:54 +00:00
Linus Nielsen Feltzing
8083e7a227 get_next_cluster forgot to byteswap the FAT entry, among others
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@527 a1c6a512-1295-4272-9138-f99709370657
2002-05-09 22:57:54 +00:00
Linus Nielsen Feltzing
114fce01dd New cache algorithm
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@526 a1c6a512-1295-4272-9138-f99709370657
2002-05-09 21:27:49 +00:00
Björn Stenberg
1c3217909b Added lseek()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@518 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 15:16:02 +00:00
Björn Stenberg
7dd442b7c3 Fixed EOF handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@512 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 12:02:42 +00:00
Linus Nielsen Feltzing
b900a83046 Fixed lame timeout handling and wrong return codes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@508 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 08:27:44 +00:00
Linus Nielsen Feltzing
3fd7fe9bb2 Fixed some debug output
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@506 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 08:26:38 +00:00
Linus Nielsen Feltzing
dc4977d98c Killed a few bugs. Tested in target. Works fairly good.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@501 a1c6a512-1295-4272-9138-f99709370657
2002-05-07 22:59:03 +00:00
Björn Stenberg
802740cd88 Create correct shortnames
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@499 a1c6a512-1295-4272-9138-f99709370657
2002-05-07 18:56:32 +00:00
Linus Nielsen Feltzing
551d8368aa corrected a few errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@454 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 22:14:07 +00:00
Daniel Stenberg
c8b6119b38 Added weird circumvention macros for SIMULATOR builds. When we build a
charcell LCD simulator, we keep the bitmap LCD functions too, as we use
the bitmap functionality to put characters on screen. But since the charcell
LCD api and the bitmap LCD api use the same function names for a few
functions, we include redef and undef files to fix that...


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@419 a1c6a512-1295-4272-9138-f99709370657
2002-05-04 12:19:36 +00:00
Björn Stenberg
924164e6a7 Changed to global 'bpb' struct
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@411 a1c6a512-1295-4272-9138-f99709370657
2002-05-03 15:35:51 +00:00
Linus Nielsen Feltzing
0bd77a6a80 Added a few functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@408 a1c6a512-1295-4272-9138-f99709370657
2002-05-03 13:12:21 +00:00