Commit graph

10369 commits

Author SHA1 Message Date
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
Linus Nielsen Feltzing
60c5ec3512 Updated I2C pins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@168 a1c6a512-1295-4272-9138-f99709370657
2002-04-22 11:51:37 +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
25ef8e4d3a Added edx: Felix Arends
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@166 a1c6a512-1295-4272-9138-f99709370657
2002-04-22 07:56:44 +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
Björn Stenberg
d86c4990c8 FAQ and IRC in capitals
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@160 a1c6a512-1295-4272-9138-f99709370657
2002-04-21 19:33:56 +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
Daniel Stenberg
e7246de933 4 new irc logs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@153 a1c6a512-1295-4272-9138-f99709370657
2002-04-20 14:24:59 +00:00
Daniel Stenberg
965058028f four new logs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@152 a1c6a512-1295-4272-9138-f99709370657
2002-04-20 14:23:46 +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
45e9494a45 Missing buttons added
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@149 a1c6a512-1295-4272-9138-f99709370657
2002-04-19 14:38:28 +00:00
Björn Stenberg
c7dd78e90d Tetris!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@148 a1c6a512-1295-4272-9138-f99709370657
2002-04-19 14:12:31 +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
Björn Stenberg
5d4094fc98 Made handle_events a polling function to allow button scanning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@146 a1c6a512-1295-4272-9138-f99709370657
2002-04-19 14:02:23 +00:00
Björn Stenberg
f9429cc11b Quick hack to clear screen before updating
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@145 a1c6a512-1295-4272-9138-f99709370657
2002-04-19 12:55:12 +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
Björn Stenberg
b41596560e Minor updates
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@143 a1c6a512-1295-4272-9138-f99709370657
2002-04-19 10:43:37 +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
c5099ed9c3 Converted newlines from crlf to lf
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@137 a1c6a512-1295-4272-9138-f99709370657
2002-04-18 20:00:45 +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
Daniel Stenberg
0c8d06ef15 We were struck by the big bad CRLF monster. gcc on unix-like machines, at
least up until 2.95.3 just can't cope with DOS/Windows newlines in header
files, so this version is now converted to LF-only.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@130 a1c6a512-1295-4272-9138-f99709370657
2002-04-18 08:22:17 +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