summaryrefslogtreecommitdiff
path: root/www/irc/rockbox-20020419.log
diff options
context:
space:
mode:
Diffstat (limited to 'www/irc/rockbox-20020419.log')
-rw-r--r--www/irc/rockbox-20020419.log547
1 files changed, 547 insertions, 0 deletions
diff --git a/www/irc/rockbox-20020419.log b/www/irc/rockbox-20020419.log
new file mode 100644
index 0000000000..d31e3942af
--- /dev/null
+++ b/www/irc/rockbox-20020419.log
@@ -0,0 +1,547 @@
1--- You are now known as Bagder
2--> Zagor2 (~bjst@labb.contactor.se) has joined #rockbox
3--- Zagor2 is now known as Zagor
4<Zagor> aloha!
5<Bagder> hey ho
6--- Bagder gives channel operator status to Zagor
7<Bagder> uh
8<Bagder> y%8 should be y&7 in lcd.c
9<Bagder> for the pixel functionss
10<Bagder> I'll fix
11<Zagor> yes, i realized that too. but it turns out as the same thing
12<Bagder> when compiled?
13<Zagor> i don't know about the code, but the logic is the same
14<Bagder> yes, logic is the same but % is generally a much slower operation
15<Zagor> ok
16* Bagder does an "Alan"
17<Zagor> hehe, don't be mean
18* Bagder chuckles
19<Bagder> woo new mozilla to get
20--> wavey (~wavey@dlan1431.dircon.co.uk) has joined #rockbox
21<wavey> morn
22<Bagder> it is a sunny and fine morning here
23<wavey> overcast and cool here
24--> alkorr (jbcoax@srs04m-8-117.n.club-internet.fr) has joined #rockbox
25<alkorr> for the CVS $Id, what must i put it in a source, so CVS fills it
26<alkorr> ?
27<alkorr> hi btw
28<Zagor> $Id$
29<Zagor> hi :)
30<alkorr> oky
31<alkorr> :)
32<wavey> do we have a standard file header to include at the top?
33<Bagder> yes
34<wavey> i.e the rockbox copyright and logo?
35<alkorr> yeep
36<wavey> so rather than specifying the Id tag
37<wavey> specify the header :)
38<wavey> and put the tag in the herder
39<wavey> header
40<Zagor> yes, that's how it is
41<wavey> so
42<wavey> why
43<wavey> did
44<wavey> alan
45<wavey> ask about the id tag?
46<Zagor> ask
47<Zagor> alan
48<Zagor> :)
49* wavey lol
50<alkorr> because i didn't know that :)
51<wavey> because it isn't stated anywhere :)
52<Zagor> alan: you changed the license for your FAT code. was that intentional?
53<alkorr> nope at all
54<alkorr> they were my old headers
55<Zagor> ok, so I should change it back to GPL?
56<alkorr> just forget to change them
57<alkorr> if you are tempted :)
58<Zagor> i am :)
59<alkorr> okay
60<Zagor> i looked at it a bit yesterday. what did you mean when you said the code is "obsolete"?
61<alkorr> which code ?
62<Zagor> the fat code
63<Zagor> that you mailed me
64<alkorr> ah yes... hum because i plan to split it and maybe a little bit more generic for PC test
65<Zagor> ok, because I started working on it... :)
66<alkorr> is that so ?
67<Zagor> yes
68<Zagor> i plan to have an image of a FAT32 disk in a file to do testing on
69<alkorr> for your purpose ?
70<Zagor> ?
71<wavey> zag: how will the main program body service user events while keeping the dsp full of data? will we just set up some sort of dma to allow the dsp to read data until complete, leaving the program thread to manipulate memory etc?
72<wavey> or is there some other way?
73<Zagor> that's a good question, which among other things we will be discussing tonight :)
74<Zagor> i need to switch tunnels, brb
75<-- Zagor (~bjst@labb.contactor.se) has left #rockbox
76<wavey> bag: we = .se?
77<alkorr> european people ;)
78<Bagder> yes
79<Bagder> me, Linus, Björn and a forth friend
80--> Zagor2 (~bjst@labb.contactor.se) has joined #rockbox
81<wavey> ok
82--- Zagor2 is now known as Zagor
83<wavey> cool
84<alkorr> oh you mean off-irc, Bagder ?
85<Bagder> we're gonna gather tonight
86<Bagder> right
87<Bagder> in real life
88<wavey> wow
89<wavey> there's an outside?
90* wavey is scared
91* Zagor is now in a clean, nice, pure ssl tunnel
92<Bagder> you worked out the CONNECT part?
93<Zagor> yup. found a perl script
94<Bagder> coolio
95<Zagor> i'll write up a twiki page
96<Bagder> knowing http pays off B-P
97<alkorr> seriously i see Zagor has change PAIOR and PBIOR to be ((volatile ...)
98<alkorr> i would try to avoid such a thing
99<Zagor> why?
100<alkorr> sometimes to have a byte access is better than a word access
101<wavey> these are registers, yes?
102<Zagor> yes but byte access is a special case
103<alkorr> or a 32-bit access better than a 16-bit access
104<Zagor> also a special case
105<Zagor> this is the normal case
106--> Linus (~linus@labb.contactor.se) has joined #rockbox
107<alkorr> du to the fact, we write them in C, i don't see objections to leave them as address ant programmer to use the word access he wants
108<alkorr> ... and let ...
109<Zagor> it makes a mess in the code to always typecast them. this way, the registers are registers, as defined in the data sheet
110<alkorr> register ???
111<Zagor> if you want to access them in a non-standard way, *then* you do special typecasts
112<alkorr> manual says we can access such registers as well byte as word, so there is no real non-standard way
113<Zagor> well the manual says the register is 16 bits wide, so that's how I define "standard"
114<Linus> I define the "standard size" to be the register size.
115<Linus> I would guess the the size the programmer wants would be the register size in 99% of all cases.
116<alkorr> i try to use a homogene way to access those register, and having SI,HI or QI remove the necessity to guess what size the register is. But due to the fact i'm in minority, i suppose i can only approve your changes unwillingly
117<Zagor> i really don't like the SI/HI/QI thing
118<alkorr> by the way i could need the addresses of those register (DMA with SCI0 for example)
119<Linus> Except that noone can guess what QI, SI and HI means without searching in the header files.
120<Zagor> yes, we probably need double macros. one with the address and one for register access
121<alkorr> yes but i find more ugly explicit typecasting anyway
122<Linus> Absolutely. We will probably still nedd both ways of doing it.
123<Zagor> explicit typecasting is good in special cases
124<Zagor> because then it shows that it's a special case
125<alkorr> i use GCC convention which has in internal the modes SI, HI and QI
126<alkorr> if you could find something else, i could be okay
127* Zagor has never seen SI/HI/QI in his 15 years of programming...
128<Linus> Yes. But I have yet to see any C source code using that convention.
129<alkorr> but must be short anyway
130<Linus> Absolutely.
131<alkorr> look at the gcc source
132--> Bagder2 (~chatzilla@as3-3-2.ras.s.bonet.se) has joined #rockbox
133<Linus> I have looked at the GCC source code. The QI/HI/SI stuff is not C it is a pseudo language.
134* Bagder2 tries chatzilla
135<Zagor> Bagder2: good?
136<Bagder2> nah, I think I prefer X-chat
137<alkorr> yes, your defines is not much more standard than mine anyway
138<Zagor> actually, they are
139<-- Bagder2 has quit (Remote closed the connection)
140<Zagor> look at any microcontroller C compiler
141<Zagor> registers are reserved uppercase symbols
142<alkorr> i don't call them 'standard'
143<Zagor> well no, but it's the most common way to represent registers
144<alkorr> it is not that kind of stuff i will call standard
145<alkorr> for me, they are libs like stdlib or stdio, no our own source
146<Zagor> I agree, it's not a standard. but it's a style that many people have seen before
147<adi|sleep> yeah.. yeah.. well.. well.. your momma!
148* Zagor twitches. Adi - awake?
149<adi|sleep> not really...
150<adi|sleep> for what its worth.. and i know its not much... but to me... SI HI QI makes no sense...
151<Linus> BTW, the Archos guys have really made an odd I2C bus connection between the 7034 and the MAS... :-(
152<adi|sleep> because to anyone who doesn't immediatly recognize it.. well.. they are clueless to what it means..
153<adi|sleep> but thats just my opin...
154<alkorr> so change them for another convention
155<Zagor> that's my point exactly
156<Linus> and the MAS uses a really odd I2C protocol variant...
157<Bagder> Linus: will it set any limitations or just make it difficult?
158* adi|sleep also points out he isn't attacking anyone...
159<Linus> A little tricky...and perhaps slower that necessary.
160<alkorr> anyway, for me they are not really register since SH7034 use a memory map to access peripheral registers => not a register for SH, register for peripheral on-chip.
161* Linus agrees with adi|sleep
162<alkorr> Linus: what about the trouble ?
163<Zagor> alan: it's the same thing. many controllers use memory-mapped registers
164<Linus> For example the PIC
165<Zagor> and the PowerPC
166<Linus> Well, not the POowerPC core, but all PowerPC-microcontrollers
167<Zagor> yes
168* adi|sleep points out that your reality is nothing but lies and baldardash and he is happy to say he has know understand of it.
169<Linus> And the 8051, IIRC
170* adi|sleep goes back to sleep
171<Zagor> adi seems a bit... off ?
172<Linus> Zombie?
173<adi|sleep> me? no no no....
174<Bagder> so, he's talking in his sleep ;-)
175<adi|sleep> im on 'nuetrel'
176<Zagor> a victim of the Umbrella Corporation?
177<alkorr> i make a difference between cpu register and port registers that all. The way to access them is different
178<adi|sleep> which is latin for "its way to fucking hot and humid outside for 0430
179<adi|sleep> "
180<alkorr> one use direct opcode, the other use peek/poke
181<alkorr> that's all
182<Linus> Agreed. You dont access the CPU registers at all in C source code.
183<Bagder> poke 53280, 0
184<Linus> Black border
185<alkorr> a reset ?
186<alkorr> Linus: about I²C ?
187<adi|sleep> then what did the old "register" thing in C do?
188* Bagder hands the award to Linus
189<alkorr> what's the trouble
190adi|atWork adi|sleep adi|atWork adi|sleep <Zagor> adi|sleep: it tries to allocate a variable to a register
191<adi|sleep> nods
192<Zagor> instead of putting it on the stack
193<adi|sleep> okay.. now i remember.
194<alkorr> no one uses anymore register, because a lot of C compiler implicily uses registers as possible
195<Linus> They have used a diode to simulate an open collector bus. That makes it tricky to communicate in both directions.
196* Zagor agrees
197<alkorr> so register is a void attribute in gcc
198<Zagor> yup
199<Bagder> yes
200<Bagder> but then gcc is a mighty fine compiler
201<Bagder> there are a bazillioin of worse ones out there
202* Bagder has been hit by a few
203<Linus> GCC is good on some processors, worse on others.
204<Bagder> true
205<Bagder> but it has a good general engine
206<Linus> Generally, GCC wants CPU's with a lot of registers
207<adi|sleep> well don't we all?
208<alkorr> for IA32 or SH, humm
209<adi|sleep> i mean.. come on.. cpus with lotsa registers are just so much more sexy
210<adi|sleep> not to mention better in bed.
211<adi|sleep> speaking of bed
212<alkorr> IA64 you mean
213<Linus> ADI. Are you drunk? :-)
214<adi|sleep> only with powerlessness
215* adi|sleep cackles evilly
216<Bagder> I bet its the heat
217<alkorr> Linus: i'm not sure to understand, what do you mean by "communicate in both directions" ?
218<adi|sleep> nods
219<adi|sleep> and the lack of decent sleep.
220* adi|sleep giggles furiously as he missreads sleep with sheep...
221<adi|sleep> no wouldn't _that_ have been a freudian slip.
222<Zagor> hehe
223<Linus> I mean that the data (and the clock in the case of the MAS) is bidirectional. Both read and write. And the diode makes that difficult.
224<Linus> But not impossible. Just tricky.
225<Zagor> what's the australian definition of "safe sex"?
226* wavey pats adi|sleep on the head
227<Zagor> you X-mark the sheep that kicks
228* wavey -so- needs to learn some electronics
229<wavey> is there a beginners bible?
230<Linus> I don't know
231<Linus> It's really simple. Just have a father that explains it to you. :-)
232<alkorr> yes but you can read, cannot you ?
233<wavey> er
234<alkorr> i'm talking to Linus :)
235<wavey> ah
236<alkorr> read MAS
237<wavey> good :)
238<Linus> hahaha!
239<alkorr> :)
240<Linus> Yes I can read. Ti is working. But it is slow at the moment. I will add another trick from my bag to make it faster.
241<alkorr> it is the code or the electronic part which is really slow ?
242* Bagder likes bags with tricks
243<Linus> Tha MAS is really nasty, as it drives the clock even when it is slave. :-(
244<Linus> The data line takes a lot of time to go from 1 to 0 when reading, since the line is unconnected because of the diode. I will have to discharge it explicitly to make it faster.
245<alkorr> the MAS manual says it can held the clock to let it handle some things before reading further data
246<alkorr> okay
247<Linus> Yup. And that is really nasty.
248<Linus> Especially since the clock is also connected via a diode.
249<alkorr> in fact, you're telling us that MAS could run faster if the data line can discharge more rapidly
250<Linus> Only the I2C line. That is only used for settings and configuration.
251<alkorr> but it only regards the I²C line
252<Linus> A pull-down would really help.
253<alkorr> okay, not a real problem, just a nasty design
254<Linus> Exactly.
255<alkorr> lines I²C shouldn't have pull-ups ?
256<Linus> Yes. On the bus side. I was talkin about the CPU side of the diode.
257<alkorr> okay
258<alkorr> just a note
259<alkorr> if you disassembly the I²C part of the player firmware, they don't use the common way to set/clear the I²C lines
260<alkorr> instead of using IN direction to set line at 1, they use OUT direction and set to 1
261<alkorr> that is, when setting port, always in OUT direction from the CPU
262<alkorr> when reading (checking line status), in IN direction
263<wavey> daniel - you still capturing the logs?
264<Bagder> I do
265<alkorr> I suppose you don't use the same way to communicate with MAS (when setting 0, OUT dir.; when setting 1, IN dir.)
266<wavey> cool
267<wavey> can we automate it?
268<wavey> stick a bot on and pipe it to the website?
269<Bagder> it is certainly possible
270<wavey> and add a search engine? :)
271<wavey> this is a wealth of info
272<Zagor> i added a search form yesterday
273<Zagor> it uses google
274<wavey> especially to newcomers that will come along
275<wavey> cool
276<wavey> uses google's cache or realtime search?
277<Zagor> the cache
278<wavey> ok
279<Zagor> but they index the site pretty regularly
280<wavey> lovely
281<wavey> regularly or frequently? ;)
282<Zagor> frequently :)
283<wavey> i've nearly got the C++ XML library ready for inclusion
284<wavey> just getting the CORBA interfaces ready first
285<wavey> this firmware will kick ass
286<Zagor> haha
287<Bagder> hihi
288<Bagder> what about the web browser? ;-)
289<wavey> :)
290<alkorr> bad you will need to convert it to plain C ;)
291<wavey> now, this might be a ridiculous idea...
292<wavey> but can we use more of the limited memory buffer for audio
293<Zagor> more?
294<alkorr> ???
295<wavey> hang on
296<wavey> by using the disk to store our program data?
297<wavey> and load it back when needed?
298<alkorr> we have a 2 MB DRAM, whatever we can have in
299<wavey> or is that silly
300<Zagor> that is silly :)
301<alkorr> depending what you want to do
302<alkorr> i think to understand what Wavey means
303<alkorr> yes it could be a cool idea but not the priority
304<Linus> alkorr: That is why they have the diode. They don't want to set it ton IN to drive a 1 on the bus.
305<Linus> For some reason.
306<alkorr> the possibility to load a game when you want to play, instead always having them in memory
307<wavey> yeah, keep a nucleus of program in memory, and demand load the bits we need
308<wavey> how large is the footprint of archos firmware?
309<alkorr> archos apparently has no real dynamic memory
310<alkorr> it seems to use a lot of tables
311<Linus> What is "real dynamic memory"?
312<Zagor> malloc
313<Linus> Ah.
314<alkorr> so their size should be fixed
315<Zagor> i guess :)
316<alkorr> malloc is a dynamic memory
317<alkorr> a true dynamic memory, if you like
318<wavey> do i misremember malloc's free not shrinking the process memory usage?
319<wavey> not that it matters
320<Zagor> that's OS dependent
321<Bagder> wavey: that's a unix thing
322<wavey> with only 1 process
323<wavey> ok
324<alkorr> what i mean is if we want to have the ability to load specific code at a ponctual time
325<alkorr> you surely need a dynamic memory
326<alkorr> so when we only use the player (or recorder)
327<alkorr> we can use all the memory
328<alkorr> and to prevent us to work with fixed address (so binary code not reusable with new firmware)
329<alkorr> but you still need a code addresses relocator :) well, not the first thing rockbox will have
330<wavey> no one knows how large the archos firmware is in memory?
331<Zagor> nope :)
332<Linus> I xould guess about 100K.
333<wavey> interesting :)
334<Linus> But I might be wrong
335<wavey> their firmware decompresses the mod, yes?
336<wavey> .ajz
337<alkorr> in fact we can export some data in harddisk
338<alkorr> for exemple if we have messages in different language
339<Linus> I guess the recorder decompreses the firmware. That would explain the long start time.
340<wavey> i can't see the benefit of a compressed mod
341<wavey> except to piss people off :)
342<Linus> Neither can I.
343<Bagder> save disk space? hehehe
344<wavey> hehe
345<wavey> ooh, 60GB in your palm.
346<Linus> Download time on the internet? I mean if you can save 1 second... :-)
347<alkorr> Wav. scrambling maybe
348<PsycoXul> so like yeah
349<PsycoXul> i remember all the things my c64 could do with 1mhz
350<wavey> 1mhz? or 1mb?
351<PsycoXul> what interesting things can be done with a whole 12mhz of processing power
352<PsycoXul> heh
353<wavey> ah
354<wavey> yes :)
355<PsycoXul> i just with the player's LCD was even just a tiny bit better
356<PsycoXul> like to be able to draw the blocks between characters
357<PsycoXul> heh
358<Bagder> yup, all the fun games will only be for the recorder :*)
359<PsycoXul> nah
360<PsycoXul> i did a rather nice little thing where you run around a map overhead
361<PsycoXul> and it scrolls through the 2 lines quite nicely
362<alkorr> i think the messages inf the firmware must take a lot of space, it could be interesting to see when removed how many it saves space in memory to have just the messages of the right langage
363<PsycoXul> it's pointless till i can read levels in files and such but i just wanted to find out if it was possible to make a game playable in 2 lines
364<PsycoXul> and it is
365<PsycoXul> just be cooler with a little more capabilities
366<PsycoXul> heh
367<Bagder> that's might cool
368<Bagder> +y
369<alkorr> to have a < 64 KB code should be a good point
370<Zagor> alkorr: yes
371<Zagor> we have a very big advantage in that we can always compile in just the features and data that we need
372<Linus> Hehe. The libc code is about 30k...
373<Bagder> ick
374<Zagor> libc? who needs libc?
375<alkorr> for div
376<alkorr> or shift operations
377<alkorr> when the shifter is not an immediate
378<Linus> I use it for sprintf at the moment. The string functions are there too
379<Bagder> there's a diet libc we could check out
380<Zagor> we can use a simpler sprintf
381<Linus> We have the source. We remove what we don't want.
382<Zagor> precisely
383* Bagder agrees
384<Linus> Actually, I think newlib ha a diet sprintf.
385<Linus> s/a/has/
386<Bagder> "ha has" ?
387<alkorr> but due to the fact you use a library, you only integrate functions from libc you really use in your source*
388<Bagder> heheh
389* Linus has thick fingers today
390<Linus> Not functions, modules
391<Linus> Unfortunately, many finctions are located in the same .o file in the library, and they often call each other.
392<alkorr> ah bad
393<Linus> But correctable.
394<alkorr> i thought they used a .c file for each functions
395<Linus> Often they do.
396<Linus> And sprintf() is a mighty beast.
397<alkorr> shure
398<Linus> I use it for debugging output at the moment.
399<alkorr> using sprintf from linux?
400<Linus> Nope. In the firmware. On the GDB console.
401<Bagder> a less capable sprintf() could of course be much smaller and still do just about what you'd want
402* Linus thinks of Trio
403<Bagder> that is not less
404<alkorr> Linus: i know but i'm speaking about what version sprintf is
405<Linus> But you know how to strip it.
406<Bagder> true ;-)
407<Linus> I don't know of any versions of sprintf. It's just Newlib.
408<Linus> Version 10.0.1, IIRC
409<Bagder> we probably want a sprinf() for screen text formatting too
410<Zagor> yup
411<alkorr> one possibility
412<wavey> i saw a tiny sprintf for gameboy advance
413<Linus> Go get it.
414* wavey looks
415<alkorr> is to use a generic printf which call a function for a character
416<alkorr> not fast
417<Bagder> well that's how they all work
418<alkorr> but you can directly display without have a buffer
419<Bagder> more or less
420<alkorr> so ?
421<Bagder> so that is probably what we'll get
422<Bagder> but
423<alkorr> so when you use this function, just call this function with a callback ?
424<Bagder> I doubt that anyway will printf() to the display
425<Bagder> anyone
426<alkorr> ah yeah, it is another thing for the LCD recorder
427<alkorr> story
428<Bagder> right
429--- Zagor is now known as Zagor|lunch
430--- Linus is now known as Linus|lunch
431<alkorr> c u
432<Bagder> bye Alan
433<-- alkorr has quit (Read error: 110 (Connection timed out))
434<wavey> http://www.frotz.net/gbadev/remote/printf.c
435<wavey> pretty tiny
436<Bagder|food> yes
437--- Zagor|lunch is now known as Zagor
438--- Linus|lunch is now known as Linus
439<wavey> http://yugop.com/ver3/stuff/03/fla.html
440<wavey> cute
441<wavey> (and work safe)
442<Zagor> cool!
443<Bagder> http://www.oqo.com/ <= seen this?
444<Zagor> bleh, flash
445<Bagder> yeah
446<Bagder> annoying site, cool box
447<-- Linus (~linus@labb.contactor.se) has left #rockbox
448<Zagor> do you know why uisimulator has a garbled window title?
449<Bagder> no
450<Zagor> what's the variable in emacs that says to only indent with spaces?
451<Bagder> (setq-default indent-tabs-mode nil)
452<Bagder> I think
453<Zagor> ok
454<Zagor> closing tunnel, brb
455--> Linus (~linus@labb.contactor.se) has joined #rockbox
456<Zagor> lcd_update in lcd-x11.c doesn't ever clear pixels, does it?
457<Bagder> uh, no ;-)
458<Zagor> i noticed :)
459<Bagder> oops
460* Zagor has been scratching his head a while over this :)
461<Bagder> I'm not sure how to do that the best possible way though
462<Bagder> I mean to avoid flickering
463<Zagor> how about just redrawing the whole screen. performance is not really an issue on X
464<Zagor> flickering only happens if you do it very frequently
465<Zagor> or maybe have an "old" array which you compare against
466<Bagder> well, we would need to fill the whole rect first, then draw all pixels
467<Zagor> and then draw all new and clear all old
468<Bagder> that's what I had in mind
469<Zagor> so do it :)
470<Bagder> can't do it right now
471<Zagor> k
472<Bagder> it'll have to wait a bit
473<Linus> The I2C is rocking like HELL! And fast too!
474* Zagor wonders just how much hell is rocking
475<Bagder> any sounds from the MAS yet?
476<Linus> Wait. There's a bunch of commands to be sent to it to configure it.
477* Bagder caaaan't wait ;-)
478* Linus wants to please Bagder
479* Zagor can't wait for a working lcd_update...
480<Bagder> so just clear the screen first
481<Zagor> hmm, what does this "X11" mean? ;)
482* Linus thinks Bagder is lazy
483* Bagder reminds you about who wrote the uisim in the first place ;-)
484<Zagor> so tell me, how do I clear the screen?
485<Bagder> XDrawRect() or XFillRect() or something
486<Zagor> ok
487<Bagder> find a page about one of the other X* functions and click some links
488<Bagder> that's how I've made it this far ;-)
489--> alkorr (jbcoax@srs05v-2-184.n.club-internet.fr) has joined #rockbox
490<Linus> Hi alan!
491<Linus> The I2C is rocking like HELL! And fast too!
492<alkorr> hi again
493<alkorr> how do you do ? :)
494* Zagor has a little surprise for you all...
495<Linus> I drive the data and clock lines low right before switching from output to input. That way I don't have to wait for the slow transition.
496<alkorr> uh ? i mean how do you get it ? :)
497<alkorr> okay
498* Linus is waiting for Zagor
499<alkorr> so you force discharge by this way
500<Zagor> soon
501<Zagor> soooooon...
502<Linus> Yup. Works like a charm.
503<alkorr> hum some news from Dragan ?
504<Zagor> uh, i haven't mailed him yet. i forgot...
505* Bagder pokes Zagor with a large stick
506* Linus hits him hard
507<Zagor> alan: are you working on the fat code?
508<Zagor> then i shouldn't be poking on it yet... :)
509* Linus sees a major commit from Alan
510<alkorr> a lot of things to add in fact
511<alkorr> so don't rush
512<Bagder> lots of c++ comments ;-)
513* Bagder hides
514<Zagor> hehe
515<alkorr> sorry but there were here before you ;P
516<Linus> You'll be surprised how little code you need to screw up your hard drive... :-)
517<Zagor> lol
518<alkorr> to screew up ? you mean to destroy ?
519<Linus> Yup.
520<Linus> No, not destroy. Just screw up.
521<alkorr> well my code never destroys or screws up ;P
522<Linus> Of course. Not _your_ code. :-)
523<alkorr> but you're right. Just a lock command and you are bad under windows
524<alkorr> hopefully i can unlock with your modified drive *relief*
525<alkorr> driver
526<Zagor> we need to fix something like that for the recorder too
527<alkorr> ah yes USB 2.0
528<alkorr> just a precision about my fat.c, i think the main thing that will stir you is probably the ata callback mechanism
529* Linus is still waiting for Zagors surprise
530* alkorr too
531<Zagor> paitence, children... :)
532<Zagor> patience, even
533<Zagor> alkorr: you mean except for the 1-byte arrays? ;)
534<alkorr> to understand what is it : it is way to handle, compute, swap or format data during a read or write operation in a atomic way (we cannot have simultanous readings sectors)
535<alkorr> yes
536<alkorr> because BPB is a real mess : all the fields are unaligned
537<alkorr> and using callback will create a too large function whereas I just need some fields in fact
538<alkorr> normally i don't keep in memory any boot sectors (like MBR, BPB or FSINFO)
539<wavey> what's the history of the disk code we're cutting?
540<wavey> has it been tried and tested elsewhere?
541<wavey> or is it all new
542<alkorr> yes in the obsolete fat.c i gave to Zagor
543<alkorr> and the ones I lost during a harddisk crash
544<alkorr> SH really dislikes misunligned accesses
545<Bagder> I gotta go, see ya guys later
546**** ENDING LOGGING AT Fri Apr 19 14:34:13 2002
547