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
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
Björn Stenberg
a29d43337f
Added -dP to 'update' description
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@119 a1c6a512-1295-4272-9138-f99709370657
2002-04-17 13:28:30 +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
Björn Stenberg
3b2ee8cf5a
Added search form
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@116 a1c6a512-1295-4272-9138-f99709370657
2002-04-17 12:29:02 +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