Commit graph

627 commits

Author SHA1 Message Date
Linus Nielsen Feltzing
bdeed1ae62 Removed dac_volume
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1149 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 12:38:09 +00:00
Linus Nielsen Feltzing
985c86108e mas_devread is now static
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1148 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 12:36:42 +00:00
Linus Nielsen Feltzing
e1cb054fa0 Now uses i2c_begin/end
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1147 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 12:35:37 +00:00
Linus Nielsen Feltzing
b922a96ae3 Added functions for exclusive I2C access
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1144 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 10:34:24 +00:00
Daniel Stenberg
01a264fb83 fixed a missing unsigned
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1140 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 08:10:13 +00:00
Daniel Stenberg
28e1d414b1 strings should be 'unsigned char *' or we will get problemos
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1139 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 07:57:44 +00:00
Daniel Stenberg
c66efb702e more proportional font fixes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1137 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 07:38:27 +00:00
Daniel Stenberg
94f0b55c64 the scroll loop could end up scrolling forever!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1135 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 06:55:20 +00:00
Daniel Stenberg
848c2cd733 slightly improved fix for proportional font scrolling, but it still isn't
really as good as it should be


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1134 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 06:41:19 +00:00
Daniel Stenberg
c5ddb150d9 made the putspropxy() use the exetended charset Magnus has made, forgot
to change this last week


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1133 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 05:59:31 +00:00
Felix Arends
7ce440a166 fixed the horizontal scroll graphics error
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1132 a1c6a512-1295-4272-9138-f99709370657
2002-06-21 13:06:28 +00:00
Felix Arends
d3f373f7cb nx was undefined for the first execution of the while statement
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1131 a1c6a512-1295-4272-9138-f99709370657
2002-06-21 12:30:08 +00:00
Daniel Stenberg
714cca067d extended charset by Magnus Öman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1127 a1c6a512-1295-4272-9138-f99709370657
2002-06-20 14:06:57 +00:00
Björn Stenberg
57aa1f4de4 Clear area for proportional scroll
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1126 a1c6a512-1295-4272-9138-f99709370657
2002-06-20 12:48:24 +00:00
Daniel Stenberg
788f1ceae2 added lcd_getstringsize() within the propfonts test define
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1124 a1c6a512-1295-4272-9138-f99709370657
2002-06-20 11:30:25 +00:00
Daniel Stenberg
9468e1b93e Magnus Oman brought a test set proportional font
#define LCD_PROPFONTS to try


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1112 a1c6a512-1295-4272-9138-f99709370657
2002-06-20 08:20:12 +00:00
Linus Nielsen Feltzing
b73481edeb mas_writereg() was broken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1109 a1c6a512-1295-4272-9138-f99709370657
2002-06-20 05:54:02 +00:00
Björn Stenberg
702dd052ae Ignore volume ID
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1096 a1c6a512-1295-4272-9138-f99709370657
2002-06-19 17:31:35 +00:00
Björn Stenberg
ae6d598213 Fixed bounce bug
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1093 a1c6a512-1295-4272-9138-f99709370657
2002-06-19 16:24:22 +00:00
Björn Stenberg
258919cc55 We don't need time unless we're writing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1085 a1c6a512-1295-4272-9138-f99709370657
2002-06-19 14:34:54 +00:00
Daniel Stenberg
e1bea8954b when simulating a player, move down the text 8 pixels to make room for
"icons"


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1078 a1c6a512-1295-4272-9138-f99709370657
2002-06-19 12:59:21 +00:00
Linus Nielsen Feltzing
9c0e5d8a26 Added Recorder code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1072 a1c6a512-1295-4272-9138-f99709370657
2002-06-19 12:03:41 +00:00
Linus Nielsen Feltzing
9d937e9c23 Recorder modifications
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1071 a1c6a512-1295-4272-9138-f99709370657
2002-06-19 12:00:37 +00:00
Linus Nielsen Feltzing
1b8bb1e05e Killed warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1066 a1c6a512-1295-4272-9138-f99709370657
2002-06-18 13:19:25 +00:00
Linus Nielsen Feltzing
a422b8381b Better ATA I/O detection
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1065 a1c6a512-1295-4272-9138-f99709370657
2002-06-18 12:53:02 +00:00
Daniel Stenberg
3d1c27f4d1 Added lcd_clearline() - the opposite of drawline. We need this to make funny
graphical stuff.
lcd_bitmap() with the last argument set to 'false' now only OR the bitmap to
the background instead of using XOR as it did previously. I really can't see
the point in XORing...


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1011 a1c6a512-1295-4272-9138-f99709370657
2002-06-15 13:26:57 +00:00
Daniel Stenberg
16c3c127ba typecast array indexing to int from char to prevent compiler warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@985 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 18:02:18 +00:00
Björn Stenberg
4b422aaa36 Fixed tighter looping scroll.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@977 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 15:15:51 +00:00
Linus Nielsen Feltzing
8169c8f5bd Added I/O address detection for CONTROL/ALT_STATUS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@976 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 13:51:31 +00:00
Linus Nielsen Feltzing
a4058ec28a ata_read_sectors() couldn't read more that one sector
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@974 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 09:28:22 +00:00
Björn Stenberg
4dea91fbcb Tighter scrolling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@971 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 08:24:03 +00:00
Björn Stenberg
14dc57c6d0 Skip initing LCD. Make scroll delay 1s.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@957 a1c6a512-1295-4272-9138-f99709370657
2002-06-11 11:03:48 +00:00
Björn Stenberg
8db6e4a63f Removed leftover int
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@955 a1c6a512-1295-4272-9138-f99709370657
2002-06-11 10:39:14 +00:00
Björn Stenberg
1ef2d66052 Changed to new chartable arrays
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@954 a1c6a512-1295-4272-9138-f99709370657
2002-06-11 10:36:50 +00:00
Björn Stenberg
92e46622e5 Don't scroll lines shorter than the screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@949 a1c6a512-1295-4272-9138-f99709370657
2002-06-11 07:55:43 +00:00
Linus Nielsen Feltzing
7bccab7400 Slower scroll speed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@944 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 14:45:09 +00:00
Björn Stenberg
f6a296929e lcd_init() for player too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@941 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 13:44:29 +00:00
Björn Stenberg
a45675aaa2 Added #include <thread.h>
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@939 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 13:31:12 +00:00
Björn Stenberg
f40a826000 Added delay before starting scroll
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@938 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 13:25:03 +00:00
Björn Stenberg
874fccbbc9 Moved declarations to top
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@932 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 12:41:12 +00:00
Björn Stenberg
e2b92ebeed Added scrolling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@931 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 12:36:54 +00:00
Linus Nielsen Feltzing
5a687d0377 Changed default contrast to power-on default
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@916 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 14:39:52 +00:00
Linus Nielsen Feltzing
5aacc8872c Removed some warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@911 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 13:09:44 +00:00
Linus Nielsen Feltzing
16ff7be475 Fixed poll interval handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@909 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 13:00:33 +00:00
Björn Stenberg
49c46a7f7c Removed old recorder debounce code. Increased repeat speed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@904 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 11:13:26 +00:00
Linus Nielsen Feltzing
8b1168bc94 Wrong command address for Recorder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@902 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 07:48:08 +00:00
Daniel Stenberg
82078e4a59 the truncate lcd_puts() stuff in simulator only concerns player-style LCDs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@900 a1c6a512-1295-4272-9138-f99709370657
2002-06-06 12:50:34 +00:00
Daniel Stenberg
f43490a86e when doing lcd_puts() on a simulated player, we now truncate the string at
the right edge instead of wrapping down to the next line, as the target
will not behave that way!


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@899 a1c6a512-1295-4272-9138-f99709370657
2002-06-06 12:47:03 +00:00
Björn Stenberg
3f7d6d5217 Untranslated chars should be pass-through
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@847 a1c6a512-1295-4272-9138-f99709370657
2002-05-31 09:01:57 +00:00
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
Björn Stenberg
c7f7934e8f Added disk/partition handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@405 a1c6a512-1295-4272-9138-f99709370657
2002-05-03 11:59:53 +00:00
Robert Hak
1118c88639 lcd_drawrect added
I was tired of calling lcd_drawline 4 times on my own.  This acts
as a wrapper around that.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@399 a1c6a512-1295-4272-9138-f99709370657
2002-05-03 06:23:30 +00:00
Linus Nielsen Feltzing
611a7c55e2 Added mas_run function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@393 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 23:01:10 +00:00
Björn Stenberg
697dd70ac4 Changed debug to DEBUGF and panic to panicf.
Also some linking changes.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@383 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 14:05:51 +00:00
Daniel Stenberg
72aa3cfb02 Reverted the 1.10 and 1.11 changes, as they don't work.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@376 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 10:06:45 +00:00
Felix Arends
fea4cfa41a fixed lcd_bitmap, again. Works for y%8 != 0 as well now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@374 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 17:05:55 +00:00
Felix Arends
fa16227b25 fixed lcd_bitmap code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@373 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 16:08:21 +00:00
Daniel Stenberg
d31188fc6e corrected the load-file path
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@362 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 10:12:28 +00:00
Daniel Stenberg
2877995956 lcd_puts() uses the new fontheight table now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@361 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 09:59:15 +00:00
Daniel Stenberg
0b81b35b7a Added lcd_fontsize() that returns the size of a given font
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@360 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 09:56:38 +00:00
Felix Arends
dc64ef99d1 removed WIN32 compiler directive
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@358 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 09:46:34 +00:00
Felix Arends
3d2999c911 Win32 Simulator compability:
needed to include windows.h for memcpy operations.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@352 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 21:17:27 +00:00
Björn Stenberg
3df8650a97 Renamed get_bpb() into fat_mount() and added it to the API.
Fixed a bug in fat_seek().
Added comment about unicode->iso8859-1 for longnames.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@312 a1c6a512-1295-4272-9138-f99709370657
2002-04-29 08:03:59 +00:00
Björn Stenberg
21594a4e2a Slight simplification
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@277 a1c6a512-1295-4272-9138-f99709370657
2002-04-27 22:45:23 +00:00
Björn Stenberg
24a2de64ac Added longname handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@276 a1c6a512-1295-4272-9138-f99709370657
2002-04-27 22:32:37 +00:00
Björn Stenberg
2cf3b5dfd6 Adapted to changed led API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@272 a1c6a512-1295-4272-9138-f99709370657
2002-04-27 20:14:01 +00:00
Björn Stenberg
0ea9f3772a Added fat_seek()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@271 a1c6a512-1295-4272-9138-f99709370657
2002-04-27 20:03:05 +00:00
Björn Stenberg
e8bcc01edf Added fat_open() and fat_read().
Renamed BLOCK_SIZE to SECTOR_SIZE.
Added #ifdef DISK_WRITE to all write code.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@269 a1c6a512-1295-4272-9138-f99709370657
2002-04-27 19:37:41 +00:00
Björn Stenberg
6c9e57810d Added ata_spindown() and use of ALT_STATUS instead of STATUS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@259 a1c6a512-1295-4272-9138-f99709370657
2002-04-27 14:19:00 +00:00
Björn Stenberg
5661b2332f Cluster chaining now works.
Moved all implementation details in .h to .c file.
Changed all printfs to DEBUG macros.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@256 a1c6a512-1295-4272-9138-f99709370657
2002-04-27 01:25:22 +00:00
Björn Stenberg
1dff4b65f7 FAT update
Added fat test code


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@254 a1c6a512-1295-4272-9138-f99709370657
2002-04-26 16:44:58 +00:00
Björn Stenberg
cfc2bbeef2 Removed erroneous lcd_start call
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@253 a1c6a512-1295-4272-9138-f99709370657
2002-04-26 16:41:51 +00:00
Björn Stenberg
9b113d5ac3 Simpler API and remove interrupt code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@250 a1c6a512-1295-4272-9138-f99709370657
2002-04-26 09:05:36 +00:00
Björn Stenberg
29db1a9e72 Cleaned up lcd API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@236 a1c6a512-1295-4272-9138-f99709370657
2002-04-25 15:09:03 +00:00
Björn Stenberg
30e8c03a42 Cleaning up the lcd API; not finished
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@233 a1c6a512-1295-4272-9138-f99709370657
2002-04-25 13:45:23 +00:00
Daniel Stenberg
dba2b45255 fixed the emacs load-file thing in the bottom
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@207 a1c6a512-1295-4272-9138-f99709370657
2002-04-24 08:14:41 +00:00
Björn Stenberg
7de1fceaa0 Moved sh7034.h into 'drivers'.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@194 a1c6a512-1295-4272-9138-f99709370657
2002-04-23 11:04:12 +00:00
Björn Stenberg
c6773e1436 Moved driver to 'drivers' subdir
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@189 a1c6a512-1295-4272-9138-f99709370657
2002-04-23 09:13:23 +00:00