00:00:13 | preglow | i only really need mp3/mp2/vorbis |
00:00:29 | preglow | i've got about seven mp2 files, so i don't really _NEED_ it, heh |
00:00:31 | amiconn | I merely have _one_ album encoed with ogg, and of course I reencoded this to mp3 a while ago |
00:00:45 | preglow | reencoding = the devil in disguise |
00:00:55 | preglow | i rip all my stuff to vorbis |
00:00:58 | amiconn | I can't hear any degradation |
00:01:05 | preglow | i'm contemplating switching to musepack |
00:02:07 | preglow | nah, can't say i usually hear any degradation myself, it just gives me a dirty feeling nonetheless ;) |
00:03:36 | preglow | only transcoding i've evern done with the intent to listen to the resulting files, were the said mp2 files |
00:03:41 | | Quit niobos ("off to bed...") |
00:03:44 | preglow | since the original iriver fw doesn't support mp2 |
00:03:51 | amiconn | The .ogg files are ~230 kbps, so quality should be no problem |
00:04:29 | preglow | ahh, no |
00:04:40 | rasher | q10 oggs still don't quite run |
00:04:42 | amiconn | re mp2: The funny thing is that the archos _player_ firmware also doesn't support mp2, although the mas is capable of handling it |
00:04:46 | preglow | rasher: small wonder |
00:04:52 | preglow | rasher: vorbis runs vERY marginally as it is |
00:04:54 | rasher | it's pretty close though |
00:04:56 | amiconn | They changed that for recorder |
00:05:41 | rasher | iirc, the difference in speed wasn't that large from q1 to q10 |
00:05:59 | preglow | vorbis is _just_ over 100% realtime |
00:06:27 | preglow | if you would have asked me before slasheri's patch, i would have told you to forget having vorbis playback until further optimisations were done |
00:06:42 | rasher | yeah, pretty surprising how close q10 is though |
00:07:01 | rasher | rasher.dk/rockbox/soundfiles/iriver-q10.ogg">http://www.rasher.dk/rockbox/soundfiles/iriver-q10.ogg is one |
00:07:55 | preglow | vorbis is way too memory intensive |
00:08:18 | preglow | i'm really anxious to see what monty comes up with with vorbis2 |
00:08:18 | amiconn | Does vorbis use much memory copying? |
00:08:32 | preglow | amiconn: i believe the vorbisfile layer does |
00:08:38 | rasher | preglow: try the q10 though - it's quite close |
00:08:55 | | Quit ghode|afk (Read error: 104 (Connection reset by peer)) |
00:08:57 | amiconn | Mabye memcpy and memset optimisation will help... |
00:09:07 | amiconn | *Maybe |
00:09:08 | preglow | amiconn: yeah, but i'm more hoping to get rid of the copies altogheter |
00:13:50 | | Join coob [0] (pen0r@host-84-9-63-253.bulldogdsl.com) |
00:14:00 | coob | :D got ogg playing on the ipod! |
00:15:19 | preglow | ahahah |
00:15:20 | preglow | swine |
00:15:22 | preglow | realtime? |
00:16:20 | coob | yep |
00:16:28 | preglow | you are swine indeed, we had to jump through flaming hoops to get it realtime |
00:16:38 | coob | this is the stock tremor |
00:16:53 | preglow | but then again, stock tremor has some arm optimisations |
00:17:01 | coob | yeah |
00:17:08 | coob | this wont run on the older ipods :/ |
00:17:14 | preglow | is there much difference? |
00:18:35 | preglow | tremor uses so much ram it's pretty hard to find out what to stuff in iram |
00:18:44 | coob | well, with the new cpu stuff bern re'd today, ipods using the PP5020's running at 75mhz get ~32 bogomips, PP5002s at 75Mhz get ~ 23 or something (haven't got one, wouldn't know) |
00:18:51 | coob | there's a lowmem branch |
00:18:55 | preglow | yeah, i know |
00:19:01 | preglow | i haven't tried it yet |
00:19:03 | preglow | but i really should |
00:19:06 | coob | but yeah, this is without using iram at all |
00:19:14 | coob | if iram were used, it would speed up quite a bit |
00:19:20 | preglow | oh yes |
00:19:31 | preglow | nothing helps as much as putting things in iram for us |
00:19:43 | preglow | ordinary ram accesses are shit slow |
00:19:49 | coob | yeap |
00:19:59 | amiconn | Use burst mode and icache... |
00:20:08 | preglow | of course |
00:20:11 | preglow | but it's not always so easy |
00:20:17 | coob | well, i say we don't use iram... we don't at all for the audio codec, we use it as a pcm buffer |
00:20:25 | preglow | i'm going to have pbvas take windows out of iram again |
00:20:28 | preglow | and use burst mode for windowing |
00:20:40 | preglow | since that's the only place windows are used, and they occupy tons and tons of memory |
00:20:53 | preglow | coob: that's a waste, really |
00:21:01 | coob | it's a necessity |
00:21:03 | coob | atm |
00:21:06 | preglow | why? |
00:21:21 | coob | for a very convoluted reason i dont have time to get into/fully understand myself |
00:21:27 | preglow | hehe |
00:21:27 | coob | it's not staying that way heh |
00:21:42 | preglow | good, 'cause it's a waste, like i say |
00:21:52 | preglow | there are temp areas in all codecs that get touched _a lot_ |
00:22:00 | preglow | what do you use for mp3, btw? libmad? |
00:22:15 | coob | i now have to write a decent generic player interface /file buffer/playlister :( |
00:22:25 | coob | mp3 we use ipp |
00:22:30 | preglow | ipp? |
00:22:35 | coob | binary only stuff from intel :/ |
00:22:41 | preglow | for ARM? |
00:22:44 | coob | yes |
00:22:48 | coob | intel own arm |
00:22:51 | preglow | ahh |
00:23:03 | preglow | didn't know that |
00:23:08 | coob | helix's mp3 decoder runs almost as fast |
00:23:18 | coob | and we're putting it in as a compile time option |
00:23:30 | coob | too much work, too little spare time |
00:24:01 | coob | hey iis it the iriver h10 that has a pp5020 too? |
00:24:07 | amiconn | coob: binary only isn't that nice in an opensource project I'd say |
00:24:15 | coob | amiconn: tell me about it. |
00:26:05 | | Join thegeek_ [0] (na@ti521110a080-0888.bb.online.no) |
00:26:18 | preglow | coob: yeah, btw, that's h10 |
00:26:39 | coob | uses the same audio dac too |
00:26:42 | coob | as the ipod mini |
00:26:45 | preglow | coob: we just might steal your research if we get enough people wanting to port rockbox to it one day :PP |
00:26:50 | coob | haha |
00:27:04 | coob | well, there's registers on the wiki and in the source :) |
00:27:42 | coob | i was thinking more of porting iPL to the iriver... |
00:27:44 | amiconn | coob: I hope to back-port your greyscale-extended cube to rockbox |
00:27:57 | coob | heh |
00:27:59 | amiconn | (soon on iriver, and a bit after that to archos too) |
00:28:13 | coob | i use microwindows' handy polygon stuff |
00:28:23 | coob | that was my first ever experiment with C, it's fugly. |
00:28:41 | amiconn | I already have a nice little filled-triangle routine |
00:28:48 | amiconn | It's rather simple |
00:31:01 | preglow | gourad! |
00:32:28 | coob | it's in colour on the photo, now we have the cpu running faster i should try putting textures on it |
00:32:42 | | Quit ehntoo (Read error: 104 (Connection reset by peer)) |
00:33:38 | | Quit xen` () |
00:35:17 | preglow | haha |
00:35:23 | preglow | been a long time since i did texture mapping by hand |
00:39:55 | | Quit zezayer_ (Remote closed the connection) |
00:41:56 | | Join spiralout [0] (~keep_goin@p54B3B45F.dip0.t-ipconnect.de) |
00:43:43 | | Quit thegeek (Read error: 110 (Connection timed out)) |
00:44:13 | | Join midk [0] (~midk@c66-235-14-120.sea2.cablespeed.com) |
00:47:13 | | Join asdsd____ [0] (~asdsd@h-67-100-28-252.miatflad.dynamic.covad.net) |
00:47:33 | | Part asdsd____ |
01:00 |
01:01:15 | thegeek_ | btw, reencoding files is audible if you use good headphones and a good amp |
01:01:22 | thegeek_ | it's not very audible |
01:01:28 | thegeek_ | but it's there |
01:01:40 | thegeek_ | like you sometimes hear bad stuff in mp3's |
01:01:50 | thegeek_ | it's just a little more pronounced |
01:02:23 | preglow | my ears aren't exactly gold plated |
01:04:09 | thegeek_ | neither are mine |
01:04:26 | thegeek_ | I just bought a sennheiser 595 and built a cmoy |
01:04:32 | thegeek_ | I can hear the difference now |
01:04:43 | thegeek_ | (and the cmoy is in no way a good amp) |
01:04:49 | preglow | contemplated getting one of those myself |
01:04:55 | thegeek_ | a cmoy? |
01:04:57 | preglow | yea |
01:05:00 | thegeek_ | mhm |
01:05:01 | thegeek_ | it's nice |
01:05:12 | thegeek_ | BOTH my parents heard a _very_ audible difference |
01:05:15 | thegeek_ | that speaks volumes |
01:05:29 | preglow | i've successfully blown my ears out too many times |
01:05:30 | thegeek_ | my father is actaully hearing impaired |
01:05:34 | preglow | haha, so is mine |
01:05:36 | thegeek_ | ;) |
01:05:41 | preglow | and i'm not far awaty |
01:05:43 | preglow | away |
01:05:47 | thegeek_ | mhm |
01:05:55 | thegeek_ | anyway, it really does help a lot |
01:06:17 | thegeek_ | atleast when you have some != cheap headphones |
01:06:33 | thegeek_ | the differences is not as pronounced with my koss ur40's |
01:06:36 | preglow | think i paid around 1000nok for mine |
01:06:45 | thegeek_ | but with the 595's it's a world of difference |
01:07:04 | thegeek_ | the overall soundimage is more pleasing |
01:07:07 | thegeek_ | better bass |
01:07:15 | thegeek_ | not just more |
01:07:23 | thegeek_ | but more "focused" |
01:07:24 | thegeek_ | ;) |
01:07:31 | thegeek_ | and much better details |
01:07:50 | thegeek_ | and the cmoy is fun to build too |
01:07:55 | thegeek_ | I started from scratch |
01:08:02 | thegeek_ | with no experience with soldering or anything |
01:08:03 | thegeek_ | and I did it |
01:08:11 | thegeek_ | with components solely from elfa |
01:08:12 | preglow | i've got experience with it, so should be a breeze |
01:08:26 | thegeek_ | mhm |
01:08:29 | preglow | i've actually got tons of elfa stuff here |
01:08:32 | preglow | perhaps some of it's usable |
01:08:49 | thegeek_ | I made a list |
01:08:56 | thegeek_ | let me get the url |
01:09:18 | thegeek_ | http://www6.head-fi.org/forums/showthread.php?t=119297 |
01:09:20 | thegeek_ | ;) |
01:09:39 | thegeek_ | http://tangentsoft.net/audio/cmoy-tutorial/ |
01:09:45 | thegeek_ | that's the best tutorial around |
01:10:55 | thegeek_ | but grr |
01:10:58 | amiconn | Bleh. There are numerous source files in crlf format :( |
01:11:06 | thegeek_ | I'm getting annoyed with my audio files now |
01:11:15 | thegeek_ | I hear codec artifacts all the time now |
01:11:17 | thegeek_ | ;) |
01:11:33 | thegeek_ | amiconn : can't they all just be run throught a crlf stripper? |
01:11:40 | thegeek_ | dos2unix or whatever |
01:11:46 | preglow | thegeek_: what settings? |
01:11:48 | thegeek_ | *through |
01:11:56 | thegeek_ | preglow : settings? |
01:11:59 | thegeek_ | oh |
01:12:03 | thegeek_ | you mean encoding? |
01:12:05 | thegeek_ | mixed |
01:12:08 | thegeek_ | mostly 192kbit |
01:12:26 | preglow | vbr mp3 is pretty nice |
01:12:31 | preglow | but very high avg bitrate |
01:12:38 | thegeek_ | yeah |
01:12:39 | preglow | i have to go very low with vorbis before i can hear it |
01:12:41 | thegeek_ | I have vbr's too |
01:12:42 | Stryke` | aps is pretty perfect |
01:12:47 | preglow | 128kbps vbr and i usually can't hear a difference |
01:12:50 | thegeek_ | it's not like one type of encoding stands out as bad |
01:12:57 | thegeek_ | it's usually more dependent on the music |
01:12:58 | thegeek_ | like |
01:13:07 | thegeek_ | I just listened to kings of convenience |
01:13:12 | thegeek_ | and I could hear some artifacts |
01:13:21 | preglow | well, yeah, but that's a pretty extreme case ;) |
01:13:25 | thegeek_ | I know |
01:13:34 | thegeek_ | it was an extreme example to demonstrate my point;) |
01:13:50 | thegeek_ | though |
01:14:01 | thegeek_ | I'm worried it might be my soundcard too |
01:14:09 | Stryke` | what card? |
01:14:10 | thegeek_ | I've got a (supposedly) good dac coming in |
01:14:15 | thegeek_ | soundstorm based |
01:14:18 | thegeek_ | ac97 shit |
01:14:26 | preglow | i wanna buy myself an echo mia midi |
01:14:33 | thegeek_ | I'm going to use the bitperfect digital/optical out |
01:14:38 | preglow | i've got a shitty sb live now |
01:14:39 | thegeek_ | straight into a dac |
01:14:45 | thegeek_ | preglow |
01:14:45 | Stryke` | audiophile is a very expensive hobby |
01:14:46 | thegeek_ | tip |
01:14:53 | thegeek_ | use the kx project drivers |
01:14:59 | thegeek_ | and use the "back" output of the card |
01:14:59 | preglow | thegeek_: i've been using those for three years |
01:15:05 | preglow | thegeek_: only reason i've still got the card |
01:15:07 | Stryke` | resamble to 48 KHz |
01:15:07 | thegeek_ | since that output uses a much better opamp |
01:15:09 | thegeek_ | I do |
01:15:23 | thegeek_ | Stryke` : hehe, indeed |
01:15:26 | thegeek_ | but it's fun |
01:15:31 | preglow | yeah, i've got them reversed usually |
01:15:34 | thegeek_ | and I'm leaning towards diy |
01:15:39 | preglow | but not now, since i can't figure out how to do it in linux |
01:15:40 | thegeek_ | I think I'm going to build the m3 amp |
01:15:48 | thegeek_ | ah |
01:18:19 | preglow | the live is bloody good value with the kx drivers |
01:18:28 | thegeek_ | hehe |
01:18:36 | Stryke` | Chaintech AV-710 is a good value |
01:18:38 | preglow | but yeah |
01:18:44 | thegeek_ | depends how you define value |
01:18:51 | thegeek_ | if you want features kxproject is great |
01:18:52 | preglow | i'm prolly gonna buy myself a couple of monitors after i'm done moving |
01:18:57 | thegeek_ | if you want good sound av-710 is goo |
01:18:58 | preglow | and then i'd like a proper audio card as well |
01:19:01 | thegeek_ | d |
01:19:11 | *** | Saving seen data "./dancer.seen" |
01:20:06 | amiconn | MMC icon on iriver is no more :) |
01:20:13 | preglow | w00t |
01:20:22 | HCl | its about time |
01:20:22 | HCl | :X |
01:20:28 | Stryke` | was it that annoying? |
01:20:29 | HCl | good work :) |
01:20:45 | amiconn | Stryke`: It doesn't belong there |
01:21:04 | Stryke` | when did it appear? HDD access? |
01:21:07 | preglow | annoying or no, h1x0 has no mmc |
01:21:14 | amiconn | Stryke`: yup |
01:21:57 | amiconn | I noticed that Linus' HD-defaults-to-off fix does no good on RoLo |
01:22:22 | preglow | oh? |
01:22:38 | amiconn | The freshly loaded rockbox will turn off the hd immediately after it was active |
01:22:45 | amiconn | That's definitely bad for the hd |
01:22:54 | preglow | perhaps it should be wrapped in a #ifdef BOOTLOADER |
01:23:01 | amiconn | However, it _is_ a wanted feature in the bootloader |
01:23:05 | amiconn | yup |
01:23:17 | amiconn | Did you try rolo with a recent build? |
01:23:20 | preglow | i seriously doubt he'll have you shot for doing that, so go ahead |
01:23:22 | preglow | nope |
01:23:29 | amiconn | Then you'll notice what I mean |
01:23:38 | preglow | and if you say it's bad for my drive, i'll take your word for it ;) |
01:23:39 | amiconn | Bootloader version doesn't matter for that |
01:23:44 | amiconn | (I still have v1) |
01:24:00 | preglow | me too |
01:24:04 | | Quit Stryke` ("Friends don't let friends listen to Anti-Flag") |
01:24:16 | amiconn | Well, the drive can stand that when it happens occasionally |
01:24:49 | thegeek_ | one thing I've always wondered about |
01:24:55 | thegeek_ | how can the drive park when the power is cut |
01:25:01 | amiconn | When HD power is cut while the heads aren't parked, the drive has to employ 'emergency park' |
01:25:14 | coob | handbrake parking? :) |
01:25:17 | thegeek_ | hehehe |
01:25:29 | thegeek_ | I imagined that handbrake stuff on trains |
01:25:31 | amiconn | thegeek_: It uses the spindle motor as a generator |
01:25:34 | thegeek_ | veritable trainwreck |
01:25:36 | thegeek_ | ah |
01:25:38 | thegeek_ | damn |
01:25:44 | thegeek_ | how the hell do you know that;) |
01:25:53 | amiconn | thegeek_: Reading datasheets |
01:25:57 | thegeek_ | humhum |
01:26:15 | amiconn | Intel describes pretty clearly how it works, and that it's worse than ordinary parking |
01:26:31 | thegeek_ | mhm |
01:26:45 | amiconn | ..because in that state, it isn't possible to control the current precisely |
01:27:13 | amiconn | A drive can stand way more ordinary park/unpark cycles than emergency park cycles |
01:35:22 | | Join asdsd____ [0] (~asdsd@h-67-100-28-252.miatflad.dynamic.covad.net) |
01:35:29 | | Part asdsd____ |
01:40:49 | | Join tvelocity [0] (~tony@ipa207.1.tellas.gr) |
01:42:50 | amiconn | fixed. |
01:43:01 | * | preglow claps wildly |
01:43:43 | amiconn | Well that was simple, but I wanted to wait for the compile state of my huge LED commit first |
01:44:35 | MoosCamaro | hehe amiconn first commit for iriver ;) |
01:44:42 | MoosCamaro | very cool |
01:44:44 | amiconn | Not exactly |
01:44:49 | preglow | not really, no |
01:45:05 | amiconn | I already did some fixes for iriver even when I didn't have one |
01:45:08 | amiconn | yet |
01:45:18 | MoosCamaro | a ok scuse me :) |
01:45:32 | amiconn | Of course it's easier to test stuff on da real thing |
01:46:58 | MoosCamaro | i know you contribute a lot for the others models |
01:47:01 | MoosCamaro | did |
01:48:09 | amiconn | I hope to continue that |
01:48:34 | MoosCamaro | :) we hope too ;) |
01:49:47 | coob | oh hey! you guys might want to check out libflite for your blind stuff, we got that working on the ipod too, spoken menus = neat |
01:49:59 | coob | memory hog though :( |
01:50:09 | coob | 4-5meg for 8khz synth |
01:50:19 | amiconn | We have spoken menus on archos |
01:50:35 | coob | not synthed voice though is it? |
01:50:47 | amiconn | It's a pre-made clip collection |
01:51:01 | coob | ah, but it has to spell out song names? |
01:51:24 | amiconn | Spell out, tell the file number + type, or play a clip file |
01:51:54 | amiconn | There's a script to generate clip files for directories, files, or both |
01:52:08 | coob | synth is increbly cool i must say :) |
01:52:18 | coob | but sspelt right. |
01:52:21 | coob | gah. |
01:53:03 | amiconn | Well, pre-made clips are not as high-tech as real synthesis, but I think they sound better |
01:54:03 | amiconn | ...plus it's the only solution on archos, unless someone manages to write complex code for the MAS' DSP |
01:54:08 | coob | well i would personally hate to make clips of all 3528 songs, 778 artists and 261 albums in my collection :) |
01:54:39 | amiconn | It's as simple as running a script on the PC and waiting a couple of minutes |
01:55:16 | amiconn | Apart from that, I only use clips for folders, not for files |
01:56:27 | coob | wai so the script uses a synth prog? |
01:57:01 | amiconn | The windows solution is a vbscript using any sapi5 compatible voice |
01:57:10 | coob | ahhh gotcha |
01:57:16 | coob | i thought you meant manually recording clips :) |
01:57:25 | amiconn | You could do that as well |
01:57:39 | amiconn | The clips are simply mp3s with a different extension |
01:57:55 | amiconn | .talk |
02:00 |
02:04:24 | preglow | 4-5 meg for a synth? |
02:04:24 | rasher | amiconn: the file browser is way faster now.. I'm thinking the only change related to this was the led fix? |
02:04:25 | preglow | ouch |
02:04:34 | coob | yep :/ |
02:07:33 | amiconn | rasher: Maybe the removal of some code changed the caching behaviour of some other code |
02:07:56 | rasher | It's really very noticable |
02:10:10 | | Join ashridah [0] (ashridah@220-253-122-119.VIC.netspace.net.au) |
02:21:34 | MoosCamaro | good night all |
02:21:44 | preglow | bedtime |
02:21:46 | | Quit preglow ("bed") |
02:21:53 | | Part MoosCamaro |
02:21:57 | | Quit spiralout ("ChatZilla 0.9.68.5 [Firefox 1.0.4/20050511]") |
02:23:18 | | Join Strath [0] (~mike@dgvlwinas01pool0-a216.wi.tds.net) |
02:41:06 | | Join Stryke` [0] (~Chairman8@cpe-24-168-110-99.si.res.rr.com) |
02:41:48 | | Quit StrathAFK (Read error: 110 (Connection timed out)) |
02:42:49 | | Join textchimp [0] (~chimp@ip67.net66.ipnetworks.net.au) |
02:49:05 | textchimp | is slasheri's audio codec in cvs yet? |
02:49:32 | Stryke` | nope, only as a patch |
02:49:54 | textchimp | doh |
02:50:41 | Stryke` | i've found people are generally pretty good at providing a compile for you if you ask, they were for me |
02:51:54 | | Quit midk ("later...") |
02:55:35 | textchimp | i can apply the patch myself....but the sooner it's in cvs, the sooner other people will start working on it too |
02:55:56 | Stryke` | sure, that should happen within the week, i'd imagine |
02:55:56 | coob | whatd oes it do? |
02:56:41 | Stryke` | MP3, Vorbis playback, basically |
03:00 |
03:02:20 | | Join Musicmad_ [0] (~Musicmad@port547.ds1-oebr.adsl.cybercity.dk) |
03:05:34 | HCl | god |
03:05:39 | HCl | adhd people are horrid. |
03:06:53 | coob | nothing a little ritalin can't fix :) |
03:07:29 | Stryke` | over diagnosed disorder |
03:10:52 | | Quit einhirn (Read error: 60 (Operation timed out)) |
03:19:15 | *** | Saving seen data "./dancer.seen" |
03:28:00 | Stryke` | does anyone have a center-scrolling patched, Slasheri patched build post-amiconn's MMC icon fix? |
03:28:54 | | Join amiconn_ [0] (~jens@p54BD4AC8.dip.t-dialin.net) |
03:43:59 | textchimp | does anyone know what kind of file names rockbox gives to recorded files? |
03:45:41 | | Quit amiconn (Read error: 110 (Connection timed out)) |
03:45:41 | | Nick amiconn_ is now known as amiconn (~jens@p54BD4AC8.dip.t-dialin.net) |
03:58:33 | | Quit Stryke` ("Friends don't let friends listen to Anti-Flag") |
04:00 |
04:05:21 | | Join QT_ [0] (as@area51.users.madwifi) |
04:09:30 | | Quit RED_M_CHIU ("( www.nnscript.de :: NoNameScript 3.81 :: www.XLhost.de )") |
04:12:20 | | Join Musicmad [0] (~Musicmad@port547.ds1-oebr.adsl.cybercity.dk) |
04:18:16 | | Quit QT (Read error: 110 (Connection timed out)) |
04:28:26 | | Join kramerica [0] (~lkd@142-165-191-58.sktn.hsdb.sasknet.sk.ca) |
04:29:41 | | Quit Musicmad_ (Read error: 110 (Connection timed out)) |
04:42:57 | | Quit Musicmad (Read error: 110 (Connection timed out)) |
04:42:57 | | Quit kramerica (Read error: 104 (Connection reset by peer)) |
04:42:58 | | Quit textchimp (Read error: 54 (Connection reset by peer)) |
05:00 |
05:09:02 | | Quit tvelocity ("Leaving") |
05:15:55 | | Join DMJC [0] (~James@220-245-174-50-sa-pppoe.tpgi.com.au) |
05:19:18 | *** | Saving seen data "./dancer.seen" |
05:31:03 | | Join textchimp [0] (~chimp@ip67.net66.ipnetworks.net.au) |
06:00 |
06:33:08 | | Quit Dave99 ("CGI:IRC (EOF)") |
06:33:08 | | Quit DomZ ("CGI:IRC (EOF)") |
06:42:29 | | Quit textchimp (Read error: 60 (Operation timed out)) |
07:00 |
07:19:19 | *** | Saving seen data "./dancer.seen" |
07:40:41 | | Join webguest26 [0] (~4462bb2e@labb.contactor.se) |
07:41:39 | | Quit webguest26 (Client Quit) |
07:51:30 | | Join Musicmad [0] (~Musicmad@port547.ds1-oebr.adsl.cybercity.dk) |
07:59:15 | | Quit Strath (Read error: 110 (Connection timed out)) |
08:00 |
08:38:53 | | Join kurzhaarrocker [0] (~none@Ad013.a.pppool.de) |
08:39:25 | kurzhaarrocker | moin amiconn |
08:39:43 | kurzhaarrocker | In the cvs I read "When starting a recording, wait a bit longer before grabbing a header" |
08:39:56 | kurzhaarrocker | Does that include incresed latency when recording triggered? |
08:40:29 | kurzhaarrocker | -include +imply |
08:41:27 | amiconn | nope, it doesn't |
08:41:36 | amiconn | morning |
08:41:36 | kurzhaarrocker | yay! :D |
08:41:58 | kurzhaarrocker | Thanks for the improvements. |
08:42:57 | amiconn | However, I had to 'brake down' the peakmeter a bit |
08:43:08 | kurzhaarrocker | I noticed that |
08:44:20 | kurzhaarrocker | I'm surprised that it makes the trigger led blink more regularily |
08:44:57 | amiconn | This is because of another change (the delay generation |
08:45:00 | amiconn | ) |
08:45:24 | amiconn | There was an interference of 2 frequencies |
08:46:32 | kurzhaarrocker | One being the blink freq and the other the screen update freq? |
08:47:13 | amiconn | The 'blink mask' should make the LED change state every 16 ticks, but the loop round trip was always ~10 ticks (due to peak_meter_peek_get_button)... |
08:47:30 | amiconn | So the state change could only ever happen after 10 or 20 ticks |
08:48:10 | kurzhaarrocker | ok, I understand |
08:51:18 | amiconn | Recording should now be as glitch-free as possible |
08:51:29 | amiconn | I still have some ideas for improvement |
08:52:05 | kurzhaarrocker | Are you talking about the dictataphone trigger mode? :) |
08:52:14 | amiconn | That's your task ;) |
08:53:15 | amiconn | I'm thinking of the following: (1) Always prepend an id3v2 header, even at (automatic or manual) file splits |
08:54:07 | amiconn | (2) Add a xing header if at all possible |
08:54:23 | kurzhaarrocker | (That should apply to the split editor, too - in my dreams at least) |
08:54:55 | amiconn | Currently, this is not done with > 1 file (i.e. split recording), or when prerecording |
08:55:32 | amiconn | (3) Improve the frame boudary handling |
08:56:06 | kurzhaarrocker | Those headers would be generated empty and filled with life after the recording has finished I assume? |
08:57:10 | amiconn | Id3v2 is always an empty header, it's just reserving the space so that later tagging doesn't need to extend the file |
08:57:54 | amiconn | It's just necessary to prepend the header within the buffer after the old file has been fully saved |
08:58:52 | amiconn | Xing header generation is already done, but only if you're recording one file from start to stop without prerecording, for 2 reasons |
08:59:26 | amiconn | (1) It needs the frame count, but the frame count at the start is nonzero if prerecording |
09:00 |
09:00:30 | amiconn | (2) It uses the audio buffer to construct the header, unconditionally overwriting it, so no next recording can run meanwhile |
09:01:36 | amiconn | (1) is easy, just store the frame count at start. For prerecording, this means adding a frame count to each buffer pointer |
09:03:08 | amiconn | (2) will need a separate buffer |
09:04:12 | kurzhaarrocker | Why prepend the id3v2 tag in the buffer instead of writing it directly to the new file? |
09:05:17 | | Quit Musicmad (Read error: 54 (Connection reset by peer)) |
09:05:26 | amiconn | Delayed file open |
09:19:24 | *** | Saving seen data "./dancer.seen" |
09:40:32 | ashridah | Odd. |
09:40:46 | ashridah | i've got a set of mp3s that refuse to play with the last patch slasheri had put out |
09:41:31 | ashridah | it displays the WPS screen, but then immediately stops and ditches me back out |
09:45:50 | | Nick ashridah is now known as Lost-ash (ashridah@220-253-122-119.VIC.netspace.net.au) |
09:53:44 | | Quit kurzhaarrocker () |
09:56:47 | | Join t0mas [0] (~Tomas@ip503c08d1.speed.planet.nl) |
10:00 |
10:00:54 | bill2or3 | hmm |
10:01:01 | bill2or3 | there's a bunch of H340's on ebay |
10:01:23 | bill2or3 | closing soon, and they're < $300. tempting |
10:07:22 | | Join Allex [0] (~50405efc@labb.contactor.se) |
10:08:09 | | Quit Allex (Client Quit) |
10:16:31 | Slasheri | morning |
10:16:47 | Slasheri | Lost-ash: could you send on of those mp3s? |
10:16:51 | Slasheri | *one |
10:24:43 | | Join Harpy [0] (GAaXG1iRA0@dsl-hkigw7wbb.dial.inet.fi) |
10:24:52 | Lost-ash | Slasheri: i can toss one up someplace. it'll take me a little while tho |
10:24:53 | Lost-ash | i'm on dialup. |
10:25:19 | Slasheri | Ah, ok :) |
10:28:29 | | Join LinusN [0] (~linus@labb.contactor.se) |
10:28:30 | Lost-ash | hopefully i should have one for you in 10-15 minutes |
10:28:53 | Slasheri | great |
10:28:58 | Slasheri | hi LinusN :) |
10:29:03 | LinusN | amiconn: skipping the id3v2 header in the subsequent files can be a good thing |
10:29:16 | LinusN | makes it easier to join the files |
10:29:18 | amiconn | Why? |
10:29:28 | amiconn | Hmm. |
10:29:48 | amiconn | But why would you split then in the first place? |
10:30:07 | LinusN | and the frame count is only valid until the frame counter reaches the limit |
10:30:13 | amiconn | I know |
10:30:23 | LinusN | amiconn: you have a point there |
10:30:39 | amiconn | This still doesn't forbid to calculate a xing header as long as the counter doesn't reach the limit |
10:30:47 | LinusN | sure |
10:30:53 | LinusN | Slasheri: hi btw |
10:31:03 | amiconn | We just have to store the start count and calculate the difference |
10:31:15 | amiconn | ...when prerecording, or after a split |
10:31:42 | Slasheri | LinusN: the patch should be ready for commit is there is not any big problems |
10:32:03 | LinusN | Slasheri: good, i'll see if i can find the time to do it later today |
10:32:14 | Slasheri | ok, thanks :) |
10:32:15 | LinusN | Slasheri: does it compile with the simulator? |
10:32:24 | Slasheri | i haven't tried that yet |
10:32:27 | LinusN | do that |
10:32:30 | Slasheri | ok |
10:32:43 | LinusN | i'm afraid it won't compile |
10:32:56 | Slasheri | hmm, i will fix it then :) |
10:36:14 | amiconn | LinusN: Btw, the xing header creation bug was a really nasty one. Fortunately Daniel implemented logf(), it helped a lot... |
10:36:26 | LinusN | hehe |
10:36:59 | LinusN | i gotta go, cu around |
10:37:05 | | Part LinusN |
10:49:55 | | Part amiconn |
10:56:21 | | Join niobos [0] (~niels@78.17-136-217.adsl.skynet.be) |
10:56:29 | niobos | hi all |
11:00 |
11:11:33 | t0mas | hi |
11:16:28 | Lost-ash | Slasheri: dude, sorry it took me so long, i got distracted by dinner |
11:16:34 | Lost-ash | Slasheri: ashridah.customer.netspace.net.au/03%20-%20First.mp3">http://ashridah.customer.netspace.net.au/03%20-%20First.mp3 |
11:16:36 | Slasheri | np :) |
11:16:38 | Slasheri | ah, thanks :) |
11:17:30 | Slasheri | i just corrected wps bindings and now pressing select key will get you back to file browser. I will upload updated patch today |
11:19:25 | *** | Saving seen data "./dancer.seen" |
11:26:35 | crwl | looks like your patch doesn't work against current CVS |
11:28:00 | Slasheri | crwl: Hmm, what is the problem? |
11:28:11 | Slasheri | I just compiled it against current cvs and it seems to work :) |
11:28:21 | crwl | patching file firmware/sound.c |
11:28:24 | crwl | Hunk #1 FAILED at 458. |
11:28:28 | Slasheri | Aah, that.. |
11:28:45 | Slasheri | I really don't know what is wrong with that patch but you have to manually patch that file :/ |
11:37:32 | Slasheri | Lost-ash: Hmm, my current patch will play the song you send |
11:42:34 | | Join Mirfle [0] (~chatzilla@ADSL218221.BRK.biu.ac.il) |
11:44:12 | | Nick t0mas is now known as t0mas| (~Tomas@ip503c08d1.speed.planet.nl) |
11:44:33 | | Join t0mas [0] (~Tomas@ip503c08d1.speed.planet.nl) |
11:45:45 | | Part t0mas |
11:55:02 | Lost-ash | Slasheri: that's cool. i'm using an older one from the 3rd or so |
11:56:14 | Slasheri | :) |
11:56:44 | Slasheri | you should wait that i will release a new patch today, it will include some codec switching bugfixes also |
11:57:04 | Lost-ash | cool |
11:58:30 | | Join t0mas_ [0] (~Tomas@ip503c08d1.speed.planet.nl) |
11:58:48 | | Part t0mas_ |
12:00 |
12:00:36 | bipak_ | to which clock speed does rockbox set the coldfire cpu atm.? |
12:01:06 | t0mas| | 48 mhz |
12:01:10 | t0mas| | and when needed 120 |
12:01:35 | bipak_ | ok :) |
12:02:41 | Mirfle | what's the lowest it can theoretically be set to? |
12:02:55 | t0mas| | 11 |
12:03:35 | Mirfle | so you can have a "soft" poweroff, and set a timer or something like that, right? |
12:03:35 | | Join bipak [0] (~bip@p50887281.dip.t-dialin.net) |
12:04:07 | t0mas| | yes, that was a thought of me and preglow... |
12:04:12 | t0mas| | but we never tested it... |
12:04:36 | t0mas| | the iriver can run for a very long time... when the disk is stopped... and the cpu is set to 11 mhz |
12:05:01 | Mirfle | :) |
12:06:03 | | Nick t0mas| is now known as t0mas (~Tomas@ip503c08d1.speed.planet.nl) |
12:06:08 | Lost-ash | even longer if it's on A/C power. |
12:06:24 | t0mas | duh... |
12:08:31 | * | Lost-ash hands himself the cookie of obviousness |
12:08:34 | * | Lost-ash munches |
12:08:46 | Slasheri | Hmm, has anybody measured what is the minimum power consumption at 11 MHz when everything unnecessary are powered off? |
12:09:05 | Slasheri | That would be a great feature to have even a clock |
12:09:07 | | Join einhirn [0] (Miranda@carlsberg.heim2.tu-clausthal.de) |
12:09:22 | * | t0mas will try to |
12:09:28 | t0mas | but how can I get the cpu at 11 mhz? |
12:09:42 | Slasheri | Look at the cpu_boost code |
12:09:54 | Slasheri | or set_cpu_frequency or something like that |
12:09:55 | t0mas | ok... I can try to add it to the debug menu |
12:10:09 | t0mas | power down the disk... clear the screen... and set the cpu to 11 mhz |
12:10:19 | Slasheri | But you should also power off disk, display and backlight to get accurate measurements |
12:10:27 | t0mas | not display... |
12:10:32 | t0mas | then I won't know when it stops... |
12:10:42 | Slasheri | Ah :) |
12:10:49 | Slasheri | You will test how long it will run? |
12:10:58 | t0mas | well... I will ask rasher to test ;) |
12:11:02 | t0mas | he did all other battery tests too |
12:11:02 | Slasheri | :D |
12:11:05 | Slasheri | okay |
12:11:13 | * | t0mas looks up the code to edit |
12:11:13 | | Quit bipak_ (Read error: 60 (Operation timed out)) |
12:12:17 | Slasheri | I think that i will buy an ionity battery from dapstore.com. Maybe i will do some real measurements also when i change the battery |
12:13:18 | * | t0mas slaps kdevelop... |
12:13:22 | t0mas | crashing :X |
12:13:26 | Slasheri | :/ |
12:13:30 | Slasheri | try use kate :) |
12:13:34 | Slasheri | it's great and stable |
12:13:39 | t0mas | hm.. |
12:13:42 | t0mas | eclipse... |
12:13:56 | * | Lost-ash huggles eclipse |
12:14:04 | Lost-ash | the CDT plugin's a bit dodgy tho |
12:14:09 | Lost-ash | nice for javarse |
12:14:17 | t0mas | hm? CDT works great here... |
12:14:40 | Lost-ash | t0mas: not on 3.1rc1 it isn't. |
12:14:49 | Lost-ash | the debugger acts weird |
12:14:49 | t0mas | ah |
12:14:53 | t0mas | I still have 3.0 |
12:16:22 | Lost-ash | yeah. 3.1 gets released at the end of the month. some plugins aren't completely stable yet |
12:16:29 | Lost-ash | although 34.1rc1 by itself works nicely |
12:16:52 | Lost-ash | 3.1rc1 even |
12:21:31 | t0mas | hm |
12:21:37 | t0mas | I need linus :) |
12:21:43 | t0mas | void set_cpu_frequency(long frequency); |
12:21:54 | t0mas | to what should I set it when I need 11 mhz? |
12:21:59 | t0mas | as it isn't really 11 hmz |
12:23:01 | Slasheri | t0mas: look from the debug menu. If you press down the joystic, the frequency will be changed to ~11 MHz |
12:23:15 | t0mas | ah ok |
12:23:28 | t0mas | I only knew the boost option |
12:23:48 | t0mas | when I switch it to 11 mhz in debug... and then run a plugin to disable backlight and disk... |
12:24:00 | t0mas | then I just need a simple image on screen to see if it's still working |
12:24:03 | t0mas | and count the time |
12:24:52 | Slasheri | :) |
12:25:01 | t0mas | erm? |
12:25:05 | t0mas | it isn't going to 11 mhz... |
12:25:11 | Slasheri | Hmm.. |
12:25:25 | t0mas | it's 119952000 = 120 mhz |
12:25:36 | t0mas | and 47980800 |
12:25:39 | t0mas | = 48 Mhz |
12:26:01 | Slasheri | Maybe it would be even better if you just completely power of the display and power it on for a short time in periods |
12:26:04 | Slasheri | Hmm |
12:26:43 | Slasheri | No, it's 11 MHz when you press down the joystick |
12:26:46 | t0mas | yes.. but then I really need to pay my sister to look at it :P |
12:26:57 | Slasheri | 11 289 600 Hz |
12:27:06 | Slasheri | :D |
12:27:07 | t0mas | erm? when I press down... it sets boostcount to 0, and stays at 48 |
12:27:17 | Slasheri | interesting.. |
12:27:33 | Slasheri | when i do that, it will change to the frequency above |
12:27:43 | t0mas | :| |
12:27:46 | t0mas | you have a debug build? |
12:27:49 | t0mas | or a very old one? |
12:28:07 | Slasheri | hmm, i have a fresh build with logf debug-option enabled |
12:28:09 | crwl | i think pressing rec button changed to 11 MHz here |
12:28:10 | Slasheri | nothing more |
12:28:16 | Slasheri | :D |
12:29:43 | t0mas | hm... I'll try the rec button |
12:29:44 | | Join Sucka [0] (~NNSCRIPT@host81-156-209-158.range81-156.btcentralplus.com) |
12:30:19 | t0mas | Slasheri: do you have thick fingers? ;) |
12:30:37 | Slasheri | t0mas: Hmm, no? :D |
12:30:43 | t0mas | hitting rec and joystick at once? ;) |
12:30:56 | Slasheri | i don't do that ;) |
12:30:59 | t0mas | haha ok |
12:31:01 | Slasheri | :P |
12:31:05 | t0mas | I have it at 11 hmz now :) |
12:31:09 | Slasheri | great :) |
12:32:06 | t0mas | why don't we run it at 11 mhz constantly? |
12:32:11 | t0mas | it's still working... |
12:32:41 | Slasheri | it's not possible to feed pcm fifo at that frequency |
12:32:53 | t0mas | ah.. we need 48 for that? |
12:32:54 | Slasheri | you may try and the audio will get horrible distorted |
12:32:59 | Slasheri | I think so |
12:33:08 | t0mas | and we can't set it to 22 or something? |
12:33:17 | t0mas | so it can just fill pcm buffers... and nothing else? |
12:33:19 | Slasheri | maybe we can :) |
12:33:23 | Slasheri | you should try :) |
12:33:30 | t0mas | setting it to 22? |
12:33:34 | Slasheri | for example |
12:33:35 | t0mas | I guess Linus knows... |
12:34:07 | t0mas | a plugin disabling the backlight... and stopping the disk |
12:34:23 | Slasheri | but when audio is not playing, i think the frequency can be kept at 11 |
12:34:29 | t0mas | yes |
12:34:42 | t0mas | but for testing... I can just set the frequency to 11 mhz in debug |
12:34:49 | Slasheri | however, there is no point in having that frequency while audio is playing, because we wont get any power savings |
12:34:57 | t0mas | why not? |
12:35:04 | t0mas | switching to 120 some times for decoding? |
12:35:16 | Slasheri | We have constantly change the frequency to 120 MHz for a short periouds because even 44 is not enough for codecs |
12:35:20 | Slasheri | Yep |
12:35:42 | t0mas | but decoding on 120 mhz... untill the memory is full... and then drop back to 22... |
12:35:47 | t0mas | wouldn't that work? |
12:35:57 | Slasheri | it does that already with 44 MHz |
12:36:20 | t0mas | ok, then optimizing codecs to keep the bursts short... and checking 22 might save power? |
12:36:24 | Slasheri | and while we are at 44, full decoding work is still being done until pcm buffers reaches watermark and we change to higher frequency |
12:36:35 | t0mas | ah ok |
12:36:36 | Slasheri | So 22 should not give any power savings |
12:37:24 | Slasheri | if we can get a really good optimized codecs that can run below 44 MHz, then it will save some amounts of power |
12:38:31 | | Quit Mirfle (Read error: 104 (Connection reset by peer)) |
12:38:40 | t0mas | can I control the led on iriver? |
12:38:43 | t0mas | or is that hardware? |
12:38:58 | | Nick Lost-ash is now known as ashridah (ashridah@220-253-122-119.VIC.netspace.net.au) |
12:39:03 | Slasheri | i think you can control the hdd led by software |
12:39:15 | Slasheri | that might be a good idea, you could disable the display |
12:39:15 | | Join Shagnar [0] (~tester@p54A0F9D7.dip.t-dialin.net) |
12:39:19 | t0mas | yes |
12:39:47 | t0mas | like this: |
12:39:48 | t0mas | - Set frequency to 11 (debug menu) |
12:39:48 | t0mas | - Stop disk (rb->ata_sleep()) |
12:39:48 | DBUG | Enqueued KICK t0mas |
12:39:48 | t0mas | - Disable backlight (rb->backlight_off()) |
12:39:48 | t0mas | - Clear screen (rb->lcd_clear_display()) |
12:39:48 | *** | Alert Mode level 1 |
12:39:48 | t0mas | Loop: |
12:39:50 | t0mas | - Sleep 300 seconds... flash hdd led |
12:40:06 | t0mas | or can I disable the screen more than just clearing it? |
12:40:24 | Slasheri | you should check if there is a way to completely power it off |
12:40:38 | t0mas | any other place then Linus to check that? |
12:40:57 | Slasheri | i don't know.. |
12:41:07 | t0mas | to what is the LCD controller connected? |
12:41:09 | t0mas | I2C? |
12:41:36 | Slasheri | i don't think it's on the i2c |
12:41:49 | Slasheri | probably directly connected to cpu pio lines |
12:41:52 | t0mas | ok, then there's no way for me to disable it... |
12:42:00 | t0mas | as I don't know how to control those... |
12:42:08 | Slasheri | i think you have to write some control code to the display to do that |
12:42:15 | Slasheri | yep.. |
12:42:30 | t0mas | in lcd.h |
12:42:30 | t0mas | extern void lcd_write_command( int byte ); |
12:43:10 | Slasheri | look at lcd-h100.c |
12:43:22 | Slasheri | There are a lot off power control defines |
12:43:28 | | Join Mirfle [0] (~chatzilla@ADSL218221.BRK.biu.ac.il) |
12:43:45 | | Join webguest58 [0] (~c3f0c3a0@labb.contactor.se) |
12:44:53 | Slasheri | maybe you could try: lcd_write_command(LCD_CNTL_OSC_ON_OFF | 0); lcd_write_command(LCD_CNTL_OFF_MODE | 0); lcd_write_command(LCD_CNTL_ON_OFF | 0); |
12:44:56 | Slasheri | that _might_ do it |
12:45:31 | t0mas | what's OSC? |
12:45:36 | Slasheri | oscillator |
12:45:52 | t0mas | and why the | 0 ? |
12:46:21 | Slasheri | it will set it to "off" (not necessary) |
12:46:29 | Slasheri | and | 1 would set to on |
12:46:38 | Slasheri | but be careful if you try change those |
12:46:41 | t0mas | LCD_CNTL_OFF_MODE | 0 -> LCD_CNTL_OFF_MODE | 1 |
12:46:55 | t0mas | or not? |
12:47:11 | Slasheri | you disable the display and don't care about re-enabling it |
12:47:25 | Ctcp | Ignored 1 channel CTCP requests in 0 seconds at the last flood |
12:47:25 | * | t0mas takes a look at the shutdown code... |
12:48:40 | Slasheri | maybe a better solution would be to not enable the display at all at boot |
12:49:05 | t0mas | yes... but then I will have to edit the bootloader |
12:49:19 | Slasheri | ah, that's correct and you should no try that |
12:49:31 | t0mas | no... the only one who can try that is linus |
12:49:38 | Slasheri | yep |
12:49:49 | *** | Alert Mode OFF |
12:50:31 | | Join MoosCamaro [0] (MoosCamaro@m214.net81-66-158.noos.fr) |
12:50:38 | MoosCamaro | Hi all |
12:50:39 | t0mas | lcd_set_contrast(0); |
12:50:45 | t0mas | and disable the backlight |
12:50:48 | t0mas | might work? |
12:51:02 | t0mas | not as good as disabling it fully... but we can better wait for Linus to test that... |
12:51:14 | Slasheri | it wont disable oscillator or display power |
12:51:33 | t0mas | hm... how sure are you about disabling the oscillator? |
12:51:33 | Slasheri | but maybe you should ask linus how to do that |
12:51:41 | Slasheri | please ask linus :) |
12:51:41 | t0mas | yes, I'll do... |
12:52:06 | Mirfle | noob question: what's an oscillator? |
12:52:45 | Slasheri | Mirfle: it generates constant frequency to drive some logic. In this case it should control display update |
12:53:04 | t0mas | Slasheri: where do you think that HDD led is? |
12:53:14 | t0mas | I guess no-one wrote code for it untill now? |
12:53:15 | Mirfle | ahh... thanks :) |
12:53:22 | Slasheri | led(state); |
12:53:28 | Slasheri | in led.c |
12:53:40 | t0mas | that isn't archos specific?? |
12:54:01 | Slasheri | ah, it might be |
12:54:09 | t0mas | I'll test |
12:54:37 | Slasheri | Hmm.. |
12:54:44 | Slasheri | I think there is no way to control it.. |
12:54:46 | t0mas | #ifdef HAVE_LED |
12:54:48 | t0mas | that's not iriver |
12:54:56 | Slasheri | Looks like the led might be done on hardware level |
12:55:04 | t0mas | hm... both? |
12:55:13 | t0mas | (as I don't care wich led I control...) |
12:55:26 | Slasheri | at least the charge led is hardware only |
12:55:47 | t0mas | hm... can I go to usb mode w/o spinning up the disk? |
12:56:04 | t0mas | then I can go in and out of usb mode every 10 minutes... and check my syslog for how long it was running... |
12:56:11 | Slasheri | you can quite easily spin up the disk but _that_ will really eat power :D |
12:56:26 | t0mas | no, I wanted to do it w/o spinning up the disk |
12:56:48 | Slasheri | i don't know if that's possible.. |
12:57:54 | t0mas | I'll first try it with some simple text on screen... and no backligt, disk and cpu |
12:57:57 | t0mas | *backlight |
12:58:09 | Slasheri | yes, that is a good start |
12:58:11 | t0mas | and wait for linus to explain how to disable the lcd... and make some other signal |
13:00 |
13:05:46 | t0mas | /* stop the disk */ |
13:05:46 | t0mas | rb->ata_sleep(); |
13:05:53 | t0mas | why doesn't it power off the disk? |
13:08:12 | | Quit webguest58 ("CGI:IRC") |
13:10:28 | t0mas | it waits for the timeout... |
13:12:04 | | Join LinusN [0] (~linus@labb.contactor.se) |
13:12:10 | | Quit edx (Read error: 110 (Connection timed out)) |
13:12:13 | t0mas | hi LinusN |
13:12:19 | LinusN | hi |
13:12:21 | t0mas | have you read the logs? |
13:12:29 | t0mas | or should I ask some questions again? :) |
13:12:48 | Slasheri | LinusN: would you like to see the new patch? Now simulator build will compile fine :) |
13:12:56 | LinusN | Slasheri: yes please |
13:12:59 | Slasheri | ok :) |
13:13:04 | LinusN | t0mas: i have read the logs |
13:13:20 | t0mas | ok, and you know how to do it? :) |
13:13:24 | LinusN | why do you want to disable the display? |
13:13:34 | t0mas | to save power |
13:13:58 | LinusN | i don |
13:14:06 | | Join leftright [0] (~5087bf96@labb.contactor.se) |
13:14:10 | LinusN | 't think it'll save that much power |
13:14:16 | t0mas | ok |
13:14:23 | LinusN | but we'd have to test of course |
13:14:36 | t0mas | and the led? do you know if we can control it? |
13:14:46 | LinusN | and no, i don't know more than you do about how to turn it off |
13:15:09 | LinusN | the green led can't be controlled |
13:15:32 | t0mas | and the red one? |
13:15:36 | Slasheri | LinusN: now it's updated, http://ihme.org/~miipekk/rockbox |
13:15:41 | LinusN | and i don't see why we would disable the red one |
13:15:48 | LinusN | Slasheri: great |
13:15:50 | t0mas | no, I want to enable it once in a while |
13:16:00 | t0mas | so I can see the unit is still running... while the screen is off |
13:16:12 | LinusN | the red led is controlled by the hard drive |
13:16:34 | t0mas | :( |
13:16:51 | LinusN | we have discussed the cpu frequency |
13:17:13 | LinusN | we should probably have three levels |
13:17:29 | LinusN | one idle (11mhz), one "normal" (48mhz) and one boost (120 or even 140) |
13:17:50 | LinusN | the normal one can probably be less that 48 |
13:18:35 | t0mas | yes... if it can decode and feed pcm at the same time... it can be lower |
13:18:43 | t0mas | to just feed pcm data |
13:18:44 | LinusN | t0mas: how do you plan on measuring? |
13:18:54 | t0mas | pay my sister to look at it for several hours... |
13:18:56 | t0mas | or ask rasher |
13:19:03 | LinusN | or use a multimeter? |
13:19:12 | t0mas | then I'll have to take it apart first |
13:19:20 | LinusN | of course |
13:19:28 | *** | Saving seen data "./dancer.seen" |
13:20:01 | LinusN | i have plans of adding an ampere meter inside my 120 |
13:20:04 | t0mas | hm... I'm not good at that kind of things... normally it won't close after I opened it :) |
13:20:22 | LinusN | and read it with the A/D converter |
13:20:43 | t0mas | hm... and then? you have a perfect battery indicator? |
13:20:49 | t0mas | or is there some other use? |
13:22:03 | t0mas | (oh and the usb mode idea? is it possible to get in usb mode w/o spinning up the disk? so linux sees the device... writes an error to syslog and I know it was still running?) |
13:22:48 | LinusN | t0mas: with the ampere meter i don't have to read the battery, it tells me how much current it is drawing |
13:23:17 | LinusN | yes, you can get into usb mode with the disk powered off |
13:24:43 | LinusN | gotta go again, cu later |
13:25:02 | | Part LinusN |
13:26:35 | | Join webguest78 [0] (~c3f0c3a0@labb.contactor.se) |
13:26:52 | t0mas | arg |
13:27:12 | t0mas | <LinusN> yes, you can get into usb mode with the disk powered off <−− now just find out how :) |
13:38:40 | | Quit webguest78 ("CGI:IRC") |
13:45:05 | * | niobos is off to lunch |
13:48:17 | | Part leftright |
13:51:33 | | Join zezayer [0] (~chatzilla@82.110.136.210) |
13:56:01 | * | HCl yawns |
13:56:04 | HCl | sleep ish good. |
13:56:39 | | Part Mirfle |
14:00 |
14:03:31 | HCl | is Slasheri's patch committed yet? |
14:03:34 | * | ashridah peeks at the updated patch |
14:03:51 | ashridah | HCl: nah, updated version on his website tho |
14:05:11 | Slasheri | ashridah: there is not yet very big improvements |
14:05:53 | * | ashridah cracks whip :) |
14:05:56 | Slasheri | i try to get seeking of mp3s working and then i will update it again |
14:05:59 | Slasheri | :D |
14:06:23 | HCl | :P |
14:06:37 | * | HCl dreamt he got further with the runtimedatabase |
14:08:52 | HCl | but i havent |
14:09:15 | HCl | mostly cause i don't want to make a patch upon a patch thats still being developed |
14:11:34 | | Join LinusN [0] (~linus@labb.contactor.se) |
14:11:41 | HCl | wb |
14:11:47 | LinusN | thx |
14:12:00 | LinusN | Slasheri: don't add more functionality before i commit |
14:12:13 | Slasheri | LinusN: ok :) |
14:12:29 | HCl | when will you commit? :) |
14:12:30 | LinusN | regarding seeking, you should have a look at mpeg.c |
14:12:43 | Slasheri | ah, i will do that |
14:12:49 | LinusN | i'll hopefully commit later this evening |
14:12:52 | HCl | okay |
14:12:55 | LinusN | gotta go |
14:12:57 | | Part LinusN |
14:17:16 | | Join Lost-ash [0] (ashridah@220-253-120-194.VIC.netspace.net.au) |
14:18:03 | | Quit zezayer (Remote closed the connection) |
14:18:22 | | Quit ashridah (Nick collision from services.) |
14:18:25 | | Nick Lost-ash is now known as ashridah (ashridah@220-253-120-194.VIC.netspace.net.au) |
14:28:00 | | Join dapureplaya [0] (~anon@CPE-144-136-73-250.nsw.bigpond.net.au) |
14:33:16 | | Join nobby-BRB [0] (~nobby@cpc3-bele3-3-1-cust61.belf.cable.ntl.com) |
14:33:20 | nobby-BRB | I LOVE YOU ALL :) |
14:33:27 | | Nick nobby-BRB is now known as nobby (~nobby@cpc3-bele3-3-1-cust61.belf.cable.ntl.com) |
14:33:38 | dapureplaya | lol nice. break the silence :p |
14:33:42 | | Nick nobby is now known as nobbeh (~nobby@cpc3-bele3-3-1-cust61.belf.cable.ntl.com) |
14:33:48 | nobbeh | :) |
14:33:51 | | Nick Sucka is now known as Sucka`away (~NNSCRIPT@host81-156-209-158.range81-156.btcentralplus.com) |
14:33:51 | * | ashridah bops |
14:33:52 | t0mas | ok... tnx... but I have a gf... |
14:33:53 | ashridah | no silence here |
14:34:16 | nobbeh | rockbox on iriver now plays music with an unofficial build apparantly |
14:34:22 | dapureplaya | indeed |
14:34:22 | t0mas | yes |
14:34:33 | dapureplaya | i'm using it right now |
14:34:33 | t0mas | and Linus will commit it this evening... if he has some time |
14:34:35 | nobbeh | im charging mine now so i can reflash it with the new bootloader |
14:34:50 | dapureplaya | why don't u just keep it plugged in while yoiu flash it? |
14:34:54 | dapureplaya | *you |
14:35:00 | nobbeh | yeah, i could do that... :) |
14:35:06 | * | nobbeh does |
14:35:07 | dapureplaya | :p |
14:35:15 | nobbeh | TY for the common sence :) |
14:35:25 | dapureplaya | hehe |
14:35:25 | * | nobbeh does happy dance |
14:35:47 | dapureplaya | omg....gapless is so awesome on my H140 :D |
14:36:39 | dapureplaya | you gotta try this out nobbeh. :-P |
14:36:59 | nobbeh | i will as soon as i untangle this goddamn cable :S |
14:37:01 | ashridah | nobbeh: you won't need to flash it to get sound working if you've already got a rockbox bootloader installed. |
14:37:09 | nobbeh | yeah |
14:37:20 | nobbeh | any point in a reflash then? |
14:37:24 | ashridah | unless you're using a partcularly old version that is |
14:37:26 | dapureplaya | nope |
14:37:32 | dapureplaya | just copy the files over |
14:37:38 | nobbeh | i'm using the last CVS one i think |
14:37:47 | ashridah | nobbeh: well, recently someone fixed it to allow one to use iriver's 1.65 firmware without breaking ogg |
14:37:53 | ashridah | and a few other minor fixes |
14:38:16 | nobbeh | i have 1.63 with the old loader afaik |
14:38:19 | ashridah | but if you're using what's currently on the wiki, that's safe enough. no point in using a potentially broken CVS build. |
14:38:25 | Slasheri | new bootloader has also usb mode. you should reflash if you have older one |
14:38:44 | nobbeh | i have usb mode in rockbox |
14:38:51 | Slasheri | nobody should ever build a bootloader from cvs |
14:39:22 | nobbeh | true |
14:40:01 | nobbeh | OMG |
14:40:03 | nobbeh | ITS PLAYING! |
14:40:07 | nobbeh | ITS ALIIIIIIIIIIIIIIIVE! |
14:40:14 | dapureplaya | lol right |
14:40:27 | dapureplaya | calm down |
14:40:30 | dapureplaya | breathe |
14:40:36 | nobbeh | dont wanna :P |
14:40:47 | dapureplaya | well i'm sure u dun wanna drop dead either :p |
14:41:13 | nobbeh | k |
14:41:19 | dapureplaya | hehe |
14:41:31 | nobbeh | im gonna go get a shower and get dressed. Its 20 to 2 :P |
14:41:37 | dapureplaya | cya |
14:41:47 | | Nick nobbeh is now known as n[o]bbeh (~nobby@cpc3-bele3-3-1-cust61.belf.cable.ntl.com) |
14:43:57 | dapureplaya | slasheri: I know u only just roughly worked on the track skipping just recently, but i'm kinda getting this thing where i just skip once but it skips like 3 or 4 tracks at a time. Is it suppose to do that? |
14:44:44 | Slasheri | no, it shouldn't do that. Are you using the latest patch? |
14:45:00 | | Join edx [0] (edx@p54A8E864.dip.t-dialin.net) |
14:45:12 | dapureplaya | By patch you mean? |
14:45:21 | Slasheri | http://ihme.org/~miipekk/rockbox/ |
14:46:23 | Slasheri | I recommend you wait little more while it gets to cvs and then you could use the daily builds from cvs |
14:48:36 | HCl | n[o]bbeh: you need the new bootloader cause the old one has mirroring of 16mb of ram |
14:48:41 | dapureplaya | yeah fair enough. I mean it only did it when i first started using it. |
14:48:59 | ashridah | yes, without having to merge in a patch by hand (which, btw, looks like it should have cleanly applied, not sure why it didn't) |
14:49:35 | Slasheri | dapureplaya: ah, ok. That bug was on first versions but i think it's fixed now |
14:49:51 | dapureplaya | so i have the first version? |
14:50:08 | Slasheri | it might be possible you don't have the most recent version |
14:50:12 | HCl | am i the only one who hasn't tried Slasheri's patch? :P |
14:50:19 | Slasheri | :D |
14:50:22 | dapureplaya | heh |
14:50:33 | dapureplaya | well i'm using it right now HCl |
14:50:35 | crwl | heh |
14:50:49 | HCl | most of the time, i use my iriver as portable harddisk with my music collection |
14:50:56 | HCl | i only actually play music on it when i'm in my car or otherwise not home |
14:50:57 | HCl | :) |
14:51:00 | crwl | the current mp3 implementation seems to be a little too gapless :) |
14:51:12 | HCl | too gapless? |
14:51:15 | dapureplaya | what do u mean by that? |
14:51:25 | crwl | well, there are no gaps between songs even if there should be |
14:51:27 | ashridah | yeah, it seems to cut off the end of songs in some cases i find. |
14:51:34 | HCl | ah. |
14:51:35 | dapureplaya | how much of it? |
14:51:50 | crwl | maybe half a second or a little less, i'm not sure |
14:51:54 | dapureplaya | well i tried out gapless for both it's fine. unless i'm deaf. |
14:52:02 | Slasheri | crwl: Hmm, that is caused only if last song has no gap at end of the song |
14:52:37 | HCl | is there an option yet to insert gaps? |
14:52:46 | crwl | Slasheri, ok |
14:52:46 | Slasheri | not yet :D |
14:52:54 | HCl | goddammit. |
14:53:43 | * | HCl bites his game. |
14:53:55 | HCl | crash. i log back on. dead. |
14:53:57 | crwl | the newest album of SOAD which i, hmm, acquired from the 'net, is maybe about five seconds shorter with current implementation than it should be :) |
14:54:17 | dapureplaya | damn i better get back to my assignment. all this talk is getting me excited. bbl guys. |
14:54:24 | | Join preglow [0] (thomj@s183a.studby.ntnu.no) |
14:55:22 | preglow | crwl: crosscheck that with foobar if you can |
14:55:46 | crwl | well, i can't |
14:56:17 | preglow | why not? |
14:56:49 | crwl | don't have a windows machine handy |
14:57:10 | dapureplaya | Slasheri: just one more quick Q before i go, has an OGG 'now playing' screen been implemented yet? |
14:57:50 | Slasheri | no it has not |
14:57:54 | Slasheri | will be implemented later :) |
14:58:06 | dapureplaya | sweet. |
14:58:10 | crwl | i wonder if WPS will be upgraded to support custom tags or will just the "standard" vorbis tags be mapped to the existing id3 tags and others be thrown off |
14:58:19 | | Join DomZ [0] (~52426222@labb.contactor.se) |
14:58:44 | | Nick n[o]bbeh is now known as nobbeh (~nobby@cpc3-bele3-3-1-cust61.belf.cable.ntl.com) |
14:58:58 | Slasheri | crwl: I think we have to change the wps code to support better vorbis and other formats |
14:59:08 | crwl | Slasheri, it'd be sweet |
14:59:10 | nobbeh | why does the current database have "album number" but no "album year"? |
14:59:22 | dapureplaya | anwyay i'll be back when i finish up this dread of an electronics assignment. due tomorrow. man i hate deadlines. cya |
14:59:33 | crwl | though, just the usual artist/composer/title/trackno/genre etc. tags are what 99% of people use, i guess |
14:59:37 | crwl | including me |
15:00 |
15:00:18 | Slasheri | nobbeh: The wps can be customized and i think you can add album year into it if you want to |
15:00:34 | nobbeh | yeah, but the tag database makes no mention of |
15:00:35 | nobbeh | it |
15:00:45 | nobbeh | what if i want to search by year? |
15:00:45 | Slasheri | Ah, hmm.. |
15:00:54 | Slasheri | i don't know about that |
15:01:00 | | Nick dapureplaya is now known as dapureplayaBUSY (~anon@CPE-144-136-73-250.nsw.bigpond.net.au) |
15:02:55 | nobbeh | on the default irirver WPS |
15:03:04 | nobbeh | what are teh 2 lines separated by a dotted line? |
15:03:30 | Slasheri | I think that's a peak meter. Not supported yet |
15:03:37 | | Join tucoz [0] (~martin@184.84-48-89.nextgentel.com) |
15:03:39 | nobbeh | ok |
15:03:41 | nobbeh | thanks |
15:03:47 | tucoz | HCl: are you there? |
15:03:51 | nobbeh | looks horrible |
15:04:33 | nobbeh | also, stuff like volume change lags badly |
15:05:15 | tucoz | HCl:I noticed something, When browse for albums using the db (i.e. Albums->), albums starting with a number, are sorted before the <> tags |
15:05:36 | tucoz | like <no album tag> |
15:05:55 | tucoz | HCl: and I also got two <no album tag> in there |
15:06:14 | dapureplayaBUSY | uh oh. i'm on the shutting down screen and it's still playing music. :S |
15:06:29 | dapureplayaBUSY | it won't shut down! lol |
15:08:16 | dapureplayaBUSY | oh there it goes. heheh. =P |
15:13:12 | HCl | tucoz: yea, i saw that. |
15:13:37 | HCl | its hard to change sorting. |
15:13:44 | tucoz | i guess |
15:13:46 | HCl | two no album tags can occur |
15:13:56 | tucoz | Hmm, why is that? |
15:14:04 | HCl | an album is associated to an directory |
15:14:10 | tucoz | ok, I see |
15:14:14 | HCl | if two albums are in two different directories |
15:14:17 | HCl | and they don't have an album tag.. |
15:14:46 | * | HCl twitches at his game. having lost EVERYTHING cause of a fucking crash of the game client. |
15:14:56 | niobos | HCl: are albums related to dir's? or is it the songDB-program that makes the relation? |
15:15:05 | HCl | songdb program. |
15:15:06 | niobos | in the DB-structure I don't see dir's anywhere... |
15:15:10 | tucoz | Would it be an idea to have the directory as a tag instead? |
15:15:21 | HCl | tucoz: there's an option for that. |
15:15:25 | HCl | tucoz: −−dirisalbumname |
15:15:27 | tucoz | :) |
15:15:56 | tucoz | HCl: but is that for all albums or only those where no tags are found? |
15:15:56 | * | niobos is back off to his electromagnetism... :-( |
15:16:06 | HCl | only for those where no tags are found |
15:16:13 | preglow | niobos: i feel for you |
15:16:24 | tucoz | Ok, then it's ok. |
15:16:50 | HCl | there's also dirisalbum, which states that all files in a directory belong to the same album |
15:16:58 | HCl | regardless of their tags |
15:17:24 | niobos | preglow: thx |
15:17:37 | tucoz | ok, cool. I just ran it wo dir, and saw the options |
15:19:29 | *** | Saving seen data "./dancer.seen" |
15:19:44 | tucoz | Has anyone of you noticed that sometimes (very seldom) when booting rockbox, a loud sound emerges through the headphones? |
15:19:45 | | Quit ashridah ("Leaving") |
15:23:30 | tucoz | Guess it's some initialization code missing. |
15:23:50 | tucoz | either in the bootloader, or when rockbox starts loading |
15:24:10 | tucoz | because it's very early in the boot-up process. |
15:31:46 | HCl | bleach is cool |
15:31:48 | HCl | :/ |
15:33:55 | t0mas | hmz |
15:34:05 | t0mas | BC F4 13 00 |
15:34:07 | HCl | sup t0mas |
15:34:09 | HCl | m? |
15:34:11 | t0mas | what's that if it's big endian? |
15:34:17 | t0mas | (it's a long) |
15:34:23 | HCl | dunno. |
15:34:40 | t0mas | :( |
15:35:13 | * | t0mas starts thinking :P |
15:35:21 | t0mas | B = 11 |
15:35:38 | t0mas | so 1011 |
15:35:39 | HCl | its mostly that i don't know the order of big endian |
15:35:43 | HCl | aside from that its not too hard |
15:35:54 | t0mas | 10111100 = BC |
15:36:03 | t0mas | right? |
15:36:13 | HCl | yea. |
15:36:24 | t0mas | 4 + 8 + 16 + 32 = 60 |
15:36:34 | t0mas | + 128 = 182 |
15:36:39 | * | HCl frowns lightly |
15:36:44 | HCl | you have calculators for that t0mas :P |
15:36:52 | HCl | 15:31 <+cu2q_> 0xBC = 188 |
15:36:56 | t0mas | yes, but I'm to lazy to get one... |
15:37:00 | t0mas | ah |
15:37:02 | t0mas | that's better |
15:37:08 | t0mas | what channel? :) |
15:37:11 | HCl | um. |
15:37:13 | HCl | #lol.nl on ircnet |
15:37:20 | HCl | but you can query it on ircnet too |
15:38:02 | Slasheri | converting hex to binary or vice versa is similar as long as you keep in mind that one hex-character is 4 bits in binary |
15:38:10 | t0mas | yes, I know... |
15:38:11 | Slasheri | similar=easy |
15:38:55 | t0mas | big endian = bytes in screen order right? |
15:39:17 | t0mas | and little endian is "reversed" |
15:39:19 | Slasheri | MSB bytes comes first in big endian |
15:39:24 | Slasheri | yep |
15:39:42 | t0mas | ok so this is a negative number? |
15:39:58 | t0mas | as it starts with 10111100 |
15:40:57 | Slasheri | Hmm, should be if you are using signed values. Keep also in mind that bit order is always the same regardless of endianess |
15:40:57 | HCl | meh. |
15:41:03 | HCl | should i just give you the number |
15:41:03 | HCl | ? |
15:41:11 | HCl | its like what, a 5 line c program |
15:41:15 | t0mas | -1124855040 ? |
15:42:48 | t0mas | hm... I don't need the number... |
15:43:01 | t0mas | I'm debugging some weird thing in my dictionary plugin |
15:43:03 | HCl | yea |
15:43:05 | HCl | -1124855040 |
15:43:17 | t0mas | yes HCl but what if you read it in reverse? :) |
15:43:40 | t0mas | so 00 13 F4 BC |
15:43:44 | HCl | 1307836 |
15:43:51 | t0mas | ok, that's what I want :) |
15:44:18 | t0mas | but in file it's written as BC F4 13 00 |
15:44:32 | t0mas | on rockbox (big endian) that would be -1124855040 right? |
15:44:38 | HCl | yes |
15:44:44 | t0mas | so I have to reverse it... before writing it to a file... |
15:44:48 | HCl | yup |
15:44:56 | HCl | there are C macros for that in the rockbox code |
15:44:56 | t0mas | so in rockbox it gets read right... |
15:44:59 | HCl | in database.h, i think. |
15:45:18 | t0mas | yes, but I'm creating the file... |
15:45:25 | t0mas | so I can better reverse it at the pc... |
15:45:39 | HCl | yes, i'm just saying that if you need c code for it, its in database.h O.o. |
15:45:44 | t0mas | ok, tnx |
15:47:39 | niobos | Question: on x86, pointers are 32bit. On that ColdFire also? |
15:48:35 | HCl | dunno. |
15:48:47 | niobos | k, i'll use sizeof(void*) then |
15:48:50 | preglow | yes |
15:48:54 | preglow | but never assume that |
15:48:56 | preglow | always use sizeof |
15:49:21 | preglow | sizeof(whateverpointertypeyouareusing) |
15:49:54 | niobos | because I have a datastructure that contains OR pointers to struct... OR file-offsets... |
15:50:18 | * | niobos just realizes the word union... |
15:52:56 | preglow | yes, union |
15:56:26 | | Join webguest27 [0] (~c3f0c3a0@labb.contactor.se) |
16:00 |
16:03:50 | t0mas | HCl? this fdprintf(fd, "0x%x", var) you use in dynarec... can I use that for outputting a long too? |
16:06:14 | | Part tucoz ("Leaving") |
16:10:46 | | Join Chamois [0] (~Chamois@i01v-71-23.d4.club-internet.fr) |
16:11:56 | | Quit webguest27 ("CGI:IRC (Ping timeout)") |
16:16:59 | | Join tvelocity [0] (~tony@ipa207.1.tellas.gr) |
16:27:29 | | Part DMJC ("Leaving") |
16:27:29 | | Quit preglow (Read error: 104 (Connection reset by peer)) |
16:28:33 | | Join preglow [0] (thomj@s183a.studby.ntnu.no) |
16:28:51 | | Join XavierGr [0] (~XavierGr@ppp28-adsl-190.ath.forthnet.gr) |
16:29:18 | niobos | if I want to keep an array of pointers in C, I could do so with void* array[]; |
16:29:46 | niobos | but wouldn't that be a waste of space? since array[] itself is already an array of pointers (to pointers)? |
16:30:06 | t0mas | where are you doing it? |
16:30:07 | t0mas | plugin? |
16:30:14 | niobos | songDB |
16:30:24 | niobos | but it's a general question |
16:30:26 | XavierGr | hi all! |
16:30:31 | niobos | Hi XavierGr |
16:30:40 | | Part nobbeh |
16:30:43 | t0mas | niobos: yes, but in a plugin you have a pluginbuffer... so you can "malloc" in there |
16:30:47 | XavierGr | Does anyone knows if we can change the WPS font? |
16:31:11 | t0mas | XavierGr: you can change the global font... |
16:31:32 | niobos | I'll figure it out, thx |
16:31:44 | XavierGr | hmmm.... |
16:32:04 | XavierGr | then I shouldnt change WPS code |
16:32:10 | XavierGr | geai tvelocity! |
16:32:22 | t0mas | niobos: but afaik an array is just 1 pointer |
16:32:28 | t0mas | not an array of pointers... |
16:32:34 | | Join asdsd____ [0] (~asdsd@h-67-100-26-117.miatflad.dynamic.covad.net) |
16:32:39 | | Part asdsd____ |
16:32:46 | XavierGr | I will make some test to see if we can utilize all of iriver's screen in WPS |
16:32:49 | t0mas | and array[5] is just the first pointer + 5 * sizeof(object) |
16:32:58 | t0mas | XavierGr: check out the board |
16:33:00 | niobos | t0mas: yeah, I'm drawing the pointers on a sheet op paper to get it... |
16:33:09 | t0mas | ah ok |
16:33:14 | XavierGr | board? |
16:33:17 | niobos | it always confuses me when I do things like void* array[] and stuff |
16:33:31 | niobos | thx |
16:33:44 | t0mas | XavierGr: http://tomas.salfischberger.nl/dump/wps-test.png |
16:33:52 | t0mas | http://forums.rockbox.org/index.php?topic=534.0 |
16:33:59 | XavierGr | ok I will look to it |
16:34:56 | t0mas | hm... I need some core dev... |
16:35:08 | XavierGr | nice! t0mas! |
16:35:18 | tvelocity | wps uses all of the screen on my iriver.... I just used a bigger font:P |
16:35:19 | t0mas | want to implement that hack for real... using the bmp code I wrote some time ago |
16:35:28 | t0mas | but I don't know what memory I can use for it... |
16:35:36 | XavierGr | did you change the code of wps.c? |
16:35:40 | t0mas | yes |
16:36:04 | XavierGr | then I shouldnt touch it. bravo... |
16:36:12 | t0mas | you don't have to |
16:36:18 | t0mas | it should be able to read a .bmp file |
16:36:22 | t0mas | and display that as a background |
16:36:57 | | Join Mouss [0] (MoosCamaro@m214.net81-66-158.noos.fr) |
16:36:58 | | Join zezayer [0] (~chatzilla@82.110.136.210) |
16:37:07 | XavierGr | I will better look some of snake.c code to adapt for iriver |
16:37:17 | | Quit thegeek_ (Read error: 54 (Connection reset by peer)) |
16:37:19 | t0mas | isn't that already done? |
16:37:24 | t0mas | or you mean snake2? |
16:37:53 | XavierGr | snake 1 no, there is an invisible wall and then you die! |
16:37:55 | t0mas | ftp://titania.student.utwente.nl/snake.diff <−− there's a patch for snake |
16:38:02 | XavierGr | grrr! |
16:38:13 | t0mas | HCl wrote it |
16:38:17 | XavierGr | nice again |
16:38:20 | t0mas | but didn't commit it... |
16:38:29 | * | t0mas prods HCl: why isn't it in CVS? |
16:38:39 | XavierGr | yeah they must commit it to know what to change |
16:38:52 | t0mas | it's listed here: http://www.rockbox.org/twiki/bin/view/Main/ThingsTodo |
16:40:36 | XavierGr | there are not many things to touch. That's good. Only a couple of games. |
16:40:39 | t0mas | Slasheri: you're using the normal wps code in wpc.c now right? |
16:40:54 | t0mas | XavierGr: can you write perl? |
16:41:30 | XavierGr | unfortunately no, I only now a little c and visual basic :( |
16:41:37 | Slasheri | t0mas: yes, i have made no changes to the wps code |
16:41:39 | tvelocity | i know some perl & python if there's anything i can do |
16:41:56 | t0mas | yes... for the dictionary stuff... we have a conversion script for wordnet sources |
16:42:20 | t0mas | but there is a widespread format, the dict format... so if someone could write a dict2rdf perl script... |
16:42:57 | tvelocity | i isn't there allready a C tool for that? |
16:43:10 | t0mas | no, that rdf2binary |
16:43:14 | t0mas | *that's |
16:43:44 | t0mas | the C tool converts the output of the perl scripts to the format used in the plugin... for fast searching |
16:44:19 | t0mas | tvelocity: http://www.freedict.de/ and http://www.dict.org/ have some dict files... |
16:44:26 | t0mas | and http://www.rockbox.org/twiki/bin/view/Main/RockboxDictionary#The_rockbox_dictionary_format that's what we need |
16:45:03 | t0mas | so short: word[tab]description, alls words in lowercase and the words should be sorted |
16:45:27 | t0mas | (and to make it easier: tools/wn2rdf.pl is an example) |
16:46:02 | | Quit MoosCamaro (Read error: 60 (Operation timed out)) |
16:46:29 | tvelocity | doesn't sound very difficult |
16:46:42 | t0mas | not if you know perl :) |
16:47:15 | t0mas | I have to learn it somewhere in my vacation... as it's really irritating to have some perl scripts... and not being able to edit them |
16:47:38 | tvelocity | i do know *some* perl... but i'm not as fluent in perl as I am in python... |
16:48:29 | t0mas | I only know some types of basic... php and C |
16:48:52 | t0mas | and I don't know perl and python because I use php/bash scripting for all my shell trouble :) |
16:50:24 | tvelocity | what for is the dict being used? |
16:50:45 | t0mas | looking up words... |
16:51:08 | tvelocity | err, yeah, but why do you need looking up words in rockbox? |
16:51:40 | tvelocity | for spell checking, or for something like T9 maybe? |
16:51:41 | t0mas | some people have dict readers on their PDA... I have an unusable one on my phone... so that's why I created one for rockbox too.. |
16:52:06 | tvelocity | oh... i see |
16:53:37 | XavierGr | do we know in which corner of the screen is the (0,0) pixel cordination? |
16:53:46 | t0mas | left top |
16:54:03 | XavierGr | thanks |
16:55:46 | tvelocity | so t0mas we need a perl script that converts a standard dict like the ones on dict.org, to a word[tab]description format... that's all? |
16:56:20 | t0mas | yes that's all |
16:56:41 | t0mas | we've split it like this to make it easy for people to write these scripts... |
16:56:57 | t0mas | oh... and don't forget to convert it to lowercase... and sort it... |
16:57:01 | t0mas | but that's easy too... |
16:57:38 | tvelocity | yep |
16:57:45 | tvelocity | i'll take a look then |
16:57:51 | t0mas | k tnx |
16:58:09 | tvelocity | why perl anyway?:P |
16:58:17 | t0mas | because amiconn likes perl :P |
16:58:29 | tvelocity | hm... ok |
16:59:03 | HCl | :P |
16:59:27 | HCl | t0mas: i dunno, should i commit it? |
16:59:46 | XavierGr | yeah commit |
16:59:46 | t0mas | if there's no good reason not to do it... |
16:59:47 | HCl | i had gotten the impression it wasn't good enough because people hadn't committed it |
16:59:53 | HCl | i made it before i got cvs access |
16:59:59 | t0mas | ah ok |
17:00 |
17:00:51 | t0mas | HCl: does it still work on archos with the path? |
17:00:53 | t0mas | *patch? |
17:00:58 | HCl | dunno |
17:01:03 | HCl | can you try on a sim? |
17:01:22 | t0mas | no... only have iriver sim |
17:01:32 | t0mas | but maybe someone here with an archos can? |
17:02:05 | XavierGr | hmm somewhere on the wiki we must say that sim screen is true sim only when the size of the sim window is not modified |
17:02:09 | XavierGr | I can test it |
17:03:18 | | Quit preglow ("Lost terminal") |
17:03:25 | t0mas | huh? |
17:03:33 | | Join preglow [0] (thomj@s183a.studby.ntnu.no) |
17:03:40 | t0mas | ah preglow found back his terminal ;) |
17:03:48 | t0mas | XavierGr: what do you mean? |
17:04:19 | preglow | heh |
17:04:22 | preglow | what happened? |
17:04:30 | t0mas | you lost your terminal |
17:04:36 | preglow | i noticed :P |
17:04:38 | XavierGr | well I was mading some test in the sim about the calculator |
17:04:39 | t0mas | time to clean your room ;) |
17:04:42 | t0mas | * preglow has quit ("Lost terminal") |
17:05:11 | XavierGr | and whenver I pressed the maximize button of the windows the screen seemed the same but it was not |
17:05:30 | t0mas | oh ok... |
17:05:40 | XavierGr | Some of the pixel sizes are changed so it seems that you have some pixels empty |
17:05:41 | t0mas | you can resize it... but not with the max butoon |
17:05:59 | t0mas | *button |
17:07:09 | XavierGr | I had a serious confusion with that |
17:07:37 | XavierGr | I wanted to test it pixel by pixel so I maximized and the screen was slightly different |
17:07:54 | XavierGr | then I thought that it has to be the changes I made but it wasnt this |
17:09:25 | XavierGr | with the maximize of the screen there are some slight changes in pixel orientation |
17:10:51 | XavierGr | so HCl do you want me to test your patch for the archos |
17:11:12 | XavierGr | but I think that all that have a cygwin enviroment can do that in the sim |
17:11:56 | | Quit dapureplayaBUSY () |
17:12:13 | HCl | yea, please |
17:12:27 | HCl | i mostly just increased the allowed screensize iirc.. |
17:12:33 | XavierGr | I have to download the patch right? |
17:12:33 | HCl | rather than scaling it |
17:12:36 | HCl | yea |
17:12:53 | XavierGr | yes but did you made an if statement acorrding to the target |
17:13:11 | HCl | i don't remember, he.h |
17:13:45 | XavierGr | do you have the snake.c it would more easy for me to apply changes (except if you made changes in other files too) |
17:13:56 | HCl | eh, no, it should be in cvs.. |
17:14:10 | HCl | i'm a bit busy at the moment, can't really help, sorry |
17:14:14 | coob | is there a badger.c? and a mushroom.c? |
17:14:19 | coob | </irritating> |
17:14:35 | XavierGr | okay |
17:15:01 | t0mas | XavierGr: http://www.rockbox.org/viewcvs.cgi/apps/plugins/snake.c?rev=1.5&view=markup |
17:17:07 | | Join bagawk [0] (~Lee@bagawk.user) |
17:17:11 | XavierGr | well I meant if he had the modified snake.c file not the original. Obviously if the patch hasnt made CVS then this c file is the original. I will get and apply the patch |
17:19:31 | *** | Saving seen data "./dancer.seen" |
17:21:13 | | Quit zezayer (Remote closed the connection) |
17:21:35 | | Join jamesshuang [0] (~80dc24ab@labb.contactor.se) |
17:21:49 | jamesshuang | Hey everyone, just letting you know about a bug from mysticforums |
17:22:41 | jamesshuang | seems that with the latest slasheri patch, trying to view a playlist gives an IllInstr at 32F40196 |
17:23:13 | HCl | markun reported that before.. |
17:23:35 | crwl | it's related to plugins not yet working while playing, yes? |
17:24:10 | Slasheri | jamesshuang: thanks, that is a known problem and will be fixed later |
17:24:16 | jamesshuang | ahh.... I see.. i knew the plugins crashed while playing, but I didn't know the playlists were generated by plugins |
17:24:58 | Slasheri | i think the view playlist does nothing to do with plugins (i don't know yet why it will crash) |
17:25:29 | HCl | i don't quite understand how playlists work at all.. |
17:27:16 | | Join zezayer [0] (~chatzilla@82.110.136.210) |
17:28:55 | XavierGr | HCl: Your patch works perfectly fine for all the archos that shares a 112*64 screen! Commit as soon as possible :) |
17:29:10 | preglow | linus said he'd commit it today, yes? |
17:29:15 | HCl | kay |
17:29:44 | XavierGr | yes preglow at last the moment you was waiting! |
17:29:54 | XavierGr | ^were |
17:30:32 | HCl | committed. |
17:30:41 | XavierGr | :D |
17:45:45 | | Join muesli- [0] (muesli_tv@Bc125.b.pppool.de) |
17:45:54 | muesli- | hi |
17:48:05 | muesli- | is there another possibility to get access to this without using irc.freenode.net? |
17:49:07 | bipak | for read only, there is a log in the rockbox site :) |
17:49:17 | bipak | s/in/on |
17:49:24 | jamesshuang | there's always the webclient |
17:52:46 | | Join zezayer_ [0] (~chatzilla@82.110.136.210) |
17:54:48 | | Join thegeek [0] (na@ti521110a080-0888.bb.online.no) |
17:57:39 | | Quit zezayer (Read error: 60 (Operation timed out)) |
17:57:39 | | Nick zezayer_ is now known as zezayer (~chatzilla@82.110.136.210) |
18:00 |
18:03:24 | | Quit Shagnar (Read error: 110 (Connection timed out)) |
18:05:24 | | Join webguest29 [0] (~54de5921@labb.contactor.se) |
18:10:40 | bipak | hmm, where can i buy motorola coldfire µC's? :) |
18:10:48 | bipak | cant find anything on google |
18:11:48 | bipak | found :) |
18:12:20 | preglow | why'd you want that??? |
18:12:34 | bipak | just wanted to know the price :> |
18:12:45 | preglow | dunno, 10$ ? |
18:12:58 | bipak | 20 Euro in germany |
18:13:12 | preglow | more sane, probably |
18:13:46 | bipak | i thought they would be more expensive |
18:14:28 | preglow | embedded processors aren't very expensive |
18:16:42 | | Quit webguest29 ("CGI:IRC") |
18:17:13 | bipak | yes, i do some hobby stuff with an Atmel AVR µC, thats costs about 3 Euro :) |
18:17:23 | bipak | s/thats/that |
18:27:23 | | Join Strath [0] (~mike@dgvlwinas01pool0-a219.wi.tds.net) |
18:28:39 | preglow | i've uses a lot of avrs myself |
18:28:43 | preglow | used, even |
18:29:10 | bipak | :) |
18:29:12 | niobos | for the songDB thing in C: what should I do? |
18:29:30 | niobos | amiconn said it should run on low memory (=the device itself) |
18:29:51 | niobos | so during the DB construct, (at least) some items should be in file instead of RAM |
18:30:08 | niobos | but should I do a black/white: either all in RAM or all on disk? |
18:30:22 | niobos | or play a bit: these entries are in RAM, these on disk? |
18:31:09 | preglow | that's up to you |
18:31:10 | niobos | (I prefere the black/white, the entire array is either on disk or in ram) |
18:31:20 | preglow | entire array on disk will be very, very slow |
18:31:30 | niobos | I know... |
18:31:37 | preglow | a hybrid would be best |
18:31:39 | preglow | definitely |
18:31:44 | preglow | you can't have it all in ram |
18:32:00 | preglow | databases can probably easily be above 2 megs |
18:32:11 | niobos | But "some" on disk means an extra overhead to remember what is in ram and what on disk |
18:32:41 | preglow | well, i have no idea of how this thing is built up, so can't help you there |
18:33:05 | niobos | I don't think it'll be that slow... |
18:33:14 | niobos | only sorting will take longer |
18:33:32 | niobos | but anyway it will as soon as some are on disk... |
18:33:48 | niobos | I might benchmark it, see what it does on my x86 machine and extrapolate that |
18:34:08 | | Nick Mouss is now known as MoosCamaro (MoosCamaro@m214.net81-66-158.noos.fr) |
18:34:27 | * | niobos gets back to programming |
18:37:21 | XavierGr | what are you programming niobos? |
18:38:37 | | Join Stryke` [0] (~Chairman8@cpe-24-168-110-99.si.res.rr.com) |
18:39:35 | preglow | niobos: you can't extrapolate from that |
18:39:51 | preglow | niobos: your os probably has a very nifty disk caching mechanism |
18:41:47 | | Join muesli__ [0] (muesli_tv@c-180-36-119.h.dial.de.ignite.net) |
18:45:41 | | Quit bagawk ("Leaving") |
18:46:18 | bipak | http://rockbox.haxx.se/twiki/pub/Main/IriverInfo/MotorolaSCF5250DataSheet.pdf |
18:46:20 | bipak | the link is down |
18:48:26 | | Quit Stryke` ("Friends don't let friends listen to Anti-Flag") |
19:00 |
19:00:11 | | Quit muesli- (Read error: 110 (Connection timed out)) |
19:00:25 | jamesshuang | hey guys, I just saw this on mysticforums... seems that again with the slasheri patch, rockboy doesn't seem to work anymore |
19:01:16 | jamesshuang | goes through the init process, seems to work, but then crashes on a blank screen |
19:01:32 | tvelocity | i think they allready know that |
19:02:51 | | Join muesli- [0] (muesli_tv@Bbca7.b.pppool.de) |
19:03:17 | jamesshuang | hmm... does slasheri's patch really change the plugin structure THAT much? I'm not touching any audio, fresh boot, then immediately attempting to load a rom crashes |
19:09:58 | | Join Mumble [0] (~player@user-133-219-151-83.e7even.com) |
19:10:07 | tvelocity | well i'm not a dev and don't know, but shit happens all the time... i'm sure they'll look into it when the time is right. we can't have everything at once right? ;) |
19:11:18 | Slasheri | jamesshuang: Hmm, it will crash even when you are not playing audio? |
19:11:34 | Slasheri | jamesshuang: Could you send a rom to me and i will test it |
19:15:50 | zezayer | Mario rom here: ftp://titania.student.utwente.nl/MARIO.GB |
19:16:19 | zezayer | or pokemon ftp://titania.student.utwente.nl/yellow-eng.gb |
19:16:24 | tvelocity | i really hope nintendo is not reading the logs :P |
19:17:29 | zezayer | if they ask, it wasnt me ;) |
19:18:15 | Slasheri | :D |
19:18:15 | Slasheri | thanks, i will test those |
19:18:50 | zezayer | they both worked on the unpatched versions of rbx |
19:18:52 | | Quit muesli__ (Read error: 110 (Connection timed out)) |
19:19:05 | Mumble | is there a way to stop the sound playing (when playing gb/gbc roms) so the CPU can process the graphics faster? or it doesnt work like that? |
19:19:21 | Mumble | (games like pokemon seem to run quite slowly) or thats the way it is? |
19:19:33 | *** | Saving seen data "./dancer.seen" |
19:20:09 | preglow | hcl says he'll optimise it sooner or later |
19:20:14 | preglow | there's a _LOT_ to be done for it |
19:20:32 | Mumble | ok |
19:22:01 | XavierGr | snake 2 adjustment for the iriver is very strange |
19:22:33 | XavierGr | the archos screen ratio is 1.75 while iriver's 1.25 |
19:23:08 | XavierGr | That will be a problem if we want to utilize the whole screen and keep current levels |
19:23:36 | Mumble | also are gameboy screens bigger than the H1X0's? as some games seem slightly squashed or distorted.? |
19:23:46 | XavierGr | the board of the game is 28*16 |
19:24:14 | XavierGr | with a multiplier of 4 this goes to 112*64 |
19:24:35 | zezayer | yer GB screens are higher, turning hold on/pff changes how the screen is adjusted |
19:24:50 | Mumble | pff? |
19:24:58 | zezayer | off , typo |
19:24:59 | preglow | gameboy screen is sligthy taller |
19:24:59 | tvelocity | off |
19:25:04 | Mumble | kk, sorry |
19:25:45 | XavierGr | are you talking to me zezayer because I am not talking about GB emu |
19:25:55 | Slasheri | Hmm, rockboy crashes due to some pcm output structure change |
19:25:58 | Slasheri | investigating that |
19:26:08 | zezayer | no mumble's comment above |
19:26:53 | | Quit DomZ ("CGI:IRC (EOF)") |
19:26:53 | XavierGr | anyway as I was saying 28*5=140 and 112*6=168 |
19:27:06 | bipak | do i need to do any special to get rockbox to play a mp3 file? :> im using the cvs rockbox.iriver file |
19:27:22 | preglow | need a patch |
19:27:26 | XavierGr | either we will not utilize all the screen or we will need float values! |
19:27:40 | bipak | ah, i thought it's in cvs allready :) |
19:27:43 | tvelocity | or you can wait for the patches to be commited to cvs |
19:27:46 | preglow | it's due today |
19:28:07 | tvelocity | or someone could send you a binary |
19:28:23 | bipak | yeah, would be nice :) |
19:28:32 | zezayer | bipak read this: http://www.misticriver.net/boards/showthread.php?p=245727 |
19:28:37 | bipak | k |
19:28:52 | zezayer | there are some patched fw's there to download |
19:29:23 | zezayer | [ post 788 ] |
19:30:06 | bipak | thanks |
19:30:09 | t0mas | XavierGr: what? |
19:30:19 | t0mas | "either we will not utilize all the screen or we will need float values!" <−− ?? |
19:30:35 | XavierGr | for the adaptation of snake2 into the iriver screen |
19:30:59 | XavierGr | snake 2 uses a 2d board of 28*16 |
19:31:27 | XavierGr | thus when drawing to archos the coder multiplie the values by four to get the whole screen |
19:31:35 | t0mas | the comment in the todo page is that you need to change the maps isn't it? |
19:32:12 | XavierGr | well I was said not to do that |
19:32:17 | t0mas | ah ok |
19:32:23 | t0mas | then leave out a little part of the screen? |
19:32:30 | XavierGr | maybe |
19:32:33 | XavierGr | but |
19:32:34 | t0mas | or put a score indicator on top? |
19:32:40 | tvelocity | you could fill the screen with some statistic etc |
19:32:59 | bill2or3 | hm |
19:33:00 | XavierGr | I will need float numbers for multipliers if I want to have a significant size gain |
19:33:07 | bill2or3 | looks like I won an H340 on ebay |
19:33:12 | bill2or3 | $305 |
19:33:28 | XavierGr | 28 * 6 = 168 |
19:33:35 | bipak | zezayer: works :D |
19:33:44 | t0mas | 28 * 5 = 140 ? |
19:33:49 | t0mas | hm.. |
19:33:55 | t0mas | I see the problem |
19:34:07 | tvelocity | what's the resolution of the iriver LCD? |
19:34:10 | t0mas | 160 |
19:34:11 | XavierGr | and 28 * 5 = 140 (too little gain) can I type 28 * 5.7 |
19:34:13 | t0mas | width |
19:34:36 | XavierGr | 28*5.7=159.6 |
19:34:39 | zezayer | gdgd bipak - enjoy |
19:34:47 | | Quit muesli- (Read error: 110 (Connection timed out)) |
19:34:47 | bipak | :)) |
19:34:47 | t0mas | XavierGr: that will be 160 |
19:34:48 | XavierGr | but I dont think I can type that can I? |
19:34:59 | t0mas | I guess you can... but it will be slow... |
19:35:06 | XavierGr | why slow? |
19:35:19 | t0mas | gcc implements some floating point stuff then |
19:35:22 | t0mas | wich is slow.. |
19:35:41 | XavierGr | I will test it anyway |
19:35:51 | t0mas | why not use fixed point math? |
19:35:55 | t0mas | if you really care... |
19:35:56 | tvelocity | you could use *6, but every 3 blocks use *5 instead? |
19:35:59 | bipak | why does it fade in/out when pressing the pause key? isn't that usefull i think |
19:37:25 | tvelocity | bipak, that is configurable |
19:37:26 | XavierGr | Haha the sim runs fine but another problem occured. |
19:37:39 | XavierGr | Where can I upload a pic to see? |
19:37:42 | t0mas | XavierGr: width = (long) (28 << 8) * (5.7 * 256) >> 8; |
19:37:47 | t0mas | gives a fixed point width |
19:38:06 | t0mas | shifted 8 positions to the left... |
19:38:27 | t0mas | but it's a little complicated for something like this... |
19:38:44 | XavierGr | well porting is almost done but I will show you what is the problem... |
19:38:56 | t0mas | sorry: width = (long) ((28 << 8) * (5.7 * 256)) >> 8; |
19:39:05 | t0mas | not sure if the first one works :) |
19:41:39 | | Join muesli- [0] (muesli_tv@D3194.d.pppool.de) |
19:41:43 | t0mas | hi |
19:42:21 | XavierGr | http://www.misticriver.net/photos/displayimage.php?album=lastup&cat=11302&pos=0 |
19:42:34 | XavierGr | here it is. Weird eh? |
19:43:33 | t0mas | it's not supposed to be dashed is it? |
19:44:24 | CoCoLUS | hm |
19:44:30 | muesli- | re |
19:44:36 | CoCoLUS | just tried playing a few oggs... |
19:44:57 | XavierGr | t0mas:no it's not. Well I guess that the 5.7 is to blame |
19:45:02 | t0mas | yes |
19:45:12 | CoCoLUS | and the first few seconds of a track always skip |
19:45:14 | t0mas | you get 1/2 pixels... |
19:45:19 | t0mas | and you can't draw them... |
19:45:49 | t0mas | how much height do you have left when you use 5 ? |
19:45:50 | XavierGr | will your suggestion solve this? |
19:46:06 | t0mas | don't think so... the lcd still is setup in pixels... |
19:46:15 | tvelocity | what about my suggestion? |
19:46:15 | XavierGr | 28 pixels |
19:46:19 | t0mas | so in my way you can just paint your dashes a little faster :) |
19:46:26 | tvelocity | use *6, but every 3 blocks use *5 instead? |
19:46:30 | t0mas | 160x128 right? |
19:46:42 | t0mas | tvelocity: that would make the code more complicated... |
19:46:47 | XavierGr | well I could do tvelocity suggestion but I will have to rewrite all the code |
19:46:54 | tvelocity | indeed, but it would solve the problem...:P |
19:46:56 | t0mas | XavierGr: try with 5 and center it? |
19:47:10 | t0mas | and check if you can put some nice statistics here and there... |
19:47:18 | t0mas | to make it look like it's ment to be this way ;) |
19:47:29 | XavierGr | yeah like velocity m/s haha |
19:47:36 | t0mas | lol |
19:47:48 | t0mas | no.. but score? and running time or something would be nice? |
19:48:35 | tvelocity | a graphic of a snake would be w00t :P |
19:48:55 | t0mas | lol, that might be a good idea... |
19:49:47 | t0mas | 28 * 5 = 140, and 16 * 5 = 80 |
19:49:54 | t0mas | the screen is 160x128 |
19:50:24 | t0mas | 16 * 7 = 112 |
19:50:48 | t0mas | so we have left 8 pixels on top... 8 on bottom and 10 left and 10 right? |
19:51:00 | XavierGr | but then I will spoil the aspect ratio |
19:51:06 | t0mas | yes... |
19:51:09 | tvelocity | asymetrical blocks on a snake game would not be really intuitive |
19:51:19 | t0mas | ok, then 140x80 |
19:51:23 | zezayer | try it?? |
19:51:28 | t0mas | make a bar of 20 px on top... with the score |
19:51:37 | t0mas | can someone paint a snake for me? :) |
19:51:42 | t0mas | just bmp? |
19:52:15 | t0mas | 8 pixels left, 8 pixels right... 8 pixels bottom? and then 40 pixels score / image on top? |
19:52:23 | | Part Mumble |
19:52:39 | XavierGr | so you think *5 centered will be better? |
19:52:42 | t0mas | yes |
19:52:48 | t0mas | and then paint an image around it |
19:53:06 | XavierGr | or I could do *5 with various information on the side |
19:53:22 | XavierGr | (to avoid centering me lazy :P) |
19:53:35 | t0mas | no... center it... |
19:53:41 | t0mas | I like the image idea... |
19:54:49 | zezayer | what size snake image do u want? |
19:56:01 | t0mas | well... it has to be around the play field |
19:56:33 | t0mas | you have 10 pixels on the left... 10 on the right (10 + 10 + (28 * 5) = 160) |
19:56:59 | | Join courtc [0] (~courtc@adsl-154-39-238.asm.bellsouth.net) |
19:57:00 | XavierGr | yeah but t0mas now that I test it *5 is really small for the iriver |
19:57:12 | t0mas | screenshot? |
19:57:15 | XavierGr | wait |
19:57:31 | | Join Musicmad [0] (~Musicmad@port547.ds1-oebr.adsl.cybercity.dk) |
19:57:33 | t0mas | the old version was playable... to with some graphics... it shouldn't be a problem |
19:57:45 | t0mas | zezayer: and say 10 pixels on the bottom too? |
19:57:53 | | Join C-Keen [0] (~C-Keen@positive-it.de) |
19:58:02 | C-Keen | hi. |
19:58:21 | t0mas | and then keep a nice rectacle on top open for score info? |
19:58:29 | t0mas | (no problem to put that inside some image) |
19:58:44 | XavierGr | http://www.misticriver.net/photos/displayimage.php?album=lastup&cat=11302&pos=0 |
19:59:23 | XavierGr | what do you think? |
19:59:26 | C-Keen | after openning up my archos 6000 player for the first time my harddisk seems to only click when booting up. Is this an indicator for bad soldering or a dead disk? |
19:59:41 | t0mas | XavierGr: with some image and score info... I think it's good... |
19:59:51 | t0mas | but maybe try the 6 scale for vertical? |
19:59:57 | t0mas | test if it makes it unplayable? |
20:00 |
20:00:43 | t0mas | zezayer: do you think you can make some nice backgroundimage for that? |
20:01:03 | zezayer | will try, no promises |
20:01:20 | t0mas | no problem :) |
20:01:42 | zezayer | so for left and right 112*10 ? |
20:02:10 | t0mas | the image width should be 160 |
20:02:12 | t0mas | height 128 |
20:02:22 | t0mas | and you can use 10 px left and right.... |
20:02:36 | t0mas | and bottom 10 is ok too |
20:03:11 | t0mas | then you have 128 - 80 - 10 = 38 pixels left for the top bar... for some image... and maybe score info inside the image? |
20:03:32 | XavierGr | well we have 16*5=80 128-80=48 pixels vertical |
20:03:43 | CoCoLUS | has someone done some battery tests with the latest firmware? |
20:03:50 | t0mas | XavierGr: yes, 10 on bottom |
20:03:59 | t0mas | so 38 left for nice top image and score info |
20:04:03 | XavierGr | and 28*5=140 160-140=20pixels width |
20:04:04 | t0mas | CoCoLUS: no |
20:04:13 | t0mas | XavierGr: again, 10 - 10 |
20:04:24 | t0mas | hm.. better idea... |
20:04:38 | zezayer | so 10 * 128 for the sides and 10*160 for the bottom |
20:04:40 | t0mas | zezayer: the play field is 140x80 |
20:04:49 | t0mas | pixels |
20:04:54 | t0mas | and the screen is 160x128 |
20:05:06 | zezayer | ah k |
20:05:08 | t0mas | so just leave out a field somewhere... of 140x80 |
20:05:21 | t0mas | and maybe some place in the top for the text |
20:05:32 | XavierGr | in the center I suppose |
20:05:43 | t0mas | yes |
20:06:21 | XavierGr | thought looking at the previous picture I think that If we can make the gaps dissapear it would be better |
20:06:33 | XavierGr | and add the icon on the bootom of the screen |
20:06:52 | zezayer | shali wait then |
20:06:56 | zezayer | shal* |
20:08:16 | t0mas | hm... |
20:08:29 | t0mas | XavierGr: you would still have a weird walking snake... |
20:08:50 | CoCoLUS | hey it's a snake, they do walk in curves ;) |
20:08:50 | t0mas | because with the idea of tvelocity it will walk some parts faster than other... |
20:09:34 | XavierGr | yeah you are right :( |
20:09:48 | XavierGr | then I will try to center it |
20:14:53 | | Quit muesli- (Read error: 110 (Connection timed out)) |
20:15:13 | XavierGr | center it both vertical and horizontal? |
20:15:21 | niobos | HCl: are you on? |
20:15:47 | HCl | ohno! its me |
20:15:48 | HCl | yes o.o |
20:15:50 | HCl | but. |
20:15:51 | HCl | only just. |
20:15:53 | HCl | i just got home |
20:16:10 | HCl | sup? |
20:16:27 | niobos | the DB-sorting: can I use stricmp(), or could there be non-printable chars in the names? |
20:16:57 | HCl | doesn't stricmp do non printable chars as well? |
20:17:05 | niobos | definitely not \0 |
20:17:09 | HCl | yea, okay. |
20:17:18 | niobos | so jsut use stricmp then |
20:17:18 | niobos | k |
20:17:18 | HCl | well. you don't have to sort on \0 |
20:17:29 | HCl | also |
20:17:35 | HCl | there's a pretty neat tag library in c++ out there |
20:17:37 | XavierGr | t0mas:are you here? |
20:17:44 | HCl | might want to look it up, it should be a pretty nice backend |
20:17:48 | t0mas | sorry |
20:18:05 | t0mas | 3 channels screaming... and I'm trying to learn some management stuff... |
20:18:08 | t0mas | as I have a test tomorrow |
20:18:19 | XavierGr | I am sorry then |
20:18:24 | niobos | HCl: do you know the name? |
20:18:30 | t0mas | XavierGr: no problem, and yes |
20:18:37 | HCl | hold on, i'll look it up |
20:18:47 | t0mas | but wait for zezayer |
20:18:51 | XavierGr | Do you think that centering will change the orientation in archos targets? |
20:18:58 | t0mas | let him paint some background... and fit the board in there? |
20:19:04 | niobos | oh, btw: can anyone tell me how to make irssi BEEP when someone calls me? |
20:19:18 | t0mas | I think we'll have to do those things in #Ifdef's |
20:19:19 | XavierGr | we should implement a big ifdef code for the iriver |
20:19:21 | t0mas | for iriver only |
20:19:28 | t0mas | ok, we agree ;) |
20:19:31 | XavierGr | fine |
20:19:38 | | Join Tangleding [0] (~Tangledin@ARennes-252-1-49-110.w83-195.abo.wanadoo.fr) |
20:19:46 | Tangleding | :) |
20:19:48 | Tangleding | hello |
20:19:58 | HCl | niobos: http://developer.kde.org/~wheeler/taglib.html |
20:20:15 | Tangleding | Hi HCl |
20:20:17 | Tangleding | :) |
20:20:20 | HCl | hello :) |
20:20:36 | XavierGr | I will write it first for the iRiver and then i will adjust the ifdef's |
20:20:41 | XavierGr | hi Taang |
20:20:43 | Tangleding | hum anyone knows if now Slashey patch is comitted in CVS, |
20:20:48 | crwl | niobos, /set beep_msg_level hilight and then set your terminal to beep when it receives a beep signal |
20:20:48 | Tangleding | Hi XavierGR |
20:20:52 | Tangleding | :) |
20:21:08 | XavierGr | Not yet |
20:21:08 | t0mas | Tangleding: subscribe to the cvs mailinglist... |
20:21:09 | preglow | Tangleding: no, it might be commited later today |
20:21:10 | Tangleding | Want to know if i can edit the fornoobs sections |
20:21:12 | t0mas | or check the homepage |
20:21:17 | Tangleding | hum okay |
20:21:20 | niobos | thx crwl |
20:21:24 | Tangleding | so i guess i should wait |
20:21:26 | t0mas | then you'll be the first to know :) |
20:21:55 | Tangleding | I ccan add a usefull link for frenchies |
20:21:55 | XavierGr | Tangleding: But the snake plugin is commited! Yay! ;P |
20:22:02 | t0mas | haha |
20:22:08 | t0mas | and the dictionary fix too ;) |
20:22:17 | XavierGr | next is snake 2! |
20:22:22 | MoosCamaro | Hi Tang |
20:22:26 | Tangleding | Hi Moos |
20:22:27 | Tangleding | :) |
20:22:38 | MoosCamaro | ca va? |
20:22:44 | Tangleding | Ca va oui |
20:22:51 | Tangleding | oups sorry in private |
20:23:47 | niobos | could anyone say my name to test that beep-stuff? |
20:23:54 | XavierGr | niobos |
20:23:57 | niobos | thx |
20:24:01 | tvelocity | niobos, niobos niobos niobos niobos |
20:24:07 | XavierGr | lol |
20:24:08 | Tangleding | :D |
20:24:09 | niobos | ok, tvelocity you win |
20:24:10 | HCl | :P |
20:24:50 | tvelocity | rockbox shows average bitrate! pwnz! :D |
20:24:58 | | Nick Sucka`away is now known as Sucka (~NNSCRIPT@host81-156-209-158.range81-156.btcentralplus.com) |
20:25:46 | HCl | it does? |
20:26:06 | niobos | HCl: for the database: should all names end in \0? or do we save that 1 byte? |
20:26:08 | Tangleding | Rockbox does? |
20:26:09 | Tangleding | lol |
20:26:16 | Tangleding | (sorry really) |
20:26:24 | HCl | all names have a constant length.. |
20:26:45 | HCl | they *should* be 0 terminated, but i think with the current implementation its not required... |
20:26:47 | niobos | so don't all end in \0 |
20:26:52 | Tangleding | (was a jokes HCl) |
20:26:53 | HCl | either that or i forgot that in the java version |
20:26:54 | HCl | let me check |
20:27:17 | Tangleding | I've some troubles with java on my desktop |
20:27:18 | Tangleding | :( |
20:27:19 | HCl | nope. |
20:27:24 | HCl | thats a bug in my java implementation |
20:27:30 | HCl | all strings should be 0 terminated |
20:27:33 | HCl | let me fix this... |
20:27:53 | niobos | ok, so if the longest item is "test", there should be 5 bytes reserved for all |
20:28:00 | t0mas | zezayer? have some raw idea for us? |
20:28:06 | HCl | 5 bytes. plus 32 bit alignment |
20:28:08 | HCl | = 8 bytes |
20:28:14 | t0mas | so we know where to put the playfield? |
20:28:27 | HCl | all text is 32bit aligned |
20:28:28 | niobos | hmm... that alignment.... I forgot |
20:28:42 | HCl | i highly suggest you look at the sources of both the perl and java implementation |
20:28:47 | HCl | no need to reinvent the wheel |
20:28:47 | HCl | :) |
20:28:51 | niobos | I know |
20:29:02 | niobos | but I DO need to reinvent A LOT, since C != OO... |
20:29:05 | HCl | mhm. |
20:29:06 | HCl | :/ |
20:29:21 | * | HCl goes to fix his java implementation |
20:29:24 | niobos | but it's ok, I'm making progress |
20:29:36 | * | niobos is away: phone |
20:30:44 | XavierGr | t0mas:If I center it both horizontal and vertical it will be 10 - 10 horizontal size in eache side and 24 - 24 vertical size in each side |
20:31:02 | XavierGr | so zeyzayer did you got it right |
20:31:39 | t0mas | XavierGr: bot 10 - 10 and 38 - 10 looks nicer I think... |
20:31:47 | t0mas | as we van fill the 38 in top with score info? |
20:32:57 | XavierGr | so I will change y how much by 10? |
20:33:09 | t0mas | ? |
20:33:15 | t0mas | 38 - 24 = 14 |
20:33:28 | t0mas | so from the center position.. move it 14 px down |
20:33:49 | XavierGr | wait a sec... |
20:34:16 | XavierGr | we have 16*5=80 128-80=48 |
20:34:24 | XavierGr | 48 free pixels vertical |
20:34:28 | t0mas | yes |
20:34:37 | XavierGr | how many pixels you want down |
20:34:42 | t0mas | 38 |
20:34:52 | XavierGr | and 10 for the score? |
20:34:58 | t0mas | oh wait |
20:35:16 | XavierGr | with 24 it is centered vertically |
20:35:50 | t0mas | I'll paint it... |
20:35:54 | t0mas | as this gets confusing |
20:36:25 | tvelocity | shouldn't the alignment stuff be decided from whoever designs the bitmap? |
20:36:52 | tvelocity | so he has more freedom on what he can do |
20:36:54 | XavierGr | t0mas: I will run a test now from the sim wait |
20:37:16 | t0mas | tvelocity: yes, it should |
20:37:22 | t0mas | be we don't like waiting ;) |
20:37:30 | bill2or3 | is the iRiver H3xx remote worth getting? |
20:37:45 | tvelocity | lol :D |
20:37:51 | zezayer | guys ive got people round 4 dinner, so let me know the dimensions later. |
20:38:12 | | Nick zezayer is now known as zezayer_away (~chatzilla@82.110.136.210) |
20:38:30 | t0mas | ok |
20:38:43 | t0mas | XavierGr: margins: left, right, bottom: 10 |
20:38:44 | t0mas | top: 38 |
20:38:50 | Tangleding | the H3xx remote isn't supported well by H1xx |
20:39:04 | t0mas | so move the field right by 10px and down by 38px |
20:39:13 | Tangleding | will need a patch for Rbx as for iRiver fw |
20:39:16 | Tangleding | :/ |
20:39:41 | XavierGr | http://www.misticriver.net/photos/displayimage.php?album=lastup&cat=11302&pos=0 |
20:40:03 | XavierGr | here it is horizontally centered and vertical 10 pixels down |
20:40:40 | bill2or3 | tangled, I mean for an H340.. just wondering if I should get a remote at all. |
20:40:44 | XavierGr | so 38 down and closed right? |
20:40:50 | Tangleding | oh okay sorry |
20:40:53 | Tangleding | i misunderstood |
20:41:15 | XavierGr | t0mas got it |
20:41:26 | bill2or3 | do you have a remote? |
20:41:38 | Tangleding | Who? |
20:42:09 | HCl | doesn't the 3xx series come with a remote? |
20:42:48 | Tangleding | non LCD one HCl |
20:42:59 | HCl | ew. |
20:43:11 | t0mas | XavierGr: hm? |
20:43:31 | t0mas | XavierGr: that picture is ok... just move it a little down |
20:43:38 | t0mas | the horizontal centering is ok |
20:43:49 | | Join Mr_Wik [0] (~Mr_Wik@82.249.35.240) |
20:43:58 | Mr_Wik | hi all ! |
20:44:06 | niobos | hi |
20:44:26 | Tangleding | hi Wik |
20:44:28 | Tangleding | :) |
20:44:41 | Mr_Wik | hi Tang ! |
20:47:15 | zezayer_away | only back 4 a min, does it have to be black and white or can it be 4shades? |
20:47:56 | t0mas | black and white... |
20:48:03 | t0mas | grayscale sill isn't working... |
20:48:08 | zezayer_away | ok |
20:48:13 | Tangleding | what B&W? |
20:48:18 | Tangleding | logos? |
20:48:22 | t0mas | zezayer_away: have 10 seconds? |
20:48:30 | zezayer_away | yer. |
20:49:10 | t0mas | http://tomas.salfischberger.nl/dump/snake2-example.pn |
20:49:11 | t0mas | g |
20:49:14 | t0mas | http://tomas.salfischberger.nl/dump/snake2-example.png |
20:49:30 | t0mas | save that one... |
20:49:34 | t0mas | and use it as a template? |
20:49:52 | | Join Aison [0] (~hans@zux166-181.adsl.green.ch) |
20:49:54 | t0mas | the game part should be left as is... and you can paint everything else.. |
20:49:59 | zezayer_away | okee |
20:55:05 | | Join muesli- [0] (muesli_tv@Bbc8c.b.pppool.de) |
20:59:41 | XavierGr | yes but there is also some gap in the sideways not only the top |
20:59:43 | | Quit muesli- (Read error: 54 (Connection reset by peer)) |
21:00 |
21:00:00 | t0mas | XavierGr? |
21:00:04 | t0mas | explain? |
21:00:20 | XavierGr | 10 pixels gap left and and another 10 pixels right look here: |
21:00:30 | XavierGr | http://www.misticriver.net/photos/displayimage.php?album=lastup&cat=11302&pos=0 |
21:00:34 | Slasheri | i fixed the rockboy issue, it was kinda tricky.. |
21:00:41 | XavierGr | or do you think it's too small to draw anything? |
21:00:48 | Slasheri | i update the patch soon |
21:00:52 | XavierGr | good! |
21:00:59 | t0mas | http://tomas.salfischberger.nl/dump/snake2-example.png |
21:01:03 | t0mas | with color... |
21:01:23 | t0mas | the blue part can be painted |
21:01:29 | XavierGr | ok now it is nice |
21:01:33 | t0mas | (the other one wasn't that clear... I know :)) |
21:01:42 | XavierGr | got it zezayer_away? |
21:01:56 | t0mas | yes, he got it... but he's eating :) |
21:04:00 | t0mas | XavierGr: can you send me the code? :) |
21:04:41 | HCl | god, i love what the belgian minister of external affairs said about balkenende |
21:04:42 | HCl | xD |
21:05:08 | XavierGr | t0mas okay tomas wait a bit to fix the center code! |
21:05:17 | niobos | HCl: I know... I'm belgian |
21:05:29 | HCl | :D |
21:05:33 | HCl | he's so right XD |
21:05:35 | tvelocity | hm, just had a crash iwth RB... |
21:05:46 | niobos | I agree |
21:05:56 | t0mas | HCl: he looks like hp? that? |
21:05:59 | tvelocity | what did he say? |
21:06:02 | t0mas | then I must agree with you :) |
21:06:05 | niobos | t0mas: yep |
21:06:10 | t0mas | tvelocity: that he looked like harry potter |
21:06:27 | tvelocity | and who is he? any pics?:P |
21:06:37 | tvelocity | that balkenende guy |
21:06:47 | HCl | :P |
21:06:49 | HCl | hold on. |
21:07:06 | HCl | http://www.ad.nl/images/balkenende316,0.jpg |
21:07:06 | HCl | :P |
21:07:24 | tvelocity | lol! |
21:07:26 | HCl | why on earth did the dutch people vote for him anyways |
21:07:26 | HCl | XD |
21:07:34 | | Quit Tangleding ("Chatzilla 0.9.68a [Firefox 1.0.4/20050511]") |
21:07:34 | t0mas | jup... don't know |
21:07:35 | HCl | he's one of those extreme christian people. |
21:07:51 | t0mas | well... not that extreme... we have one even worse... |
21:07:55 | HCl | http://hmestrum.blogs.com/photos/uncategorized/balkenende.jpg |
21:07:57 | t0mas | christenunie... |
21:08:20 | HCl | :p |
21:08:21 | HCl | yes |
21:13:48 | XavierGr | t0mas: What sort of Info do you want to implement |
21:13:49 | XavierGr | ? |
21:13:57 | t0mas | score? |
21:14:01 | t0mas | and time since last killed? |
21:14:18 | XavierGr | time since last killed? |
21:14:47 | XavierGr | why do we need such a thing |
21:14:57 | XavierGr | or do you mean overall play game |
21:14:58 | t0mas | to fill space? ;) |
21:15:14 | t0mas | is there a score counter? |
21:15:23 | XavierGr | yes there is |
21:15:24 | t0mas | then that would be nice to put somewhere... |
21:15:33 | t0mas | check where it's updated? |
21:15:49 | t0mas | and put it on screen somewhere? :) |
21:15:50 | XavierGr | eh it would be good to write how many apples he has eat |
21:16:20 | XavierGr | To the bottom of the screen eh? |
21:16:58 | t0mas | why the bottom? |
21:17:05 | t0mas | we have 38 pixels in the top... |
21:17:08 | XavierGr | eh yes I am sorry |
21:17:14 | XavierGr | I got confused |
21:17:15 | t0mas | and zezayer_away will leave some space for it :) |
21:19:35 | *** | Saving seen data "./dancer.seen" |
21:21:46 | XavierGr | well I have to go for dinner now. I want to eat something. See you later. |
21:21:55 | | Nick XavierGr is now known as XavierGr|Dinner (~XavierGr@ppp28-adsl-190.ath.forthnet.gr) |
21:24:48 | | Join [solid] [0] (~solid@83.175.176.194) |
21:25:06 | t0mas | have a nice dinner |
21:26:10 | * | HCl grins. |
21:26:24 | * | HCl played hakkuhbar - gabbertje really loud cause one of his flatmates shaved his head ;p |
21:29:34 | | Join muesli- [0] (muesli_tv@hmln-d9b8ef45.pool.mediaWays.net) |
21:33:44 | preglow | never heard that |
21:34:15 | t0mas | don't do it then preglow :P |
21:34:33 | t0mas | it's the skinhead jogging suit jumping music here... |
21:36:05 | preglow | the 'gabber' part sounds so promising :P |
21:36:38 | tvelocity | hahah |
21:36:51 | tvelocity | i didn't know that gabba still exists:P |
21:37:27 | preglow | oh, it does |
21:39:58 | niobos | HCl: for the sorting: you sort the Objects |
21:40:41 | niobos | But I might as well sort the entries in the binary-file-format, since the name-field is always the first one |
21:40:46 | niobos | or shouldn't I? |
21:42:51 | HCl | what? |
21:43:08 | | Nick XavierGr|Dinner is now known as XavierGr (~XavierGr@ppp28-adsl-190.ath.forthnet.gr) |
21:43:12 | XavierGr | I am back |
21:43:15 | HCl | i sort the objects, and the sorting is defined by the objects compareTo methods |
21:43:26 | HCl | which i've defined as case insensitive name compare, for most of them |
21:43:36 | niobos | k, but since I don't know if the object is goint to be in memory or in file |
21:43:48 | niobos | it is easyer to first make them equal-length |
21:43:55 | niobos | then convert them to the file-format |
21:44:02 | niobos | and then sort them |
21:44:10 | HCl | sorting on disk? |
21:44:18 | niobos | not realy |
21:44:53 | niobos | sorting = switching pointers around |
21:45:01 | niobos | so it doesn't matter if they're on disk or ram |
21:45:21 | HCl | ? |
21:45:25 | HCl | temporary file? |
21:45:29 | niobos | yep |
21:45:34 | HCl | mk. |
21:45:47 | preglow | sorting exclusively on disk will be so very, very slow |
21:45:54 | niobos | I know |
21:46:11 | niobos | but sorting in RAM does require an amount of ram that the device might not have |
21:46:20 | preglow | is there no way to do it in pieces? |
21:46:22 | niobos | so I prefer slow sorting to no sorting at all |
21:46:31 | preglow | i think amiconn mentioned using a merge sort for something like that |
21:46:32 | | Quit muesli- (Read error: 113 (No route to host)) |
21:46:43 | HCl | yea, you can do it in pieces on disk. |
21:46:51 | niobos | merge-sort would do... |
21:46:53 | preglow | then that's what you'll do |
21:47:03 | preglow | you can't access the disk for every sort compare |
21:47:09 | preglow | that'll be prohibitively slow |
21:47:10 | XavierGr | hmm high score in snake2 is lost whenever you exit the plug-in |
21:47:12 | niobos | but my question is: should I (merge)sort on the objects? |
21:47:19 | niobos | or can I do it on the final file-format? |
21:47:28 | HCl | i don't think it should matter |
21:47:30 | preglow | *shrug* |
21:47:33 | HCl | as long as the result is sorted. |
21:47:34 | XavierGr | we should make it create a file to store high score |
21:47:49 | t0mas | preglow? |
21:47:52 | niobos | well, it doesn't matter, as long as the first field is the one you want to sort |
21:47:59 | niobos | (which is the case in V3) |
21:48:02 | t0mas | I'm working on a gui tool... rockbox for noobs |
21:48:06 | niobos | but I don't know if you plan to change it |
21:48:30 | t0mas | is it ok to copy your firmware patcher code? |
21:48:34 | HCl | i'd prefer if you wouldn't rely on it. |
21:48:41 | HCl | it would maintain code flexibility |
21:49:04 | HCl | undocumented requirements like that is what makes code unmaintainable |
21:49:17 | niobos | true, but doing merge-sort will be more difficult then: since I'd have to parse the file into fields, sort and put it back into file |
21:50:16 | niobos | Ok, I'll implement it in the "general" way |
21:51:03 | preglow | t0mas: of course it's ok |
22:00 |
22:07:08 | XavierGr | does anyone knows what exactly lcd_getstringsize does or where I can find information about it? |
22:07:28 | HCl | it finds the size of a string, in pixels. |
22:07:32 | HCl | with the current font |
22:08:07 | XavierGr | I thought so but what are the arguments that needs? |
22:08:17 | HCl | dunno |
22:09:41 | t0mas | XavierGr: see plugin.h |
22:10:02 | XavierGr | thanks |
22:10:07 | t0mas | int lcd_getstringsize (const unsigned char *str, int *w, int *h); |
22:10:32 | t0mas | so you have to pass it pointers to a string and two ints... and it will fill in the ints with the size of your string |
22:11:05 | XavierGr | why 2 ints? |
22:11:21 | XavierGr | the size needs 1 |
22:11:38 | t0mas | width and height |
22:11:43 | XavierGr | ahhh |
22:11:44 | t0mas | int width, height |
22:11:51 | t0mas | char *string = "something"; |
22:12:11 | t0mas | rb->lcd_getstringsize (string, &width, &height); |
22:12:15 | XavierGr | so I need to have declared 2 pointer ints before i call it right? |
22:12:20 | t0mas | that would set width and height to the size of string |
22:12:58 | t0mas | (so declare normal ints... not pointers) |
22:13:04 | | Join webguest98 [0] (~51e23707@labb.contactor.se) |
22:14:06 | XavierGr | that would be better if there was a function like width=getwstringsize("Hello"); |
22:17:11 | [solid] | XavierGr: you could write a macro, couln't you? |
22:22:20 | | Quit webguest98 ("CGI:IRC") |
22:22:46 | XavierGr | macro? |
22:22:54 | XavierGr | sorry newbe here |
22:23:57 | niobos | XavierGr: join the club... I'm in too |
22:24:43 | * | [solid] stfu's |
22:29:26 | | Quit preglow ("leaving") |
22:29:52 | t0mas | fuck... |
22:29:59 | t0mas | I was looking for preglow :( |
22:30:23 | HCl | m? |
22:30:46 | t0mas | in his firmware patches |
22:30:51 | t0mas | *patcher |
22:30:58 | t0mas | he uses a compiled in resource... |
22:31:05 | t0mas | but I need a crossplatform way to do that... |
22:31:11 | t0mas | and I fear it's not possible |
22:31:23 | t0mas | as the linux/windows/mac binary format differ to much... |
22:31:54 | niobos | Is there a prefered way to return errors? just integers? enum? #define? |
22:32:27 | t0mas | just ints afaik |
22:32:31 | t0mas | and some info to debugf |
22:32:42 | t0mas | DEBUGF("Error - Some text... \n"); |
22:32:45 | t0mas | return -1; |
22:33:07 | niobos | but just -1, not ERR_NO_MEM or ... |
22:33:26 | t0mas | in a plugin? |
22:33:34 | t0mas | then you can invent your own error codes... |
22:33:53 | t0mas | and there is a standard for returning error's from other system calls |
22:34:11 | niobos | no in the songDB |
22:34:11 | t0mas | like: lseek returns -3, then you return -30 + your own error code |
22:37:09 | niobos | I don't know where they plan on putting the song-db in; it might become a plugin |
22:37:24 | niobos | right now I'm just writing it to run on the PC |
22:37:36 | XavierGr | do you know a quick way to center a given string. I use the getstringsize to get the size in pixels and the type:rb->lcd_putsxy(LCD_WIDTH/2-stringwidth,y) |
22:41:48 | [solid] | um... wouldn't (LCD_WIDTH-stringwidth)/2 work? |
22:43:37 | | Join amiconn [0] (~jens@p54BD4AC8.dip.t-dialin.net) |
22:44:00 | XavierGr | [solid]: maybe I will try |
22:46:21 | XavierGr | amiconn: is putsxy has a concatenate character in order to type ("string" & variablestring) ? |
22:46:43 | amiconn | ??? |
22:47:00 | XavierGr | lets say that i want to print a string in the screen |
22:47:09 | XavierGr | I would use the putsxy function |
22:47:58 | XavierGr | but in my case I want to print a string that i will give inside the function (with quotes) and concatenate to that a string that comes from a variable |
22:48:45 | amiconn | Use snprintf() to compose your output string in a buffer, then use lcd_putsxy() |
22:49:17 | t0mas | and watch out for bufferoverflows |
22:49:22 | t0mas | amiconn? undefined reference to `iriver_decode(char*, char*, unsigned, striptype) |
22:49:26 | t0mas | when linking to iriver.o |
22:49:32 | t0mas | how's that possible? |
22:50:21 | amiconn | wut are you talking about?? |
22:50:28 | * | amiconn is puzzled |
22:50:45 | t0mas | I'm trying to make a tool... |
22:50:47 | t0mas | (gui) |
22:51:08 | t0mas | for windows people... to patch firmware (using preglows code) and to make a songDB and to convert dictionarys |
22:51:22 | t0mas | and this rbx-tool.cpp includes iriver.h |
22:51:24 | t0mas | then I do |
22:51:31 | t0mas | gcc -c -o iriver.o iriver.c |
22:51:33 | t0mas | and then: |
22:51:35 | t0mas | gcc rbx-tool.cpp iriver.o -o rbx-tool |
22:51:41 | t0mas | gives me that linker error :| |
22:51:49 | t0mas | "undefined reference to `iriver_decode(char*, char*, unsigned, striptype)" |
22:51:57 | amiconn | I have no idea |
22:52:21 | t0mas | shit :) |
22:52:39 | amiconn | Hmm, the second command you gave looks a bit odd to me |
22:52:50 | t0mas | why? |
22:53:14 | amiconn | It looks like you try to tell it to compile rbx-tool.cpp, and then link with iriver.o, but all in one line |
22:53:26 | amiconn | I'm not sure whether this is supposed to work |
22:53:41 | t0mas | for other thins it does... |
22:53:45 | t0mas | *things |
22:55:21 | t0mas | ld rbx-tool.o iriver.o -o rbx-tool |
22:55:23 | t0mas | "undefined reference to `iriver_decode(char*, char*, unsigned int, striptype)" |
22:55:24 | t0mas | again |
22:58:04 | XavierGr | what snprintf does exactly i am confused! |
22:58:34 | t0mas | int snprintf (char *buf, size_t size, const char *fmt, ...); |
22:58:41 | [solid] | XavierGr: the man page has great explanation of all printf functions |
22:58:47 | t0mas | you define a buffer... |
22:58:52 | t0mas | char buffer[32]; |
22:58:59 | t0mas | and a score: |
22:59:11 | t0mas | int score = 10; |
22:59:37 | t0mas | snprintf(buffer, sizeof(buffer), "Score: %d", score); |
22:59:48 | t0mas | and then buffer becomes Score: 10 |
22:59:51 | XavierGr | ahh great! |
23:00 |
23:00:00 | t0mas | not sure if score should be &score |
23:00:03 | t0mas | amiconn? |
23:00:11 | XavierGr | [solid]:where is the man page? |
23:00:19 | t0mas | docs/PLUGIN_API |
23:01:02 | XavierGr | I got only the API and many functions are missing from there |
23:01:19 | [solid] | XavierGr: oh, so i guess you're on windows... kinda sucks, eh? :) |
23:01:36 | t0mas | ghehe |
23:01:44 | [solid] | http://www.die.net/doc/linux/man/man3/snprintf.3.html |
23:01:59 | t0mas | XavierGr: that docs should be updated... I started something about it on the mailinglist... |
23:02:25 | XavierGr | [solid]: how did you guessed that? |
23:03:23 | t0mas | <XavierGr> [solid]:where is the man page? <−− from that I guess |
23:03:29 | [solid] | :) |
23:03:38 | t0mas | I can just type "man printf" and have docs about it :) |
23:03:41 | [solid] | years of experience :D |
23:03:41 | t0mas | on windows.. you can't |
23:03:56 | t0mas | even man snprintf :D |
23:04:01 | amiconn | t0mas: you can... if you have cygwin installed |
23:04:01 | t0mas | didn't know linux knew that one too |
23:04:12 | t0mas | amiconn: ok, but that's not really windows :) |
23:04:13 | [solid] | the printf manual is one of the best ever |
23:04:24 | [solid] | it's the one i learned most from ^^ |
23:04:41 | t0mas | [23:00:25] <t0mas> not sure if score should be &score |
23:04:41 | t0mas | [23:00:27] <t0mas> amiconn? |
23:04:42 | amiconn | t0mas: yeah, but it is _on_ windows |
23:04:53 | amiconn | No &here |
23:04:56 | Slasheri | patch updated, new version may work or not. Fixed rockboy issue, and seeking mp3 files works better |
23:04:56 | t0mas | ok |
23:05:03 | XavierGr | well I have installed the Rockbox Devkit but it seems that is not there |
23:05:05 | Slasheri | good night :) |
23:05:13 | XavierGr | Good Night |
23:05:26 | XavierGr | and sweet dreams Slasheri. ;P |
23:05:32 | Slasheri | ;) |
23:05:38 | t0mas | ah... great idea.. have a management test tomorrow... |
23:05:41 | amiconn | XavierGr: The devkit is a really cut down cygwin install. Many things are missing |
23:05:44 | t0mas | so I'm going to bed too :) |
23:05:51 | t0mas | good night |
23:05:59 | XavierGr | Good night to you too t0mas. |
23:06:08 | | Quit t0mas ("good luck XavierGr") |
23:06:34 | XavierGr | *sweet* as Eric says! |
23:06:37 | [solid] | Slasheri: thanks for all your work:D didn't have the chance to say that yet |
23:14:32 | Musicmad | XavierGr: have you got a make zip you could send me of the newest patch? |
23:19:37 | *** | Saving seen data "./dancer.seen" |
23:20:43 | XavierGr | no but I could make one |
23:22:28 | Musicmad | please :) |
23:24:41 | XavierGr | eh I forgot the url to slasheris site |
23:25:20 | | Join ashridah [0] (ashridah@220-253-121-134.VIC.netspace.net.au) |
23:26:31 | Ismo | http://ihme.org/~miipekk/rockbox/ |
23:26:34 | Ismo | there you go |
23:28:27 | [solid] | question... how do you devs feel about bugreports at the current state of progress? annoyed by them, don't really care or is it a good idea to post'em here? |
23:30:18 | | Quit Chamois ("Leaving") |
23:30:43 | | Join thomj [0] (~thomj@s183a.studby.ntnu.no) |
23:31:02 | thomj | [solid]: depends on what kind of bug we're talking about |
23:31:05 | | Nick thomj is now known as preglow (~thomj@s183a.studby.ntnu.no) |
23:38:33 | [solid] | for example 'went here and there, pressed that, did that and w00t! illinstr 0x666' |
23:38:44 | preglow | more like what part of rockbox it is about |
23:38:51 | [solid] | or 'did this and got a lockup' |
23:39:04 | preglow | if it's about something that's under heavy development, like audio playback, you can pretty much just mention it here |
23:39:09 | preglow | and we'll let you know if we're aware of it |
23:39:15 | [solid] | okay, cool |
23:40:42 | XavierGr | Musicmad: |
23:40:46 | [solid] | i've been checking out the daily builds, well, daily for some time so i thought i might be just a little useful |
23:40:49 | XavierGr | I am making it right now |
23:41:38 | [solid] | but on the other hand i guess you are pretty flooded by bug reports, including good ones and ones that are more feature requests or implications of not reading some faq or such |
23:41:48 | XavierGr | patched successfully now compiling |
23:41:52 | preglow | just mention it, now that you're on irc, it doesn't take much time |
23:42:41 | niobos | I need a 16-bit integer; how should I do that in C? |
23:42:50 | niobos | asume short = 16bit (BAD, I guess) |
23:42:57 | niobos | use char[2]? |
23:42:59 | [solid] | i'll try to to the best i can (not having m68k cross-compiling set up = relying on peoples builds) |
23:43:02 | niobos | use #define |
23:43:02 | amiconn | short is always 16 bit |
23:43:14 | niobos | amiconn: ALWAYS? on all platforms? |
23:43:42 | preglow | more or less |
23:43:45 | amiconn | Yes afaik (unlike long, which might be 64 bit on 64 bit platforms) |
23:44:01 | preglow | i really think someone should put c99 type in rockbox some place |
23:44:09 | preglow | unless they're internal to gcc already |
23:44:15 | amiconn | why? |
23:44:23 | preglow | isn't it self-explanatory? |
23:44:29 | niobos | isn't it "cleaner" to typedef unsigned short u16 in 1 central file? |
23:44:32 | preglow | if you KNOW you need 16 bits, why not make it verbatim? |
23:44:53 | Musicmad | XavierGr: sounds great! |
23:44:54 | amiconn | erm, because there is 'short'? |
23:45:14 | amiconn | I don't get why so many people want just another word for the same thing |
23:45:19 | preglow | yes, like the way you used 'int' before, you mean? |
23:45:29 | niobos | and if I need 32bit int? what should I use then? |
23:45:37 | amiconn | long |
23:45:44 | preglow | that didn't exactly save jyp any time |
23:45:47 | niobos | 23:43:46 < amiconn> Yes afaik (unlike long, which might be 64 bit on 64 bit platforms) |
23:46:23 | preglow | you don't know for certain short will always be 16 bits |
23:46:29 | amiconn | yes, but I don't think we'll see a 64 bit based player any time soon |
23:46:30 | preglow | it is very, very probable, yes |
23:46:35 | niobos | preglow: that's why I asked it |
23:46:47 | | Quit ashridah (Read error: 145 (Connection timed out)) |
23:46:52 | preglow | but it doesn't hurt to be explicit when you can be |
23:46:53 | niobos | no, but you might see a 64bit computer |
23:47:02 | niobos | and sinde the songDB might run on that computer... |
23:47:08 | niobos | s/sinde/since |
23:47:19 | preglow | shorts are 16 bits on 64 bit computers as well, afaik, but still, yeah |
23:47:31 | amiconn | preglow: The int usage was lazy coding (because rockbox platforms were all 32 bit before gmini) |
23:47:36 | amiconn | Still, lazy coding |
23:48:01 | XavierGr | amiconn:how can I reset my configuration file in rockbox? |
23:48:11 | amiconn | preglow: If long is 64 bit on 64 bit archs, how do you specify a 32 bit int? |
23:48:12 | preglow | yeah, but you get my point, there's absolutely nothing to be lost by being explicit, and there's a rare gain here and there |
23:48:18 | niobos | I still think it would be cleaner to have a config.h or something with 'typedef ... u32' |
23:48:27 | preglow | amiconn: with int ? |
23:48:44 | amiconn | No, int is _always_ native int format, |
23:48:46 | preglow | niobos: my point is that there already are types like that in c99, they're called int32_t, etc |
23:48:57 | amiconn | i.e. 16 bit on 16 bit archs, 32 bit on 32 bit archs etc |
23:49:10 | preglow | amiconn: no, int is 32 bit for x86-64 |
23:49:16 | niobos | so I might just use int32_t then... (didn't know they existed) |
23:49:17 | amiconn | Really? |
23:49:19 | preglow | amiconn: yes |
23:49:23 | preglow | amiconn: i am 100% certain |
23:49:58 | preglow | amiconn: it is something of an exception to the rule, i believe, goes to tell how little you can depend on these things |
23:50:22 | niobos | I'll use int32_t then |
23:50:30 | preglow | niobos: i don't think you can |
23:50:47 | amiconn | The problem with typedef is that every coder has its own opinion how these types should be called |
23:51:02 | XavierGr | does anyone know how can I reset my configurations in Rockbox? |
23:51:10 | amiconn | So imho it's better to completely stay away from typedef |
23:51:24 | preglow | amiconn: well, i don't see how that's a problem when they're internal to the compiler |
23:51:28 | preglow | amiconn: like the c99 types are |
23:51:44 | niobos | amiconn: ok, fine; but I want an 32bit-integer on RockBox, i386, x32, x64, ... hoe do I do that? |
23:52:46 | XavierGr | nevermind I found it |
23:53:05 | preglow | niobos: |
23:53:12 | preglow | niobos: int, point is, that'll break on powerpc, for example |
23:53:27 | amiconn | int won't work |
23:53:30 | amiconn | (gmini) |
23:53:35 | preglow | ahh, then you need long |
23:53:40 | preglow | and that'll break on x86_64 |
23:53:53 | niobos | int32_t looked good....... |
23:53:55 | preglow | OR, int32_t, which works everywhere |
23:54:00 | preglow | :-) |
23:54:19 | preglow | niobos: yes, but we'll need stdint.h for that, and rockbox hasn't got it |
23:54:25 | niobos | preglow: is int32_t signed or unsigned? or can I use unsigned int32_t (too lazy to check myself) |
23:54:34 | preglow | niobos: signed, uint32_t is unsigned |
23:54:44 | niobos | k thx |
23:54:45 | amiconn | niobos: Why do you need_exactly_ 32 bits? |
23:54:55 | niobos | http://www.rockbox.org/twiki/bin/view/Main/DatabaseV2#Data_Structures |
23:55:02 | amiconn | AH ok |
23:55:03 | niobos | because the offsets are EXAXTLY 32bit |
23:55:21 | niobos | (or 16 bits. depending) |
23:55:41 | amiconn | For the data structures, you can't simply use int or long or whatever |
23:55:53 | amiconn | ...since you also have to deal with endianess |
23:56:16 | niobos | I use macro's for that: BE32 will convert (or not) between BE and native-format |
23:56:31 | niobos | well, stole those from one or another CVS-file |
23:56:37 | | Join Manyoufear [0] (~dressedto@pcp04632374pcs.gambrl01.md.comcast.net) |
23:56:53 | niobos | I could use char[4]... |
23:56:57 | | Nick Manyoufear is now known as lunchbox (~dressedto@pcp04632374pcs.gambrl01.md.comcast.net) |
23:57:06 | amiconn | I think using these macros will work fine |
23:57:09 | amiconn | Hmm. |
23:57:21 | lunchbox | hello |
23:57:42 | niobos | thos macro's only work on integer-32's since they jump around with << and >> and & |
23:58:08 | amiconn | preglow: I don't know whether you tried compiling the simulator, but I'd guess some things won't work correctly on x86-64... |
23:58:52 | preglow | amiconn: now that you mention it... |
23:58:59 | preglow | amiconn: i remember giving up on making it work in this computer |