--- Log for 18.02.105 Server: zelazny.freenode.net Channel: #rockbox --- Nick: logbot Version: Dancer V4.16 Started: 14 days and 15 hours ago 00.00.00 # i just wondered how the sound progress for iriverbox is coming on 00.00.00 # yup 00.00.07 # oki.. great 00.00.14 # LinusN: where did you get that 54? 00.00.30 # dma0 is the 54th vector in system.c 00.00.32 # Digital007: we gave up because someone forgot to bring cookies 00.00.40 # what? 00.00.46 # why do u need cookiues for? 00.00.57 # to munch! 00.01.00 # Digital007: he was not answering your question with 54 =) 00.01.12 # i thhought u meant cookies as web code cookies 00.01.35 # what would http cookies have to do with embedded development/ 00.01.37 # ? 00.01.44 # omg 00.01.46 # would be great to have MP3Pro as a codec as well 00.02.35 # hehe 00.02.48 # gotta sleep, happy dma:ing 00.02.54 # MP3Pro sounds much better than WMA and almost as good as normal MP3 00.02.55 # whats the dma for? 00.03.02 # feeding the dac 00.03.05 # ok 00.03.09 Part LinusN 00.03.23 Join Nibbler [0] (~sven@port-195-158-163-29.dynamic.qsc.de) 00.03.37 # amiconn: any progress? 00.03.37 # hubble: did you understand where this 54 came from? I don't see anything like that in system.c 00.03.52 # HCl: Currently rewriting makefile... 00.03.54 # i thought the sound was 54% doen 00.03.55 # done 00.03.55 # okies.. 00.04.10 # what does flac require 64 bit numbers for? 32x32 muls? 00.04.34 # preglow: he mentioned something more in that forum thread, I closed that tab ;-) 00.05.16 # XShocK: if you count the index in irqname[] to DMA0 i guess that's 54 00.06.07 Quit skav (Read error: 54 (Connection reset by peer)) 00.06.14 # XShocK: but i'm not sure where DMA0 is defined 00.06.27 # ok. 00.06.43 # i guess this: default_interrupt (DMA0); /* DMA 0 */ 00.06.57 # and then i think you shoud put you own implementation 00.07.34 # we probably should use the emac for as much as possible anyway, so we might not be affected by all the 64 bit stuff 00.07.44 # XShocK: aa.. default_interrupt macro expands it into a function definition 00.08.07 Join fubar [0] (alan@moonfish.org.uk) 00.08.14 # XShocK: and then the .vectors array contains the function call 00.08.22 # s/call/pointer 00.09.03 # .vectors array? 00.09.26 # Bagder: i can't imagine why they'd need 64 bit variables other than to do 32x32 muls 00.09.26 # Bagder: and the emac does that for us 00.10.05 # hmmm 00.10.20 # he said this "FLAC supports up to 32-bits per sample losslessly which means there are a lot of 64-bit datapaths. and the seeking and metadata interfaces that work with 64-bit sample number are numerous." 00.10.35 Join mrmags [0] (~stryfe@ool-4351b9f0.dyn.optonline.net) 00.10.53 # support WMA Lossless!!!!!! 00.11.29 # why? 00.11.54 Quit Digital007 ("CGI:IRC (EOF)") 00.12.11 # oh, and get rockbox to make coffee!! ;p 00.12.15 Join Digital007 [0] (~acd5e828@labb.contactor.se) 00.12.18 # Bagder: the latter part shouldn't be that much of a problem, i think 00.12.23 # WMA Lossless - WAV quality at half the file size 00.12.34 # Digital007: Flac - WAV quality at half the file size 00.12.49 # Digital007: there's no way for us to support wma lossless, afaik ms has not released specs 00.13.02 # ok 00.13.38 # hrmf 00.16.43 # I know xine supports wma, but I'm not sure if it uses the win32 codec 00.17.51 # wma, yes, but does it support wma lossless? 00.18.08 # ffmpeg has a wma decoder, but there are quite a lot of wma versions around 00.21.04 # it probably uses the win32 codec anyway 00.21.20 # also, there's not that much lost in not supporting lossless formats 00.21.25 # people can always convert :) 00.21.33 # very true 00.22.11 # Aren't there licencing issues to worry about if ur writing software codecs? 00.22.36 # not worry, but we need to adhere 00.22.41 # ok 00.22.42 # ffmpeg has a fpoint wma decoder 00.22.54 # I've noticed that the battery meter always flashes empty even on a fully charged iRiver 00.23.18 # Bah, obviously I don't fully understand 'make' yet 00.23.32 # make[3]: *** No rule to make target `/home/Administrator/rb-gameboy/build/recorder/rockboy/cpu.o', n 00.23.32 # eeded by `/home/Administrator/rb-gameboy/build/recorder/rockboy/rockboy.elf'. Stop. 00.23.37 # Digital007: that's "covered" in the wiki 00.23.42 # k 00.24.00 # battery level detection isn't done yet 00.24.14 # The rule should be covered by including make.inc ... 00.25.16 Quit ashridah (Read error: 60 (Operation timed out)) 00.25.33 # check the depfile 00.26.00 # Hmm. It didn't build one. 00.26.03 # but I agree, it should be covered by that rule 00.26.36 # In fact, this should be in builddir/rockboy/ or may this not work, i.e. the dir not yet created (??) 00.27.22 # Hmm. Still not created... How is the depfile supposed to be created? 00.27.43 # SOURCES must contain all C sources 00.27.56 # C and asm actually 00.28.15 # This variable must be called exactly SOURCES ? 00.28.18 # yes 00.28.21 # make.inc uses that 00.28.30 # Ah, then this is the problem... 00.29.38 # the include line makes make check the depfile dependency and thus rebuild 00.29.58 # Now the depfile is there, but I still get the same error... 00.30.08 Quit muesli_- (Read error: 110 (Connection timed out)) 00.31.32 # Hmm, the depfile lists cpu.o in the wrong dir 00.32.01 # It wants it in builddir/ while I intend to have it in builddir/rockboy/ 00.32.09 # Is that possible? 00.32.40 # it is, the recorder/ and driver/ etc are treated that way 00.33.06 Quit methangas (" HydraIRC -> http://www.hydrairc.com <- IRC for those that like to be different") 00.33.29 # Yeah... but in these directories there is no separate Makefile. These are handled in the Makefile of the parent dir 00.33.48 # yes 00.33.55 # that's true 00.34.48 # ... its not very easily done atm, I think 00.34.57 Quit CoCoLUS () 00.36.30 # Hmm. if I redefine $(OBJDIR) within the Makefile, would this work? 00.37.01 # yes, that should work 00.37.54 # I've been planning to move all object files into subdirs better 00.38.19 # like you do now 00.39.02 # yea, every plugin should have its own subdir, really.. imho.. 00.39.06 # but ok, i'm gonna go sleep.. 00.39.32 # one subdir for each would be overkill 00.39.57 # having the ability to have one, yes 00.40.06 # yea, ok. 00.42.14 Join ashridah [0] (ashridah@220-253-118-175.VIC.netspace.net.au) 00.47.14 # * HCl suddenly discovers the existence of a rockbox forum 00.47.26 Join bagawk [0] (~Lee@bagawk.user) 00.47.45 # heh you don't want to go near those things :X 00.47.53 # Bagder: Redefining the variable doesn't work... 00.48.01 # noob support city :< 00.48.38 # lol 00.48.59 Quit DMJC ("Leaving") 00.49.38 # it's not that bad really 00.49.49 # just not of much use either 00.49.55 # I need to sleep. If you don't get any further amiconn, I'll help you sort that out tomorrow 00.50.02 # heh maybe not on rockbox ones... don't look in the ipl ones :< 00.50.28 # Bagder: Np, thanks for your help. Good night 00.50.46 # Well these are people who bought ipods, what did you expect? :) 00.53.08 Join linuxstb [0] (~linuxstb@dsl-212-23-31-215.zen.co.uk) 00.53.21 # are you saying all ipod users are thick? 00.53.56 # ipl? 00.54.02 # ipod linux... 00.54.07 # oh 00.54.10 # :p 00.54.12 # nope, but I'm rather guessing a lot are 00.54.18 # yeah well you'd be right :( 00.54.29 Quit bagawk ("Leaving") 00.55.50 # (about a lot.. not all heh) 00.56.51 *** Saving seen data "./dancer.seen" 00.57.56 # Well it was a generalization - those rarely fit everyone :) 00.58.20 Join skav [0] (skav@67-138-74-184.dsl1.merch.roc.ny.frontiernet.net) 00.58.28 # yea, you can't make a generalization without allowing room for exeptions 00.59.02 Join DrRick [0] (DrRick@81-86-80-158.dsl.pipex.com) 01.03.37 Join Quelsaruk [0] (~kvirc@80.103.134.240) 01.03.42 # i'm back 01.03.43 # :) 01.13.32 # ohno! :p 01.13.37 # hi :p 01.13.42 # :P 01.14.49 # * HCl goes to sleep :p 01.14.54 # nite 01.15.50 Quit DrRick () 01.22.22 Part mrmags 01.25.12 Quit lolo-laptop ("Client exiting") 01.25.52 Quit _aLF ("Leaving") 01.26.22 Join kramerica [0] (~lkd@hsdbsk142-165-191-185.sasknet.sk.ca) 01.29.38 Quit preglow ("off") 01.32.36 Quit Patr3ck (Read error: 54 (Connection reset by peer)) 01.36.59 Quit hubble () 01.39.21 # night! 01.39.41 Quit Quelsaruk ("KVIrc 3.0.1.99 'Realia'") 01.52.04 # yay! Makefile is working! 01.52.04 Quit kramerica (Read error: 104 (Connection reset by peer)) 01.57.51 # :) 01.57.57 # but i'm asleep *nods* 02.00.55 Quit Sucka ("( www.nnscript.de :: NoNameScript 3.81 :: www.XLhost.de )") 02.06.43 # * HCl tries amiconn 's lcd driver for iriver 02.06.51 # amiconn: do you have an iriver? 02.06.58 # amiconn: made any pics of rockboy on archos yet? 02.07.00 # nope 02.07.17 # I tried making pics, but my batteries died again :( 02.07.33 # Does the lcd driver work? 02.10.22 # Btw, I renamed iriver.c to sys_rockbox.c 02.10.25 # it works 02.10.33 # it doesn't seem to be that much faster 02.10.37 # still about 1 fps 02.10.48 # but every bit helps, really 02.10.51 Join muz [0] (~54091287@labb.contactor.se) 02.11.13 # hey is it possible to play files from the tag database right now? 02.11.47 Quit Digital007 ("CGI:IRC (Ping timeout)") 02.14.23 # muz: On ajb it is. 02.14.34 # archos jukebox? 02.14.45 # yup 02.14.55 # it says on the wiki that u can only browse 02.15.10 # Then the wiki is out of date 02.15.22 # oh right 02.15.46 # is there any disadvantage in using the tag database (ie longer boot time as on iriver firmwar) 02.16.39 # I didn't test much, because my mp3 collection is well organised, but from the few tests I did I had the impresion it is slightly slower than file browsing 02.17.19 # but it still does things like accelerated scrolling, so one can navigate through lists quickly 02.17.29 # right? 02.17.38 # yup 02.17.52 # thats so cool 02.19.11 # how is linus getting along with the clock speed of the iriver? 02.19.45 # I have no idea. 02.20.11 # anyway thanks im gonna head off now 02.20.28 Quit muz ("CGI:IRC") 02.20.36 # well. at least interrupts seem easyish on z80 02.20.59 # Did you have a look at the cpu core emu? 02.21.39 # well, yea, but thats mostly gobbilygook, with gotos and too many defines, so i'm reading technical data 02.21.44 # http://www.work.de/nocash/pandocs.htm#gameboytechnicaldata 02.21.57 # apparently, there are only 5 interrupts 02.22.06 # video, lcd stat thingy, timer, serial and joypad 02.22.52 # and with dynarec, the biggest trouble is timing the interrupts right, really 02.22.59 # cause you get blocks of code 02.23.10 # that can't really stop execution 02.23.14 # in the middle 02.23.17 # to allow for an interrupt 02.24.03 # Hmm. I don't really know about how dynarec is implemented, and don't have the time to also deal with that, at least not atm. 02.24.10 # its fine :) 02.24.17 # i'm mostly waiting for linus to get it to 140mhz 02.24.19 # see how it runs then 02.24.23 # then start on dynarec 02.24.40 # Dynarec might be helpful on archos.... but it's a different cpu 02.24.48 # yea. 02.24.56 # but dynarec is fairly easy to port 02.25.11 # you just get things like void Z80_ADD_OPCODE() { } 02.25.25 # and you have to fill in the proper m68k assembly for it 02.25.46 # i'm not really gonna do any advanced optimalization. 02.25.54 # just chaining them together should provide more than enough speed 02.26.08 # but ok 02.26.09 # sleeeep. 02.26.11 # darnit 02.26.12 # >.< 02.26.14 # The makefile seems to work properly now. The next things I'l do are 02.26.22 # i promised my gf i'd go to sleep early, and again i haven't yet :( 02.26.26 # mm? 02.26.34 Join lostlogic [0] (~lostlogic@node-4024215a.mdw.onnet.us.uu.net) 02.26.57 # heh gnuboy runs better on os x than the normal os x emulators 02.27.01 # well, that's without sound 02.27.01 # (1) Write that loader plugin to allow rockboy for archos to run on unmodified rockbox (32 KB 'normal' plugin ram) 02.27.10 # mhm 02.27.20 # (2) Trash those darn warnings 02.27.24 # heheh 02.27.25 # (3) Commit to cvs 02.27.28 # yay. 02.27.46 # ..but all that has to wait due to sleep needed. 02.28.10 # Nite. 02.28.14 # night 02.28.30 Part amiconn 02.28.31 Quit edx (Read error: 110 (Connection timed out)) 02.42.00 Quit toolmanwv (Read error: 54 (Connection reset by peer)) 02.42.18 Join toolmanwv [0] (~aaa@pool-70-18-122-238.buff.east.verizon.net) 02.49.32 Quit coob (Read error: 60 (Operation timed out)) 02.56.53 *** Saving seen data "./dancer.seen" 03.01.28 Quit toolmanwv ("—I-n-v-i-s-i-o-n— 2.0 Build 3515") 03.03.58 Join cYmen_ [0] (~cymen@nat-ph3-wh.rz.uni-karlsruhe.de) 03.05.08 Quit cYmen (Read error: 104 (Connection reset by peer)) 03.30.26 Quit skav () 03.36.46 Quit Aison (Read error: 104 (Connection reset by peer)) 04.05.42 Join QT_ [0] (as@area51.users.madwifi) 04.07.45 Join edx [0] (edx@p54879BA1.dip.t-dialin.net) 04.09.01 Quit QT (Read error: 60 (Operation timed out)) 04.15.59 Join mrmags [0] (~stryfe@ool-4351b9f0.dyn.optonline.net) 04.21.48 Quit cYmen_ ("leaving") 04.30.00 Part mrmags 04.46.40 Quit XShocK (" HydraIRC -> http://www.hydrairc.com <- Leading Edge IRC") 04.56.57 *** Saving seen data "./dancer.seen" 06.56.59 *** No seen item changed, no save performed. 07.23.33 Join pilled [0] (dearth@ip-130.net-82-216-140.issy4.rev.numericable.fr) 07.30.03 Quit mecraw () 07.39.35 Join kramerica [0] (~lkd@hsdbsk142-165-191-185.sasknet.sk.ca) 07.42.57 Quit pill (Read error: 110 (Connection timed out)) 07.42.58 Nick pilled is now known as pill (dearth@ip-130.net-82-216-140.issy4.rev.numericable.fr) 07.57.04 Join Patr3ck [0] (~patr3ck@pD9ECFF37.dip.t-dialin.net) 07.57.05 Quit kramerica (Read error: 104 (Connection reset by peer)) 08.02.22 Quit Hohoman ("( www.nnscript.de :: NoNameScript 3.81 :: www.XLhost.de )") 08.09.10 Join LinusN [0] (~linus@labb.contactor.se) 08.47.27 Quit einhirn ("Miranda IM! Smaller, Faster, Easier. http://miranda-im.org") 08.56.08 Quit Stryke` ("Friends don't let friends listen to Anti-Flag") 08.57.01 *** Saving seen data "./dancer.seen" 09.04.05 Join einhirn [0] (Miranda@bsod.rz.tu-clausthal.de) 09.04.38 # LinusN: no M3 yet? 09.04.48 # nope 09.05.16 # strange, its supposed to be in stores the 22nd 09.05.24 # yup 09.10.04 Nick Lynx_awy is now known as Lynx_ (HydraIRC@134.95.189.59) 09.13.01 # man, calculating all this clock timing is tedious... 09.13.44 # I figure that 09.15.48 # m3? you mean the other coldfire based mp3/ogg/flac player? 09.15.58 # no, its a swedish magazine 09.16.01 # paper version 09.16.06 # ah 09.16.28 # there just might be something about Rockbox is this upcoming issue 09.18.23 # :O 09.18.44 # nice 09.18.59 # is it in english or swedish? 09.19.04 # swedish 09.19.55 # we were interviewed for the article before xmas 09.20.27 # what did you say? 09.21.05 # we talked about Rockbox, what it is, how it started, what we do, who we are and what we are doing atm 09.21.11 # What if, the JoS players would use rockbox? ;) 09.21.46 # then of course, atm == late dec, which meant no working iRiver version 09.21.49 # JoS? 09.21.57 Join markun [0] (~markun@bastards.student.utwente.nl) 09.22.05 # good morning 09.22.16 # ashridah: "Jens of Sweden" I guess 09.22.26 # a brand of flash-based players 09.22.33 # ah 09.22.41 # I'm working on vorbis2wav but I have some problems.. 09.23.29 # markun: such as? 09.23.43 # I want to use the vorbisfile interface to decode a file, but when I link the plugin to libTremor I get this: 09.23.46 # /usr/home/karl/tmp/src/rockbox/rockbox-commit/apps/codecs/Tremor/vorbisfile.c:772: undefined reference to `read' 09.25.14 # Is there a way libTremor can read the file? 09.25.59 # you need to use the plugin api 09.27.43 # check Dave's plugins for the other codecs 09.28.02 # I got some inspiration from his code. 09.30.13 Quit ashridah (Nick collision from services.) 09.30.28 Join ashridah [0] (ashridah@220-253-120-220.VIC.netspace.net.au) 09.30.40 # @#$%^@$%^@!@#$%@%^#%^&* ! damned power just flickered :/ 09.34.16 Join bobTHC [0] (~foo@l03m-38-210.d1.club-internet.fr) 09.35.20 # morning all! 09.35.27 # morning 09.38.06 Quit ashridah ("ircII EPIC4-2.0 -- Are we there yet?") 09.38.29 Join ashridah [0] (ashridah@220-253-120-220.VIC.netspace.net.au) 09.38.43 # oops. 09.42.11 Join webguest34 [0] (~c31ce021@labb.contactor.se) 09.44.38 # I tried to pass the plugin_api struct to the codec so it can user rb->open, when I include in vorbisfile.c I get these errors: 09.44.49 # firmware/export/system.h:161: error: parse error before "unsigned" 09.45.19 # The plugins which also have compile fine. 09.55.47 # i don't think the codecs will have the same plugin api as the regular plugins 09.56.22 # no, but it's a start 09.56.27 # and i also don't think they should need file access 09.59.17 # I agree, but I just wanted to do a quick test to see if decoding worked. 10.00.28 # isn't that supposed to be done by the xxx2wav.rock plugins? 10.00.54 # * LinusN hasn't been involved in the codec stuff 10.01.27 # markun is working on such a xxx2wav.rock 10.01.34 # aha 10.01.35 # xxx being vorbis 10.01.35 # yes, I'm working on vorbis2wav.rock 10.05.50 # but then only the .rock file should include plugin.h, and the file i/o should be done there 10.06.47 # and then use memory buffers to pass data to and from the codec 10.07.14 # or am i out in the blue here? 10.07.35 # no, I agree with you 10.08.14 # * Bagder tries to build a h100 sim with gcc 3.3 10.08.19 # no work 10.08.25 # cc1: error: invalid parameter `large-function-insns' 10.08.56 # not sure what the best approach to this is 10.11.36 # no sim-specific makefile defines? 10.12.00 # I guess I could do that, but this isn't sim-specific 10.12.11 # this is gcc 3.3 vs 3.4 10.12.26 # no, someone might use a 3.3 cross compiler as well 10.12.48 # I'll do some magic in configure and set a variable 10.13.01 # gcc --version 10.13.05 # yes 10.14.00 Nick QT_ is now known as QT (as@area51.users.madwifi) 10.14.15 # configure is changed a lot in my new build stuff anyway 10.15.03 Join amiconn [0] (~jens@pD9E7F6F9.dip.t-dialin.net) 10.18.24 Quit ashridah ("Reconnecting") 10.18.40 Join ashridah [0] (ashridah@220-253-120-220.VIC.netspace.net.au) 10.19.35 # i am so over these power flickers 10.22.47 # amiconn: any success with your build? 10.26.29 # yup 10.26.39 # goodie 10.26.50 # I had to use 'override' to redefine the variable within the Makefile 10.27.43 Join Quelsaruk [0] (~kvirc@80.103.134.240) 10.27.48 # morning to all 10.28.24 # morning 10.30.23 Join [IDC]Dragon [0] (~d90a3255@labb.contactor.se) 10.31.54 # HCl: there? 10.32.21 # amiconn: aha 10.34.58 # <[IDC]Dragon> 2 days ago I saw the idea of treating the playback bitswap as a "codec", I like that 10.35.11 # i don't 10.35.15 # I like that 10.35.45 # it will cause more complex code and less battery life. for what? 10.35.46 # <[IDC]Dragon> makes the bitswap indepent of the buffer handling 10.36.07 # Zagor: one playing system regardless of target 10.36.12 # <[IDC]Dragon> and opens the door to "trick modes" 10.36.31 # I don't think it'll be more complex 10.36.49 # I think it'll in fact be simpler 10.36.52 # <[IDC]Dragon> I don't think it will affect battery life 10.37.07 # <[IDC]Dragon> we have to bitswap anyway 10.37.49 # splitting the buffer means we cannot load as big part of the file in ram 10.38.05 # <[IDC]Dragon> plus, with the new approach we bitswap on demand, just what's really played 10.38.33 # <[IDC]Dragon> the swapped buffer can be very small 10.38.44 # <[IDC]Dragon> just covering for our latencies 10.38.44 # Zagor: I think that will be neglectible. Imho the hw format playback buffer should be <64 KB 10.39.07 # I think the benefits outweighs the downsides 10.39.26 # the only benefit is aesthetical, as far as i see 10.39.31 # LinusN: Regarding your concern that searching for mp3 frame headers on archos will affect battery life because of cpu usage: If done efficiently, it should be possible to search the whole buffer in less than 2 secs cpu time 10.39.46 # Zagor: There are more benefits 10.40.09 # <[IDC]Dragon> we don't have to track headers all the time, only when pausing/skipping 10.40.36 # amiconn: such as? 10.41.05 Quit MO-Pantsu (Read error: 110 (Connection timed out)) 10.41.07 # grr, there's no 'if > variable' in makefiles 10.42.02 # Bagder: use the result from /bin/[ ? 10.42.05 # <[IDC]Dragon> 1) uniform architecture 2) no swap thread 3) probably simpler code 4) trick modes feasible (FF/FR, etc.) 10.42.06 # counting frames has the obvious benefit of displaying the correct playtime 10.42.17 # assuming you can test success/fail of a command 10.42.24 # "probably simpler code"? 10.42.46 # <[IDC]Dragon> I don't consider the current mpeg code simple 10.42.49 # ashridah: yes, possibly. I'll try... 10.42.51 # "no swap thread" no, because we call it "codec thread" instaed 10.43.06 # <[IDC]Dragon> but that's negotiable ;-) 10.43.26 Quit markun () 10.43.28 # <[IDC]Dragon> currently we have mpeg and swap thread 10.43.41 # LinusN: simpler since it would be one way of playing instead of two, as we would need this system anyway for non-MAS players 10.43.49 # [IDC]Dragon: ??? Iirc the mpeg thread also handles swapping 10.43.51 # what are these "trick modes"? 10.44.01 # <[IDC]Dragon> it does? sorry then 10.44.02 # FF/FR with sound 10.44.12 # why would that be easier with unswapped data? 10.44.40 # <[IDC]Dragon> there's no mixture of swapped and unswapped in the buffer 10.44.43 # No because of being unswapped, but because of having those 2 buffers 10.44.45 # Bagder: the iriver will not have swapping 10.44.55 # no, but codecs 10.45.00 # amiconn: why is that easier? 10.45.35 # <[IDC]Dragon> currently, trick modes would need to take swapped/unswapped into account 10.45.44 # My idea was to always give whole frames to the codec on all architectures, with 'codec' on archos being the swap 10.46.05 # So this allows for easy skipping of frames 10.46.16 # at least forward 10.46.19 # <[IDC]Dragon> I don't think we need to go that far 10.46.25 # backwards is another matter 10.46.30 # <[IDC]Dragon> but it's an option 10.46.48 # * LinusN is switching between 40MHz and 140MHz on his iriver 10.46.51 # Backwards would need a bit more cpu power, because in needs to search by brute force 10.47.08 # LinusN: cool! 10.47.33 # Forward can use the calculated frame length, as long as there is no sync error 10.47.51 # vbr? 10.47.59 # <[IDC]Dragon> for FF/FR in mp3, we need to modify the frames a bit, to strip the bit reservoir 10.48.55 # Zagor: What's the problem with vbr? You read the farme header, and calculate the frame length from the bitrate & padding etc. Then you know where the next frame should start 10.48.59 # <[IDC]Dragon> the Archos guys did that, with the SH 10.49.15 # <[IDC]Dragon> for the Oskar 10.49.40 # <[IDC]Dragon> (anchestor of the the JBR) 10.49.50 # [IDC]Dragon: ??? Modify the frame? I can't imagine how this is supposed to work... 10.49.51 # there were archoses before jbr? 10.50.09 # dwihno: oskar was a project for an electronics magazine iirc 10.50.32 # an mp3 player very similar to the jb 10.50.46 # <[IDC]Dragon> insert a dummy frame which contains just the bit reservoir, iirc 10.50.47 # or rather, jb is very similar to oskar 10.50.54 # aah 10.50.55 # okay 10.51.18 # <[IDC]Dragon> LinusN: almost, it appeared in a magazin (I have that issue), but existed before 10.51.38 # <[IDC]Dragon> do you want to hear the JBR history? 10.52.32 # <[IDC]Dragon> it started as a diploma thesis of 2 students at the TU Darmstadt 10.53.05 # <[IDC]Dragon> they build a box with a CD rom drive, the SH CPU and the MAS decoder 10.53.37 # [IDC]Dragon: How? Iiuc the bit reservoir is backward refence, i.e. a frame that needs some more bits can use unused bits from the previous frame. Such a frame cannot be decoded properly without that previous frame. 10.54.21 # <[IDC]Dragon> amiconn: the idea is to insert an extra frame to resolve this 10.54.38 # <[IDC]Dragon> then you have a clean cut point 10.55.10 # You would have to insert a frame containing the reservoir bits *before* the first frame. 10.55.34 # why is this even necessary? 10.55.50 # <[IDC]Dragon> because else it sound bad 10.55.58 # "bad"? 10.56.15 # when will it sound bad? 10.56.20 # <[IDC]Dragon> clicks from stream errors 10.56.29 # dropouts, yes 10.56.33 # [IDC]Dragon: The question is: where do you get the reservoir bits from? They are unknown as long as you don't have acces to the previous frame. 10.57.05 *** Saving seen data "./dancer.seen" 10.57.10 # <[IDC]Dragon> amiconn: yes, if you want to skip, you'll have to start paing attention to the bit reservoir 10.57.55 # Yeah.. I mean, how? 10.58.04 # Iirc mp3 is huffman coded... 10.58.29 # <[IDC]Dragon> I forgot the details, but the bit reservoir info is right after the header 10.59.03 # Plus, I don't think the audio glitches would decrease significantly with the bit reservoir correction. The stream ends don't match anyway 10.59.19 # <[IDC]Dragon> why not? 10.59.47 # <[IDC]Dragon> they used it even to accelerate/decelerate playback 10.59.55 # You play a chunk to the end, skip some frames, and start a new chunk. How are these 2 chunks supposed to match? 11.00.19 # <[IDC]Dragon> you make a new "seam" 11.00.24 # amiconn: the point is to make sure that the decoded frames are complete 11.00.38 # else the mas inserts silence for the duration of the frame 11.00.51 # <[IDC]Dragon> Archos used this even to modify playback speed 11.01.12 # <[IDC]Dragon> like, drop/duplicate every n frames 11.01.22 # LinusN: Yes, but the most would be that the first frame of the new chunk is silenced. Something I wouldn't really care... 11.01.39 # amiconn: for voice playback, you do 11.01.57 # <[IDC]Dragon> away now 11.02.25 # Nope. I don't mean to throw away the synchronisation to frame boundaries. 11.02.47 # Otherwise the mas needs to resync, which takes several frames 11.03.13 # I only mean to not care about the bit reservoir 11.03.34 # i know 11.04.24 # The current voice ui implementationdoes exactly that. 11.05.26 # NEWGCC=$(shell expr $(GCCNUM) ">" 303) 11.05.39 # then I can make a ifeq on that 11.05.50 # seems to work 11.07.55 Join ripnetuk [0] (~george@82-70-100-230.dsl.in-addr.zen.co.uk) 11.08.17 # new sim build patch uploaded 11.08.19 # <[IDC]Dragon> amiconn: and that's why we need to insert the silence clip, right? 11.11.13 # No, it isn't. We have to *append* the silence clip, because the mas obviously doesn't play a stream to its very end. 11.11.36 # When we switch clips (via shutup()), we do not insert it. 11.12.20 # <[IDC]Dragon> yes, ok 11.13.05 # <[IDC]Dragon> mabe one day I'll make a little test command line app to massage an mp3 stream 11.13.16 # <[IDC]Dragon> to test ff/fr 11.13.47 Join R3nTiL_ [0] (~zorroz@83.69.98.220) 11.13.47 # <[IDC]Dragon> with bit reservoir resolving 11.14.21 # The frame search would benefit from a fast memchr() (and something like memrchr() ) 11.14.36 # Shouldn't be hard with a little SH asm... 11.14.40 # <[IDC]Dragon> memrchr(), haha 11.15.02 # For the backwards search... 11.15.19 # <[IDC]Dragon> I thought you did memchr already, or was that strlen? 11.15.39 # I did strlen, but memchr() would be similar 11.16.01 # We don't use memchr() currently 11.16.14 # <[IDC]Dragon> ok 11.17.24 # <[IDC]Dragon> yesterday I've tries rockboy a bit 11.17.32 # <[IDC]Dragon> tried 11.17.52 # <[IDC]Dragon> cool, but sadly somehow hopeless 11.18.03 # ? 11.18.06 # <[IDC]Dragon> on the SH and the 112*64 11.18.21 # :) 11.18.34 # H 11.18.36 # ah 11.18.37 Quit Cassandra_ (Read error: 110 (Connection timed out)) 11.18.49 # <[IDC]Dragon> we'd need the pseudo-grayscale if we want to have chance to recognize anything 11.19.13 # hoh 11.19.15 # heh 11.19.15 Join Cassandra_ [0] (~christi@213.78.163.225) 11.19.17 # forget it 11.19.23 # and why? cause of the scaling? 11.19.26 # <[IDC]Dragon> like antialiasing compensating for a lack of resolution 11.19.55 # Now _that_ would be a slowdown... 11.20.05 # <[IDC]Dragon> sure 11.20.51 # <[IDC]Dragon> does a gameboy have a ROM, OS, or such? 11.20.51 Quit webguest34 ("CGI:IRC (EOF)") 11.20.52 # Perhaps we could halve the update frequency to 33 Hz when using only few grayscales 11.21.40 # <[IDC]Dragon> if yes, that could be mapped to native SH code 11.21.43 Join cYmen [0] (~cymen@nat-ph3-wh.rz.uni-karlsruhe.de) 11.22.02 # [IDC]Dragon: HCl is thinking about a dynarec implementation... 11.22.26 # <[IDC]Dragon> abybody remembering the N64 emu with it's high level emulation? 11.22.26 Join Sando [0] (kekekek@CPE-147-10-21-132.vic.bigpond.net.au) 11.22.35 # <[IDC]Dragon> what's dynarec? 11.22.43 # dynamic recompilation 11.22.58 # <[IDC]Dragon> sounds good 11.23.00 # [IDC]Dragon: ultrahle? 11.23.12 # I think it was the first 11.23.12 # <[IDC]Dragon> yes, that's the one 11.23.12 # if it can cache the recompiled stuff, that'd be awesome 11.23.47 # ashridah: Iiuc thats the point of dynarec. Without it, it wouldn't make sense... 11.23.59 # <[IDC]Dragon> and we need the wav codec, sigh 11.24.19 # <[IDC]Dragon> no progress yet 11.24.29 Quit Quelsaruk ("rebooting") 11.25.11 # I already had a look at the pattern update function. That's one of the parts available in asm for i386 11.25.33 # <[IDC]Dragon> pattern update? 11.25.41 # <[IDC]Dragon> is that the screen update? 11.25.50 # The C implementation is a real cpu sucker; 3 nested loops across a 4096x8x8 byte array... 11.25.54 # <[IDC]Dragon> or sprites? 11.26.20 # lcd.c: updatepatpix() 11.27.31 # no 11.27.33 # not ultrahle 11.27.39 # ultrahle is an entirely different concept 11.27.44 # than dynarec 11.27.44 # i thought hle was not dynarec - 11.28.03 # hle == catching api calls to nintendos library and re-implementing them (like wine) 11.28.12 # hle = recognising native library functions used to compile games and mapping them onto native library functions 11.28.48 # * HCl resumes sleeping, keeps getting nightmares u.u 11.28.51 Join Quelsaruk [0] (~kvirc@80.103.134.240) 11.28.55 # back 11.29.08 # i think it worked because nintendo had a standard dev library which almost all games linked into 11.29.26 # [IDC]Dragon: updatepatpix() should be easily made flying with SH1 asm... 11.29.45 # <[IDC]Dragon> is there a gameboy builtin library? 11.36.44 # lunch 11.36.59 # <[IDC]Dragon> what about an offline dynarec, convering the gamebay roms to something native? 11.37.10 # <[IDC]Dragon> converting 11.37.28 # * [IDC]Dragon is aware of his wild ideas 11.37.56 # <[IDC]Dragon> and wild spelling ;) 11.38.23 # That's a great idea! 11.38.43 # like rvf? a rgr? 11.39.43 # If it wasn't you who said it, I would say that person was bonkers :) 11.40.58 # [IDC]Dragon: Dynarec (or offline recompilation) will only speed up cpu emulation. Other parts need more speed too, as e.g. the mentioned updatepatpix() 11.41.27 # <[IDC]Dragon> I know, but the CPU emu doesn't come for free, too 11.41.49 # <[IDC]Dragon> I've seen that switch-case from hell 11.42.00 Join |Quelsar| [0] (~kvirc@80.103.134.240) 11.42.07 Quit Quelsaruk (Read error: 104 (Connection reset by peer)) 11.44.02 Quit R3nTiL_ () 11.44.12 Nick |Quelsar| is now known as quelsaruk (~kvirc@80.103.134.240) 11.48.47 # a switch for every instruction? 11.48.51 # (a case) 11.50.03 # re 11.50.05 # don't compilers attempt to reduce that to a simple indexed lookup table these days? 11.57.30 # <[IDC]Dragon> they try to make a jump table, yes 11.57.52 # <[IDC]Dragon> if the values are not too sparse 11.58.15 # easy on simple enums, but not when the case values are very large and very different 11.58.26 # like for opcides 11.58.29 # opcode 11.58.39 # <[IDC]Dragon> the opcode is 8 bit 11.58.47 # <[IDC]Dragon> so it could work out 11.59.53 # hmmm 12.01.01 # <[IDC]Dragon> it could even multiply the opcode with the worst-case op handler size, and do a staight jump 12.01.14 # <[IDC]Dragon> saving the table lookup 12.04.07 # mpa2wav.rock runs at 40% realtime in 140MHz :-( 12.04.28 # :-( I was expecting something like that. 12.04.43 # and crashes after a while 12.04.48 # What about FLAC? 12.05.01 # i have no flac files to try 12.05.23 # madplay -o wav:file.wav file.mp3 ; flac file.wav 12.05.53 # no madplay or flac here 12.06.29 # alt.binaries.mp3.lossless??? 12.07.21 # LinusN: is disk writing CPU intensive? 12.07.29 # not really 12.07.39 # Then this is bad news. 12.08.02 # yes it is, it means that we have to work a little on the optimizations 12.08.05 # wasn't there a guy who did a 68k asm port? 12.08.39 # there are quite a few optimizations to be done 12.09.06 # like putting the major number crunching code in internal ram 12.09.15 # using the EMAC 12.09.16 # etc 12.09.55 # still, i'd like it to be like 200% real time, at least 12.10.12 # yeah :( 12.10.29 # LinusN: If you're interested, I've uploaded a small (3.5MB) test flac file here: http://linuxstb.org/linus.zip 12.11.08 # do you know the stock firmware playback frequency? 12.13.21 # LinusN: hmmm, flac2wav just exits 12.13.47 # LinusN: Does your firmware have the increased stack size I added to CVS? 12.15.54 # i have the latest cvs 12.16.09 # maybe my inline commit yesterday broke it... 12.16.49 # No, I tried flac after your change (to see if the speed changed - it did't). 12.16.59 # :-) 12.17.10 # * LinusN did make clean;make 12.21.20 Join methangas [0] (methangas@0x50a43276.virnxx10.adsl-dhcp.tele.dk) 12.27.17 Join Aison [0] (~hans@zux166-181.adsl.green.ch) 12.27.36 # something is really odd with the flac decoder 12.28.53 # What do you mean? 12.29.34 # the speed calculations are wrong 12.29.42 # That's possible. 12.29.54 # But is it working? 12.30.23 # yes, it works when i play the file, but not with "open with" 12.30.43 # "samples decoded" stops at 9216 12.30.57 # "frames decoded" keeps running 12.31.59 # Is that when you do "open with" ? 12.32.21 Join webguest01 [0] (~c31ce021@labb.contactor.se) 12.32.31 # it just exits when i try open with 12.32.47 # Yes, I've just tried open with, and it exits immediately. 12.33.10 # However, just playing the file seems to work fine (correct speed displayed) 12.33.33 # what's the speed for you? 12.33.42 # About 8% 12.34.03 # 27% in 40MHz 12.34.53 # No, the speed seems to be dropping the more it decodes - now about 7.13% 12.35.24 # now a little higher... 12.35.48 # really weird 12.35.49 Quit xen` (Read error: 60 (Operation timed out)) 12.36.40 # It's now stabilised around 7.36% 12.38.00 Join Sucka [0] (~NNSCRIPT@host81-156-215-25.range81-156.btcentralplus.com) 12.41.44 # I'm trying to build the bootloader, and have a error in "backlight.c". -> unrecognized architecture specification '5249'. what's wrong? 12.43.19 # you have the wrong binutils 12.43.38 # ok, thanks, I'll check my installation 12.43.52 # did you build it yourself? 12.43.58 # yes 12.45.28 # ok 12.47.37 # hmm, flac2wav doesn't behave in full speed 12.47.47 # i wonder if my clock settings are too aggressive... 12.50.24 # have you measured the speed the coldfire runs at with the original firmware? maybe using the bdm? 12.50.32 # nope 12.50.58 # is is not possible to get the pll settings from that? 12.51.15 # why would i want that? 12.51.29 # i thought you said it was tricky to get them right 12.51.43 # (maybe tricky == fun) 12.52.12 # pll is easy 12.52.21 Join jyp [0] (~jp@184-229.244.81.adsl.skynet.be) 12.52.36 # adjusting wait states is the hard part 12.53.07 # is that basically a measure of how much 'dummy' time is needed for the rest of the circuit to catch up with the faster processor? 12.53.29 # sort of 12.57.03 # I've fixed the flac2wav "open with" problem - I've added a call to rb->button_clear_queue() before the main decoding loop starts. 12.57.06 *** Saving seen data "./dancer.seen" 12.58.04 # and I fixed the gcc option when building flac with older gccs 12.59.09 # I'm considering committing this build stuff without having it confirmed from any cygwin user 12.59.15 # and work out the flaws post-commit 13.00.02 # Bagder: I really wanted to test yday... 13.00.12 # If it works for the automated builds, then why not? 13.01.06 # linuxstb: The automated build all run on linux. 13.01.53 # and I haven't tested *all* those combos 13.02.59 Join DeadMan [0] (Rori@deadman3000.plus.com) 13.05.33 # LinusN: If you want to try a52towav, I've copied a short (1.3MB) AC-3 test file here: http://linuxstb.org/linus2.zip 13.11.20 # gah. 13.11.41 # i just accidentally nuked my firmware directory thinking it was my firmware's build directory :) 13.11.57 # hehe 13.12.40 Join Patr3ck_ [0] (~patr3ck@pD9ECFD04.dip.t-dialin.net) 13.21.46 Quit ripnetuk ("Leaving") 13.24.29 Join pappou [0] (~Bjoern@p50804F7D.dip0.t-ipconnect.de) 13.29.01 Quit Patr3ck (Read error: 110 (Connection timed out)) 13.29.34 Part pappou 13.29.43 # hrm. 13.29.54 # shouldn't make zip depend on having an up to date rockbox.iriver ? 13.30.10 # (which, in turn, depends on having up to date .o/.a files or whatever 13.30.37 # it would need to depend on all files in the zip file 13.30.57 # well, make expansions can handle that. 13.31.17 # no 13.31.31 # or rather, yes if you write additional rules 13.31.57 # well, at least, if make zip depended on the default make rule, then the point would be moot 13.32.00 # personally, I don't find that important 13.32.11 # well, no. it's only one extra command 13.32.23 # so yeah, its not overly important 13.32.55 # there we go 13.33.00 # add 'all' after zip: 13.33.04 # and it builds all before zip 13.33.33 # that's a fair addition, yes 13.34.11 # then, if i touch snow.c 13.34.17 # and run make zip 13.34.27 # it rebuilds snow.c. if i touch something in the lib, it rebuilds the lib, then relinks everything against it 13.34.39 # yes, but if you update a font, it doesn't work 13.34.43 # hrm. 13.35.05 # that's not impossible to fix tho 13.35.15 # nothing is impossible ;) 13.35.39 # if you add the fonts to an extra export using a make wildcard, then have make zip depend on them too. 13.36.15 # hang on. aren't the fonts solely the domain of buildzip.pl? 13.36.40 # yeah. zip just needs to depend on those files. then make will know if they get modified 13.36.55 # (although it tends to run commands it doesn't understand anyway) 13.37.32 # yes, the zip file should depend on all the bdf files 13.37.38 # I guess 13.38.41 # hrm. 13.38.46 # i'm not so sure it'll matter 13.38.56 # make'll run the command to rebuild the zipfile no matter what anyway 13.39.06 # so it should pick them up any time make zip gets run 13.39.39 # (since make doesn't know how to tell if rockbox.zip is the file that needs to be up to date for it to not do anything) 13.41.24 Join DrRick [0] (DrRick@81-86-81-232.dsl.pipex.com) 13.44.58 # darn, broke my build... no commit yet 13.46.37 Quit lostlogic (Remote closed the connection) 13.47.03 Join lostlogic [0] (~lostlogic@node-4024215a.mdw.onnet.us.uu.net) 13.50.06 # Zagor: you should fix the syntax colouring when browsing cvs files 13.52.28 # LinusN: is the -g option wanted for iRiver builds? 13.52.35 # I noticed it gets set by configure 13.52.51 # for gcc 13.54.17 # Bagder: it really doesn't matter much, but i'd like it that way for the time being 13.54.26 # makes it easier for me 13.54.29 # ok 13.55.10 # looks like i have to measure the ata timing with my logic analyzer 14.04.28 # /usr/local/m68k/lib/gcc/m68k-elf/3.4.3/../../../../m68k-elf/bin/ld: cannot find crt0.o 14.04.33 # is certainly annoying 14.05.49 Join CoCoLUS [0] (~coco@h081217139221.dyn.cm.kabsi.at) 14.05.56 # mornin 14.07.08 # after setting a lot more conservative ATA timing settings, the flac decoder finally works in 140MHz 14.07.24 # * Bagder scratches his head 14.07.47 # :)) 14.08.12 # real time? 14.08.14 Quit jyp ("poof!") 14.08.23 Quit einhirn (Read error: 104 (Connection reset by peer)) 14.09.09 # Bagder: I wonder about the odd path specification to 'lcd'. Why does it descend first, the trace back up? (../../../../) 14.09.19 # Erm, I mean 'ld' 14.09.30 Quit lostlogic ("Going to the moon") 14.09.48 # well, it does that 14.09.53 # LinusN:: at what speed? 14.09.53 # ;-) 14.09.58 # it does the same on sh etc 14.10.05 # 93% something 14.10.33 # :( 14.10.51 # needs tweaking to get realtime then 14.11.29 # I think that looking at the int64 usage of FLAC will get us an easy improvement. I'll try and look into that. I'll leave libmad to others. 14.13.31 # libmad is what I am waiting on anyhow 14.13.40 # MP3 is my most used format 14.14.03 # hmm, ata access is still shaky in 140MHz 14.14.24 # crashing out? 14.15.12 # looks like read errors 14.15.38 # wtf 14.15.45 # just got a server error out of google! 14.15.48 # my world's come to an end 14.16.27 # LinusN: Does the iRiver have a hd activity led? 14.16.34 # amiconn: yeah 14.17.14 # multisector reads fail 14.17.44 # I wonder whether there'll be rld on iRiver then... 14.18.09 # rld... red light death? 14.18.49 # red lead death, an (in)famous problem on archos with certain harddsik brands 14.19.00 # ..namely the Hitach DK23DA.. series 14.19.12 # s/lead/led/ 14.21.39 # diffing two diffs is tricky stuff :-) 14.21.58 # the iriver hardware is neat, but they made a huge mistake when they didn't connect the IORDY signal 14.26.53 # blah, had to revert back to an older patch to get it working again 14.27.02 # I'll commit this and continue from here 14.27.32 # or does anyone object? 14.27.44 # it may be some shaky builds 14.37.33 Join Lynx0 [0] (HydraIRC@134.95.189.59) 14.37.46 # LinusN: odd. can you tell if it was due to space constraints or just laziness? 14.38.28 # ashridah: what? 14.38.38 # IORDY 14.38.43 # regarding optimizing the codecs, is it possible to profile the libraries to find the places were optimizing would have greatest effect? 14.38.52 # ashridah: i have no idea 14.39.13 # Patr3ck_: sure, using timers 14.41.15 # timers would have to be added to the codecs library code? 14.41.28 Quit Lynx_ (Nick collision from services.) 14.41.43 Nick Lynx0 is now known as Lynx_ (HydraIRC@134.95.189.59) 14.41.46 # yeah, instrument the code with checkpoints, storing timestamps 14.42.14 # Patr3ck_: sadly, gprof doesn't exist for the target platform :) 14.42.25 # Would profiling on the linux or win32 plattform using existing tools help? 14.42.35 # not really 14.42.47 # Patr3ck_: i doubt it, since the code generated will be wildly different 14.42.56 # I see, too bad :-( 14.43.15 Join ripnetuk [0] (~george@82-70-100-230.dsl.in-addr.zen.co.uk) 14.43.38 # there is a law that 99% of the time is spent in 1% of the code and its never the 1% you expected :) 14.43.50 # exactly :-) 14.46.03 # ok, stand by for impact, commit coming up 14.46.41 # If timers would be added, where should the results be shown? A log file? 14.47.01 # i would say build it in memory - we dont want to affect the results by wroiting to disk 14.47.35 # After processing has finished, write it to a log file? 14.47.36 # imho you need to build a tree of timings, like task a takes 10 ticks, and task a consists of task a1 and task a2 which take 1 and 9 ticks (etc) until you find the slow bit 14.47.48 # thats how I do it on Windows 14.48.14 # top down aproach... 14.48.30 # i then wrote a util to show it graphically - makes it real easy to see where the time is going 14.49.17 # and easier to demonstrate to boss :) 14.49.43 # He gives you time to optimize? Lucky you ;-) 14.49.57 # only when the customers are jumping up and down 14.50.04 # :-) 14.50.10 Join einhirn [0] (Miranda@carlsberg.heim2.tu-clausthal.de) 14.50.20 # what is Badger committing? 14.50.36 # sorry, Bagder 14.50.47 # Not sure how useful this information is, but if you encode a FLAC file with the "--l 0" option (disabling the "linear predictive coding"), then you get a slightly larger filesize, but a quick test showed that 1000000 samples encoded with -l 0 took 237 seconds, compared with 286 seconds normally (almost a 20% increase in speed) 14.50.47 Join lolo-laptop [0] (~lostlogic@68.251.84.226) 14.52.11 # ripnetuk: build system fix 14.52.33 # well, fixES actually 14.53.29 # now the sims are built more similar to the targets 14.53.33 # linuxstb: that sounds about right. given that FLAC can't vary the content of the compressed audio, it stands to reason that it'd result in size VS time optimisation options 14.53.58 # it's along the lines of multi-pass video encoding 14.54.12 # cool... this whole c build stuff seems very primitive to me (coming from compilers that have projects that handle all that) 14.54.29 # bah 14.54.31 # aka. I dont understand build files very well :) 14.54.41 # those things never work 14.54.44 # for things like this 14.55.26 # ripnetuk: you can get IDE's that'll build configure/makefiles for you under unixalikes. but that more or less commits you to using their version of the horror that is autoconf/automake :) 14.55.57 # yes 14.56.18 # im sure its my lack of understanding thats putting meoff 14.57.09 *** Saving seen data "./dancer.seen" 14.57.12 # if you just think for a while how you'd do the build, for linux and cygwin and multiple targets 14.57.17 # in my case it's entirely likely that it'd be better than MY versions of the config of the horror that is autoconf/automake 14.58.11 # thats right 15.00.38 # actually, autoconf/automake wouldn't help us very much 15.08.13 Quit webguest01 ("CGI:IRC") 15.13.23 # the build takes a long time now 15.14.08 # 14 minutes now 15.17.28 # Bagder: I think I've got your first bug report. there is a CODECLIBS variable defined in apps/plugins/Makefile, but you are not using it for the X11 sim build. So the ???2wav plugins aren't being linked against the codec libs 15.17.51 # ok 15.17.54 # Bagder: red player sim build 15.18.03 # yes, taking that one first 15.20.37 # quite a few warnings too, but they're not as harmful 15.22.27 # linuxstb: you fix that? 15.23.30 # Bagder: I'm still looking at it. The obvioius fix didn't seem to work 15.24.30 # remember to re-configure 15.24.46 # (not directed to anyone specific but to everyone) 15.25.55 # Bagder: Your new make system changes a lot. I hope I'll get my rockboy makefile working with that :-/ 15.26.33 # well, I think it is an improvement 15.26.51 # but of course it causes troubles to those who have local changes 15.27.09 # I have, in apps/plugins/Makefile :-( 15.29.10 # I also have a pending fix for putting object files in a dir tree as in the source dirs 15.29.48 # How did you do that? 15.29.59 # magic ;-) 15.30.07 # make.inc expects OBDIR, so I used the following construct: 15.30.18 # I modified make.inc too 15.30.41 # (example: rockboy) 15.30.42 # override OBJDIR := $(OBJDIR)/rockboy 15.30.43 # PARENTDIR = $(dir $(OBJDIR)) 15.31.20 # Then I can use PARENTDIR to access stuff above. This is slightly ugly, because PARENTDIR keeps the trailing slash 15.31.30 # I think I'll use dir=$(strip, $(ROOTDIR),,$@) 15.31.40 # Bagder: I can't get my *2wav.rock files to compiler properly on the X11 sim. Adding $(CODECLIBS) to the X11 part of apps/plugins/Makefile doesn't seem to make a difference. The .rockx still don't appear to contain the library code. I then get an "invalid entry point" when trying to run them. All the other plugins work. 15.32.03 # ok, I'll check too 15.32.34 # Some of the warnings look like they might cause problems 15.37.07 # amiconn: any particular you think of? 15.37.57 Join zioben [0] (~93a202de@labb.contactor.se) 15.38.12 # since the sims now build with the same -I setup as the targets, many standard include files are "shadowed" by the Rockbox versions 15.38.52 # common/timefuncs.c:81: warning: return makes pointer from integer without a cast 15.39.19 # that's just due to lack of prototype 15.40.27 # I'll fix 15.41.58 Join jyp [0] (~jp@184-229.244.81.adsl.skynet.be) 15.42.42 # Bagder: Did you include the cygwin LITTLE_ENDIAN workaround in a more central place? 15.42.50 # no 15.42.56 Join R3nTiL [0] (~zorroz@83.69.98.230) 15.43.02 Part LinusN 15.45.06 # Bagder: Doing that might be quite useful. Rockboy definitely needs endian info. 15.45.48 # it should probably be put in some header file like system.h or so 15.45.50 # or cpu.h 15.46.27 # Hmm. The fix only applies to the simulators. I think a suitable place would be config.h 15.47.03 # my thinking was that including "cpu.h" should get you info about the cpu 15.47.10 # including endianess 15.47.55 # * jyp seconds 15.47.56 # Theoretically yes, but so far cpu.h only includes info about target cpus 15.48.55 # well, if you want to write code that does it right, for both sim and targets, wouldn't it still make sense? 15.49.18 # then again, for cpu.h to do right, you need to include config.h as well 15.49.20 # ;-) 15.49.24 # Changing that will certainly break a number of places. Plus, currently we define id numbers per cpu. 15.49.50 # why would it break anything? you'd only add a definition, right? 15.50.03 # How could that be done for the simulators? We cannot know in advance, the sims may run on virtually any cpu 15.50.36 # so let the configure figure it out 15.50.53 # Hi! I am newbie to this IRC. A friend of mine tells me that HCL (if i remember right) realized a Gameboy Emulator. It is right? 15.51.10 # zioben: he works on that, yes 15.51.58 # Right!But i heard it is slow 15.52.13 # it is not complete 15.52.16 # nor is Rockbox 15.54.13 # Bagder: Even if configure manages to find the cpu info, this wouldn't help much. As we don't know in advance whatever cpu we will run on, how could we set conditionals depending on it? 15.54.21 # If it can be useful at http://www.arrakis.es/~joanant/ there is a assembly source code of vary emulators (master system, gameboy, MSX) realized for Amiga which uses the same processor family (Rockbox uses coldfire isn't it?)... 15.54.36 # amiconn: then I'm lost. What is the problem? 15.54.52 # zioben: it might be useful, what're the licensing terms? do you know? 15.55.13 # Regarding endianness, on Linux (and maybe elsewhere) there's /usr/include/endian.h which is part of the GNU C Library. 15.55.59 # linuxstb: cygwin is the problem. it doesn't define it. 15.56.10 # But cygwin only runs on Intel. 15.56.28 # true 15.56.45 # Originally they are shareware, but two years go became freeware and source code should be free... on the web page there is the email of the author 15.57.47 # zioben: the problem is these are massive amounts of amiga-specific assembly code. not very fun porting to a new system. 15.58.07 # hmmm. 15.58.16 # yea. 15.59.09 # Bagder, amiconn; you could go the autoconf way 15.59.31 # linuxstb: I just checked, cygwin also provides that file (only it is /usr/include/machine/endian.h), but afaics LITTLE_ENDIAN and BIG_ENDIAN as defined there are different from the usage I know. 15.59.31 # you mean for endian? 16.00.00 # heh. 16.00.22 # unfortunately, that sourcecode is horrid - one big assembly file thats barely readable with no comments 16.00.29 # It always defines both. BIG_ENDIAN = 4321 and LITTLE_ENDIAN = 1234. Then it sets BYTE_ORDER according to the machine 16.00.31 # Why don't we just have a simple C program that is compiled and run as part of configure? i.e. x=0x12345678 and see what the memory contains? 16.00.37 # yup, I mean running a little testing program at configure time, that sets a conditional 16.03.38 # linuxstb: we can't run the code. it's cross-compiled... 16.04.04 # annoying that the top hits for "z80 dynarec" is rockbox irc log files ;/ 16.04.13 # ... for the sim targets 16.04.34 # Oh! i thinked it was a good idea... 16.04.38 # Zagor: I thought the only problem was the sims - we know the endianness of the targets 16.05.48 # Question, is there standalone program to test usb somewhere? 16.06.03 # cant it just be a new configure option? like we have debug, target, sim, couldt we just have sim (LE) and sim (BE)? 16.06.38 # linuxstb: Yes. The problem first occured with Zagor's id3 browser, which also needs to know endianess. Zagor uses a simple check to define a byte swap macro depending on LITTLE_ENDIAN being defined 16.06.44 # linuxstb: right, but then we're back to custom makefiles for sims again 16.07.26 # Unfortunately cygwin doesn't define it, so id3 browsing didn't work on all cygwin built sims (both x11 and win32) 16.07.37 # We can just add an endian variable to configure - for the targets it's hard-coded, and for the sims, we run a little C program which is called from tools/configure 16.08.00 # I added a simple workaround for that to dbtree.c. Imho the easiest solution would be to add that to config.h 16.08.49 # #if !defined(LITTLE_ENDIAN) && !defined(BIG_ENDIAN) && defined(_X86_) 16.08.49 # #define LITTLE_ENDIAN 16.08.49 # #endif 16.12.10 Join preglow [0] (thomj@s183a.studby.ntnu.no) 16.12.24 # so, i see there are bad news afoot regarding the codecs and cpu usage :/ 16.12.52 # hey 16.13.16 # preglow: Not unsurprising, given the performance at 11MHz. 16.13.44 # linuxstb: no, not surprising at all 16.13.58 # it's more or less what i thought it'd be 16.14.17 # doesnt not unsurprising actually mean surprising? 16.14.58 # 'not unsurprising' means that it is surprising, yes :) 16.15.14 # but i got his meaning, heh 16.15.51 # semantics at work 16.15.52 # * linuxstb goes to study grammar... 16.16.28 # preglow: any progress with your emac activities? 16.16.52 # im guessing that libmad is already quite well optimized, and we are looking for things that the coldfire does (badly|slowly) to replace with more efficient code? 16.17.15 # linuxstb: well, yes, i've got it working well 16.17.28 # i've used it to make a linearly interpolated sine routine and an iir filter 16.17.31 # so i think i've got it 16.18.12 # My thought about libmad is that it probably trades speed for accuracy. So if we compromised the accuracy (i.e. not maintaining the full 24-bit precision), then that may bring big speed improvements. 16.19.10 # But I'm assuming lots of people will be interested in libmad, so I'm going to try and concentrate on FLAC. 16.19.30 # FLAC is 90 something percent yes? 16.19.38 # yes. 16.19.53 # linuxstb: i'll try to have a look at libmad 16.20.13 # preglow: I'm interested in your code 16.20.29 # jyp: no problem, don't think you'll benefit much from it 16.20.32 # gimme a sec 16.21.31 Quit R3nTiL () 16.21.36 # My goal is to get a better understanding of the emac... 16.21.41 # preglow: Do you know any good resources for info about the emac? Or are they already in the Wiki? 16.22.44 # linuxstb: i think the programmers guide has a chapter on the emac doesn't it? 16.22.52 # i thank everybody for the attention. Bye! 16.23.01 Quit zioben ("CGI:IRC") 16.23.39 # linuxstb: all i've been able to find is the motorola manuals 16.24.09 # linuxstb: in particular the coldfire family programmer's reference manual 16.24.20 # jyp: http://glow.m0f0.net/rockbox/dsptest.c 16.24.57 # hehe, that gave me a rather entertaining mental image of "the family programmer" 16.25.23 # preglow: thanks 16.25.28 # sucka: yeah. it's a little ambiguous. 16.25.47 # sucka: obviously, it means 'the [coldfire] family programmer reference' 16.26.40 # jyp: all that code does is write a sawtooth filtered by a very resonant iir filter 16.26.47 # jyp: but it's done using the emac :) 16.26.50 # check the daily build table now 16.27.18 # its not true, but it'll look like that from now on 16.27.31 # preglow: I don't know what a iir filter is 16.28.40 # Bagder: cool ;) 16.29.10 # I'll try to add an estimated time of completion as well 16.29.14 # "Build to in ..." ;) 16.29.19 # great :) 16.29.31 # Bagder: Looks a bit ugly, imho 16.29.38 # hehe 16.30.05 # any suggestions? 16.30.14 # "How many warnings do you get today?" 16.30.18 # Oh this is wonderful. A small batch of Cross & Blackwell worcester sauce have cancer causing dye in them. I've been using that sauce for ages. 16.30.45 # make "Build in progress" scroll as in markee :P 16.31.02 # doesn't worcester sauce generally cause cancer? ;) 16.31.09 # :P 16.31.16 # doesn't breathing air cause cancer ? :p 16.31.47 # smoke weed cause cancer ? ;) 16.32.01 # HCl: only in places where large amounts of worcester sauce are used or consumed ;) 16.32.57 # It's the worcester aerosols you have to worry about ;) 16.33.07 # heh 16.33.34 # preglow: bah. where's sinetab.h? :) 16.33.46 # ashridah: hhaha, gimme a sec 16.33.52 # ashridah: that part isn't called anyway 16.34.07 # ashridah: it's there now 16.37.53 # preglow: hmm. just exited immediately here 16.38.05 # ashridah: look in your root 16.38.09 # there should be a test.raw there 16.38.53 # aah, right 16.39.33 # it's 32 bit, big endian, 44100hz samplerate and mono 16.39.35 # if you want to load it 16.39.36 # heh 16.39.47 # it's just a testing tool 16.40.23 # http://glow.m0f0.net/rockbox/dsptest.c 16.40.44 # assuming i can even remember what i've got that'll play headerless files. 16.40.50 # o.o 16.40.51 # sorry 16.40.53 # ashridah: i use sound forge 16.40.54 # pasted by accident 16.41.22 Join XShocK [0] (~cddef002@labb.contactor.se) 16.42.00 # so what's in cvs currently has 140MHz enabled? 16.42.05 # because it seemed a lot quicker 16.42.28 # don't think so 16.43.03 # no commits from linus 16.43.08 # phoned the people who make the sauce and checked the expiry date against the batches and it's fine. but apparently other foodstuffs may also contain this illegal dye. how nice. 16.43.14 # i say, don't be so paranoid and just live. 16.43.19 # we're all gonna die. 16.43.23 # its just a matter of when. 16.43.24 # heh. damned news 16.43.40 Quit XShocK (Client Quit) 16.44.02 # DeadMan: you can rest assured that for every thing you eat you know there's dangerous shit in, there are twenty more you don't know of 16.44.04 # well. i'm hitting the sack. 16.44.05 Quit ashridah ("sleep") 16.44.15 # "life is a sexually transmitted terminal disease" 16.44.23 # ripnetuk: ahahahahah 16.44.37 # * DeadMan lifes is full of risks 16.44.41 # -s 16.45.27 # i've just got bought myself a couple of tasty beers for tonight, and i know they're not good for my health 16.45.33 # hell, i even smoke occasionally :/// 16.45.41 # Some dude on TV the other day pee'd on an electrified fence as a stunt. What an idiot. 16.45.49 # hahaha 16.46.00 # i've seen that as well 16.46.10 # Compared it to being kicked in the nads with needled boots. 16.46.19 # :S 16.46.22 # i've peed on an electrified fence myself 16.46.23 # ouch 16.46.33 # preglow for real? 16.46.34 # i was very young, though 16.46.37 # lol 16.46.38 # DeadMan: yes 16.46.43 # and look how you turned out :) 16.46.48 # i used to live right by some horses 16.46.50 # hahaha 16.47.13 # what were you doing with your wizzer out around horses? nevermind. forget I asked. ;) 16.47.21 # preglow - is it true that it really burns your 'old man'? 16.47.26 # get back on-topic 16.47.41 # ripnetuk: nah, just hurts 16.47.48 # ripnetuk: can't remeber that well, thoguh 16.47.52 # nah, they did it on mythbusters the other day. 16.47.57 # he just got shocked 16.48.56 # well, mine is in perfect condition, i don't think i permanently harmed it 16.49.16 # too much information. 16.49.40 # glad to be of assistance 16.49.50 # i even touched the very same electrical fence with an iron rod once 16.49.58 # but hey, i've never claimed i'm very smart :) 16.50.09 # as a matter of fact, i've repeatedly stated the opposite 16.50.18 # stick your tongue on it 16.50.45 # DeadMan: no electrical fences nearby anymore, hehe 16.53.53 # Probably for the better. 16.54.59 # :P 16.55.30 # Whoops my neighbor got a heart attack 16.55.39 # o.o 16.55.42 # did he die? :( 16.55.48 # or she 16.57.10 *** Saving seen data "./dancer.seen" 16.58.08 # Mm fortunately it was the hospital bringing him back, not taking him 17.02.57 # not that many warnings left now 17.03.14 # :) 17.04.55 # build complete time estimation should show up next build, I think 17.05.28 # less than 14 min i hope 17.05.57 Join mecraw [0] (~mecraw@69.2.235.2) 17.06.18 # there haven't been any commits yet to trigger another build 17.07.59 # time to go 17.08.50 Nick quelsaruk is now known as quel|out (~kvirc@80.103.134.240) 17.09.57 # jyp: http://glow.m0f0.net/rockbox/filteredsaw.wav <- what dsptest.c sounds like, left channel is original signal, right is filtered 17.10.34 # jyp: it's the process that's used for making equalizers 17.10.37 Join G [0] (~tscript24@g-001.osl255.netcom.no) 17.10.45 # hehe 17.10.48 Nick G is now known as thegeek (~tscript24@g-001.osl255.netcom.no) 17.10.51 # just reading the log 17.10.58 # had to comment 17.11.14 # I've peed on an electrified fence too;) 17.11.20 # haven't we all, heh 17.11.25 # hehe 17.11.31 # i feel left out having never peed on a electric fence :) 17.11.37 # ripnetuk: not too late to remedy it 17.11.42 # :) 17.11.45 # humhum 17.11.46 # * ripnetuk shudders 17.12.06 # My neighbour died of a heart attacklast week 17.12.56 # abad luck 17.13.14 # s/abad/bad 17.13.25 # :( 17.13.30 # * DeadMan wonders how easy it would be to do ac3 passthru on optical out on the iRiver 17.14.15 # i don't know 17.14.37 # Wasn't there something that made this impossible? 17.15.43 # maybe the player can't pass raw 17.15.53 # all goes via the DAC 17.16.04 # the chip it self is capable of it 17.16.10 # depends on how it's hooked up 17.16.21 # indeed 17.16.23 # i don't see the point of having something already digital go through the codec 17.17.01 # easier to make a straight path for all codecs I guess 17.17.09 # rather than re-route for raw 17.17.19 # well anyhow I don't know Linus might know 17.19.19 Join muesli_ [0] (muesli_tv@1Cust191.tnt1.hnr2.deu.da.uu.net) 17.19.34 # hi 17.21.04 Quit Cassandra_ (Read error: 110 (Connection timed out)) 17.21.23 Join Cassandra_ [0] (~christi@213.78.122.37) 17.22.10 # * DeadMan drinks the tea of captains. Well bald captains of starships that is ;) 17.23.02 # haha 17.23.11 # tea, earl grey, hot 17.23.34 # :) 17.23.40 # gray, i mean 17.23.50 # * DeadMan pulls his tunic down 17.24.02 # Make it so 17.24.34 # think i'll brew myself a cuppa as well 17.25.10 # Tea Hee 17.25.17 # DeadMan: http://glow.m0f0.net/music/darkmateria_the_picard_song.mp3 17.25.18 # :) 17.25.24 # yeah got it ;) 17.25.42 # Do you know the show Little Britain? 17.25.49 # nope 17.25.55 # ok 17.26.02 # won't be relevant then 17.26.26 Quit thegeek (Read error: 113 (No route to host)) 17.28.49 Join G [0] (~tscript24@g-001.osl255.netcom.no) 17.36.32 Join XShocK [0] (~XShocK@pcp09492659pcs.nrockv01.md.comcast.net) 17.38.11 Quit DrRick () 17.38.36 Join AC [0] (~5078751e@labb.contactor.se) 17.38.41 # hi 17.38.50 # is the iriver little endian? 17.40.21 Quit Patr3ck_ ("User pushed the X - because it's Xtra, baby") 17.40.42 # AC: No. 17.41.30 # ok 17.41.51 # It's Motorola 68000 based. 17.41.56 # most things are big endian, i think 17.42.01 # apart from intel and vax 17.42.09 # some correct me if they know of more 17.42.20 # hmmm 17.42.32 # LD /home/austriancoder/rockbox/build/wv2wav.elf/home/austriancoder/rockbox/build/libwavpack.a(bits.o): In function `little_endian_to_native':/home/austriancoder/rockbox/apps/codecs/libwavpack/bits.c:100: undefined reference to `_ctype_'/home/austriancoder/rockbox/build/libwavpack.a(bits.o): In function `native_to_little_endian':/home/austriancoder/rockbox/apps/codecs/libwavpack/bits.c:132: undefined reference to `_ctype_'/home/austriancoder/rockbox/build/l 17.43.21 # i dont know what i am doing wrong 17.44.29 # AC: I'm happy to have a look at it if you want me to. 17.45.02 # i think it is the makefile 17.45.24 # i will upload it.. mom 17.45.50 Part fubar 17.47.07 # AC: I think I know what the problem is. 17.48.03 # _ctype_ is a variable defined in firmware/common/ctype.c, but the firmware library isn't linked against the plugins. 17.49.30 # A quick fix would be to simply copy the _ctype_ variable from common/ctype.c into wv2wav.c 17.51.15 # * DeadMan listens to Moby's new album 17.52.00 # linuxstb: will try it 17.52.06 # here is my makefile: x-factor.dyndns.org/rockbox/Makefile 17.53.44 # AC: The "isdigit" function is a macro that makes use of _ctype_ - that's where the dependency is. I don't think you can fix it with the Makefile. 17.54.45 # how should i fix it? 17.55.03 Quit bobTHC ("( www.nnscript.de :: NoNameScript 3.81 :: www.XLhost.de )") 17.56.12 # how many bands do a portable mp3 player equalizer usually have? 17.56.26 # those that don't just have high cut and low cut, that is 17.56.36 # AC: For now, just copy _ctype_ from firmware/common/ctype.c into wv2wav.c We can try and think of a better fix later. 17.57.28 # AC: I think that native_to_little_endian function is only used by the metadata parser anyway, so we can probably strip it out (or rewrite it). 17.57.35 # usualy 5 or 5 bands 17.57.41 # or 6 rather 17.58.03 Quit ripnetuk ("Leaving") 17.58.05 # I'd like a parametric eq myself :) 17.58.58 # actually a basic player has low mid and top or just low and top 17.59.00 # yes, i'll be trying to make one 17.59.09 # five bands'll be nice 17.59.29 # thought i'd just get the boring math out of the way now 17.59.33 # linuxstb: why to wv2wav? the symbol is not found in the codec 17.59.45 # I usually only push the top right up. I like my music to cut through 18.00.08 # and I like to hear the hi-hats and understand the vocals 18.00.35 # I dislike too much midrange 18.00.55 # AC: It's used by the codec, but not found in the plugin. I think that libwavpack.a is being generated OK, the error is only when it is being linked to wv2wav 18.01.09 # yep 18.01.10 # or bass end that is a dull thud or rumble rather than a solid kick in the chest ;) 18.01.28 # AC: we also don't want to change the codec .c files if we can avoid it. 18.02.22 # in wv2wav i got errors 18.02.24 # like 18.02.43 # CC wv2wav.cwv2wav.c:32: error: `_C' undeclared here (not in a function)wv2wav.c:32: error: initializer element is not constant 18.02.51 # so we must fix it in the codec, i think 18.03.01 # also symbol abs is unkown in the codec 18.04.17 # ctype stuff fixed 18.05.14 # added const char _ctype_[257]={ to bits.c in the codec 18.05.51 # DeadMan: i never use the equalizer, but i'd like making one 18.07.50 # linuxstb: compiles now fine 18.08.22 # AC: Good news. Is your wv2wav program working? 18.09.22 # i must add the decoding loop and then i will try it 18.09.23 # :) 18.13.33 Join muesli- [0] (muesli_tv@c-180-220-75.cvx-h.dial.de.ignite.net) 18.16.21 Quit muesli- (Client Quit) 18.16.40 Join muesli- [0] (muesli_tv@c-180-220-75.cvx-h.dial.de.ignite.net) 18.17.43 Quit muesli_ (Read error: 113 (No route to host)) 18.18.18 # preglow the only thing I turn up is the treble boost and nothing else 18.18.24 # hmm, for gapless playback, is it not possible to do processing on the PCM audio buffer before sending it to the DAC at the track boundaries? 18.20.03 # lolo-laptop: what processing? 18.20.28 # lolo-laptop: I think that part of the gapless playback belongs iin the codecs - i.e. the codec code will be responsible for stripping off any padding samples from the final frame. 18.20.40 # So they will never be copied into the PCM buffer 18.21.10 # linuxstb: that would work too -- my point was that the gapless howto on the wiki implies that it can _only_ be done at encode time... but if the PCM data is processed by either the PCM buffer or the codec... 18.21.53 # That howto only really applies to the Archos. 18.21.55 # yes 18.22.01 # ahh 18.22.06 # that does not apply when we can code our own codecs 18.22.11 # because there isn't a codec in the archos. 18.22.15 # gotcha 18.22.15 # thanks 18.22.23 # we might do some stripping code for mp3s that don't support accurate track length 18.22.52 # It is still a good idea to follow that advice and make gapless MP3s in the first place. It's just that with software decoding, we have the opportunity to repair broken encodings. 18.23.56 # linuxstb: well vorbis is by it's nature not as gap inducing as mp3 right? 18.24.05 # lolo-laptop: vorbis supports no gaps at all 18.24.15 # lolo-laptop: vorbis store the exact tract length 18.24.18 # I don't know vorbis at all, but I assume it has a "track length" field in the header. 18.24.24 # preglow: cool. 18.24.27 # track length, not tract... 18.24.29 # but the player needs to be able to playback with 0 gaps :) 18.24.35 # no problem 18.24.46 # coz at present it still puts gaps between Ogg tracks 18.25.04 # yes, but that's the iriver firmware 18.25.26 # aye 18.25.45 # There's two different issues for gapless playback - 1) (only applicable to stupid codecs like MP3) remove padding from final frame and 2) Ensure the PCM buffer is never empty. 18.26.44 # (actually, it's not MP3's fault, it's just that there is no container format used). 18.27.02 Quit G (Read error: 54 (Connection reset by peer)) 18.27.20 # so it's ogg that stores the track length for vorbis? 18.27.30 # the iRiver firmware is just stupid about loading oggs -- it doesn't start loading the next one _at all_ until the prior one is completely decoded and sent to the DAC... -- all it would have to do is pre-read the header of the next song to be played and it owuldn't gap (at least not so much) 18.27.37 # preglow: yes. 18.28.03 # lolo-laptop: it's really stupid, yes, the firmware is able to preload, it does it for mp3s that are bigger than the buffer 18.28.10 # lolo-laptop: they just don't utilize it the right way 18.28.41 # nod 18.28.51 # unless the track is too long to fit the whole buffer at once, the firmware just loads whole tracks, it seems 18.28.55 # that's a real waste of mp3 buffer 18.29.00 # heh 18.29.13 # i've never seen it buffer in the middle of a short track 18.29.14 # not once 18.29.19 # it always buffers at the start of the next one 18.29.40 # yeah, they do only -very- basic battery saving buffering, nothing smart. 18.29.40 Quit AC ("CGI:IRC (EOF)") 18.30.05 # actually what's funny is that my iRiver slimx350 I think did prebuffering of the next track and but the H340 doesn't. 18.34.11 Join Hohoman [0] (~inte@hohoman.olf.sgsnet.se) 18.36.41 # the h1x0 series is discontuned, yes? 18.36.41 Quit muesli- (Read error: 104 (Connection reset by peer)) 18.37.37 Join AC [0] (~5078751e@labb.contactor.se) 18.38.29 # linuxtb: who must i use the codec on a wv file? 18.39.10 # wavpack 18.39.16 # sure 18.39.36 # but how do i start the codec? 18.39.46 # i want to test, if it works or not 18.40.22 # in "open with" there are now codecs listed 18.40.29 # You need to modify "viewers.config" in the plugins directory to add a line to link ".wv" files to wv2wav, then you can simply "play" the wv file whilst browsing in Rockbox. 18.40.47 # ah ok 18.41.21 # You need to do a full install on your iRiver - i.e. "make zip" and then unzip the rockbox.zip on your iRiver. Remember to reboot to make Rockbox re-read viewers.config 18.42.23 # make zip i have done... restarting rockbox 18.43.12 # rebooting to linux 18.43.52 Quit AC ("CGI:IRC (EOF)") 18.44.23 Join LinusN [0] (~linus@labb.contactor.se) 18.45.47 # * LinusN has a theory why 140MHz screws up the ATA timing 18.46.05 # and i'm afraid it's bad news 18.46.29 # *cry*? 18.46.42 # the suspense! 18.46.46 # pray tell 18.46.55 # You're supposed to tell us good news at the same time. 18.47.10 # if i'm right about this, there are no good news 18.47.37 # the ata signal buffering is not designed correctly in the hardware 18.48.20 # great 18.48.37 # well, what does it do apart from buffering that's screwing up the timing? 18.48.46 # and: is it modable? :) 18.49.25 # so it violates the ata specification regarding the DIOR setup time 18.49.48 # i'll have to hook up the logic analyzer to verify 18.50.08 # this may mean that we have to reduce the cpu frequency when doing disk operation 18.50.11 # ooohh, you've got one of those 18.50.23 # LinusN: I thought your conclusions were from doing logic analysis 18.50.30 # (which could explain the horrible disk performance in the original firmware) 18.50.42 # no, from reading my schematics 18.50.50 # And I'm assuming that changing cpu frequency would interrupt audio playback? 18.50.58 # no 18.51.09 # the audio clocks are separate 18.51.33 # <[IDC]Dragon> the CPU has no means for different timing on different address ranges? 18.51.44 # oh yes 18.51.49 # So could we work around it and only slow down the CPIU for disk accesses? 18.51.52 # but it's not a matter of waitstates 18.52.00 # ^CPU 18.52.03 # linuxstb: yes 18.52.47 # it's too early to say how bad it is, i'll have to analyze it 18.53.15 # Sounds like a mess. 18.53.26 # so far it's just a theory 18.53.53 # Do you think it's different in H120/H140 or in different revisions (were there different revisions?) 18.54.00 # i was hoping the horrible disk performance in the iriver firmware was due to bad programming 18.54.06 # me too 18.54.21 # i don't know about more than one revision 18.54.33 # haven't seen many open irivers yet 18.54.44 # (well, the H110 is different) 18.54.48 # i haven't seen a rev number on mine, at least 18.54.55 # _in_ mine 18.54.59 # anyway, i have to go, maybe i'll pop in here later 18.55.04 # ait, have fun 18.55.05 # If your theory is correct, I wonder whether there are mp3 player hw designs that don't need ugly workarounds... 18.55.17 # amiconn: lots of them in the archos? 18.55.24 # several 18.55.28 # cu guys! 18.55.30 Part LinusN 18.55.38 # preglow: Quite a number 18.56.04 # (1) Necessity for bitswap, because SPI bit order of the MAS doesn't match that of the CPU 18.56.21 Join acathla [0] (~acathla@acathla.dyndns.org) 18.56.22 # hahah 18.56.26 # Same on Ondio, only worse. MAS bitswap plus MMC bitswap 18.57.11 *** Saving seen data "./dancer.seen" 18.57.23 # have we even checked that the coldfire in the original firmware runs at 140 mhz? 18.59.00 # (2) Shortcoming in the player that was fixed later for the recorder: The MAS has a demand pin. It is useful to get an interrupt for both start & stop demand, however, the SH interrupt only triggers on hogh->low. So you need to invert the signal and put it on 2 different port pins. 18.59.19 # The player doesn't have that, so start_demand has to be polled... 18.59.27 # haha 18.59.50 # There are more... 19.00.25 # what endianess is the sh? 19.00.34 # Big endian, as the coldfire 19.02.07 Join sox [0] (~sox@c-813ee255.733-1-64736c10.cust.bredbandsbolaget.se) 19.04.20 # Note for linus when he'll read the logs ... 19.04.53 # Reversing the Archos' firmware shows a cpu-frequency reduce as well 19.05.03 # upon some disk accesses 19.05.14 # haha 19.05.17 # (or something that looks very much like it) 19.05.33 # <[IDC]Dragon> down to how much? 19.05.49 # Let me have a look 19.05.59 # <[IDC]Dragon> they must still be able to play while doing so 19.06.26 # <[IDC]Dragon> this hardware quirk tightens the codec requirements 19.06.36 # preglow: Speaking about ata: (3) 16 bit ATA data is little endian, so it has to be swapped on a big endian machine. There could have been a buffer that does this... 19.06.47 # amiconn: ahahahha 19.06.57 # there are simple parts for doing that 19.07.05 # amiconn: sounds like a bucket of fun 19.07.10 # <[IDC]Dragon> amiconn: or just crossing the wires 19.07.24 # which would be even simpler, yes 19.07.27 # hahah 19.07.31 # [IDC]Dragon: it's very difficult to tell by reading the code, because the frequency depends on a global 19.07.32 # it's REMARKABLE they didn't think of that 19.07.34 # You must still be able to read byte data.. 19.07.58 # <[IDC]Dragon> yes, but this is less 19.08.08 # Am, hum, of course, simple 19.08.26 # You just need to read the other half of the 16 bit port... 19.08.49 # SO crossing the wires would have done the trick.... 19.11.20 # Bagder: r u there? 19.11.50 # crossing the wires would be everything required, yes 19.11.55 # it's amazing they didn't think of that 19.11.55 # hoy all, just ran cvs update and tried to build, got this weird error 19.11.56 # c-813ee255:~/rockbox/build svante$ make -nw 19.11.56 # make: Entering directory `/Users/svante/rockbox/build' 19.11.58 # make -C /Users/svante/rockbox/firmware 19.11.58 # make[1]: Entering directory `/Users/svante/rockbox/firmware' 19.11.58 # make[1]: *** No rule to make target `#pragma', needed by `/Users/svante/rockbox/build/dep-firmware'. Stop. 19.11.58 DBUG Enqueued KICK sox 19.11.58 # make[1]: Leaving directory `/Users/svante/rockbox/firmware' 19.12.00 # make: *** [all] Error 2 19.12.02 # make: Leaving directory `/Users/svante/rockbox/build' 19.12.04 # whats this about? 19.12.05 # 'cause that's data you have when you design the hardware as well 19.12.11 # sorry for floodin'... 19.12.16 # i've heard pastebins are nice 19.12.36 # why -nw ? 19.12.41 # to get more info 19.12.45 # sox: YOu'll probably need to reconfigure 19.12.49 # sox: Bagder committed some big build changes today - did you update everything, and also re-run configure? 19.12.50 # i did that... 19.13.06 # Are you on cygwin? 19.13.10 # ill wipe the whole build dir again 19.13.18 # nope, mac os x-darwin 19.13.29 # No sims build on cygwin now... the build bails out really early: 19.13.37 # ahh, darwin 19.13.50 # as long as it uses gnu tools, it should really be ok, but i don't think very many have tried that 19.13.51 # What are you trying to build? 19.14.12 # CC common/disk.c 19.14.13 # In file included from /home/Administrator/rb-patched/uisimulator/common/file.h:62, 19.14.13 # from common/disk.c:26: 19.14.13 DBUG Enqueued KICK amiconn 19.14.13 # /home/Administrator/rb-patched/firmware/include/file.h:49: error: conflicting types for `ssize_t' 19.14.13 # /usr/include/sys/types.h:170: error: previous declaration of `ssize_t' 19.14.13 *** Alert Mode level 1 19.14.13 # make[1]: *** [/home/Administrator/rb-patched/simulator-build/w11-ondiofm/common/disk.o] Error 1 19.14.17 # make[1]: Leaving directory `/home/Administrator/rb-patched/firmware' 19.14.17 # make: *** [all] Error 2 19.14.35 # hmm 19.15.13 Join R3nTiL [0] (~zorroz@83.69.98.178) 19.20.43 # Hmm. I don't have an idea how this can be solved easily. The problem is jyp's long policy. 19.21.13 # sys/types.h defines ssize_t as int for 32 bit machines, and as long for 16 bit machines. 19.21.30 # what? 19.21.34 # that can't be right 19.21.41 # Rockbox' file.h now unconditionally defines it as long 19.21.42 # unless it's got a 32 bit address space 19.21.55 Part acathla ("Byebye") 19.22.12 # ..so there is a conflict on a 32 bit platform :( 19.22.25 # #if defined(__INT_MAX__) && __INT_MAX__ == 2147483647 19.22.25 # typedef int _ssize_t; 19.22.25 # #else 19.22.25 *** Alert Mode level 2 19.22.25 # typedef long _ssize_t; 19.22.25 *** Alert Mode level 3 19.22.25 # #endif 19.22.51 # This is actually in _types.h, which gets included by types.h 19.25.10 # <[IDC]Dragon> gotta go 19.25.13 Quit [IDC]Dragon ("CGI:IRC") 19.32.26 *** Alert Mode OFF 19.38.21 Join Stryke` [0] (~Chairman8@resnet-241-86.resnet.umbc.edu) 19.40.06 Quit R3nTiL () 19.48.55 Ctcp Ignored 2 channel CTCP requests in 2 minutes and 15 seconds at the last flood 19.48.55 # * jyp is back 19.49.45 # amiconn, preglow 19.49.58 # Something I need to do ? 19.57.18 # I don't think so. The problem now occurs because the definition of ssize_t in rockbox and in the system are different for 32 bit machines, and with the new build system both definitions are included. 19.57.53 # We need a way to disable the definition in file.h for the simulator builds. 19.58.11 # Shouldn't file.h include the sys 19.58.16 # why ssize_t? isn't size_t good enough? 19.58.29 # tem include instead of defining size_t by itself ? 19.59.43 # Yes. uisimulator/common/file.h does that, but with the new build system firmware/file.h gets included too 20.01.39 # Ah no, uisimulator/common/file.h does *not* include the system include, but firmware/file.h instead 20.02.40 # I mean, can't firmware/file.h behave like uisimulator/common/file.h ? 20.02.43 # Hmm. There is a check in include/file.h that should prevent duplicate definition 20.03.04 # However, this doesn't seem to work on cygwin. Gah! 20.03.32 # * amiconn digs in cygwin's system includes 20.04.30 Nick Lynx_ is now known as Lynx_awy (HydraIRC@134.95.189.59) 20.06.21 Join bg_ [0] (~chatzilla@adsl-68-78-228-166.dsl.mdsnwi.ameritech.net) 20.21.04 # any uk folk here? 20.21.28 # if so you may enjoy this http://eclectech.co.uk/veritasparty.php 20.24.57 # Grr, I am still unable to compile a simulator on cygwin :( 20.29.40 # o.o. 20.29.44 # hi hi 20.29.52 # any luck with the makefile for rockboy ami? 20.30.20 # It works... for the target, but needs afjustment for the new build system. 20.30.56 # Since I cannot test simulator builds, I have to hold this back until the cygwin sim build issues are fixed. 20.31.42 # I have no idea how to fix that yet.... maybe I need Bagder's help 20.43.59 # okies 20.45.27 # Btw, did you check the .map file? 20.46.05 # Adding .code, .data and .rodata gives only ~65 KB, the rest is .bss space. 20.46.54 # The biggest part (256KB) is the patpix array 20.48.26 # hmmm. 20.48.41 # i haven't seen the patpix array, i'll take a look at it 20.48.55 # are there any other GB emulators released under GPL? 20.49.04 # besides gnuboy that is 20.49.08 # ah. 20.49.19 # bg_: one... don't remember what it was called. 20.49.23 # it was windows only 20.49.28 # didn't seem very portable 20.49.30 # Another interesting fact: The routine that updates the patpix array is a real CPU hog - in C. 20.49.32 # ahh 20.49.49 # amiconn: kay, do you happen to know what patpix is used for? 20.50.05 # It is one of the routines that gnuboy provides i386 asm routines for. 20.50.22 # mmmm. 20.50.25 # I think I can speed it up by at least factor 5 on SH1 20.50.33 # we should probably write asm versions for it 20.50.39 # ...by using asm of course 20.51.16 # I don't know exactly what this array is used for, but it certainly has to do with gfx output. 20.52.35 # updatepatpix() looks like it puts 8x8 pixel tiles into the array, in various orientations 20.53.28 # I *guess* this is why pokemon is so slow when the background changes a lot 20.53.36 # patpix... 20.53.39 # tile pattern cache 20.53.47 # according to the HACKING doc 20.53.56 # updatepatpix() - updates tile pattern cache. 20.55.40 # it sounds as if its supposed to be a speed optimization 20.56.51 # mhm. 20.57.03 # there's a bit of a description to why they do what they do at the beginning of the lcd section 20.57.15 *** Saving seen data "./dancer.seen" 21.10.56 # i spotted the link to a MPEG decoder at page http://www.uclinux.org/ports/coldfire/nettelmp3.html 21.11.01 # http://www.uclinux.org/ports/coldfire/cf-mpegdec_19991021.tar.gz 21.11.30 # did someone looked at it? it says at 90 MHZ on 5307 it is close to real-time 21.12.53 # support all three layers, 1,2, and 3 21.13.29 # this one is a bit old though.. year 1999 21.18.39 Join necrogl [0] (~522bbf09@labb.contactor.se) 21.18.42 # hey 21.19.14 Join DrRick [0] (DrRick@81-86-81-232.dsl.pipex.com) 21.19.46 Join LinusN [0] (~linus@labb.contactor.se) 21.19.52 Quit necrogl (Client Quit) 21.20.02 # amiconn: the iriver hardware swaps the ata bytes 21.20.10 # Nice :) 21.20.30 # at least they tried to do it right :-) 21.20.46 # Did you read about the cygwin build issues? 21.21.03 # I can't build *any* simulator :( 21.22.27 # XShock: That decoder definitely looks like it's worth investigating. I've had a quick look, but don't have time to try to get it running on the iRiver at the moment. 21.22.39 # http://members.aol.com/xanathus/mpegdec/download.htm the new version of 21.23.28 # no emac :/ 21.24.36 # 5307 has mac only, seems 21.24.40 # preglow: So adding emac support would lower the cpu requirements further (?) 21.24.43 # but i couldn't see the code using it 21.24.45 # amiconn: it should 21.24.50 # I found out that it was discussed before on Jan 6 2005, and decided that MAD as being full C implementation will e better, but since it is working only 40% of realtime on 140mhz, why not use this for m68k, and MAD for other players 21.25.49 # XShocK: is there a coldfire version of it? 21.25.53 # I would say "50Mhz recommended for realtime " is pretty cool 21.26.37 # it works on 5307 21.27.01 # LinusN: 5307 is a coldfire version 21.27.06 # so, i guess it will work on 5249 with minimum(if at all) changes. 21.28.12 # coldfire model, whatever 21.28.16 # ah, was looking at that mac download page... 21.29.38 # but hell, if we actually need to clock down the cpu while reading from the disk, requirements are starting to get hairy indeed 21.29.49 Join G [0] (~tscript24@g-001.osl255.netcom.no) 21.30.07 # might as well just not clock it at 140mhz at all 21.30.14 # Linus: sorry, put wrong link. :) 21.30.43 Nick G is now known as thegeek (~tscript24@g-001.osl255.netcom.no) 21.34.08 # preglow: we'll see about that... 21.34.11 Quit thegeek (Read error: 104 (Connection reset by peer)) 21.34.21 # lots of lovely assembler 21.35.40 Join hubble [0] (~hubble@0043a.umehus18.ac.se) 21.39.37 Join skav [0] (skav@67-138-74-184.dsl1.merch.roc.ny.frontiernet.net) 21.42.17 Join arogan [0] (~a19f0414@labb.contactor.se) 21.42.56 # hello, I've got a quick question on bookmarks 21.43.01 Part LinusN 21.43.05 # this is jukebox recorder 20 21.43.21 # I have it to automatically create a bookmark on stop 21.43.40 # is there a way to NOT create a bookmark when stopping on the one off case that I don't want a book mark 21.44.34 # like maybe some sort of key combination to stop without bookmarking? 21.44.38 # Nope. 21.44.59 # ok. didn't think so since I couldn't find it int he docs 21.45.09 # You would have to set "create bookmark", to "ask", but then it would ask every time 21.45.27 # yeah which I don't want since 90% I want to to go ahead and create a bookmark 21.47.31 Join necrogl [0] (~bobakkama@82-43-191-9.cable.ubr07.newm.blueyonder.co.uk) 21.47.42 # hello 21.47.48 # anyone home? 21.48.31 # all these people online 21.48.39 # and no one wants to speak :( 21.48.59 # anyone? 21.49.00 # if you'd not jump to conclusion after being here a mere minute, you'd find that we do indeed speak 21.49.04 # when we have something to say 21.49.11 # if you want to ask something, just ask it 21.49.13 # sorry 21.49.22 # ok 21.49.25 # i will 21.49.27 # goodie 21.49.34 # that is better :D 21.49.59 # you lot make firmware for the archo jukebox righjt 21.50.08 # yes 21.50.10 # ok 21.50.16 # i had a Archod JMB20 21.50.21 # until is broke :( 21.50.32 # is that supported ? 21.51.40 # ok 21.51.41 # wouldn't know, i'm in for the iriver players 21.51.47 # oh 21.51.56 # i played with a irirver once 21.51.59 # give the guys a sec and someone'll answer 21.52.02 # they are weak 21.52.11 # just curious what is the status of the bleeding edge builds for iriver (my brother has one)? 21.52.18 # are they more or less functional? 21.52.32 # necrogl: No. See http://www.rockbox.org/twiki/bin/view/Main/NoDo#7_Archos_Multimedia_Gmini_suppor and http://www.rockbox.org/twiki/bin/view/Main/NonArchos 21.52.40 Quit Aison (Read error: 104 (Connection reset by peer)) 21.53.03 # ive messed around with a few different HD players, iriver was by far the best 21.53.04 # arogan: if you don't want sound, then yes, they do function 21.53.06 # ihp series 21.53.18 # i will admit 21.53.22 # arogan: more or less only usable by developers right now, but it does function 21.53.27 # the iriver player have bad firmware 21.53.34 # heh ok 21.53.39 # but 21.53.49 # i am interested in getting a ipod photto 21.53.55 # what firmware is there for that 21.54.04 # ? 21.54.04 Join Aison [0] (~hans@zux166-181.adsl.green.ch) 21.54.11 # well, apple's firmware, obviously 21.54.14 # and that's that 21.54.24 # afaik 21.54.25 # is apple firmware any good? 21.54.30 # i wouldn't know 21.54.37 # does anyone? 21.54.38 # ive played with one, its simple 21.54.42 # easy to learn 21.54.45 # like most apple stuff 21.54.49 # ok 21.54.51 # even had some games 21.54.55 # cool 21.54.56 # games 21.54.59 # dont know about its advanced functionality 21.55.04 # ok 21.55.05 # but i still prefer i 140 21.55.16 # that is the iriver one right 21.55.17 # my guess I don't think you'll find any other mp3 player with the breadth of functionality that rockbox provides 21.55.42 # i jsut found this on your site 21.55.43 # http://www.rockbox.org/twiki/bin/view/Main/IpodLinux 21.55.50 # im patiently waiting for rockbox to work in my 140 21.56.02 # do they stilll sell the irives anyone 21.56.03 # ? 21.56.09 # one day out of curiosity i googled "opensource iriver firmware" and came up with this site 21.56.15 # only to find it was in early development 21.56.18 # preglow: there's ipodlinux surely 21.56.27 # oh, photo 21.56.29 # nevermind 21.56.30 # is ipodlinux like thsi 21.56.34 # ? 21.57.03 # this really isn't the best channel to be asking ipod questions, most of us have rockbox supported players 21.57.10 # ok 21.57.18 # i just looked on the ipodlinux site 21.57.24 # they ipod photo is not supported 21.57.26 # ipod linux is more or less at a stand still 21.57.52 # cool 21.57.56 # http://www.ipodlinux.org/4g 21.58.03 # they are working on it 21.58.29 # any plans to port rockbox to the ipod? 21.58.42 # or is the ipod looked down upon here... 21.59.11 # well, no, but there exists no info on the ipod hardware, more or less 21.59.45 # Wouldn't ipl be a good starting point for hardware info? 22.00.12 # probably 22.00.23 # both ipodlinux and you are open soruc 22.00.27 # you'd think it would be pretty widely know, as it is the most popular portable mp3 player by far 22.00.40 # not many are interested in it 22.00.49 # it can't do radio, says enough for me :p 22.00.52 # but some docs probably exist, just not comprehinsive official ones 22.01.03 # but i don't care anyway 22.01.07 # a lot of people get the ipod almost as a fashion statement it seems 22.01.10 # i like my h120 22.01.14 # ditto 22.01.18 # bg_: no shit 22.01.34 # but wouldnt i make more sense to make rockbox for the ipod? 22.01.35 # and bono endorses it..... 22.01.37 # lol. 22.01.45 # definately. 22.02.19 # lol 22.02.19 # u2 22.02.31 # i meant the fashion statement bit >.o 22.02.47 # but ipods are quiet cool 22.03.26 # meh 22.03.26 # wouldnt more people be interested in ipod rockbox? 22.03.40 # necrogl: we do this because it's fun. that's all. 22.03.41 # * HCl doesn't really think that matters o.o; 22.03.43 # yea. 22.03.45 # most people with ipods are technically challenged 22.03.53 # heh 22.03.58 # hey 22.04.04 # a lot of my mates have ipods 22.04.10 # they aitn dumb 22.04.18 # he said 'a lot', not 'all' 22.04.21 # personally, i'm not really enthusiastic about ipod 22.04.23 # the ipod would be a good target if there was documentation available 22.04.47 # ipod linux is just about as tech savvy as your porject 22.04.52 # should make rockbox for the ishuffle (5000 blinking light combinations to tell what the player is doing) 22.05.01 # lol 22.05.04 # necrogl: "tech savvy"? 22.05.04 Part hubble 22.05.06 # yeah, im kinda confused by the shuffle concept 22.05.10 # How bout rockbox for the gmini ? :P 22.05.14 # can you like, not choose what song you want to listen to? 22.05.18 # jyp: no way! 22.05.19 # ohh! gmini is a great idea! 22.05.21 # :D 22.05.21 # :P 22.05.24 # jyp: that can't be done :D 22.05.25 # i used a shuffle 22.05.34 # it aint my thing 22.05.39 # it weight nothing 22.05.42 # can you pick the song you listen to? 22.05.55 # I think we can still lower the signal noise ratio on this channel, huh ? 22.05.56 # it is flash based isnt it... 22.06.03 # you can press a button to go the the first song of the playlist 22.06.05 # jyp: would be great, yes 22.06.13 # what you could do 22.06.18 # is make morse code 22.06.25 # to say what song it is playing 22.06.25 # preglow: Thanks for the support ;) 22.06.59 # what do you lot thing about morse code? 22.07.19 # Not much. 22.07.23 # i mean 22.07.31 # see the shuffle has those light 22.07.38 # Would apple zealots commit the heresy to use non-apple software ? 22.07.39 # you use use morse code to say the song is it playing 22.07.59 # we're not porting to the shuffle, this is pretty irrelevant 22.08.03 # there is 10 millionm ipods users 22.08.11 # most of them dont even know what a mac is 22.08.39 # but all of them know morse? 22.08.57 # lol 22.09.01 # i dont even know morse 22.09.03 # lol 22.09.03 # I've been looking at the ipodlinux optimisations to libFLAC - the only thing I can find that they've done to achieve real-time decoding on a 64MHz ipod is this asm function: http://linuxstb.org/lpc_asm.s Does anyone fancy doing the same for the coldfire? 22.09.20 # It'd be fine if this ipod lobby could either a) take their discussion elsewhere or b) do the work to start a port 22.09.43 # rasher: amen 22.09.54 # this is a rockbox lobby 22.09.56 # any chance of having bookmark capabilities when viewing text files? 22.10.00 Join [IDC]Dragon [0] (~idc-drago@pD9E341EB.dip.t-dialin.net) 22.10.09 # dont the ipdo already do that 22.10.20 # hi Jörg 22.10.26 # <[IDC]Dragon> hi again 22.10.41 # arogan: anything is possible 22.10.51 # <[IDC]Dragon> believe it or not, I have a liitle time for rockbox 22.10.53 # [IDC]Dragon: Did you try building a sim on cygwin? It is badly broken :( 22.11.00 # linuxstb: i'll have a look 22.11.01 # <[IDC]Dragon> no 22.11.02 # did those guys get the ipod to play flac? 22.11.07 # necrogl: go ask them 22.11.15 # do they have irc? 22.11.19 # <[IDC]Dragon> I rarely ever did 22.11.32 # i don't know, as i said, i gave a rats ass about the ipod 22.11.32 # necrogl: I suggest you look at their webpage: http://www.ipodlinux.org/ 22.11.45 # necrogl: #ipodlinux 22.11.50 # lol 22.11.56 # And now kindly stop all this talk about the iPod. Clearly none of the devs are interested in it. 22.11.58 # iit is on the same server as you lot 22.11.59 # (afaics) 22.12.10 # freenode 22.12.23 # mmmm. 22.12.30 # many projects have channels on freenode 22.12.30 # i should start getting into m86k assembly 22.12.40 # so 22.12.46 # you lot wont be making rockbox for ipod 22.12.59 # i think its safe to say that, yes. 22.13.02 # ok 22.13.10 # i will look into the linux thing 22.13.12 # necrogl: "we" is not a group. if someone wants to port rockbox to ipod, he is free to do it. 22.13.15 # <[IDC]Dragon> anybody is free to do so 22.13.20 # yup. 22.13.22 # they seen to have it working on the mini 22.13.25 # and the 4g 22.13.30 # anyway 22.13.30 # just because none of us here want to do it now doesn't mean it can't ever happen 22.13.33 # its just that nobody here seems to be interested in porting it 22.13.34 # nice talking 22.13.49 # does that mean 22.13.53 # preglow: Thanks. An alternative (also optimised from the standard libFLAC) C version of that function is here: http://linuxstb.org/lpc_ipod.c - look at the FLAC__lpc_restore_signal() function. 22.13.54 # it could be done? 22.14.24 # yes, with hard work 22.14.29 # ok 22.14.39 # the linix porjct look good 22.14.57 # no point of having tow different alternative firmware is there 22.16.13 # Grr, I don't get it. My Makefile changes for rockboy suddenly don't work anymore as they should. 22.16.16 # necrogl: you are not a programmer, are you? 22.16.43 # i have played with interface builder 22.16.46 # xcode 22.16.55 # and a few lines of cocoa 22.17.31 # it is not real porgramming 22.18.42 # linuxstb: this just might be a good test to see how good the emac unit is as well 22.19.19 # Yep, it looks a relatively simple function to write. 22.19.44 # emacs is such a lame text editor 22.19.52 # the major hurdle is that i don't know arm or m68k assembly very well, but i've got to start somewhere 22.19.55 # necrogl: don't mention it 22.20.33 # emacs rulz!!!!!!11 22.21.03 # i have nothing aginst it 22.21.25 # but it is painful using terminal for text editing 22.21.39 # I might also add that it's the only program deserving the name of an editor 22.22.03 # prefer vim myself 22.22.26 # besides, what's a non-programmer opinion on editors ?!!!111 22.22.28 # haha, went to see richard stallman the other day 22.22.38 # he donned his church of emacs saint costume at the end of the talk :P 22.22.50 # He always does ;) 22.23.20 # * jyp switches to rational mode 22.23.25 # phew 22.23.31 # That was refreshing. :P 22.23.48 # i use xocde 22.23.53 # xcode 22.23.59 # <[IDC]Dragon> sh-elf-ranlib: Command not found 22.24.02 # but i'll go eat some 22.24.08 # <[IDC]Dragon> what does that tell me? 22.24.28 # [IDC]Dragon: Doing what? 22.24.33 # Path correct ? 22.24.56 # well 22.24.59 # <[IDC]Dragon> I'm plain trying to compile fresh 22.25.01 # i am going nice 22.25.07 # now 22.25.09 # fora bit 22.25.15 # i might be back later 22.25.18 # hell 22.25.21 # <[IDC]Dragon> compiling works, so the path is there 22.25.24 # why is irc is dam slow 22.25.46 # [IDC]Dragon: Seems you don't have that command. Cygwin, I guess? 22.26.04 # haha... DMA works... almost. :) 22.26.15 # [IDC]Dragon: It is working perfectly here for the target 22.26.23 Quit necrogl () 22.26.28 # <[IDC]Dragon> I tried cygwin, for the target 22.26.33 # XShocK: what are you working on? 22.26.40 # DMA sound. 22.26.42 # * [IDC]Dragon moves over to the notebook 22.27.01 # Cool 22.27.07 # the sound is coming out, i would try to load some normal WAV PCM file to see how it would do 22.27.07 # [IDC]Dragon: Maybe your sh-binutils are too old, and don't include ranlib 22.27.25 # <[IDC]Dragon> the notebook has it 22.27.35 # XShocK: What are you playing ? 22.27.38 # i can feel the snr going down already 22.27.40 # <[IDC]Dragon> is this new, using ranlib? 22.27.42 # right now ? 22.28.07 # [IDC]Dragon: yes, seems so from looking at the new make stuff 22.28.19 # preglow: totally.. what a guy.. 22.28.20 # However, ranlib isn't strictly required 22.28.32 # $ sh-elf-ranlib 22.28.33 # Usage: sh-elf-ranlib [options] archive 22.28.33 # Generate an index to speed access to archives 22.29.15 # <[IDC]Dragon> archives, strange 22.29.32 # tried to load RAW wav, but i guess i should change little-endian to big-endian first, since there is a noise.... 22.29.44 # It's not strange. This means the .a archives, i.e. libraries 22.29.55 # * [IDC]Dragon switches machine, cu 22.30.02 Quit [IDC]Dragon () 22.30.23 Join [IDC]Dragon2 [0] (~Joerg@pD9E341EB.dip.t-dialin.net) 22.30.23 Quit [IDC]Dragon2 (Remote closed the connection) 22.31.52 Join [IDC]Dragon [0] (~Joerg@pD9E341EB.dip.t-dialin.net) 22.32.08 # <[IDC]Dragon> hi again 22.33.46 # XShocK: be sure to notify me when your work goes in CVS, so I can integrate gmini support 22.33.52 # as seamlessly as possible 22.34.18 # ... please ;) 22.35.27 # I will flood this channel if I get good sound from this DMA, don't worry. :) 22.35.42 # on iriver? 22.35.58 # :P 22.36.08 # * rasher cheers XShocK on 22.37.04 # Personnaly I used a simpler method than load from file 22.37.18 # in order to test sound from the gmini 22.37.29 # ... hardcoded buffer ;) 22.37.45 # http://users.skynet.be/jyp/test-sound2.c 22.38.07 # Maybe test this before ? 22.40.12 # ok 22.46.35 # is it sine wave? 22.46.42 # that 256 element array 22.47.35 # <[IDC]Dragon> hooray, the newer cygwin compiles 22.47.54 # <[IDC]Dragon> but "make zip" didn't work 22.47.59 # what happened? 22.48.22 # <[IDC]Dragon> it tried to build the failing rombox again, but no more 22.48.31 # does the m68k/coldfire have a hardware tick counter than anyone is aware of? 22.48.58 # it makes sound, but i am not sure if it is a perfect sine however 22.49.05 # <[IDC]Dragon> (I'm compiling Ondio FM target) 22.50.11 # aha 22.50.22 # * amiconn notices Bagder around 22.50.30 # I missed a piece of my patch in the zip parts 22.50.48 # or did I... 22.51.10 # I can't build any sim on cygwin :( 22.51.23 # There are multiple problems I don't know how to solve 22.51.46 # mail me some outputs 22.52.29 # The first one is rather early, and short. 22.56.30 # amiconn: does the cygwin header contain some kind of protection mechanism against multiple typedefs of those types? 22.56.50 # like checking for a magic define or something 22.57.00 # I already checked, it doesn't, but this problem _only_ occurs with ssize_t 22.57.19 *** Saving seen data "./dancer.seen" 22.57.51 # I found that there are safety mechanisms in firmware/include/file.h, but none of these work for cygwin. 22.58.22 # ok, I think we can #ifndef SIMULATOR that typedef 22.58.34 # I could try a kludge (checking for __CYGWIN__ as well), but I don't know if this would be good... 22.59.55 # If I use #ifndef SIMULATOR, should the magic defines stay there? 23.00.09 # hang on, checking the win32 cross-compile 23.00.47 # hehe, it errors if removed 23.01.48 # I'll add && !defined(__CYGWIN__) for now and retry... 23.01.53 # yes, do that 23.01.59 # <[IDC]Dragon> excuse a dumb question, it's been a while, do I select Win32 or X11 for cygwin sim? 23.02.10 # You can build both 23.02.23 # I'm currently trying win32 23.02.26 # or should at least ;-) 23.02.30 # <[IDC]Dragon> with the difference being what? 23.02.57 # win32 is the fancy one with images and things, the x11 one uses X windows and requires you to run X 23.03.14 # <[IDC]Dragon> win32 then 23.04.29 Join Tang [0] (~chatzilla@ARennes-252-1-48-67.w83-195.abo.wanadoo.fr) 23.04.30 # Bagder: Now it goes somewhat further, gives numerous warnings about file function, then errors at plugin.c 23.04.46 # hello :) 23.04.56 # ok, let's ignore warnings for now 23.05.07 # what's the error? 23.06.47 # ok, you miss the read() prototype 23.07.21 # Not only read(), but also write(), fprintf(), lseek() 23.07.36 # in the bottom of include/file.h 23.07.47 # try removing the #ifndef SIMULATOR 23.07.56 # for that list of protos 23.08.06 # retrying... 23.09.20 # ... "conflicting types" :( 23.09.41 # ...and a warning about printf() 23.10.05 # what's the conflicting one? 23.10.26 # read() and write() 23.10.42 Quit Cassandra_ (Read error: 60 (Operation timed out)) 23.10.46 # I think we might need a set of protos for the cygwin sim there 23.11.01 # I'm reading the "GaplessHowtoWiki" 23.11.16 # the win32 cross-compile failed too 23.11.19 # very similar 23.11.25 # * HCl doesn't understand whats so important about gapless music 23.11.41 # Well if music is made gapless, I want to listen to it without gaps 23.11.54 # I get UPSET when things have gaps, that shouldn't be there 23.11.59 # okay o.o 23.12.11 # Then I get ANGRY 23.12.14 # Bagder: I wonder why/ how it worked before the new build system... 23.12.17 # and we all know what anger leads to 23.12.21 # HCI 23.12.22 # that means you need to control your anger :P 23.12.25 # hcL 23.12.35 # try listnening "pink floyd" album 23.12.36 # amiconn: because previously the sim did not use the Rockbox headers as aggressively as now 23.12.49 # i don't like pink floyd. the only live album i have is nirvana 23.12.54 # and i couldn't care less about gaps in it 23.12.55 # o.o 23.12.57 # You'll undertsand what's cool with gapless playback 23.13.05 # Ah. So what if the rockbox headers include the system headers for sim builds? 23.13.08 # i know the difference, one has pauses, the other doesn't 23.13.16 # Okay was just for exemple 23.13.18 # ;) 23.13.25 # meh. 23.13.28 # anyways. 23.13.44 # amiconn: that can only be done if the system header has a different name, since etc will find the Rockbox one 23.14.03 # Umm, of course 23.14.20 # that's why we need to add some info from the system headers into the Rockbox ones for sim use 23.14.48 # I wonder about the gapless howto 23.15.08 # is this the only way to get gapless playback for even Rbx future? 23.15.28 # Tang: no 23.15.30 # cause the "foobar" method is much cooler 23.15.38 # Ah ok badger thanks 23.15.52 # :) 23.15.53 # No, when doing decoding in software, there are easier (for the user) ways 23.16.02 # Hmm. That doesn't sound like a clean solution to me. We can only select one (or some) particular variants. What if someone tries to build the simulator on a system with different headers? 23.16.09 # Tang: you should know that Rockbox isn't done for iriver yet 23.16.21 # Okay was wondering cause i didn't see nothing about these on the section 23.16.31 # which 68k registers can one clobber in a function? 23.16.32 # i know no mistake 23.16.38 # a0, a1, d0 and d1? 23.16.41 # amiconn: why would that break anything? 23.16.53 # it's just that i saw the GaplessHowto was edited recently 23.16.59 # the problem we have now is because cygwin/win32 use different protos than Rockbox 23.17.05 # so i thought it was about iRiverport 23.17.14 # that's why i was surprised 23.17.29 # Tang: don't be until someone claims Rockbox works for iRiver 23.17.43 # that'll be several months ahead 23.17.47 # Bagder: Possibly it would not build for the same reason cygwin fails when using the rockbox definitions: conflicting types. 23.17.59 # Okay no matter Badger 23.18.19 # amiconn: if I could, I would prevent the compiler to find the "original" protos in the system headers, but that's hard 23.18.21 # wasn't thinking about working iriverport before some months personnaly 23.18.45 # The sim (well, at least the X11 version) could be built on Linux, *bsd, Solaris, MacOS, HPUX.... 23.18.58 # yes 23.19.06 # but I don't think they will cause problems 23.19.12 # they are all posix 23.19.16 # win32 is not 23.19.30 # and Rockbox is, partly at least 23.19.44 # (but i think it's a good thing to make some publicity about the rockbox iriverport project that's why i relay the informations on some boards) 23.20.07 Join Cassandra_ [0] (~christi@213.78.126.170) 23.20.51 # amiconn: system functions are generally not different between OSes 23.20.58 # Bagder: The problem is often long vs. int, since jyp long-policed a number of places 23.21.08 # like where? 23.21.15 # ssize_t 23.21.21 # then they're not posix 23.21.23 # like win32 23.21.44 # Rockbox: typedef ssize_t long; 23.22.09 # why is that bad? 23.22.12 # Cygwin: 23.22.13 # #if defined(__INT_MAX__) && __INT_MAX__ == 2147483647 23.22.13 # typedef int _ssize_t; 23.22.13 # #else 23.22.13 # typedef long _ssize_t; 23.22.13 *** Alert Mode level 1 23.22.13 # #endif 23.22.13 # * HCl scratches his head 23.22.43 Join [IDC]Dragon2 [0] (~Joerg@pD9E341EB.dip.t-dialin.net) 23.22.46 # ..and the rockbox one is of course typedef long ssize_t; 23.22.47 # amiconn: that's a Rockbox bug then, not a sim build problem 23.22.48 # i must say the documentation of mips was a lot more straightforward than the documentation of the coldfire... 23.23.26 # Bagder: The same probably applies to the read() etc prototypes 23.23.44 # no, since read() should return a ssize_t 23.24.01 # it would adapt to the tpe 23.24.02 # anyone around experienced with mips assembly who could explain what they mean? 23.24.02 # type 23.24.05 # * amiconn checks rockbox vs. cygwin prototype for read... 23.24.06 # er 23.24.09 # m68k 23.25.08 Nick gromit` is now known as gromitovitch (~gromit`@ras75-5-82-234-244-69.fbx.proxad.net) 23.25.15 # what what means? 23.25.50 # i think cfrpm.pdf is pretty straightforward 23.25.50 # i'm looking at http://www.freescale.com/files/dsp/doc/ref_manual/CFPRM.pdf 23.25.53 # chapter 9 23.26.11 # i don't understand what they mean with the bits since some have multiple lines 23.26.19 # take btst 23.26.28 # what do mode/register do? 23.26.28 Nick gromitovitch is now known as gromit`` (~gromit`@ras75-5-82-234-244-69.fbx.proxad.net) 23.26.46 # you really should look up the individual instruction docs 23.26.53 # where? 23.26.55 # chapter three 23.27.05 Quit DrRick () 23.27.06 # m68k is actually rather easy-to-read assembler in my view 23.27.09 # every one of them is described in detail 23.27.14 # m68k assembler is very nice 23.27.17 # chapter 3 doesn't enlist bit encodings. 23.27.22 # yes it does 23.27.27 # four, i mean 23.27.30 # chapter four 23.27.39 # integer user instructions? O.o 23.27.42 # yes 23.27.50 # ahh. 23.27.54 # those are the one's you'll need, pretty much 23.27.54 # it doesn't have any subsections 23.27.57 # yea. 23.28.00 # bah, who cares :P 23.28.00 # thats what i was looking for 23.28.39 # ok 23.28.40 # thanks 23.28.41 # :) 23.28.50 # np 23.29.38 # why does gas _never_ conform to the asm syntax that's most common? 23.30.01 # even 68k assembly is slightly tweaked 23.30.12 # because they are evil? ;-) 23.30.48 # especially addressing modes are never the same 23.31.09 Join rjamorim [0] (me@200.103.132.16) 23.31.59 # Bagder: cygwin (iiuc): int read(int, void*, unsigned int) 23.32.14 *** Alert Mode OFF 23.32.15 # rockbox: ssize_t read(int, void*, size_t) 23.32.22 Quit sox ("Snak 4.13 IRC For Mac - http://www.snak.com") 23.32.36 # yes, and that is the problem in a nutshell 23.32.45 # how do you suggest we deal with it? 23.33.05 # rockbox uses the posix protos in these cases 23.33.47 # I've tried to prevent the compiler to find the system's native protos 23.33.53 # Well, in this particular case using the system include may work, because these fns are defined in io.h 23.34.16 # How do you prevent that? 23.34.26 # in linux there is no io.h 23.34.37 Quit bg_ ("Chatzilla 0.9.67 [Firefox 1.0+/20050201]") 23.34.47 # rockbox shadows pretty much all the headers with that info 23.35.52 # I dont understand I'm afraid. 23.35.53 # * Bagder tests 23.36.16 # try removing the inclusion of io.h 23.36.23 # in include/dir.h 23.38.10 # it seems to include it anyway somehow 23.38.27 # Exactly the same error. 23.39.14 Quit [IDC]Dragon (Read error: 110 (Connection timed out)) 23.39.25 # mmmmm.... sound if coming. it is sine.. but i also hear a gap. I guess it is when DMA restarts the copy progress. 23.39.35 # *sound is coming 23.40.44 # amiconn: try creating an empty file uisimulator/common/io.h 23.41.04 # as an experiment, its not a complete fix 23.41.07 # i can't really understand why it is som since when interrupt is fired when DMA copy is finished, so FIFO shouldn't be empty by then 23.41.09 # I'll try asap. 23.41.40 # Another observation: Trying to build the X11 sim on cygwin now gives a heapload of warnings, then fails to link. 23.42.04 # amiconn: I might've failed to setup the proper set of libs to link with or something 23.42.33 # XShocK: not bad anyway 23.43.32 # Bagder: Now the error is different. 23.43.54 # amiconn: does it reach further? 23.44.17 # No, errors in the same file: 23.44.28 # (hmm, better not paste that) 23.45.38 # that is further 23.45.44 # even if just slightly 23.46.04 # this prevented it from including the system's io.h for the rockbox parts 23.46.25 # now, when the simulator parts are to be built, it must find the real io.h... 23.48.04 # hmmm 23.49.03 Part rjamorim 23.49.56 Join [IDC]Dragon [0] (~Joerg@pD9E341EB.dip.t-dialin.net) 23.50.52 # i think i'm kind of gonna need a proper malloc/free implementation for a dynarec... 23.53.38 # <[IDC]Dragon> many people need such nowadays 23.53.59 # well, i might be able to do without by simply not providing an implementation for free. 23.54.10 # but it'll be extremely memory leaky and eventually it might run out of ram.. 23.54.11 # M$ teaches you l33t sp34k 23.54.14 # http://www.microsoft.com/athome/security/children/kidtalk.mspx 23.54.18 # <[IDC]Dragon> you can't just continue walking th buffer? 23.54.25 # [IDC]Dragon: i might run out of memory 23.54.42 # linuxstb: i think i'll be able to translate the asm optimized function, just give me some time :P 23.55.09 # preglow: Have fun! 23.55.29 # the good news is that the gameboy only has a 16 bit program counter 23.56.39 # linuxstb: no problem, i've got beer! 23.57.11 # HCl: isn't most things in z80 sixteen bit? 23.58.23 # apparently, i don't know much about m68k / z80 yet 23.58.24 # HCl: or eigth bit, even 23.58.26 # but i'm about to. 23.58.27 Join amiconn_ [0] (~jens@pD95D1FE0.dip.t-dialin.net) 23.58.28 # no. 23.58.36 # HCl: but registers are eight bit, right? 23.58.42 # yea 23.58.46 # sortof 23.58.52 Quit amiconn (Nick collision from services.) 23.58.53 Nick amiconn_ is now known as amiconn (~jens@pD95D1FE0.dip.t-dialin.net) 23.58.54 # theres actually 6 registers 23.58.57 # of 16 bits