Commit graph

995 commits

Author SHA1 Message Date
Daniel Stenberg
3f0bf03677 removed yield() define, we have a proper yield() implementation now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1004 a1c6a512-1295-4272-9138-f99709370657
2002-06-14 12:40:00 +00:00
Daniel Stenberg
50c1ff2b2f removed sleep.c, the sleep() code was moved into thread.c as the
functionality is so closely related


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1003 a1c6a512-1295-4272-9138-f99709370657
2002-06-14 12:34:51 +00:00
Daniel Stenberg
5fbeb6de75 Fixed the threading to work as I wanted it:
We only execute one thread at a time, and we do this by using a mytex that
the executing thread locks. sleep() returns the mutex, sleep and then gets
it again, yeild() makes the same as sleep but immediately.
This makes threading in the simulator behave closer to how it works on target
and it makes it necessary to use yield() or sleep() for other threads to
get to execute.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1002 a1c6a512-1295-4272-9138-f99709370657
2002-06-14 12:33:51 +00:00
Daniel Stenberg
a902aa15c0 kill warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1001 a1c6a512-1295-4272-9138-f99709370657
2002-06-14 11:06:58 +00:00
Daniel Stenberg
ed6c7e4e03 warning hunt and kill session
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1000 a1c6a512-1295-4272-9138-f99709370657
2002-06-14 11:00:13 +00:00
Daniel Stenberg
7a8d95d8ff go bananas, now we complain on *lots* of details
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@999 a1c6a512-1295-4272-9138-f99709370657
2002-06-14 10:41:08 +00:00
Daniel Stenberg
91f743f17e killed off a warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@998 a1c6a512-1295-4272-9138-f99709370657
2002-06-14 10:39:11 +00:00
Daniel Stenberg
698ebc8412 hehe, we better clear at y*8 not y*6 ;-)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@997 a1c6a512-1295-4272-9138-f99709370657
2002-06-14 09:10:36 +00:00
Robert Hak
216e50b3b6 updating irc logs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@996 a1c6a512-1295-4272-9138-f99709370657
2002-06-14 09:07:19 +00:00
Daniel Stenberg
17f8390c44 the cursor is now only 4 pixels wide
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@995 a1c6a512-1295-4272-9138-f99709370657
2002-06-14 09:03:08 +00:00
Daniel Stenberg
c72061ea0b nicer cursor and a folder bitmap that is horizontally aligned with the file
one


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@994 a1c6a512-1295-4272-9138-f99709370657
2002-06-14 09:02:16 +00:00
Daniel Stenberg
bf603f98cb made to use the new cursor bitmap on the recorder, so put_cursorxy() is
now a better way to position the cursor


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@993 a1c6a512-1295-4272-9138-f99709370657
2002-06-14 08:47:44 +00:00
Daniel Stenberg
35facde576 Added cursor bitmap
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@992 a1c6a512-1295-4272-9138-f99709370657
2002-06-14 08:47:09 +00:00
Daniel Stenberg
c0b7f4d97c the shuffle says something if we don't have a playlist loaded
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@991 a1c6a512-1295-4272-9138-f99709370657
2002-06-14 07:48:48 +00:00
Daniel Stenberg
881d226339 allow CRLF or LF or in fact just CR too as line separators
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@990 a1c6a512-1295-4272-9138-f99709370657
2002-06-13 23:06:30 +00:00
Björn Stenberg
fd99f2210f Don't try to scroll in an empty dir
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@989 a1c6a512-1295-4272-9138-f99709370657
2002-06-13 22:38:09 +00:00
Björn Stenberg
3505278aa5 Cosmetic change to playlist loader progress display
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@988 a1c6a512-1295-4272-9138-f99709370657
2002-06-13 21:27:42 +00:00
Björn Stenberg
4f00450f76 Loading playlists using 512 byte buffer. Added feedback display during load.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@987 a1c6a512-1295-4272-9138-f99709370657
2002-06-13 15:16:41 +00:00
Björn Stenberg
aa26b5cbe3 Added playlist shuffle menu option
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@986 a1c6a512-1295-4272-9138-f99709370657
2002-06-13 13:53:22 +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
Daniel Stenberg
6682c03de5 make init() a void always, this should heal the build again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@984 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 18:00:32 +00:00
Daniel Stenberg
4a3824425e remove WIN32 usage
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@983 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 17:57:49 +00:00
Felix Arends
0f06cf6152 fixed intptr_t to int, thanks to greg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@982 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 15:41:45 +00:00
Felix Arends
0053ec0c72 Threading is working on uisw32 as well now, code is up-to-date, makefile is up-to-date
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@981 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 15:39:39 +00:00
Felix Arends
d0b23126f1 need to include "sprintf.h" for win32 simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@980 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 15:33:07 +00:00
Felix Arends
e096c86b09 included threads.h so that init_threads is defined.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@979 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 15:31:35 +00:00
Björn Stenberg
23ed32cf41 Set margins when clearing screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@978 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 15:17:34 +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
Björn Stenberg
558c9247f4 Check for both .txt and .log
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@975 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 12:59:57 +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
1165b9a63f Removed erroneous {
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@973 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 09:01:50 +00:00
Björn Stenberg
cf55acfb29 Cleaned out a lot of #ifdefs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@972 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 08:59:48 +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
3d762e9728 Fixed scroll screen garbage bug
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@970 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 08:06:13 +00:00
Robert Hak
0e6850f3ce more clean ups
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@969 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 07:50:40 +00:00
Robert Hak
3a89b64773 playlist icon now displayed for playlists
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@968 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 07:45:42 +00:00
Daniel Stenberg
7daaa6111f uh, make sure we start with a slash when playing songs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@967 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 07:09:33 +00:00
Robert Hak
97c62f813c made question #18 correct
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@966 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 07:08:21 +00:00
Daniel Stenberg
c7c3d5e2ab fix multiple slash problems
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@965 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 07:07:45 +00:00
Robert Hak
4bf4a272a4 minor changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@964 a1c6a512-1295-4272-9138-f99709370657
2002-06-11 18:23:03 +00:00
Björn Stenberg
1e47b1f470 Added simple scroll speed setting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@963 a1c6a512-1295-4272-9138-f99709370657
2002-06-11 12:46:06 +00:00
Björn Stenberg
c8c0520ec9 Changed recorder note
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@962 a1c6a512-1295-4272-9138-f99709370657
2002-06-11 12:31:53 +00:00
Björn Stenberg
1d401eeffa Model 5000 added
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@961 a1c6a512-1295-4272-9138-f99709370657
2002-06-11 12:28:46 +00:00
Björn Stenberg
40ec5cc9fd buildwarn class added
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@960 a1c6a512-1295-4272-9138-f99709370657
2002-06-11 12:26:21 +00:00
Björn Stenberg
326d1b7ce9 ajbrec.ajz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@959 a1c6a512-1295-4272-9138-f99709370657
2002-06-11 12:26:08 +00:00
Björn Stenberg
a31a416d37 Target builds in columns
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@958 a1c6a512-1295-4272-9138-f99709370657
2002-06-11 12:25:56 +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
364f97cc44 Stop scrolling before leaving directory
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@956 a1c6a512-1295-4272-9138-f99709370657
2002-06-11 11:02:32 +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