/*************************************************************************** * __________ __ ___. * Open \______ \ ____ ____ | | _\_ |__ _______ ___ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ * \/ \/ \/ \/ \/ * $Id$ * * Copyright (C) 2007 Copyright Kévin Ferrare * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY * KIND, either express or implied. * ****************************************************************************/ #include "clock_draw_binary.h" #include "clock_bitmap_strings.h" #include "clock_bitmaps.h" #include "lib/picture.h" const struct picture* binary_skin[]={binary,digits,segments}; void print_binary(char* buffer, int number, int nb_bits){ int i; int mask=1; buffer[nb_bits]='\0'; for(i=0; ihour,time->minute,time->second }; char buffer[9]; int i; const struct picture* binary_bitmaps = &(binary_skin[skin][display->screen_type]); int y_offset=(display->getheight()-(binary_bitmaps->slide_height*3))/2; int x_offset=(display->getwidth()-(binary_bitmaps->width*6))/2; for(i=0;i<3;i++){ print_binary(buffer, lines_values[i], 6); draw_string(display, binary_bitmaps, buffer, x_offset, binary_bitmaps->slide_height*i+y_offset); } } ='id' value='3d1ca9deb5439da170f206504945172b149ebabf'/>
path: root/docs/FAQ
blob: 1a7f4f569f9809029a08550dce12dfc4924867c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
Q1. What is a FAQ?
A1. A rare small animal of the species 'Textius Electronicus'. It is known for
    its helpful attitude and vicious misspellings.

Q2. Okay, fine, what is _this_ FAQ?
A2. This FAQ is for questions (that we have answers to) that have been asked
    repeatedly either in emails or on IRC.

Q3. What is Rockbox?  What is it's purpose?
A3. The purpose of this project is to write an Open Source replacement 
    firmware for the Archos Jukebox 6000, Studio 20 and Recorder MP3 players.

