Commit graph

1545 commits

Author SHA1 Message Date
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