diff --git a/www/irc/rockbox-20020427.log b/www/irc/rockbox-20020427.log new file mode 100644 index 0000000000..504e5f0444 --- /dev/null +++ b/www/irc/rockbox-20020427.log @@ -0,0 +1,938 @@ +**** BEGIN LOGGING AT Sat Apr 27 18:02:19 2002 + +--> adiamas (~adiamas@as5300-9.216-194-23-95.nyc.ny.metconnect.net) has joined #rockbox +--- Topic for #rockbox is Open Source Jukebox Firmware - http://bjorn.haxx.se/rockbox/ +--- Topic for #rockbox set by Zagor at Fri Apr 12 09:45:52 + okay... logging again :) + i mailed the log from the 26th out + to the list? + sorry.. not mailed... cvs'd + ah + did you update the .t file too? + nope.. ill get that.. + done + I tried to add a cron job, but got some permission problems so it's still manual + lids related? + I don't know. I'll find the error mail + Subject: Cron (cd $HOME/bjorn_html/rockbox; cvs update; make) + rcmd: socket: Permission denied + cvs [update aborted]: end of file from server (consult above messages if any) + ah + it's not having CVS_RSH=ssh + but it shouldn't + you should update anonymously + ah, yes. I *should* :-) + aaaaah + say no more ;-) + trying again + GOTCHA + cross-sector filenames now work too + it ain't pretty, but it works :) + heh, I hope you smack on some comments explaining the non-prettiness + i'm trying... + it's the sector caching that makes a mess + i'll check it in so you can take a look + sure! + it's in + at the bottom, fat_getnext() + one sec + its not that bad really + i found an unnecessary line: ptr = ent->cached_buf + on 963? + no, 971 + ah + right + since it's already being done on 963 + removing that, I can collapse the ifs a bit + i'd say this moves the fat code into GREEN status +* Bagder horrays + what a difference a day makes :) +* Bagder presses reload on the rockbox page like crazy + hehe + now + plopp + 7 green ones + 9 yellow to go + yeah + we should write a little converter for pics to our internal pixmap format + did you write one for gifs to some odd format? + thinking about the rockbox logo now + no that was hand-pixeled by thomas + yes, but I recall something about you doing something like that on Siemens? + a converter that is + ah, yes + umm, i can't remember the name of the format :) + in fact + just loading a software showing the logo will make a *great* foto + yup + PPM i think the format is called + portable pixmap + ah yes + I'll hack up a little app embryo right now + the simulator should be able to do this, right? + do what? + run this app, showing the logo + yes + if you run it, include the ata code and run ata_init(). that should prevent it locking the disk. + ah, the cron job works now + fine + but I'm not gonna try running it on target yet + I can understand that :) + we should fix an unlock patch for the usb 2.0 driver too. + that would be really good + I'll make it possible to start tetris from the app's menu + :-) + :) + hm, doesn't work + what's the problem? + I can't manage to get the "cursor" to show up + cursor? + I have three lines in a "menu" + ah + and I want to move a "marker" along the side of them + i see + hm + I need to force a screen update somehow I guess + of course I do + silly me + yes :) + yes, and clear the marker when I move away... :-) + ok, time for file.c + roxxers + hehe, now I can start tetris from the menu ;-) + nice! + gotta clear the screen first though + hmm, both the man pages for remove() and unlink() claim POSIX conformance + remove() is undoubtedly a better name + it is + well.. depends on how you look at it... + you aren't really 'removing' the file from the system... + you are more so 'unlink'ing it from the system + you're removing it from view :) + but your also unlinking it from the file system ;) + hey you can't drop the block in tetris! + no, only speed it up +* Bagder made the x11 lcd display flicker free now + try the new uisim + just committed + lots of updates :) + how do you select an entry? + right + ah + but you can't leave tetris ;-) + I better fix that + still, our first menu! + I like that big font + hehe + now + should I move the X11 stuff into a subdir? + or should I put the app stuff in a subdir? + put X11 in a subdir + it makes sense + then we put all apps in the root and just link to win32 or x11 + of course, the app stuff should probably be in the firmware dir... + yeah, but I expect we'll have lots of little "toy apps" mainly for the simulator + oh yes! + do we have a sleep() yet? + well we have it + but it's not working right on target, since we haven't set up the timer interrupt yet + I was just thinking how I should proceed to slow my app down ;-) + sleep(ticks) + why not sleep(ms) + prevents ms/MS_PER_TICK all over ;-) + use HZ/freq instead + no reason really, it's just the simplest implementation + doesn't really matter, we can have both ;-) + yup + now, which key do we stop tetris with? + a function key + or OFF + I'll use off for now + oh what fun ;-) + :) + add a big "Tetris" text too for the fun of it + ´ed + bed time +--- Bagder is now known as Bagderzzz +<-- Zagor has quit ("bye") + ummm.. what happened to the makefile for uisim? + nevermind +<-- Bagderzzz has quit (carter.openprojects.net irc.openprojects.net) +--> Bagderzzz (~daniel@as3-3-2.ras.s.bonet.se) has joined #rockbox +* adiamas screams at this stupid person + my god.. i wasn't happy totally with this guys id3 editor.. + so i started digging into it... + heh + it has to be -the- worst design and execution of code i have ever seen + i did the same thing with grip + lets have a struct of data, that also has bools in it that tell you if that data field needs to be edited. + why? + so you can pass it around your functions. + but lets be_really_ lazy and use getopt and rely on the externs +* adiamas screams softly into the night + who hacked out the tetris file again? +--- edx|sleeping is now known as edx|studying +* edx|studying thinks he's sick sleeping more than 10 hours the last two nights :? +--- Bagderzzz is now known as Bagder + hi bagder :) + hey + I moved the x11 sim stuff to its own dir yesterday + yea i just updated :) + so now we both could use the app.c and tetris.c in the uisimulator root + good idea. + nods + who wrote the tetris originally? + "Mattis Wadman" + there is another problem with the tetris code. + that give me a macro redefinition: + #define HAVE_RECORDER_KEYPAD + what do i do about it? + ahh hehhe + (you need this define there?) + i compile with ARCHOS_RECORDER defined the this is defined automatically. + uh, no it shouldn't be there + ok ill delete it + im trying to understand wtf is happening with the block_dat + data + another thing... + unistd.h + is not for windows + same #define is in the x11 should it be there? + so im gonna do that: + #ifndef _WIN32 + #include + #endif + right edx + also, for sleep, kernel.h must be included by tetris.c + (or app.c) + well, there is no target version of sleep() yet + there is. + kernel.c i think + i have seen it.. + yes + but it doesn't work + Bagder in tetris.c could you tell me what 'frame' is with respect to block_data? + eeeh + I don't know really + k... ill figure it out one way or another.. + Bagder: how do yo uselect a menu entry? :) +* adiamas begins to think that the numbness in his left pinky and ring finger is _not_ a good thing + go right + but tetris is the only one you can select ;-) + ok + :) + ill upload updated files that are compatible with win32 simulator. + ok? + do that + I'll make sure the x11 runs fine with em + yep + go ahead ;) + edx.. do you understand the block struct? + done, and modified the app.c and tetris.c slightly + no more unistd.h :-) + ok + neither for linux nor for windows :) + have you commited them yet? + yes + ok + you can press 'off' to abort tetris now + (which is the numerical keypad enter in my case) + yea - i use the same keycodes + ok great :) + the menu still moves a little fast :) + (tetris too) + how is it on linux? + that sleep is 1 second for mee + which makes everything a bit too slow ;-) + oh lol + sleep 1 is defined Sleep (1000/HZ * 1) for me + which is 1/10 second ;) + heh + the target sleep() takes 'ticks' as argument and we don't know yet how fast that is + so I haven't bothered + yea + bjorn said it was deifined with HZ (but maybe that value is not accurate yet) + its 1/100 second btw.. + not 1/10 + edx... do you understand the block_data structure? + no matter.. thats the least problem. + adiamas: no i didnt really read the code + edx|studying: oh, right, haven't seen that + k... + adi: wait a sec + hmm strange... + does it already contain rotoation... ? + lcd_drawpixel(start_x+x+block_data[block][frame][0][i], + looking at that.. the first array parameter contains the block #.. + the second one the frame (?) - maybe rotation? + the third parameter is either 0 or 1.. but i dont know why + nods + nods? + "To lower and raise the head quickly, as in agreement or acknowledgment." + ahh +* edx|studying nods too + was just irritated because you didnt write it as a /me msg ;) + i guess the four integers are the directions.. (block_data is seperated into 4-int blocks) + i just don't see the blocks there... +* adiamas shrugs + the first block is the square thingie.. + im playing around with it now + aha.. uhm.. + so: {{0,1,0,1},{0,0,1,1}} is a square? + i got it! + k.. shoot + *snip!* + one block always consists of four pixels! + {0,1,0,1},{0,0,1,1} + coordinate of first pixel: + (0,0) + of second pixel: (1,0) ; of third pix (0,1) of fourth pixel (1,1) + can you see how i do it + nth pixel coord = (data[0][n],data[1][n]) + ahhhh!!! got ya... + can you do me a favor.. write that in a comment above it? +* adiamas likes comments that make sense. + heheh sure :) +* adiamas is toast... + is it: + x + | + | + ----y + or is it + y| + | + | + sencond one + ------x + ? + nod + // + // block_data is built up the following way + // + // first array index specifies the block number + // second array index specifies the rotation of the block + // third array index specifies: + // 0: x-coordinates of pixels + // 1: y-coordinates of pixels + // fourth array index specifies the coordinate of a pixel + // + c comments mate ;) + like that? + no c|| +* edx|studying is not a very good formulator + c++ even + ok + /* + block_data is built up the following way + first array index specifies the block number + second array index specifies the rotation of the block + third array index specifies: + 0: x-coordinates of pixels + 1: y-coordinates of pixels + fourth array index specifies the coordinate of a pixel + */ + is that understandable... :/ + looks fine to me +--> edx|disconnected (edx@pD4B9E91F.dip.t-dialin.net) has joined #rockbox +--- edx|disconnected is now known as edx + int block_data[7][4][2][4] = + { + { + {{0,1,0,1},{0,0,1,1}} + }, + is that translated to: + int block_data[7][4][2][4] = + { + { + {{0,1,0,1},{0,0,1,1}}, + {{0,1,0,1},{0,0,1,1}}, + {{0,1,0,1},{0,0,1,1}}, + {{0,1,0,1},{0,0,1,1}} + }, + ? + because the block needs rotation + (but its the same in any direction) + i would assume so. +* edx commited tetris.c + yeah, seems every block pivits on (1,1) + or there in abouts +--- ChanServ gives channel operator status to edx +<-- edx has kicked edx|studying from #rockbox (Stupid irc corpse!) +--- edx removes channel operator status from edx +--- edx is now known as edx|studying +--> Zagor (~bjst@as9-5-6.k.s.bonet.se) has joined #rockbox + hi :) + hi + edx|studying: that tetris.c in the win32 dir should be removed now shouldn't it? + aehm - yea wait a sec + ok it is + :-) + is there any way to make 'sed' not use / for its' regex? + yes +* edx|studying doesnt understand a word + Zagor: just use it after the s + sxmooxpoo + ok. strange that the man page doesn't say that + what's 'sed' + one of those secret tricks ;-) + heh give me the man page ;) + sed is a dead cool unix command line tool + what does it do? + uh, replaces regexes in a stream ;-) + what are regexes + (sorry for asking so much) + regex is a pattern, similar to wildcard but a lot more advanced and powerful + ah ok + that is like *.[mp3|m3u] or something like that? + ".*(mp3|m3u)$" would be good regex for that + aha + that $ indicates that the ( and ) do not belong to the name? + no, $ matches end of string + so that the mp3 or m3u must end it + ahh + ok - really advanced ;) + right, and this is only scratching on the surface + hehe + what does sxmooxpoo do? + lol + it replaces all occurrances of 'moo' with 'poo' :-) + so sed can also rename files? + no, it replaces text in a stream + cat file | sed -e s/replace/this > newfile + ok + couldnt one use it for filenames as well.. i have needed something like that a couple of times ;) + sure you can + in unix you just write up a quick script to do it + hehe + its easier in bash than with sed unless you wanna do things that bash can't do + heh +* Bagder jumps, PsycoXul is alive ;-) + like 'for f in *;do mv $f `echo $f | sed -e s/bleh/blah/g`;done' or 'for f in *;do mv $f ${f//bleh/blah};done' + heh + or whatever :p + Bagder: yeah + that's precisely what I was doing, only "bleh" contained a full path with / characters + dependency generation now fixed for 'firmware' +* edx|studying shakes awestruck +* adiamas cocks his head to the side and stares at edx + what awestrikes you? + "like 'for f in *;do mv $f `echo $f | sed -e s/bleh/blah/g`;done' or 'for f in *;do mv $f ${f//bleh/blah};done'" + unix in a nutshell + actually, it's only: for d in $(DEPDIRS); do { if [ ! -d $$d ]; then mkdir $$d; fi; }; done + but then + what the heck das that do? + $(CC) -MM $(CFLAGS) $< |sed '\''s|\($*\)\.o[ :]*|\1.o $(<:%.c=%.d) : |g'\'' > $@; [ -s $@ ] || rm -f $@ +* Bagder falls off his chair laughing + it creates the directories listed in $(DEPDIRS) if they don't already exists +* edx|studying cries out despairing + what does "fi;" do there? + it's the end of "if" + ahh lol + think: if(true){ } + hmm + what does the second thing do? + it runs the dependency generator, with, umm, correct parameters :) + heh + hm.. aha +* adiamas thinks we need to get edx to dual boot his box ;) + yup + i can use vmware ;) + you guys know that, right? + $< |sed '\''s|\($*\)\.o[ :]*|\1.o $(<:%.c=%.d) : |g'\'' > that inserts the return value of sed ?? + edx trust me dude... once you get off windows, you don't go back... + adi: i have tried that a lot of times - i always came back ;) + i dont even have the latest linux installation file + where do i get it :) + can i d/l it somewhere? +* adiamas has always done his installs off cd, so i cant tell you. + heh + linux installation file? + well .. the cd image or whatever + http://mirrors.sunsite.dk/debian-netinst-cd/ + you use debian? + Zagor: if it has / chars its easier with sed using like sed -e #eh/blah/bleh#eh/blah/blah#g + not for this machine, but for others + "these images are intended for developers, administrators, and advanced users" ** ohoh + PsycoXul: I know, i'm using | in this expression + with bash's substitution you have to use / chars for the sub so you have to escape any /'s within it + yeah, with sed you can use i think any char +* edx|studying loads the iso @ 40kb/sek + why is it only 30 megs? + because it's a netinstall + because its net install + heh + ok + that wont work - i bet! + why not? + it's linux - why would net install work on linux :P + it works fine, but maybe you're not ripe for debian yet :) + heh + i will install with vmware - so it is no problem to remove it any time :P + forget vmware :p + you can't *really* use an os in vmware :p + why noy + well + what're you gonna do with it? + try the console commands you post lol + i mean its like making a system thats half of your real one but without direct hardware access + i use w2k on vmware too + what are you really running? + heh + winxp ;) +* adiamas runs screaming into the night + the most-bloaty-dummy-user-system there is haha + but it's cool :) + heh + this iso is a boot cd? + or what does it do? + should be + how many hd space do you recommend for a linux hd ? + all of it :) + haha + how much hd space do you have :) + 80 gigs + but actually, I have a 4 gig win95 partition for playing games + ok.. now i have 110 gigs.. then ill take 4 gigs for linux :P + hehe +* edx|studying booting vmware from debian image + do i want to retain linux kernel 2.0 compability? + :? + I doubt it + ok + "please choos the path inside the CD-ROM where the Debian Archive resides." + anyone knows where that is? +* Bagder shakes his head + just press enter + ok +* edx|studying is too stupid to just press enter + heh.. it works so far.. + but wait till it comes to the internet update - i am sure it will mess up!! + there it begins.. it cannot find teh basedbs.tgz :/ +* adiamas heads off to bedd for a bit + well did it find a network interface? vmware is no standard pc + see you all in a while +--- You are now known as adi|napping + i am not that far yet + night adiamas + Next: Install the base system + night.. + *pressing enter* + Please selecte the medium you will use to install blah.. + that is CDRom Drive, right? + network + heh.. ok network is n/a + bah. told you vmware was no good + i didnt configure drivers yet.. wait a sec + bah.. it does not contain a device driver for my card + you're not having a card, you're having vmware + i do have a card + it uses a special virtual network interface + vmware makes it :o) + yes + it would not support my adapter anyways + it only has 2 dlink cards listed + which dlink do you have? + most dlinks are NE2000 compatible + yea i was gonna try that + D-Link DFE-530TX + PCI NE2000 support + that's ok? + "Cheap, drivers installed perfectly, Linux support. " + (googled quote) + sounds ok + "installation failed" + why cant it do like windows and determine drivers itself? + :P +* Bagder smacks edx + it did for me. try native and you'll se + never ever am i gonna try native unless i want to destroy my windows :P + the via-rhine driver it should be + http://www.dlink.co.uk/support/linux_supp.html + repartition the disk so you get a couple of gigs free, then there's no worry + thanks bagder.. tulip aha + wont work either + tulip? + via-rhine + that is the driver name + ooops! + right, thanks + fails anyways +* edx|studying does not know any command-line arguments + for the network adapter + what filesystem shall i install on the hd? + ext2 + k + and a linux swap? + yes + Extended = ext2? + yes + I'll run off and shop some food, back in an hour or so + *all thse sunday-shopping people* - i wish that was possible in Germany + it's really strange that you can't buy stuff on weekends + it is strange that you can ;) + on saturdays we can till 1PM (on every fourth saturday till 4PM) + but that is all + Are gas stations open? + yea + but they are expensive + of course, they have no competition + government mandated monopolies are usually quite expensive... + debian is still checking for bad blocks on the hd.. ill see what i can do after that.. + yea + how big partition are you using? + 4GB and 300mB for swap + ok + i guess the bigges problem is the vmware network adapter + it shouldn't take long, but i guess everything is a bit slower under vmware + yea + its 2/3 finished + i'll try an ethernet driver maybe... +--> calpefrosch (calpefrosc@p5082C485.dip0.t-ipconnect.de) has joined #Rockbox + hi + hi + have to done something at the simulator ? + Zagor: Note: If the virtual machine's Ethernet adapter has been enabled, the installation program will auto-detect and load the AMD PC/Net 32 driver + yea + but the file system thing is not working :/ + it gives me an error i just cant fix! + edx|studying: I added file.h and dir.h to firmware/common yesterday, so you know the API + we renamed unlink() to remove() + I will update the code tomorrow at work. I have no VC++ at home. + oh.. I added that file to - but didnt commit + ok + hehe + At the "Network Configuration" screen, respond OK to use the default: Use bootp/dhcp. + do you have a fixed ip or dhcp? + in LAN i have dhcp + then use that + well i am not that far yet + k + AMD PC/Net 32 driver.. i hope that one exists + (and works) + what do you use to organize the MP3 files ? I have about 10 GB. + heh ntfs file system - nothing actually :) + directories :) + mhh, good idea. but how to search one song ? + I mean, on the archos... + oh + you need a good system... + in your head and in your archos :) + genre/artist/album/name.mp3 + hmm, I think I'm to lazy... ;-) + ok, I have to organzie some files, hehe + cu + what is the device path of the cdr drive? + cu +--- calpefrosch is now known as calpefrosch|drea +--- calpefrosch|drea is now known as calpefrosch|away + /dev/cdrom usually + *hard reboot and redo it all* + hehe + *keep pressing enter* + *beeing further than before* + brb + what file systems do i install to the kerbnel? +* Bagder crawls back into his chair + hi + hey + (that is re) + no success installing debian :( + it wont work with the network adapter + annoying + really. + anybody ever seen these things? http://www.thinkgeek.com/stuff/computing/5a15.shtml + edx|studying: what network adapter + debian should have no problems with vmware's emulated nic + PsycoXul: D-LINK 530X + weird gadget + yea its the vmware bridged network adapter + what does this soundbug do? + play music aloud? + " A single Soundbug can generate sound levels of up to 75 dBm peak, easily loud enough for a group of people to enjoy music together, or listen to the sound output from a laptop presentation or a camcorder video. " +--> alkorr (alkorr@srs07v-7-188.n.club-internet.fr) has joined #rockbox + hi alkorr + hi Bag' + hum... Bagd' + hi alan. + i made a makefile for uisw32 + good + did you commit ? + yea + it'll probably need adjusting though after yesterday night + maybe.. + no actually not + teh file.h inside the firmware dir needs tho + weird i didn't receive any new CVS commits in my emailbox... + nobody does currently i think + the commits mails are absent right now + we've commited like crazy, but no mails... + but i did receive a test from Björn + edx: you should have a lookup in this page : http://www.gamedev.net/reference/articles/article1598.asp + but writing in SDL is so much more work.. + SDL is a nice interface :) - but it is not thought for such use + i don't think so, there would be less code to write + i dont think there would be less code to write. + look at it now - its less than 100 lines win32 specific code + yes but the main goal is to have the same code for Linux and Windows, even people from MacOS and other unixes should be able to use the same code + anyway you are not interested by a SDL port ? + alkorr: if you make one, we'll surely be interested + Bagd': we will see + quite now i'm looking for simple examples + see you +<-- alkorr has quit () +<-- calpefrosch|away has quit () + see ya tomorrow, gotta go now +<-- Bagder has quit ("http://daniel.haxx.se") +--> calpefrosch (~hotrana@p5082C485.dip0.t-ipconnect.de) has joined #rockbox + is there somewhere a file.c ? + only for simulator. + file-win32.c + you dont really need it tho. + al teh functions are native (stdio.h , io.h) + yes, but I have a book "C Programmierung lernen" in my hands. + hehe + and wanted to know why there is a "extern" statement but no implementation + well - the impelementation is missing. + please don't laugh ;-) + no way.. :) + the implementation is indeed missing for the firmware.. but not for the simulator + I'm coming from the pascal ( Turbo Pascal, Delphi ) edge + i put an #ifndef SIMULATOR there + yea i did that too once ;) + yeah, I saw that. so there are no firmware-file function? + and java + i never did java - right, no firmware file functions + okay. + and the dir is also missing = + yea + even the predefinitions are missing + my file.h contained them but Zagor commited faster then i did ;) + oh + can I talk to you tomorrow morning til 8 ? + i gotta go to school at 7.. + i might not even be online before :/ + hmm, okay. can you try to put some compiling/working code to the cvs ? + so I can "play" around with it ? + the code is working + you resmove the file-win32.c from the project. + the int works perfectly. + *int = it + tnx, are you working on the file-win32.c ? + currently not... + i cannot spot the mistake *shame on me* + he, you are 15 (right?) and a good programmer. do you want to do this as a job in future = + ? + sure.. :) + cool + I love this job. sometimes I cannot sleep because I'm thinking about a problem. + hehe i have had this since I was 10 :) + And if I get the clue, I cannot wait to get to job. I really love it. + yea + it is amazing - sometimes I get up at 5 AM just to try something :) + yeah. Everybody calls me a "hacker", only because I'm not such a clean Projectmanager. + like some others. + hehe, there are many really bad coders in the company. + hehe + I'm just lokking at your file-win32.c + hm the c file is rather uninteresting + the file-win32.h causes the problem + ah + typedef _finddata_t DIR; + it wont recognize _finddata_t though it is definded or something - I really have no clue. + what means the _ before the name ? + it is just definde that way. in io.h + its not defined by me or anyone of this project. it is a standard type + yes, I see. and what means the typedef ? + if it's already defined ? + I found an example in the www: struct _finddata_t FFBLK1; + ahhhhhhhhhhhhh! + THANKS + i guess you fixed it.. + *wait a sec* + * rejoice * + look at this: http://www.dma.org/~deand/potm.html + sorry, my girlfried yells. ;-) + hehe + I have to go. good luck. I try some things tomorrow. l8r +--- calpefrosch is now known as calpefrosch|away + yeah! i got it + thanks calpefrosch :) + ill udate cvs now + Zagor, are you there? +--- edx|studying is now known as edx|away +--- edx|away is now known as edx + are you there now, Zag? +--> Linus (~linus@labb.contactor.se) has joined #rockbox + hi + Hi + humdidum +<-- Linus (~linus@labb.contactor.se) has left #rockbox +--- Zagor is now known as Zagor|away +--- calpefrosch|away is now known as calpefrosch + hey + hi + jeez thanks heaps! + i fixed it ;) + cool + didnt commit yet... wait a sec. + I just install VC .NET and test the sim + ah.. well it is useless anyways - the functions need to be defined in file.h and i was gonna ask zagor whether i may do that.. hes not in right now +<-- calpefrosch has quit (Read error: 104 (Connection reset by peer)) +--> calpefrosch (~calpefros@p5082C485.dip0.t-ipconnect.de) has joined #rockbox + sorry, the setup has done a reset + without asking me :-( + edx, ru there? + yea + hey, this damned .NET Setup is not working + I can't install VC++ + do you have the beta, or the origin version +--- calpefrosch is now known as calpefrosch|away +--- calpefrosch|away is now known as calpefrosch + edx: have you commited the file-win32.* ??? +<-- calpefrosch has quit () +--> calpefrosch (calpefrosc@p5082C485.dip0.t-ipconnect.de) has joined #rockbox +--- calpefrosch is now known as calpefrosch|away + hmmmm + i have the original version - beta worked for me too + but i have heard from other ppl that beta did not work for them +--- calpefrosch|away is now known as calpefrosch + hmm, do you commit ? + .. + your work ? + committed the two files.. + tnx + but they dont work and are unneeded yet. - at least they compile + why don't they work ? + uhm i dont know + couldt really test them + i dont know what those functions do in linux + so you want to write function for directory-access ? +--- calpefrosch is now known as calpefrosch|away + they will be needed at some point of time +--- edx is now known as edx|away +--- coyote- is now known as Tumm +--- Zagor|away is now known as Zagor +--- edx|away is now known as edx + hi Zagor.. + hi + i have a question + ok + reagrding the directory functions: + where do i put declaration of the functions? + also file.h + they're already in dir.h + ah ok! + i know what was wrong with the dir definition :) + :) + typedef struct _findfata_t DIR; + ***struct*** + ah + another thing.. what parts of the dirent struct will be used? + i saw it contains an offset to the next dirent entry (??) + no, it contains the name + and a few other thigns. + it will also contain an attribyte + attribute + and a file size + that's about all it will contain + struct direnttag + { + long d_ino; /* inode number */ + long d_off; /* offset to the next dirent */ + unsigned short d_reclen;/* length of this record */ + unsigned char d_type; /* type of file */ + char d_name[256]; /* filename */ + }; + don't look at that + look at dir.h + aha + wait a sec + oh.. + good.. well may I put a define in there + the DIR thing has to be different for the simulator? + why? + oh, ok + what does the offset thing in the dir do? + array index? + it's implementation specific + but i do not have to keep it for my implementation, do i? + no you can #ifdef your own implementation + i will do that in a separet header file.. + dir-win32.h + ok, if you want + then.. i need to update file.h + ok, with what? + because if you compile with the simulator, you do not need to define open close etc.. (also not with linux, right)? + right + then.. the compiler gives me an error with your current dirent definition... + of course. it's the definition for the firmware, not the simulator + is that ok: + typedef struct { + int d_name[256]; + } dirent; + the simulator does not have to change the dirent definition after all. + (at least in windows) + dirent *readdir (DIR *dir); <--- this will give an error otherwise (if i dont take the typedef above) + so what is the problem? + i need to replace you definition of dirent with mine ;) + fine, go ahead + use a file-win32.h + extern struct dirent* readdir(DIR* dir); then you could replce this with: + extern dirent *readdir (DIR *dir); + or is the struct thing somehow important? + yes, the API is important + it must stay the same + the struct must remain there? + it's a struct called dirent. it's not a type called dirent + tehn ill apply it to my functions as well and it wont matter. + good + the struct contents can change, but the function definitions must be exact + ok. + done. + ill commit what i changed + done. + don't use _WIN32. use WIN32 + hmm grummel.. + umm you smashed my last commit... + hm not really. + no, sorry. + i updated before i commited + i saw wrong :) + heh :) + ok.. WIN32 instead of _WIN32 + commited. + how can i receive mails for cvs updates? + is there a cvs-update-mailing list lol + yes there is + rockbox-cvs@cool.haxx.se + how can I sign up for that? + send a mail to majordomo@cool.haxx.se with the text (no subject): subscribe rockbox-cvs + thanks. + right now there's a problem with the cvs mails but I hope it will be worked out soon + yea i know of the problem. + hey.. other people can unsubscribe me ;) + if the know my e-mail adress + yup + I have to approve all requests for mail addresses which differ from the one you send from + ok then.. i gotta go (school tomorrow again *crying out loudly*) + cya + bye +* edx is looking forward to the rockbox shirt he gets tomorrow + oh - abunsh of cvs notices just arrived ;) + really? + like 10 + nice + they append the complete files. that is cool. + ah, now I got them too + they append the diffs + LOOL even more + they are not the latest commits though + no but I guess their mail server is a bit busy at the moment... + hehe + well.. good night then - cu tomorrow (ill send you a picture of me wearing the shirt then) + hehe. good night +<-- edx has quit () +<-- Zagor has quit (Remote closed the connection) +--> Bagder (~daniel@as3-3-2.ras.s.bonet.se) has joined #rockbox +<-- calpefrosch|away (calpefrosc@p5082C485.dip0.t-ipconnect.de) has left #rockbox