Q4. I want to write code for my Archos, how do I proceed?
A4. Our guide on first time (http://www.rockbox.org/docs/firsttime.html) 
    Rockbox development should answer most of your questions.

Q5: What is CVS?
A5: Concurrent Versions System (http://www.cvshome.org).  We have a small
    help page about how to use this to get, update and commit files on the web
    at http://www.rockbox.org/cvs.html

Q6. What exactly is the CONTRIBUTING file? 
A6. Just like the name implies, it lists conventions that the project follows, 
    and in turn asks you to follow, for the formating of source code in
    general.

Q7. Okay, so I read CONTRIBUTING and although I don't agree with all your 
    conventions, I am going to be sensible and follow them anyway.  Now what?
A7. Start by reading up on the information about the jukeboxes on our web page.
    Then go into CVS and look at the code we've written. Then take what you
    need and start writing.

Q8. I want to join the development team, but don't have a SourceForge account,
    what should I do?
A8. You don't need a SourceForge account to help developing Rockbox. Just
    submit patches (http://www.rockbox.org/twiki/bin/view/Main/WorkingWithPatches)

    If your patches are consistently well-written and thus accepted, you may
    ultimately be offered CVS commit access. If that should happen, you will
    need to get a Sourceforge account:
    http://sourceforge.net/account/register.php

Q9. Do you have a mailing list?
A9. Sure do!  As a matter of fact, we have several of them for specific things.
    Please check out: http://www.rockbox.org/mail/, and please see FAQ entry
    75.

Q10. Great you have a mailing list!  Is there anyway for me to catch up on
     past posts?
A10. Check out the archives at: http://www.rockbox.org/mail/

Q11. How can I meet the developers working on the project?
A11. One way is by visiting us on IRC.  Head on over to the server
     irc.openprojects.net, and then join "#rockbox".  There is usually at 
     least one person there.  If you don't see any activity, feel free to post 
     questions anyway, several of us log the channel and will get you answers
     when we unidle.

Q12: Wow, you guys talk on IRC a lot?  I wish I had been around for those 
     conversations to see what happened.
A12: We are glad you mentioned that!  http://www.rockbox.org/irc happens
     to have a list of various logs we have recorded of events in the channel.
     Feel free to read up, and ask questions on what you find.

Q13. What is this "SourceForge" you keep mentioning?
A13. http://www.sourceforge.net

Q14. Can the changes or the software that Rockbox suggests or offers 
     possibly damage my Archos Player?
A14. All firmware mods that are presented are still highly experimental. 
     Try them at your own risk. We offer no guarantee that this software, or 
     the hardware modifications we show, will not damage your player or void 
     your warranty.  That said, we have not been able to damage any of our 
     units by modifying only the firmware. You can accidentally password 
     protect your hard disk, but there are ways around that. (See below.)

Q15. I want to see what the inside of my player looks like, but I would really
     like to avoid voiding my warranty.  Is there anything you can suggest?
A15. We have a collection of photos of both the player and recorder. Look at
     http://www.rockbox.org/internals/

Q16. What exactly are you trying to achieve with this line of development?
     (A.K.A. what's your purpose for being here?)
A16. Firstly, we wouldn't start something like this if we didn't simply enjoy
     it profusely. This is great fun!
     Secondly, we feel the original firmware is lacking some features and
     contains a number of annoying bugs that we don't want to live with.

Q17. You mention supporting Ogg Vorbis and other file types on your list of
     ideas. What is the status on that?
A17. Pessimist's Answer: At the current time we believe this is not very
     likely. The Micronas chip (MAS3507) decoder in the Archos does not
     natively support decoding and there is very little program space in the
     player to implement it ourselves.  The alternative would be to write a
     software decoder as part of the Rockbox firmware.  However, as much as we
     love our players, the computing power of the Archos (SH1 microcontroller)
     is not fully sufficient for this need.

     Optimist's Answer: We can play any format if only we can write code for 
     the DSP to decode it.  The MAS 3507 (and 3587) are generic DSPs that 
     simply have MP3 codecs in ROM. We can download new codecs in them and 
     we will be the first to celebrate if we can get OGG or FLAC or anything 
     into these DSPs. Unfortunately, we have no docs or tools for writing new 
     MAS DSP code and Micronas is very secretive about it.  If anyone can 
     help, please get in touch!

     The recent release of Tremor (integer Ogg decoder) indicates it uses
     around 100 KB for lookup tables. That's not unreasonable for a decoder,
     but we only have 4 KB for both code *and* data. So the grim reality is
     that Ogg will never be supported by the Archos Players and Recorders.

Q18. What about supporting playing of WMA files?
A18. Dear Mr. Gates, you have two options.  Re-read previous question, or go 
     buy your own project.

Q19: But you don't understand, I'm not talking about decoding here, 
     since the data we want may already be in the decoded format (PCM). 
A19: Okay, last time.  No.  We have no problems whatsoever reading different 
     file formats, call it PCM, WAV, GRI, PQR or whatever.  The problem is 
     that the CODEC only accepts MP3 data and nothing else. We could write a 
     new CODEC if we knew how to do it, but there is no documentation on the 
     DSP. Please note that we have no access to the DAC, so we can't send the 
     data directly to the DAC.

Q20. What is the most recent version of Rockbox?
A20. We recently released version 2.3, so head on over to
     http://www.rockbox.org/download/ and pull it down.
     Make sure to read the release notes.
     (http://www.rockbox.org/download/rockbox-2.3-notes.txt).

Q21. What do you plan to add to coming versions?
A21. We don't plan versions in detail. We just write code, and when it feels
     right we release a new version.

Q22. I tried one of your firmware files and now I can't access my hard disk!
     When I turn on my jukebox, it says:
                     Part. Error
                     Pls Chck HD
A22. Your hard disk has been password protected. We're not 100% sure why it
     happens, but you can unlock it yourself. Look at:
     http://www.rockbox.org/lock.html

     Note: This is a very rare problem. Most people who think they have a
     locked disk actually just experience hardware and/or driver problems.

Q23: This FAQ doesn't answer the question I have.  What should I do?
A23: You have a couple options here.  You could forget the question, find an
     easier question, or accept '42' as the answer no matter what.  We don't
     really recommend any of these (though I do opt for '42' often myself).
     What we do recommend is stopping by IRC, visiting the web site
     (http://www.rockbox.org) to see if the question was answered else where
     (like our nodo http://www.rockbox.org/twiki/bin/view/Main/NoDo FAQ)
     and just not included here, or ultimately dropping an email to the
     mailing list (rockbox@cool.haxx.se) or the FAQ maintainer listed on the
     project home page.

Q24: Are there other ways to contact the developers?
A24: Yes.

Q25: Are you going to tell us what they are?
A25: No.  Post to the mailing list and we will get back to you.

Q26: But I _really_ want to talk with you in person.
A26: I'm sorry.  My girlfriend/boyfriend/pet says I'm not allowed to, and the
     doctors here won't let me have pens or pencils.  They say its some rule
     about us not having sharp objects.  I'm sorry.  Now please stop calling
     me here.

Q27: Will you ever port Quake II to the Archos?
A27: If you ask that again, I'm sending your address and phone number to the 
     guy that mailed us with question #24.

Q28: Umm, was that sarcasm?
A28: That's it, I'm mailing him now.

Q29: Is this legal? I mean, I'd just hate to see something like that