Stuart Martin
a4f0f49a35
defaulting #define CRT_DISPLAY to off
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@346 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 19:44:55 +00:00
Stuart Martin
f2c1255922
added #ifdef CRT_DISPLAY to provide a printf version of debug()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@345 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 19:43:54 +00:00
Stuart Martin
db64fa259b
desc & qs
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@344 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 19:35:33 +00:00
Stuart Martin
74e720c564
win32 makefile for harness
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@343 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 19:34:31 +00:00
Stuart Martin
81f574578d
test harness for playlists & settings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@342 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 19:33:40 +00:00
Stuart Martin
4786f16a7d
additional #defines
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@341 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 19:25:34 +00:00
Stuart Martin
614acaa531
functions for panic functions
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@340 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 19:23:44 +00:00
Stuart Martin
e6ce5d5485
header for panic functions
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@339 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 19:23:08 +00:00
Stuart Martin
b09b1a091b
functions for high level disk operations
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@338 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 19:22:25 +00:00
Stuart Martin
ba19af2b12
high level disk operations
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@337 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 19:21:53 +00:00
Stuart Martin
8101b95879
header for track info
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@336 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 19:19:17 +00:00
Stuart Martin
a5b5ef4b77
functions for user settings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@335 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 19:17:52 +00:00
Stuart Martin
0aa7cb26ca
header for user settings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@334 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 19:17:03 +00:00
Stuart Martin
16cd64236e
functions for playlist manipulation
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@333 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 19:16:15 +00:00
Stuart Martin
9db78d37b8
header for playlists
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@332 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 19:14:19 +00:00
Daniel Stenberg
ef476e3a09
don't defined the dirent struct if DIRENT_DEFINED is defined...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@329 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 13:18:59 +00:00
Daniel Stenberg
ad9bdf6e38
fixed to use our file api
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@325 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 12:42:37 +00:00
Daniel Stenberg
4b2efbaf03
define SIMULATOR too
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@324 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 12:42:08 +00:00
Linus Nielsen Feltzing
c5ac54877a
Added code for testing queues
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@317 a1c6a512-1295-4272-9138-f99709370657
2002-04-29 14:28:37 +00:00
Linus Nielsen Feltzing
6a199bf125
Removed queue handling stuff
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@316 a1c6a512-1295-4272-9138-f99709370657
2002-04-29 14:27:46 +00:00
Linus Nielsen Feltzing
bd2561dcbb
Added queue handling stuff - NOT INTERRUPT SAFE
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@315 a1c6a512-1295-4272-9138-f99709370657
2002-04-29 14:25:44 +00:00
Linus Nielsen Feltzing
40c1c2251a
Removed some TABS
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@314 a1c6a512-1295-4272-9138-f99709370657
2002-04-29 14:23:21 +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
Linus Nielsen Feltzing
377687c423
Started work on event queues - NOT YET SAFE
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@310 a1c6a512-1295-4272-9138-f99709370657
2002-04-28 21:41:55 +00:00
Linus Nielsen Feltzing
fe6b82f9b3
Adapted to the new LED API
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@309 a1c6a512-1295-4272-9138-f99709370657
2002-04-28 21:40:24 +00:00
Linus Nielsen Feltzing
f95908c0a4
Added led.o
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@308 a1c6a512-1295-4272-9138-f99709370657
2002-04-28 21:38:48 +00:00
Felix Arends
d711bd9768
replaced _WIN32 constant with WIN32
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@304 a1c6a512-1295-4272-9138-f99709370657
2002-04-28 19:33:19 +00:00
Felix Arends
0196c0c45b
added win32 simulator compability
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@303 a1c6a512-1295-4272-9138-f99709370657
2002-04-28 19:29:57 +00:00
Björn Stenberg
aca76186c0
Added attribute and size
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@301 a1c6a512-1295-4272-9138-f99709370657
2002-04-28 19:14:17 +00:00
Felix Arends
17947b7898
win32 simulator compatible
...
(open, close, read, write do not have to be re-defined)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@299 a1c6a512-1295-4272-9138-f99709370657
2002-04-28 12:13:33 +00:00
Björn Stenberg
4b5edb8e31
Removed some warnings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@298 a1c6a512-1295-4272-9138-f99709370657
2002-04-28 09:57:09 +00:00
Björn Stenberg
0b91bc4dfa
Added dependency generation
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@297 a1c6a512-1295-4272-9138-f99709370657
2002-04-28 09:53:39 +00:00
Björn Stenberg
c8d4bcdbb9
Added closedir()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@279 a1c6a512-1295-4272-9138-f99709370657
2002-04-27 23:34:31 +00:00
Björn Stenberg
0e2a5a69bd
File and directory APIs
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@278 a1c6a512-1295-4272-9138-f99709370657
2002-04-27 23:31:23 +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
9a3c16dea8
Added 'type' to test fat_read()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@270 a1c6a512-1295-4272-9138-f99709370657
2002-04-27 19:39:08 +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
Daniel Stenberg
49ea8fb281
list of contributors, big and small, friends of the project, supporters of the
...
good cause. Fighters of evil. People we invite over when they're around! These
are the guys that make everything this possible...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@260 a1c6a512-1295-4272-9138-f99709370657
2002-04-27 14:53:30 +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
ccd3d0a6eb
Kept only fat32 code. Changed to 16-byte/row display.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@255 a1c6a512-1295-4272-9138-f99709370657
2002-04-27 01:17:49 +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
Daniel Stenberg
31c271ff63
stricter compiler checks to warn more
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@249 a1c6a512-1295-4272-9138-f99709370657
2002-04-26 08:57:13 +00:00
Daniel Stenberg
20c239dd11
fixed compiler warnings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@248 a1c6a512-1295-4272-9138-f99709370657
2002-04-26 08:56:43 +00:00
Linus Nielsen Feltzing
388f12dd08
More GDB friendly initializations
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@247 a1c6a512-1295-4272-9138-f99709370657
2002-04-26 08:04:50 +00:00
Daniel Stenberg
f736fd54e0
documented HAVE_NEW_CHARCELL_LCD
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@238 a1c6a512-1295-4272-9138-f99709370657
2002-04-25 15:22:58 +00:00
Björn Stenberg
b3674e2512
Added HAVE_NEW_CHARCELL_LCD
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@237 a1c6a512-1295-4272-9138-f99709370657
2002-04-25 15:09:32 +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
Alan Korr
4fbea7cf8b
memory stuff
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@235 a1c6a512-1295-4272-9138-f99709370657
2002-04-25 14:42:42 +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
Linus Nielsen Feltzing
9c1299c9c1
Working sleep() functionality
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@232 a1c6a512-1295-4272-9138-f99709370657
2002-04-25 13:30:41 +00:00
Linus Nielsen Feltzing
b3aecff464
Removed ugly CR/LF stuff. Removed some comments
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@231 a1c6a512-1295-4272-9138-f99709370657
2002-04-25 13:25:54 +00:00
Linus Nielsen Feltzing
46daf2b0b3
More bugs killed. Now it may even work.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@230 a1c6a512-1295-4272-9138-f99709370657
2002-04-25 13:20:43 +00:00
Alan Korr
69d9911175
huh sorry macl and mach was misplaced in the regs part of the structure.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@229 a1c6a512-1295-4272-9138-f99709370657
2002-04-25 12:46:08 +00:00
Alan Korr
a06a3d0721
Add registers macl and mach in save and restore context functions.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@228 a1c6a512-1295-4272-9138-f99709370657
2002-04-25 12:43:55 +00:00
Alan Korr
81df66031e
fix an error i did. It should be right now
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@227 a1c6a512-1295-4272-9138-f99709370657
2002-04-25 12:30:39 +00:00
Alan Korr
a6aff80b8a
well there was a big bug (read more carefully the instruction descriptions) ;)
...
you can find why commented in the source
i'll fix it, but not test it
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@226 a1c6a512-1295-4272-9138-f99709370657
2002-04-25 12:23:37 +00:00
Linus Nielsen Feltzing
7b9581a131
Not yet working
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@220 a1c6a512-1295-4272-9138-f99709370657
2002-04-25 00:15:04 +00:00
Linus Nielsen Feltzing
99406a6635
Tick timer additions
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@219 a1c6a512-1295-4272-9138-f99709370657
2002-04-24 22:46:02 +00:00
Linus Nielsen Feltzing
17ad789742
Moved crt0.S to the firmware directory
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@218 a1c6a512-1295-4272-9138-f99709370657
2002-04-24 22:00:37 +00:00
Linus Nielsen Feltzing
5b7f45a7c6
Moved code to section .init.text
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@217 a1c6a512-1295-4272-9138-f99709370657
2002-04-24 21:57:02 +00:00
Linus Nielsen Feltzing
db822180e7
Removed reset vectors and uncommented the LCD code temporarily
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@216 a1c6a512-1295-4272-9138-f99709370657
2002-04-24 21:55:32 +00:00
Linus Nielsen Feltzing
d6779f8ca4
First version
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@214 a1c6a512-1295-4272-9138-f99709370657
2002-04-24 21:46:01 +00:00
Linus Nielsen Feltzing
466d29a890
Removed a warning
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@213 a1c6a512-1295-4272-9138-f99709370657
2002-04-24 20:08:26 +00:00
Linus Nielsen Feltzing
603869e71e
Removed some TAB characters
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@211 a1c6a512-1295-4272-9138-f99709370657
2002-04-24 12:17:19 +00:00
Linus Nielsen Feltzing
cb9d09c80a
Protected the temporary register in the context switches
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@210 a1c6a512-1295-4272-9138-f99709370657
2002-04-24 11:06:41 +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
Linus Nielsen Feltzing
9dc1faf55a
Changed start address. Fixed the memory map
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@205 a1c6a512-1295-4272-9138-f99709370657
2002-04-23 22:11:50 +00:00
Linus Nielsen Feltzing
3236c3581b
-fomit-frame-pointer kills gdb stack trace, so I removed it
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@203 a1c6a512-1295-4272-9138-f99709370657
2002-04-23 21:43:14 +00:00
Linus Nielsen Feltzing
350629929d
Better handling of gdb CTRL-C during debug output
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@199 a1c6a512-1295-4272-9138-f99709370657
2002-04-23 13:41:18 +00:00
Linus Nielsen Feltzing
7fa8c949ad
Adapted to the new directory structure
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@198 a1c6a512-1295-4272-9138-f99709370657
2002-04-23 13:24:33 +00:00
Linus Nielsen Feltzing
d851644fed
Adapted to the new directory structure
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@197 a1c6a512-1295-4272-9138-f99709370657
2002-04-23 13:15:40 +00:00
Daniel Stenberg
963a64770e
no more malloc()s or strdup()s
...
the test program now takes any amount of files, which makes it easy to verify
lots of files at once using shell wildcards
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@196 a1c6a512-1295-4272-9138-f99709370657
2002-04-23 11:46:16 +00:00
Linus Nielsen Feltzing
b416a91980
Added drivers directory
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@195 a1c6a512-1295-4272-9138-f99709370657
2002-04-23 11:44:06 +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
Linus Nielsen Feltzing
0ff7947488
Removed some warnings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@192 a1c6a512-1295-4272-9138-f99709370657
2002-04-23 09:31:25 +00:00
Björn Stenberg
260906035e
Obsoleted
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@190 a1c6a512-1295-4272-9138-f99709370657
2002-04-23 09:15:55 +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
Linus Nielsen Feltzing
34f9482912
Added common directory
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@188 a1c6a512-1295-4272-9138-f99709370657
2002-04-23 09:00:28 +00:00
Linus Nielsen Feltzing
77861463a2
First version
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@187 a1c6a512-1295-4272-9138-f99709370657
2002-04-23 09:00:08 +00:00
Daniel Stenberg
6755f82a70
id3 tag reading code, both v1 and v2. Still needs to be adjusted more to
...
remove the malloc()s and possible other stuff.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@185 a1c6a512-1295-4272-9138-f99709370657
2002-04-23 08:43:04 +00:00
Daniel Stenberg
e7cc45929a
run make here to build a unix tool for checking id3 tags
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@184 a1c6a512-1295-4272-9138-f99709370657
2002-04-23 08:41:37 +00:00
Björn Stenberg
8ded7ca323
The indent police strikes again!
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@181 a1c6a512-1295-4272-9138-f99709370657
2002-04-22 23:41:29 +00:00
Linus Nielsen Feltzing
c7e811bffe
Changed __asm__ to asm
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@180 a1c6a512-1295-4272-9138-f99709370657
2002-04-22 22:48:07 +00:00
Linus Nielsen Feltzing
b701c89624
Even nicer inline assembly
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@179 a1c6a512-1295-4272-9138-f99709370657
2002-04-22 20:55:59 +00:00
Linus Nielsen Feltzing
fd0738d729
Removed absolute path to gcc and stuff
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@178 a1c6a512-1295-4272-9138-f99709370657
2002-04-22 20:55:37 +00:00
Linus Nielsen Feltzing
6bc2710c30
Further gcc option tweaking
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@177 a1c6a512-1295-4272-9138-f99709370657
2002-04-22 20:52:36 +00:00
Linus Nielsen Feltzing
fe1b7cfd91
Must optimize to inline functions
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@176 a1c6a512-1295-4272-9138-f99709370657
2002-04-22 20:21:40 +00:00
Linus Nielsen Feltzing
1f563bfd29
First version
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@175 a1c6a512-1295-4272-9138-f99709370657
2002-04-22 19:12:37 +00:00
Linus Nielsen Feltzing
34f026eb47
Adapted the context switch to SH1
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@174 a1c6a512-1295-4272-9138-f99709370657
2002-04-22 19:11:17 +00:00
Linus Nielsen Feltzing
04e315e84e
Removed strlen()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@173 a1c6a512-1295-4272-9138-f99709370657
2002-04-22 12:53:57 +00:00
Björn Stenberg
f32f78a0fb
Changed to void* for ata_read/write_sectors()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@172 a1c6a512-1295-4272-9138-f99709370657
2002-04-22 12:34:25 +00:00
Björn Stenberg
0f532a0041
Adjusted for new ata code.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@171 a1c6a512-1295-4272-9138-f99709370657
2002-04-22 12:33:04 +00:00
Daniel Stenberg
3c031c5ab9
simple collaborate multitasking scheduler donated to us by Ulf Ralberg
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@170 a1c6a512-1295-4272-9138-f99709370657
2002-04-22 12:07:34 +00:00
Linus Nielsen Feltzing
7503957187
Removed lcd.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@169 a1c6a512-1295-4272-9138-f99709370657
2002-04-22 11:54:50 +00:00
Björn Stenberg
61e4578833
Uh, we already had SWAB macros :)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@167 a1c6a512-1295-4272-9138-f99709370657
2002-04-22 09:37:23 +00:00
Björn Stenberg
679888feb4
Replaced SWAB macros with register-safe versions.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@165 a1c6a512-1295-4272-9138-f99709370657
2002-04-21 22:25:17 +00:00
Björn Stenberg
f761de4c32
Bah, I didn't mean to commit my edited Makefile...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@164 a1c6a512-1295-4272-9138-f99709370657
2002-04-21 22:07:26 +00:00
Björn Stenberg
1acfd6b39d
Alan's ATA code, or what's left of it after I have laid my grubby little hands
...
on it. :-) It compiles, but it probably doesn't work...
Also, a stub for future kernel code. A sleep() and a dummy yield(), just so we
can start to use them in other code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@163 a1c6a512-1295-4272-9138-f99709370657
2002-04-21 22:06:12 +00:00
Björn Stenberg
78e6bb8ee2
Added SWAB (swap bytes) macros
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@162 a1c6a512-1295-4272-9138-f99709370657
2002-04-21 21:53:45 +00:00
Björn Stenberg
e7d40dce78
Removed lcd calls
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@161 a1c6a512-1295-4272-9138-f99709370657
2002-04-21 21:50:00 +00:00
Alan Korr
b7cf0602fd
removing all that stuff permanently.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@159 a1c6a512-1295-4272-9138-f99709370657
2002-04-21 12:21:14 +00:00
Linus Nielsen Feltzing
257d17da6d
First version
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@158 a1c6a512-1295-4272-9138-f99709370657
2002-04-20 23:18:14 +00:00
Linus Nielsen Feltzing
f3989d3c93
Added serial port bit definitions
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@157 a1c6a512-1295-4272-9138-f99709370657
2002-04-20 23:03:48 +00:00
Linus Nielsen Feltzing
d057c07154
First commit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@156 a1c6a512-1295-4272-9138-f99709370657
2002-04-20 23:01:30 +00:00
Linus Nielsen Feltzing
432ba31511
Changed DMA TCRx register names to DTCRx
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@155 a1c6a512-1295-4272-9138-f99709370657
2002-04-20 22:42:00 +00:00
Björn Stenberg
8c1d94fb23
Added player button scanning
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@154 a1c6a512-1295-4272-9138-f99709370657
2002-04-20 14:42:49 +00:00
Björn Stenberg
5af283a98c
Removed _ADDR macros for non-existing registers
...
Added "combined" macros for the six single-value registers that are, for
some reason, split into several registers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@151 a1c6a512-1295-4272-9138-f99709370657
2002-04-20 13:41:06 +00:00
Björn Stenberg
191f4d22b9
Fixed REG and REG_ADDR style macros
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@150 a1c6a512-1295-4272-9138-f99709370657
2002-04-20 13:25:58 +00:00
Björn Stenberg
70ff3d900e
Renamed get_button button_get
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@147 a1c6a512-1295-4272-9138-f99709370657
2002-04-19 14:04:11 +00:00
Alan Korr
6dd637f44c
adding files... nothin working... a lot of thing missing
...
not speaking about possible drastic changes...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@144 a1c6a512-1295-4272-9138-f99709370657
2002-04-19 12:16:19 +00:00
Daniel Stenberg
cec0010cb9
& is better than % for speed reasons
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@142 a1c6a512-1295-4272-9138-f99709370657
2002-04-19 07:27:43 +00:00
Björn Stenberg
df3b9a38b3
Fixed bit bug in DRAW_PIXEL
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@141 a1c6a512-1295-4272-9138-f99709370657
2002-04-18 23:16:30 +00:00
Björn Stenberg
eb3bee2b2c
Added comments about linefeeds and const
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@140 a1c6a512-1295-4272-9138-f99709370657
2002-04-18 22:36:46 +00:00
Björn Stenberg
f237b69053
Added drawpixel, clearpixel and drawline to the API
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@139 a1c6a512-1295-4272-9138-f99709370657
2002-04-18 21:20:06 +00:00
Björn Stenberg
7f309df429
Added archos.mod as target + nl conversion
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@138 a1c6a512-1295-4272-9138-f99709370657
2002-04-18 20:01:44 +00:00
Björn Stenberg
fa07b41717
Moved definition of TRUE and FALSE to types.h
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@136 a1c6a512-1295-4272-9138-f99709370657
2002-04-18 17:45:45 +00:00
Björn Stenberg
6886103dd9
Added type to PAIOR and PBIOR registers
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@135 a1c6a512-1295-4272-9138-f99709370657
2002-04-18 17:45:08 +00:00
Björn Stenberg
965401aa6b
Moved all code to .c file and indented according to rules
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@134 a1c6a512-1295-4272-9138-f99709370657
2002-04-18 17:42:42 +00:00
Björn Stenberg
82bca1bc89
Added #ifndef/#endif around the hole file and corrected the #elsifs
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@133 a1c6a512-1295-4272-9138-f99709370657
2002-04-18 17:35:44 +00:00
Björn Stenberg
e3e4b73e81
Added TARGET to CFLAGS
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@132 a1c6a512-1295-4272-9138-f99709370657
2002-04-18 17:32:24 +00:00
Björn Stenberg
361083150f
Fixed some compile errors
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@131 a1c6a512-1295-4272-9138-f99709370657
2002-04-18 16:47:46 +00:00
Alan Korr
1caca5f585
small explanation of algorithm used for memory-page.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@129 a1c6a512-1295-4272-9138-f99709370657
2002-04-17 17:01:55 +00:00
Alan Korr
98d5df6fa7
I hope it is the last one i commit them
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@128 a1c6a512-1295-4272-9138-f99709370657
2002-04-17 15:16:59 +00:00
Alan Korr
a95347a3f9
some fixes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@127 a1c6a512-1295-4272-9138-f99709370657
2002-04-17 15:11:03 +00:00
Alan Korr
c25510f944
Now memory-page and memory-misc compile fine (others are in stage-development)
...
Conventions :
* Public headers :
memory.h,config.h,defines.h,inlines.h,types.h,functions.h
* Private headers :
memory-page.h,memory-slab.h (here you can find
prototypes functions or structures we want to share
only between memory-page.c, memory-slab.c,
memory-block.c, memory-misc.c).
* Public or private codes in :
memory-page.c,memory-slab.c,memory-block.c,memory-misc.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@126 a1c6a512-1295-4272-9138-f99709370657
2002-04-17 15:00:28 +00:00
Alan Korr
454be44f8d
fix bugs
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@125 a1c6a512-1295-4272-9138-f99709370657
2002-04-17 14:32:37 +00:00
Stuart Martin
2772553f97
my info
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@124 a1c6a512-1295-4272-9138-f99709370657
2002-04-17 14:17:05 +00:00
Stuart Martin
79aaf2ffde
relocating to firmware/test/wavey/wavey.txt
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@123 a1c6a512-1295-4272-9138-f99709370657
2002-04-17 14:14:57 +00:00
Stuart Martin
423b38b193
testing commit with ssh key4
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@122 a1c6a512-1295-4272-9138-f99709370657
2002-04-17 13:59:20 +00:00
Daniel Stenberg
a70782addc
proper #ifdef'ing around the file to prevent errors if multiply included
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@121 a1c6a512-1295-4272-9138-f99709370657
2002-04-17 13:40:13 +00:00
Björn Stenberg
5254710e63
Fixed Id: lines
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@120 a1c6a512-1295-4272-9138-f99709370657
2002-04-17 13:36:07 +00:00
Alan Korr
e0ae9dc008
Please don't try to compile them... they need to be fixed
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@118 a1c6a512-1295-4272-9138-f99709370657
2002-04-17 13:01:09 +00:00
Alan Korr
8a42139091
grrr... now it should compile all files $(PACKAGE)-*.c found in the directory $(PACKAGE)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@117 a1c6a512-1295-4272-9138-f99709370657
2002-04-17 12:53:30 +00:00
Alan Korr
45bde1f7fc
now only one .c file is compiled : $(PACKAGE).c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@115 a1c6a512-1295-4272-9138-f99709370657
2002-04-17 12:23:13 +00:00
Alan Korr
50698f98c7
remove it since all code is now in a .h file of the same filename
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@114 a1c6a512-1295-4272-9138-f99709370657
2002-04-17 12:21:19 +00:00
Alan Korr
0256fdf30b
cosmetic changes and additions :
...
* now we have seperate private headers files
containing private and static or public functions
in memory-* files.
* there is only one .c file of the same name the library.
Zagor: because now there is only one .c file, you could only have a .o file and use it instead of the .a libfile.
* most structures and codes are now private.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@113 a1c6a512-1295-4272-9138-f99709370657
2002-04-17 12:20:41 +00:00
Alan Korr
08dada2df5
cosmetic changes and additions :
...
* now we have seperate private headers files
containing private and static or public functions
in memory-* files.
* there is only one .c file of the same name the library.
Zagor: because now there is only one .c file, you could only have a .o file and use it instead of the .a libfile.
* most structures and codes are now private.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@112 a1c6a512-1295-4272-9138-f99709370657
2002-04-17 12:13:43 +00:00
Stuart Martin
87789d7154
testing commit with ssh key3
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@111 a1c6a512-1295-4272-9138-f99709370657
2002-04-17 09:58:23 +00:00
Stuart Martin
9262193af5
testing commit with ssh key
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@110 a1c6a512-1295-4272-9138-f99709370657
2002-04-17 09:40:09 +00:00
Stuart Martin
8e1bb808e3
testing add
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@109 a1c6a512-1295-4272-9138-f99709370657
2002-04-17 08:06:43 +00:00
Alan Korr
41e6d5f98a
module fat and templates : just added templates files.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@108 a1c6a512-1295-4272-9138-f99709370657
2002-04-16 18:49:03 +00:00
Alan Korr
7dc59cffd5
module fat and templates : just added templates files.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@107 a1c6a512-1295-4272-9138-f99709370657
2002-04-16 18:40:43 +00:00
Alan Korr
223884c4e5
There is two part in this module :
...
* memory-page :
It is a page allocator using bins. Each bin is a list (or a splay tree)
of the same power-of-2 pages. If no page left in a bin, it tries to
allocate a large page to split into two pages. Page size are :
512 B, 1 KB, 2 KB, 4 KB, 8 KB, 16 KB, 32 KB, 64 KB, 128 KB,
256 KB, 512 KB, 1 MB and 2 MB. Alignment of a page is the same
value than for its size.
* memory-slab :
using slab for smaller blocks, but much simpler than Linux' slab.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@106 a1c6a512-1295-4272-9138-f99709370657
2002-04-16 18:37:44 +00:00
Alan Korr
464a26d891
Ok, I move all what is common in 'test' directory
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@105 a1c6a512-1295-4272-9138-f99709370657
2002-04-16 18:21:06 +00:00
Daniel Stenberg
cb0849cd05
simple "target selection" template added
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@104 a1c6a512-1295-4272-9138-f99709370657
2002-04-16 14:04:34 +00:00
Daniel Stenberg
439b187d42
include config.h properly
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@103 a1c6a512-1295-4272-9138-f99709370657
2002-04-16 14:02:26 +00:00
Daniel Stenberg
bde61f2206
ident properly
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@102 a1c6a512-1295-4272-9138-f99709370657
2002-04-16 13:40:42 +00:00
Daniel Stenberg
feef1ed076
Gary's code for reading the Recorder's keyboard. This can't yet be used in
...
the simulator as we need to tweak how it reads raw input when we simulate
this.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@101 a1c6a512-1295-4272-9138-f99709370657
2002-04-16 13:37:50 +00:00
Daniel Stenberg
efca1cd39a
added keypad defines
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@100 a1c6a512-1295-4272-9138-f99709370657
2002-04-16 13:34:35 +00:00
Daniel Stenberg
811da2b759
two different keypads
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@99 a1c6a512-1295-4272-9138-f99709370657
2002-04-16 13:32:21 +00:00
Alan Korr
27df7b0b96
*** empty log message ***
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@98 a1c6a512-1295-4272-9138-f99709370657
2002-04-15 23:19:10 +00:00
Daniel Stenberg
705a6d9b46
Bresenham line drawing code added, as posted by Björn Stenberg
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@89 a1c6a512-1295-4272-9138-f99709370657
2002-04-12 14:05:45 +00:00
Daniel Stenberg
98161567e4
removed C++ comments, added emacs-stuff in the bottom
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@88 a1c6a512-1295-4272-9138-f99709370657
2002-04-12 13:59:56 +00:00
Daniel Stenberg
8c8ad67c1f
fixed comments
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@87 a1c6a512-1295-4272-9138-f99709370657
2002-04-12 13:58:55 +00:00
Björn Stenberg
fc357167c0
First version
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@86 a1c6a512-1295-4272-9138-f99709370657
2002-04-11 14:32:29 +00:00
Daniel Stenberg
2ba9b895aa
moved a #endif to stop compiler warnings for uisim on Linux
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@84 a1c6a512-1295-4272-9138-f99709370657
2002-04-11 12:45:06 +00:00
Daniel Stenberg
2101b9bd41
Added TRUE/FALSE, made it work with SIMULATOR
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@78 a1c6a512-1295-4272-9138-f99709370657
2002-04-11 12:38:38 +00:00
Daniel Stenberg
369ba01afd
incorporated Gary's bitmap LCD code, supports SIMULATOR. Seems to work.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@77 a1c6a512-1295-4272-9138-f99709370657
2002-04-11 12:37:49 +00:00
Daniel Stenberg
d04a6724dc
firmware typedefs. only bool so far
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@76 a1c6a512-1295-4272-9138-f99709370657
2002-04-11 12:37:06 +00:00
Daniel Stenberg
f4645e19b3
tables for drawing characters on a bitmap lcd.
...
Tables brought by Gary.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@75 a1c6a512-1295-4272-9138-f99709370657
2002-04-11 12:36:34 +00:00
Daniel Stenberg
a1a2d9ebcc
Updated a lot.
...
Uses the new config #defines for hardware features
Allows SIMULATOR
Now contains defines for the bitmap LCD display
Most of this came from Alan and Gary, kudos!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@74 a1c6a512-1295-4272-9138-f99709370657
2002-04-11 12:35:54 +00:00
Daniel Stenberg
f3e11d8f74
new system to set which box and which features the box has
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@73 a1c6a512-1295-4272-9138-f99709370657
2002-04-11 11:22:48 +00:00
Björn Stenberg
d9eb5c7603
First version
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@60 a1c6a512-1295-4272-9138-f99709370657
2002-03-28 15:09:10 +00:00