Commit graph

1127 commits

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