--- Log for 28.02.105 Server: zelazny.freenode.net Channel: #rockbox --- Nick: logbot Version: Dancer V4.16 Started: 24 days and 15 hours ago 00.00.31 # * nobbynobbs jabs pin in reset hole AGAIN 00.00.43 # hello 00.00.51 # hi 00.01.26 # so what will this work on 00.02.20 # well 00.02.21 # mario? 00.02.28 # be prepared that it's very slow, please 00.02.35 # it will take some time before something shows up on the screen 00.02.44 # over a minute? 00.02.48 # nope 00.02.55 # and it should respond to key presses anywa 00.02.55 # y 00.03.01 # could you send me a copy of mario 00.03.14 # haven't got it currently 00.03.18 # or give me a link to a decent rom site that doesnt ask for 9999votes first 00.03.19 # a google search should get it for you 00.03.40 # what filename extentions does rockboy assosiate with? 00.03.50 Quit methangas (" HydraIRC -> http://www.hydrairc.com <- IRC with a difference") 00.03.54 # .gb 00.03.58 # thanks 00.04.13 # i had a copy of mario land years ago 00.04.17 # played it for hours 00.04.26 # haha 00.04.28 # never dug it that much 00.04.33 # never finished it, but spent more time on it than any game since 00.04.33 # i played loads of zelda, though 00.04.35 # and super wario land 00.04.57 # i had warioland! 00.05.05 Quit willkill4food (Read error: 110 (Connection timed out)) 00.05.14 Part killalot 00.05.47 Quit nobby (Read error: 110 (Connection timed out)) 00.05.47 # whats the keymapping for rockboy? 00.06.44 # well, direction pad is as you expect, the rest i can't remember :PP 00.06.56 # fair nuff 00.07.04 # whats the exit button? 00.07.08 # stop, i thinks 00.07.12 # k 00.07.23 # ooh, playing BGlander 00.07.25 # *GB 00.07.26 # can't remember 00.08.07 # i gtg 00.08.11 # thanks for all the help 00.09.16 Quit nobbynobbs ("HCl is god! preglow is jesus!") 00.09.43 Quit muesli- (Read error: 110 (Connection timed out)) 00.09.46 Join amiconn_ [0] (~jens@pD95D1467.dip.t-dialin.net) 00.10.50 # o.o. 00.11.45 Quit Aison ("( www.nnscript.de :: NoNameScript 3.72 :: www.XLhost.de )") 00.12.31 # prpplague: because gcc is *not* giving me a correct assembly of it. 00.12.43 # cause that was what i was doing, but gcc is messing up. 00.14.19 # HCl: have you tried it out? 00.14.43 # OH SWEET 00.14.52 # preglow: the code it was generating was: flags = 0; 00.14.55 # the firmware is in ia32 format! 00.15.28 Quit Zagor (Read error: 110 (Connection timed out)) 00.15.52 Quit amiconn (Nick collision from services.) 00.15.53 Nick amiconn_ is now known as amiconn (~jens@pD95D1467.dip.t-dialin.net) 00.16.26 # HCl: ahhh 00.16.47 Quit ripnetUK () 00.17.41 # okay this gets more and more interesting.. the bios itself contains -another- filesystem 00.17.57 # whatcha doing/ 00.17.57 # ? 00.19.23 # hacking this thing: http://usboem.en.alibaba.com/product/50043844/50202973/MP3_Players/MP3_Player.html 00.19.30 # ah. 00.19.57 # looks odd. 00.19.59 # but ok 00.20.11 # its ubercool. Smallest mp3 player i've ever seen. 00.20.32 # that looks cool 00.20.39 # you got jtag working? 00.21.59 # me? 00.22.25 # mst: yea 00.25.58 # i dont even have an idea what that is :) 00.26.06 # hmmm.. raw i8086 code 00.26.10 # IDA time :P 00.27.20 # mst: how are you getting the firmware off the device? 00.29.59 # prpplague, I didn't. I took a similar firmware off the 'net - I bet I would be able to get the real one off the device the moment I bring the USB cable from work 00.32.49 # HAH 00.32.59 # these people do have the gall. I get int10 calls and shit. 00.35.33 # can anyone think of a reason why descramble and scramble shouldn't work in windows? 00.35.55 # nop. 00.37.40 # well, it doesn't :/// 00.37.48 Join lImbus_ [0] (lImbus@134-43.244.81.adsl.skynet.be) 00.39.13 # preglow: It should. It does here (didn't test the iriver part though) 00.39.30 Join skav [0] (skav@67-138-74-184.dsl1.merch.roc.ny.frontiernet.net) 00.39.35 # i've got a tool up that patches a firmware and md5sums it for you, but the iriver_decode makes a smaller file than it should 00.40.05 # these functions are in no way meant to be called from anything else than the command line tools, though 00.40.15 # but i just can't be bothered to rewrite them 00.40.49 # but that shouldn't matter unless something goes wrong 00.40.58 # and if something goes wrong, the exit() call should exit my entire program 00.41.00 # which doesn't happen 00.42.43 Join Renko [0] (~i_dont_wa@host217-43-59-47.range217-43.btcentralplus.com) 00.45.14 # mst: http://www.elinux.org/wiki/JTAG 00.46.13 Quit lImbus (Read error: 60 (Operation timed out)) 00.46.13 Nick lImbus_ is now known as lImbus (lImbus@134-43.244.81.adsl.skynet.be) 00.47.13 # it's lacking a wooping two kilobytes :/ 00.47.55 Quit _aLF ("Leaving") 00.49.31 # what the hell.... 00.49.41 # suddenly it's not lacking two kilobytes 00.50.53 # and now suddenly it is.......... 00.51.24 # haahhah 00.51.26 # bloody marvelous 00.51.38 # i have to flaming _EXIT_ my patcher before the files end up like they should 00.51.58 # now isn't that something 00.52.18 # file pointer on the loose? 00.52.55 # prpplague, the device doesnt have a visible JTAG connector - havent opened it yet though 00.54.26 Quit cYmen ("zZz") 00.55.20 # mst: thanks a lot, i know see that these bloody patcher routines in iriver.c don't actually close their files 00.56.19 # now, even 00.56.56 # they rely heavily on just being able to exit() if something's wrong... 00.58.22 # preglow, "buffering"? :P 00.59.29 # Huh? Now that is strange. I'm chasing multiple problems for quite some time, and at least one of them turns out to be veery trivial. Grmpf. :-/// 01.01.32 Join rob- [0] (~robbie@haylott.plus.com) 01.01.42 *** Saving seen data "./dancer.seen" 01.01.51 # amiconn: nothing on the different plugin sizes yet? 01.01.59 # Nope :( 01.02.16 # X11 sim still has the problem of non-working lseek() 01.02.33 # This also happens in the core btw, so not plugin related 01.02.59 # However, I just found the Win32 sim problem with the codec test plugins. 01.03.04 # have you tried debuggin the lseek function? 01.03.23 # I have no idea how to do this. I tried, but failed 01.03.28 # hmmm 01.03.33 # i know how to do it with visual studio 01.03.36 # but not with gdb 01.04.18 # I don't have visual studio, apart from that it wouldn't help here. The pure win32 sim works perfectly 01.04.50 # The Win32 sim problem with the codec tests is simply that the plugins detect a stray keypress, and exit because of that 01.05.16 # When I comment out this check, they run just fine. 01.05.17 # gdb should be able to trace into functions it doesn't have source to as well 01.05.20 # hmm, or perhaps not 01.05.46 # And btw, the codec test run at least one order of magnitude faster on the win32 sim 01.06.33 # than x11? 01.06.38 # yep 01.06.45 # ahh, wouldn't know much about that 01.07.54 # mpa2wav runs at about 6000% here in win32 sim, converting a 10 minute mp3 in around 10 seconds 01.08.07 # sounds reasonable 01.12.22 Quit Renko ("cheerio") 01.14.46 Join sevenapple [0] (sevenapple@pcp08873970pcs.glstrt01.nj.comcast.net) 01.15.42 Join Sando [0] (kekekek@CPE-147-10-21-132.vic.bigpond.net.au) 01.15.59 # mst: yea, they rarely have jtag on an external connector, but if the cpu supports jtag, they will usually have pads or a header 01.18.10 # Ahahahah! The win32 button driver still has a bug that was fixed waaayyy back for the target driver :-/ 01.19.04 Quit lImbus (" HydraIRC rocks! -> http://www.hydrairc.com <-") 01.19.45 # It tries to use queue_empty() to empty the button queue. However, queue_empty() is just a status function, returning a boolean... 01.22.14 Quit sevenapple () 01.27.41 # someone up for trying my patching tool? 01.27.48 Join Camilo [0] (~chatzilla@userca029.dsl.pipex.com) 01.27.56 # in a bit... 01.27.57 # windows required 01.30.48 # http://glow.m0f0.net/rockbox/patcher.exe 01.31.07 # whats it do 01.31.35 # it patches a firmware file with the rockbox bootloader 01.31.47 # hmmm 01.31.54 # i might give it a go tomorrow perhaps 01.32.00 # gotta go now though 01.32.01 # ;) 01.32.02 # cya 01.32.05 Quit Sucka ("a bird in the bush is worth two in your house") 01.32.17 # not for distribution yet, but i wanted to be done with it 01.34.36 Join pabs [0] (~pabs@xor.pablotron.org) 01.35.35 # hi all, i'm about to flash my h120 with rockbox, i've been goign over the docs 01.35.48 # was wondering if there's anyone around to answer questions if i've got them 01.36.28 # shoot 01.36.46 # no questions yet, still getting up to speed 01.36.50 # ahh 01.36.52 # you're a programmer? 01.37.28 # yeah, why? 01.37.42 # just wanted to know you know what you're doing ;) 01.37.51 # i hope so! 01.38.26 # i've mucked around with my h120 before, it's got modded graphics and everything, but i haven't flashed with it anything other than modded iriver firmware before 01.38.48 # well, with the track record of the rockbox bootloader, you shouldn't see any surprises 01.38.51 # no dead units thus far 01.39.06 # k, that's reassuring 01.41.07 # do i need to rename rockbox.iriver to ihp_120.hex to flash it initially? 01.41.18 # that's not the bootloader 01.41.28 # rockbox.iriver is rockbox itself, it's what the bootloader loads 01.41.41 # k 01.41.56 # the bootloader is bootloader.bin, and needs to be patched into ihp_120.hex 01.41.56 Join Aison [0] (~hans@zux166-181.adsl.green.ch) 01.42.10 # gotcha 01.46.37 # found it, just double-checking the firmware veresion here 01.46.40 # WOW preglow 01.46.49 # so thats it? 01.47.01 # asdsd: what's what? 01.47.09 # now that u made patcher.exe does this mean the new iriver firmware is publicly released? 01.47.14 # asdsd: no 01.47.18 # oh 01.47.18 # asdsd: not by any means 01.47.33 # well i figured since its so easy to do so now that u got it with a program 01.47.34 # fuck, i have to go pick up my roommate's nephew 01.47.38 # asdsd: don't even think of spreading it, i just want to see if it works ;) 01.47.41 # i remember reading that before u had to compile it urself 01.47.43 # preglow: think you'll be around in like 20 minutes? 01.47.47 # im not 01.47.50 # pabs: odds are good, at least 01.47.56 # asdsd: we don't want it to be easy yet 01.48.00 # preglow: alrigth 01.48.07 # yeah i understand, its for their own good 01.48.12 # preglow: either way it looks like i've got enough to go on right here, but just in case :-D 01.48.19 # hi, has anyone run any code on a H3xx yet? 01.48.27 # too bad i don't have an h120, i wud love to flash it just so i can find some bugs on it 01.48.43 # preglow: install patched firmware, flash, copy rockbox.iriver and .rockbox over, boot up holding down record and enjoy 01.48.50 # preglow: correct? 01.49.04 # i'm going to miss my awesome transformer logo 01.49.06 # :( 01.49.07 # pabs: indeed, though i'd copy the files first, so you can go straight to rockbox, heh 01.49.15 # preglow: k 01.49.27 # pressing record will boot iriver firmware as it is, btw 01.49.28 # preglow: unfortunately i need my iriver right now for drving, so it'll hvae to wait until i get back 01.49.43 # preglow: right 01.49.50 # default is rockbox 01.49.54 # cool 01.49.58 # well stay tuned, i'll be back in a bit 01.49.59 # :) 01.50.02 # ait 01.50.34 # has anyone actually tried flashing with american firmware? 01.50.39 # or korean? 01.50.43 # flashing rockbox with, i mean 01.50.52 # lol 01.51.29 # hey u preglow i can seriously mess up my h3xx if i flash it with h1xx firmware right? 01.51.34 # asdsd: indeed 01.51.40 # i figured... 01.51.41 # asdsd: i doubt it would ever start again 01.51.52 # yup 01.52.02 # preglow, have you run any code on H3xx? 01.52.17 # so in the future when the firmware for the h1xx is released is it gonna be in the form of a patch to w/e firmware u want to use 01.52.24 # or is it gonna be an actual hex file? 01.52.37 # Camilo: mno 01.52.44 # asdsd: patch 01.52.54 # asdsd: it's illegal to redistribute irivers firmware, afaik 01.53.03 # how can you pad an integer with 0's in a specific field width in c++ 01.53.22 # Stryke`: you mean with printf and pals? 01.53.29 # or iostream? 01.53.30 # cout << setw(2) << 01.53.37 Join midk [0] (~midk@c66-235-14-120.sea2.cablespeed.com) 01.53.51 # i have an integer anywhere from 0 to 99999 01.53.56 # and i need it formatted as xx-xxxx 01.54.28 # oh ok 01.54.46 # homework Stryke` ? 01.54.48 # yes 01.54.49 # ;-) 01.55.35 # i know printf("%05d" but i'm not to use it 01.55.42 # to be honest i have no idea how to do it with iostream 01.56.05 # Stryke`: modulus? 01.56.12 # http://www.arachnoid.com/cpptutor/student3.html 01.56.18 # hmm 01.56.22 # Stryke`: there are about 100 ways of doing that 01.56.22 # google is your friend 01.56.30 # you could use a combination of fill() and width() 01.56.47 # thanks 01.57.04 # setfill('0') 01.57.21 # just cout.fill('0'); 01.57.34 # I hate C++ 01.57.41 # will it only affect the next output or all 01.57.45 # i'm not very fond of it either, but it's ok enough 01.57.50 # Stryke`: all 01.57.51 # :) 01.58.02 # it's fast and it's oo 01.58.06 # preglow: then to turn it back cout.fill(' '); ? 01.58.18 # preglow, about the bootloader, how did it come into being? What would it take to have a h3xx one? 01.58.42 # Stryke`: you can store the old fill char with 'char prev = cout.fill();' 01.58.56 # Camilo: research and some new drivers 01.59.01 # im sure it defaults to ' ' 01.59.04 # Stryke`: it does 01.59.25 # research as in reverse engineering the firmware? 01.59.30 # no 01.59.38 # research the hardware directly 01.59.40 # find datasheets, etc 01.59.50 # has anyone compared the 3xx with 1xx firmwares? 01.59.54 # perhaps some reverse engineering if things are too impractical with other means 02.00.16 # Camilo: i don't see the point, you can pretty much tell they're not alike by comparing features 02.00.40 # but they are likely to have some similarities at a low level surely? 02.00.50 # Camilo: yes, but why should that matter? 02.01.01 # only problem is it right pads in fill, not very good for ints 02.01.11 # Stryke`: it does? 02.01.12 # the 1xx would give you a hypothetical jump start 02.01.16 # Stryke`: that's braindead 02.01.19 # Camilo: it will 02.01.20 # i know 02.01.24 # Camilo: the hardware is pretty similar 02.01.28 # 123 showed up as 00-1230 02.01.32 # Camilo: we don't need to analyze the firmware to see that 02.01.48 # what help do you most need to get the 1xx stuff done? 02.02.10 # Stryke`: that's right out stupid, who the hell needs right padding? 02.02.21 # im trying to understand myself 02.02.30 # to test i left alligned the text, but i still get right padding 02.02.31 # Camilo: we need faster codecs, and codec framework the most right now 02.02.38 # preglow, right to left writing language users maybe? 02.02.48 # Camilo: by default, though? 02.03.09 # padding is almost always used with numbers, and padding numbers is mostly always done on the left hand side 02.03.13 # I'm not an internationalisation expert but I've come across it 02.05.37 # preglow, is there a DSP chip for the codecs? 02.08.04 # Camilo: the main chip in the h1x0 also has some dsp capabilities 02.11.44 # can you compile the stuff to run on a PC? 02.12.04 # what stuff? 02.12.22 # if you mean rockbox, yes, that's what the simulators are for 02.13.11 # how do you measure the performance of the codecs? You say they are too slow. 02.13.49 # we measure them by decoding a file on the player and seeing how fast they do it 02.14.34 # Speaking about the codec - could someone please test something for me? 02.14.35 # what fraction of realtime is it? 02.14.57 # amiconn: sure, if i can 02.14.59 # I've prepared a patch that allows proper linking on cygwin, and maybe others 02.15.11 # i, don't do cygwin :P 02.15.17 Join pill [0] (dearth@ip-130.net-82-216-140.issy4.rev.numericable.fr) 02.15.26 # ahh, i don't do cygwin <- what i meant 02.15.41 # Camilo: on rockbox as it is, very slow, mp3 runs at around 4% of realtime 02.15.54 # Camilo: linus has mp3 running at nearly 100% realtime on his player 02.16.06 # Camilo: and i'm working on speeding it up, there's a lot more we can do 02.16.16 # I know. I want it to be tested whether it still works correct on the target, and on a plain Linux X11 simulator 02.16.39 # ok I will try to get the linux sim working and see what I can learn 02.16.39 # amiconn: well, as you've seen, i haven't got much luck on the linus fron either :) 02.16.45 # Grab it here: http://amiconn.dyndns.org/malloc.diff This also needs http://amiconn.dyndns.org/codec.h in apps/codecs 02.16.48 # LINUX FRONT, arghh 02.17.04 # * preglow switches lights on again 02.17.26 # Probably the most important is the actual target 02.17.35 # I don't have such... 02.17.58 # ok, i'll try compiling it for h120 02.18.04 # * amiconn should also start apache... 02.18.20 Join ghode|afk [0] (dude@host217-137-6-17.no-dns-yet.ntli.net) 02.18.33 # ...done 02.18.48 # ok, latest cvs with those changes? 02.18.53 # yup 02.20.27 # Please check whether it compiles, preferably without warnings, and also whether the codec test plugins run correctly (one or two should be sufficient, one of the should be vorbis2wav) 02.20.28 # preglow: still need someone to test your patcher? 02.21.05 # patching file apps/codecs/libwavpack/wavpack.h 02.21.05 # Hunk #1 FAILED at 8. 02.21.05 # 1 out of 1 hunk FAILED -- saving rejects to file apps/codecs/libwavpack/wavpack.h.rej 02.21.08 # patching file apps/plugins/lib/xxx2wav.c 02.21.09 # ghode|afk: sure 02.21.17 # ok 02.21.51 # preglow: You're patching against current cvs? 02.21.58 # amiconn: indeed, i just did an update 02.22.18 # Hmm, strange. The diff *is* against current cvs.... 02.22.19 # will you put cvs version numbers in future patchers? 02.22.42 # (created with cvs diff -u) 02.22.48 # ghode|afk: how? 02.23.03 # hmm 02.23.13 # nm me :p 02.23.16 # amiconn: well, i haven't touched that specific header anyway 02.23.35 # Any other failures? 02.23.52 # preglow: "checksum does not match good patched firmware! download another firmware imgae, then try again" with 1.63K 02.23.59 # amiconn: no, really stupid reject anyway, i've done it by hand 02.24.07 # ghode|afk: good, you need to try the eu one 02.24.14 # It's only the one added #include... 02.24.16 # ghode|afk: that's the only one i've supplied an md5 for now 02.24.21 # ok 02.24.27 # amiconn: i know, i can't imagine why patch didn't manage that 02.24.46 # eu is quite bad because of volume limitations. btw which eu 1.60 or 1.63? 02.25.05 # ghode|afk: newest you can find 02.25.19 # ghode|afk: and as far as i know, there are no volume limitations in h1x0 firmware yet 02.25.40 # ghode|afk: i'll supply md5s for all firmwares soon anyway 02.26.34 # amiconn: mpa2wav.rock linking vomits quite copiously 02.26.55 # amiconn: i'll spam the details to you in query 02.26.56 # Huh? 02.27.11 # hey preglow is it also illegal to distribute archos firmware or do u gotta supply the patches for those too 02.27.51 # asdsd: the archos doesn't have that particular problem as it needs no bootloader 02.27.55 # preglow: dumb question, what does the "download" button do? 02.28.18 # or what is it supposed to do? 02.28.19 # ghode|afk: as i said, nothing yet :P 02.28.32 # ghode|afk: it will download the firmware if that's a feature people want 02.28.40 # k, i missed that ;p 02.29.21 # ghode|afk: but did it patch the firmware? could you make an md5sum for me if you're capable? 02.30.04 # downloading it on 56k atm, and no idea how to do a md5sum 02.33.50 # preglow: linus has mp3 running at 100% on his iriver? 02.34.14 # elinenbe: he had 95% realtime after using a synth_full opt i made 02.36.53 # back 02.37.11 # grrr 02.38.21 # preglow: file patched ok with 1.63eu md5sum: 627d5195b56ebca3b3b431cccb535c3bfa hand typed >< 02.39.05 # preglow: nice... 02.39.09 # ghode|afk: splendid, that's just right, thanks 02.39.19 # np 02.39.54 # then we've got a tool ready for release, at least 02.40.25 # lol 02.40.53 # btw, which release of rockbox did i just patch? 02.41.03 # preglow: is that running the mp3 (madlib?) codec, and if so, what is the interface? 02.41.14 # the bootloader on the wiki 02.41.41 # elinenbe: that's running a lightly customized libmad, yes, interface is mpa2wav plugin 02.42.02 # preglow: that's great! 02.42.08 # elinenbe: i agree :) 02.42.14 # but still not great enough 02.42.18 # preglow: and is it producing sound on the target? 02.42.30 # elinenbe: not directly, no, but but we'll get around to that 02.42.37 # with any luck sound will make it to cvs during this week 02.42.48 # still... i mean rockbox/iriver is in it's infancy 02.42.57 # yup 02.43.05 # progress has been really quick 02.43.13 # brb 02.43.15 Quit elinenbe (" HydraIRC -> http://www.hydrairc.com <- The dawn of a new IRC era") 02.44.07 Quit ghode|afk () 02.45.52 # wee, i've used a goto statement in a c program for my first time! 02.46.05 # ew 02.46.07 # gotos bad 02.46.10 # haha, yes 02.46.16 # but they're nice for error handlinmg 02.46.24 # mrf. 02.46.26 # well. 02.46.33 # i'm gonna go sleep 02.46.35 # nightnight 02.46.47 # oh 02.46.56 # and update the todo thing about the patcher 02.47.03 # gotos are fine in firmware 02.47.33 # ok 02.56.11 Quit skav () 02.58.29 # hmmm the daily rockox doesn't build for me (iriver/simulated/x11) 02.58.53 # there are problems with the sims right now 02.59.40 # it seems more of a makefile problem than a c problem... any hints? 03.00.31 # well, error message? 03.00.34 # What system? 03.00.46 # Entering directory `/home/cxm/rockbox-daily-20050227/uisimulator/common 03.00.56 # *** No targets specified and no makefile found. Stop. 03.01.13 # It's like it's done a make -C that directory but there was no makefile there 03.01.23 # You need a build directory, and then use configure 03.01.44 *** Saving seen data "./dancer.seen" 03.01.46 # ..to create the customised "master" Makefile there 03.02.08 # amiconn, I did mkdir /home/cxm/rockbox-daily-20050227/cxmbuild 03.02.23 # and in there did the ../tools/configure 03.02.32 # then make all 03.02.43 # hey preglow how many hits have u gotten today offa that slashdotted link 03.03.06 # asdsd: around ten thousand, i'm disappointed :/ 03.03.22 # Camilo: Hmm. This should work... 03.03.26 # (the system is linux 2.6, gcc 3.4.2) 03.03.35 # well, preglows site wasn't directly linked 03.03.36 # shall I try again? 03.03.42 # the article linked to that one article 03.03.47 # which linked to another article 03.03.54 # and neither really linked to preglow 03.04.01 # so the only ones that found preglow site used the wiki 03.04.02 # nah, it was indirectly indirectly linked 03.04.35 # if you clicked on the picture in the article and clicked another pictures link, you got me 03.05.41 # amiconn, do you have a build tree handy? tell me is there a Makefile in the uisimulator/common dir? 03.05.50 # why r u dissapointed dude, thats a lot 03.06.23 # asdsd: yes, i know, i'm just joking around 03.06.24 # Camilo: Yes, there is. Is there no makefile in the daily tarball? 03.06.39 # amiconn: look in query for "good" news 03.06.41 # yes there is no makefile there 03.06.52 # I'll get an older taball and steal one from there 03.07.16 # No... chances are there is none either 03.07.32 # It seems someone forgot to add it to the FILES list 03.08.26 # serves me right for being too lazy to get it from cvs 03.11.59 # ok it's better now (got the file from CVS browse ) 03.12.15 # someone put that makefile in the manifest pls? 03.12.22 # I already did. 03.13.27 # Cool. I think I'll make this my lunchtime project 03.15.28 # i'm off 03.15.29 # nite 03.15.37 # Night 03.15.38 Quit preglow ("dud") 03.17.25 Join ze__ [0] (ze@adsl-69-231-238-2.dsl.irvnca.pacbell.net) 03.17.55 Part amiconn 03.20.24 Quit Stryke` ("Friends don't let friends listen to Anti-Flag") 03.21.39 Join bnewhouse [0] (~bnewhouse@cpe-24-94-54-216.stny.res.rr.com) 03.22.21 # hey... so im trying to compile rockbox... and i keep getting an error about the calculator... 03.22.34 # and im using current cvs..... 03.23.14 Quit midk ("Leaving") 03.24.55 Quit XShocK (" HydraIRC -> http://www.hydrairc.com <- IRC with a difference") 03.25.46 # * pabs searches around for m68k toolchain debs 03.29.31 Quit Camilo ("Chatzilla 0.9.67 [Mozilla rv:1.8a6/20050111]") 03.30.55 # is anyone live? 03.31.25 Quit ze (Read error: 110 (Connection timed out)) 03.31.25 Nick ze__ is now known as ze (ze@adsl-69-231-238-2.dsl.irvnca.pacbell.net) 03.41.07 Join webguest63 [0] (~4328884a@labb.contactor.se) 03.42.00 Quit webguest63 (Client Quit) 03.45.15 Quit Aison ("( www.nnscript.de :: NoNameScript 3.72 :: www.XLhost.de )") 03.48.21 # most of the guys already went to bed 03.48.31 # they've had a long night working on the iriver 03.48.57 # if only someone were nice enough to just release the iriver firmware source code 03.54.55 # haha 03.54.56 # pft 03.55.19 # well then thered be no fun to it all... 04.03.17 # I guess there would be, why are you expecting it would be such quality that we actually could use it ;) 04.04.39 # haha im confused... 04.04.43 # well anyway 04.04.58 # i think my problem is cus i dont have the lastest version of gcc.... 04.05.05 # so, for the record, try that... 04.05.54 # I haven't done anything on the sw, I'm just hanging here to see how the port is going on -> can't help 04.05.57 Join QT_ [0] (as@area51.users.madwifi) 04.20.06 Quit QT (Read error: 113 (No route to host)) 04.20.27 # yeah... 04.20.34 # im trying to get something done 04.20.42 # but first i have to get a successfull compile 04.29.53 # alright 04.29.55 # momento f truth 04.29.59 # i'm about to flash my iriver 04.33.03 # so uh 04.33.15 # it works, but i'm kind of missing a play interface 04.33.48 # arr 04.33.49 # we 04.33.49 # ll 04.33.52 # that didnt work 04.34.02 # cus i still cant get it all to compile... 04.36.43 Join chuck [0] (something@61-23-62-13.rev.home.ne.jp) 04.42.31 # but i am trying switching versions for 3.35 to 3.4.3 04.42.46 # *3.3.5 04.55.20 # so uh, i have no audio here 04.55.31 # other than that it works great :) 05.01.45 *** Saving seen data "./dancer.seen" 05.20.35 Quit prpplague ("Client Exiting") 05.26.37 # there isnt supposed to be i dont think... 05.26.44 # i know theyve got wav working 05.26.56 # but im not sure if they've patched it to the CVS 05.28.37 Join webguest11 [0] (~18163f8e@labb.contactor.se) 05.29.24 Quit webguest11 (Client Quit) 05.34.02 # bnewhouse: cool, then i feel better 05.34.06 # in that case 05.34.12 # this is awesome :) 05.52.32 Join kramerica [0] (~lkd@hsdbsk142-165-191-185.sasknet.sk.ca) 06.11.53 Quit kramerica () 06.34.33 Join ashridah [0] (ashridah@220-253-120-84.VIC.netspace.net.au) 06.56.55 Join DMJC [0] (~James@220-245-162-47-sa-nt.tpgi.com.au) 06.59.34 # fuck. HCl just acheived slashdot fame :) 06.59.40 # (well. a while ago) 07.00.32 # heh 07.00.37 # I saw 07.01.25 # nevermind that it doesn't even run fast enough to be playable yet. 07.01.47 *** Saving seen data "./dancer.seen" 07.01.56 # it's slashdot 07.02.03 # all you need is a theory and you get famous 07.05.17 Quit bnewhouse (Remote closed the connection) 07.18.02 Join Strath [0] (~mike@dgvlwinas01pool0-a239.wi.tds.net) 07.18.46 Quit ashridah ("Leaving") 07.27.27 # s/theory/a combination of words/ 07.35.19 Join webguest72 [0] (~0cd866cf@labb.contactor.se) 07.35.33 Quit webguest72 (Client Quit) 07.35.35 Join webguest01 [0] (~0cd866cf@labb.contactor.se) 07.35.55 Quit webguest01 (Client Quit) 07.36.10 Join LinusN [0] (~linus@labb.contactor.se) 07.40.41 Quit StrathAFK (Read error: 110 (Connection timed out)) 07.48.54 # HCl: u there? 07.50.25 Join ashridah [0] (ashridah@220-253-121-1.VIC.netspace.net.au) 07.54.18 # well. i've countered my three bits of semi-fud on slashdot today. have you? :) 07.58.18 # :-) 07.58.50 # i was wondering how long that'd take to hit slashdot. 07.59.37 # hehe 08.00.13 # i particularly like how vague the article slashdot linked to was :) 08.01.26 # engadget? 08.04.07 # yeah. 08.04.19 # no mention of how slow it is atm, or that it's specifically only for the archos, etc. 08.07.53 # you mean iriver 08.10.12 # yay! mondaY! 08.10.24 # This is the day I envy Zagor :) 08.12.50 # hehe 08.25.32 # morning 08.25.54 # mooning 08.36.07 # what's zagor getting that's enviable? 08.36.30 # LinusN: and yeah. it's like 35 degrees atm. i'm not thinking straight. 08.37.15 # zagor is on leave 08.37.36 # and it's -10 celcius here :-) 08.38.08 # heh 08.38.30 # wish it snowed here. then i see shots of people shovelling snow and having a totally iced over car, and i don't. 08.39.03 # :) 08.49.45 # i love snow 08.49.51 # me too 08.49.53 # as do i 08.50.04 # love skiing. although it's on the icy side here 08.50.20 # I rather have -20c and no clouds in the sky instead of 0-ish and graymulet 08.50.21 # ;) 09.01.50 *** Saving seen data "./dancer.seen" 09.02.02 # sadly, australia's southernmost point is still well above the antarctic regions/ 09.08.58 Nick kergoth is now known as kergoth`zzz (~kergoth@li11-226.members.linode.com) 09.13.24 Nick Lynx_awy is now known as Lynx_ (HydraIRC@134.95.189.59) 09.22.12 Join jyp [0] (~jp@128.139-200-80.adsl.skynet.be) 09.48.32 Join shx [0] (~a4810127@labb.contactor.se) 09.50.16 Nick Strath is now known as StrathAFK (~mike@dgvlwinas01pool0-a239.wi.tds.net) 09.51.58 Join Schnueff [0] (~mah@134.96.247.233) 10.00.32 Join amiconn [0] (~jens@pD95D1467.dip.t-dialin.net) 10.18.30 Join bobTHC [0] (~foo@l03v-36-58.d1.club-internet.fr) 10.19.42 # hi folks! 10.19.47 # hey ho 10.20.05 # Hey 10.20.17 # some core devs back ;) 10.21.19 # A question probably for amiconn ... 10.21.57 Quit shx ("CGI:IRC (EOF)") 10.22.31 # I'd like to tag the proto of panicf with ATTRIBUTE_PRINTF(1, 2) 10.23.52 # the question is should I include sprintf.h in panicf.h, or more the definition of ATTRIBUTE_PRINTF somewhere else? 10.27.52 # you mean if you should #define ATTRIBUTE_PRINTF in sprintf.h? 10.32.52 Join Tang [0] (~chatzilla@ARennes-252-1-33-137.w83-195.abo.wanadoo.fr) 10.33.45 # LinusN: yes; where is it best placed ? 10.40.23 # stdio.h could be a good place 10.40.51 # or _ansi.h 10.41.32 # as long as it works for the simulators as well 10.42.10 # ok; it doe.s 10.44.35 # I have a rather complex change pending that's still not complete. It will probably change more files at once than each of the initial codec checkins... 10.44.57 # whoa ;) 10.47.11 # amiconn: sounds wonderful, what is it? 10.49.07 # It enables compiling the codecs and codec plugins on cygwin. 10.49.27 # The problem is that xxx2wav.c defines malloc() and friends 10.49.37 # oki 10.49.59 # what's your solution? 10.50.01 # The cygwin linker is mislead by this. It seems like it tries to use these for the dll startup... 10.50.15 # ...leading to numerous crashing plugins 10.51.17 # I now have a header for all codecs (apps/codecs/codec.h) that defines a number of macros to get these functions out of the way 10.51.44 # #define malloc(x) codec_malloc(x) etc 10.51.45 # nice 10.52.04 # btw, maybe it's time to abandon rombox for ondio fm? 10.52.22 # This requires to add a central .h file for those codecs that don't already have one 10.52.34 # (Tremor, flac) 10.52.49 # ok 10.52.55 # The codecs must not include stdlib.h .... 10.53.41 Quit Tang ("Chatzilla 0.9.66 [Mozilla rv:1.7.5/20041108]") 10.53.42 # rombox for Ondio FM didn't fit for a long time now... but the build worked until feb-18 10.54.35 # odd 10.55.36 # I need a way to test my modifications for a target compile... I just came up with the idea to compile them for archos 10.56.20 # you should get yourself an iriver 10.57.05 # I should get some things done before I get myself another toy... 10.57.16 # ...e.g. the oldplayer lcd test... 10.57.48 # Btw, I still have a strange issue with the X11 sim on cygwin. 10.57.54 # has jörg got his pile of junk from ebay? 10.58.23 # Don't know... he didn't come here since last week 10.59.06 # In a cygwin built X11 simulator, lseek() doesn't work. However, it works in a cygwin built win32 simulator... 10.59.43 # ...as well as in an X11 simulator built on Linux 11.00.04 # However, lseek() works on cygwin X11 when built with the old build system... 11.00.38 # I'm running out of ideas what to check 11.01.54 *** Saving seen data "./dancer.seen" 11.02.31 # in what mode was the file opened? 11.05.05 Join preglow [0] (thomj@s183a.studby.ntnu.no) 11.05.25 # I made up a special test plugin, to avoid possible side effects. It opens the file with O_RDWR | O_CREAT | O_TRUNC 11.06.54 # and lseek fails how? 11.07.04 # lseek beyond the end, or? 11.07.10 # This very same plugin works for cygwin/win32, Linux/x11 and old cygwin/x11. It doesn't work for new cygwin/x11 11.07.20 # lseek() returns with -1 11.07.26 # errno? 11.07.28 # No out-of-range seek 11.07.39 # errno seems to be uncheckable in rockbox 11.08.15 # LinusN: i eventually got that imdct_s opt working 11.08.20 # amiconn: email me the plugin 11.08.25 # preglow: nice! 11.08.35 # LinusN: how safe is it to reference symbols directly in inline asm? 11.08.39 # http://amiconn.dyndns.org/test_file.c 11.08.54 # LinusN: is there any danger of them having underscores in front of them on some platforms? 11.09.29 # LinusN: The same problem occurs with the codec test plugins. They work almost correctly, but since lseek() doesn't work, they write the correct .wav header at the end... 11.09.42 # preglow: the underscores ate platform specific 11.09.45 # are 11.10.21 # preglow: but the asm is too, so it's generally safe 11.10.29 # LinusN: hah, true enough 11.10.51 # preglow: I do that too in the grayscale lib... I even rely on a certain libgcc routine... 11.11.21 # elf doesn't use _ at the start, but coff is pretty widespread as well 11.11.28 # amiconn: pretty 11.27.15 # LinusN: but yes, libmad has two c imdct_l variants, one that does decomposing into smaller, different imdcts, and one that's the ordinary mac based monster 11.27.32 # the mac instructions is very fast, so i think i'll give the latter one a go 11.27.44 # great 11.28.23 # the mac with shift scheme i used in imdct_s worked great, so should here as well 11.31.33 Join UlfJack [0] (~Ulf@139.30.201.19) 11.31.53 # hiho 11.33.31 Join Aison [0] (~hans@zux166-181.adsl.green.ch) 11.35.40 # amiconn: the X11 simulator uses a different open() function than the win32 sim 11.36.30 # looks like WIN32 isn't defined in the cygwin x11 build 11.39.32 # perhaps the NOCYGWIN is a problem? 11.40.15 # or rather, lack of 11.47.50 # No, all of these are in fact correct. 11.48.15 # the fact remains, WIN32 is not defined, and it uses a different open() 11.48.37 # Yes... because it isn't a win32 sim, but an X11 sim 11.48.53 # This worked the same way with tthe old build system 11.49.43 # The NOCYGWIN isn't used for the X11 builds, at least after I corrected that 11.50.21 # arm asm certainly seems to be pretty nice 11.50.32 Join linuxstb [0] (~linuxstb@213.86.218.27) 11.51.24 # LinusN: If I use the other open() syntax for x11, I get a 'wrong number of arguments' error 11.58.46 # jyp: Your fat.c changes cause warnings if fat16 support is enabled, i.e. Ondio 12.01.55 # s/fat.c/panicf/ 12.04.19 # how do we feel about our patcher tool not handling directory names with fancy characters in them? :) 12.05.15 # amiconn: I already comitted a fix 12.25.31 # how i love windows programming 12.36.23 # make 12.36.29 # oops 12.36.44 # make: *** No targets specified and no makefile found. Stop. 12.36.52 # :-) 12.37.27 # bash: oops: command not found 12.37.48 # bash: syntax error near unexpected token `)' 12.37.58 # haha 12.38.06 # amiconn: i have found the sim problem 12.38.09 # LinusN: how close are we to seeing speedups in cvs, btw? 12.38.55 # preglow: i am a bit reluctant, but i guess i could commit the changes and let people run them on their own risk 12.40.02 # what can go wrong? 12.40.52 # i don't know what the overheating does to the cpu in the long run 12.40.59 # there's no particular hurry if you feel there's parts you're unsure of, we'll need a codec api before we can do interesting things 12.41.08 # disk corruption, longterm accelerated failure due to excessive heat? 12.41.26 # LinusN: well, you don't _have_ to run it at full speed? 12.41.34 # LinusN: will it overheat at 90ish mhz as well? 12.41.37 # no i don't 12.41.48 # haven't tested 90MHz yet 12.43.44 # it sucks that you can't get h1x0 anymore 12.44.46 # i'd like a new one if i kill this one ;) 12.46.09 # hehehe 12.58.19 # LinusN: What is the sim problem? 12.58.42 # Hey, I just read about the gnuboy posts on engadget and slashdot 12.58.45 # the x11 cygwin unix layer uses a 64-bit off_t 12.59.01 # feels like the firmware is losing the focus 12.59.07 # and the sims include our own types.h instead of the system one 12.59.55 # Ah, interesting. The sims should use our own includes, except for the parts under uisimulator/ 12.59.59 Join cYmen [0] (~cymen@nat-ph3-wh.rz.uni-karlsruhe.de) 13.00.39 # in fact, the sims shouldn't use firmware/include at all 13.00.43 # Then we need a sim_lseek() the same way as the other sim_* functions that does the translation 13.01.28 # If the sims shouldn't use firmware/iclude, then some stuff must be moved somewhere else 13.01.55 *** No seen item changed, no save performed. 13.02.04 # Bagder wants (and I agree that this is good), that the sims use as much rockbox code as possible 13.02.46 # E.g. all the string functions can be used in the simulator 13.02.58 # yes, but the (initial) whole point of the firmware/include dir was to be target only 13.03.19 # Yeah.. so the string stuff belongs somewhere else, right? 13.03.26 # since the host has its own implementation of those functions 13.03.52 # amiconn: the firmware/include dir has only .h files 13.04.01 # Yes.. and some of them must be simulated for various reasons 13.04.22 # yes, but the implementations are not in the .h files 13.04.53 # Yes.. but e.g. string.h is in firmware/include 13.05.25 # The simulator builds should use our own string.h as well when they're going to use our own string function implementatipn 13.06.12 # yes, and that wasn't the initial idea 13.06.33 # the initial idea was to use the host functions for posix stuff 13.07.04 # But do you agree that it is good to use our own string functions? Imho this has at least 2 advantages 13.07.05 # types.h is a typical example of why that is a good idea 13.07.12 # i agree 13.07.32 # but how does that affect string.h? 13.08.16 # (1) We can find bugs in our implementation when using the sims also (2) It implements functions that may be missing on some target systems. strcasestr() is one example... 13.08.36 # okidoki 13.09.42 # Well, string.h holds the prototypes of the string functions, and if we want to use our own implementation, the sims also have to use the correct prototypes 13.09.54 # i have a dirty fix for the cygwin x11 problem 13.10.06 # Dirty in what way? 13.10.27 # it adds a check for __CYGWIN_USE_BIG_TYPES__ in our types.h 13.10.50 # Hmm. That sounds a bit ugly... 13.10.58 # instead of (correctly) using the system types.h 13.11.35 # Imho the rockbox part should also use firmware/include for simulator builds, only the uisimulator/ part must not. 13.12.07 # Then lseek() must be implemented as simulated function, with uisimulator/common/io.c using the system's types.h 13.12.25 # it does use firmware/include for sim builds today 13.12.42 # ...and the argument of course *not* using off_t, but our own datatype (iirc long) 13.13.15 # I already tried adding a simulated lseek, only that I used off_t for the argument and return type ... 13.13.28 # amiconn: can you fix that, i don't have the time 13.13.31 # ? 13.13.54 # btw, perror() works just fine in the plugins 13.13.56 # Okay, I'll try that this evening. I think that it'll work. 13.14.19 # helped me find this error 13.14.30 # strace is another nice tool 13.14.43 # I didn't think about the possibility that cygwin may use 64 bit dataypes... 13.15.57 # neither did i 13.17.30 # but perror() and strace told me so :-) 13.22.09 Quit Sando (Read error: 104 (Connection reset by peer)) 13.22.14 # lunch 13.33.44 Join R3nTiL [0] (~zorroz@83.69.98.124) 13.44.58 Part LinusN 13.48.29 Quit ashridah ("Leaving") 13.59.49 # hrmf, the funny imdct is what's used by defaykt 13.59.52 # default, even 14.01.49 Join muesli- [0] (muesli_tv@c-180-220-208.cvx-h.dial.de.ignite.net) 14.02.52 Quit muesli- (Client Quit) 14.02.56 Join muesli- [0] (muesli_tv@c-180-220-208.cvx-h.dial.de.ignite.net) 14.17.13 Quit bobTHC (Read error: 110 (Connection timed out)) 14.23.34 Join Supabaka [0] (~kipperik@ip51cc4ee4.adsl-surfen.hetnet.nl) 14.23.39 # !list 14.23.55 # Supabaka: wrong channel 14.24.06 # yep, sorry 14.24.20 Part Supabaka 14.25.00 Quit jyp (Read error: 104 (Connection reset by peer)) 14.25.18 Quit R3nTiL () 14.25.34 Join bobTHC [0] (~foo@l03v-36-58.d1.club-internet.fr) 14.26.59 Join jyp [0] (~jp@128.139-200-80.adsl.skynet.be) 14.32.21 Quit lostlogic ("Going to the moon") 14.33.53 Join Sando [0] (kekekek@CPE-147-10-21-132.vic.bigpond.net.au) 14.49.37 Quit edx () 14.56.02 Quit muesli- (Read error: 54 (Connection reset by peer)) 15.01.58 *** Saving seen data "./dancer.seen" 15.07.14 Join edx [0] (edx@pD9EAA65B.dip.t-dialin.net) 15.10.04 # mornin 15.21.20 Join lolo-laptop [0] (~lostlogic@68.251.84.226) 15.34.55 Join AC [0] (~5078751e@labb.contactor.se) 15.35.13 # hi 15.35.48 # when will irivers lcd support gray mode? 15.42.26 # i want to start a new graphical project with rockbox 15.44.28 Join Renko [0] (~Renko@host217-43-59-246.range217-43.btcentralplus.com) 15.45.35 # gay mode? 15.46.00 # gray 15.46.02 # soory 15.46.10 # grey? 15.46.50 # GRAY SCALE 15.47.29 # white, black and 2 colors between 15.48.14 # oh 15.48.28 # someone was showing http://130.89.160.166/rockbox/iriver-grayscale.jpg yesterday 15.48.33 # so i assume 'soon', at least 15.48.50 # ah fine 15.48.59 # soonish, yes, we need to convert everything to use it first :V 15.49.18 # AC: what kind of project? 15.49.23 # i see 15.49.39 # preglow: i want to try to get opengl es 1.0 running 15.50.39 # ahahahha 15.50.42 # cool 15.51.20 # preglow: hey, thanks for the help last night, i'm up and running with rockbox on my h120 15.51.21 # yeah.. i have done many years opengl programming and i think it would be cool to get it also running on the iriver.. 15.51.43 # * AC makes a break 15.51.43 # pabs: you're welcome 15.51.59 # i've done some opengl programming myself 15.52.06 # but not very experienced 15.54.30 # AC: it would be extremely cool as a matter of fact,heh 15.55.54 # AC: A GUI project? 15.56.01 # AC: I want to join you in that venture! 15.58.42 # AC: what are the major differences between opengl es and ordinary opengl? 15.59.26 # AC : have u seen the feature request whi deals with GUI ?? >>https://sourceforge.net/tracker/?func=detail&aid=772181&group_id=44306&atid=439121 15.59.53 # opengl es is just a simpler subset, designed for software implementation, with a standard glx/wgl replacement for binding it to the display 16.00.12 # fuzzie: well, what has been left out? 16.01.38 # good question, i don't know, i just know what's been left in .. which is pretty much 'the minimum you need for simple games' .. a lot of it is optional anyway, meaning you can strip it down to real simplicity 16.03.03 # eg, it doesn't require zbuffer/stencil support, which would kill a lot of low-end unaccelerated cpus 16.03.22 Join markun [0] (~markun@bastards.student.utwente.nl) 16.05.02 # AC: I'm the grayscale guy. 16.08.04 # markun: you got grayscale up'n'running? 16.08.39 # Well, a bit. The picture was from my iriver. 16.08.57 # markun: congrats! 16.09.28 Join shx [0] (~a4810127@labb.contactor.se) 16.09.29 # I turned grayscale on and then made all the changes to get everything to display as before. 16.10.06 # Now I need to make a iriver-gray.c so we can watch jpg files etc. 16.10.57 # really great! 16.11.04 # looking forward to it 16.11.14 # drawing 2 color bitmaps is very slow now at the moment.. 16.11.29 # But it can be optimized later. 16.22.11 # If the lcd controller would use bitplanes everything would be a lot simpler.. now it uses 2 consecutive bits to define the color of a pixel.. 16.23.39 # it might have a mode for that 16.23.47 # but probably not ;) 16.24.23 # I couldn't find it anywhere. 16.30.16 Join XShocK [0] (~XShocK@pcp09492659pcs.nrockv01.md.comcast.net) 16.37.19 Join stripwax [0] (~stripwax@213-228-241-36.dsl.prodigynet.co.uk) 16.37.21 # ello 16.38.17 # hi 16.38.17 # How's iRiver coming along? Last time I was on #rockbox we were talking about trying to get DMA working from SRAM 16.39.00 # stripwax: hey, i've been meaning to ask you, how the hell did you manage the figure out the firmware encryption? ;) 16.39.49 Join methangas [0] (methangas@0x50a43276.virnxx10.adsl-dhcp.tele.dk) 16.40.14 # preglow: some hard work, some educated guesswork, some late nights, a copy of ISE, and a smidgeon of luck ;-) 16.40.41 # ise? 16.40.57 # had no luck on cracking the Rio Chiba firmware yet though :-( Image Searching Engine 16.41.03 # ahh 16.45.16 # nicely done anyway, i wouldn't even have known where to start 16.49.19 # heh, thanks! 16.49.39 # so what's up, how's audio looking (sounding?) on iriver port? 16.50.05 # done audio output, working on input. 16.50.28 # no SPDIF since does not have any equipment. :) 16.50.57 # what was the problem with dma from a static buffer? how was that fixed? was it just alignment 16.52.04 Join stevenm [0] (~steve@stevenm-router.student.umd.edu) 16.52.14 # Hello. 16.52.32 # yes, it works perfectly without SRAM, one config made it sound glitching, but after change works fine. 16.52.54 # How fast is the iRiver compared to a modern PC, and when writing codecs, what codec 'speed' should one aim for? 16.52.59 # cool 16.53.22 # i didn't experience any fixed buffer problems. 16.53.46 # it worked both on fixed and dynamic 16.54.39 # it might have been alignment issue tho 16.54.58 # stevenm it's a 200MHz processor. but you can't really compare the chip to a modern 'PC'. but if you did, I guess you'd be aiming for about 20x speed on a PC translating into approx realtime on the iRiver. that's just an arbitrary number though 16.55.11 # re 16.55.23 # XShocK - thanks. so buffer can just be in SDRAM, no need to use SRAM for it? 16.55.35 # yes 16.55.53 # stripwax: more like 140mhz 16.56.01 # neat! any ideas why iRiver had their buffer in SRaM? 16.56.24 # markun: can i see the source of the gray sacle stuff? 16.56.29 # stripwax, I got my codec running just barely realtime on a Pentium M clocked down to 600Mhz, and then slowed down by 75% on top of that. This is Linux, with just a minimal environment running. Is that still too much processing used? 16.56.30 # preglow - oh, ok ! 16.56.47 # no, have no idea, the SRAM buffer was only 256 bytes. 16.56.54 # AC: you can look at it later. I'm rewriting it a bit right now. 16.57.03 # ok 16.57.25 # stevenm - depends really , does the codec use a lot of floating point math? can it easily be vectorised (e.g. does it/could it use SSE or MMX instructions on the Pentium) 16.57.44 # stripwax, no floating point math at all. a lot of integer math, though 16.57.49 # stevenm but yeah, I think that sounds too much 16.58.17 # stripwax: and to top it of, it doesn't look like we can run it at 140mhz, it gets too hot 16.58.35 # woah.. how fast does it run ? 16.58.38 # preglow wowzer, so what speed does iRiver run it at? 16.58.39 # normally that is 16.58.51 # stripwax: what kind of math does it do? 16.59.03 # stripwax: rumours say about ninetyish 16.59.14 # stripwax: what kind of math does it do? 16.59.16 # argh! 16.59.25 # someone reboot preglow please ;-) 16.59.27 # two nicks starting with st is havoc for me 16.59.32 # Haha 16.59.35 # hehehe 16.59.42 # i depend on tab completion! 16.59.47 # preglow, this thing does a lot of multiplication and division 16.59.56 # stevenm: division is a no no 17.00.05 # preglow, hmm ? 17.00.06 # stevenm: multiplication and addition we can do fast 17.00.29 # preglow - well, depends. simple division is fast (combining shifts and multiplies) 17.00.56 Nick kergoth`zzz is now known as kergoth (~kergoth@li11-226.members.linode.com) 17.01.04 # preglow, for the volume stuff, I could probably get away with shifting. But interpolating the notes... that takes some division 17.01.21 # stevenm: what kind of codec is this? 17.01.30 # Seem to remember GCC was pretty smart when compiling for 680x0 code to convert divisions into shifts or shifts+multiplies, anyway. dunno if that applies to coldfire too 17.01.32 # preglow, GUS MIDI 17.01.54 # Woah, that should be pretty low CPU, no? 17.01.58 # dwihno: Opengl es was designed for embedded systems like handys 17.01.58 # interpolation is easy 17.01.59 *** No seen item changed, no save performed. 17.02.00 # What kind of interpolation are you doing? 17.02.04 # does not require div 17.02.10 # preglow, well, not really interpolation.. Here 17.02.12 # (I mean, what are you interpolating) 17.02.42 # preglow, to calculate which sample should be played at a current tick, the current position has to be multiplied by the sampling rate and then divided by the PC's sampling rate, etc 17.02.55 # ???? 17.03.03 # Isn't that just an add? 17.03.09 # stevenm: yes, but that doesn't happen per sample 17.03.23 # it's like, 4 operations right there. I'm thinking, would it be quicker to precompute this and store it in a table of floating point values? 17.03.39 # you just calculate a delta and then add that for every sample 17.03.56 # stevenm: you must be doing something wildly inefficient 17.04.00 # preglow, hmm.. that is a good idea 17.04.14 # preglow, only problem I am running into, it's going from very small to very big numbers 17.04.19 # stevenm as I said, it's just an add. samplerate doesn't change 17.04.33 # unless you've got portamento going on, it should do nicely with just an add 17.05.06 # hmm.. I could try that 17.05.08 # what's the problem with small numbers and big numbers? 17.05.15 # there is no problem with that 17.05.21 # we've got more than enough precision 17.05.35 # well, you lose a lot of percision, even when declaring everything as long long 17.05.38 # stevenm: but yes, worry not, we'll get this working realtime, no problem 17.05.45 # yeah, that's what I would have thought.. stevenm, how are you handling interpolation of samples, or are you not doing that? 17.05.50 # because say, it is 48000 / 46100 17.05.56 # but i haven't got time to look at it right now 17.06.28 # preglow, can some of the simpler functions be written in ASM ? 17.06.37 # stevenm: yes 17.06.49 # it could all be in ASM ;-) 17.07.08 # preglow, like, the function that adds up all the voices and sends it to the DSP. That could be done in ASM 17.07.09 # but i've done stuff exactly like this with plain 32 bit ints 17.07.13 # stevenm: indeed 17.07.30 # if you need extra precision for calculating the delta, then that's what the mac instruction is for 17.08.18 # guys.. now, what about the sound buffer. On a PC, the thing literally stops execution until there's room in the sound buffer. Is iriver the same way? I'm only using about 10MB of the buffer, tops 17.08.35 # we don't know yet :P 17.08.38 # So I have 20 megs sitting pretty much unused 17.08.44 # the sound buffer is going to be faaar smaller 17.09.26 # i think sound buffer should around 300 kb. 17.09.38 # I figure, instead of stopping it to wait for the sound buffer to fill up, I could have it generating more samples and shoving them into the unused RAM. then write that to the sound buffer later 17.09.50 # I mean, the cpu usage with midi varies a lot. 17.10.06 # yep 17.10.29 # but we'll figure that out 17.11.08 # preglow, other than that.. I have the MIDI codec mostly finished. Just need to add some more looping stuff, envelope, as well as code to load/play the drum set 17.11.25 # other than that, it plays very nicely 17.11.44 # what are you using for a set of patches? how much RAM do the samples take up? 17.13.14 # stripwax, using Gravis Ultrasound patches, agerage about 44100 sampling rate. It only loads the ones that it needs. I think 5-10 megs, plus the drum set 17.14.02 # how does it know which samples to load? does it scan the entire midi file and then load the samples it needs, or does it load the samples while it's playing? 17.14.15 # stripwax, on a typical file, I'd say 6 megs 17.14.34 # stripwax, it scans the file first, then loads what it needs 17.14.38 Join Zavatta [0] (~siavush@yggdrasil.spin.it) 17.14.58 # stevenm- neat! so would the math be easier if all of the samples were at the same samplerate? 17.15.21 # it would be the same 17.15.21 # stripwax, probably. if we could convert them all to 48000... 17.15.29 # no, don't bother about that 17.15.29 # it would save maybe one operation 17.15.31 # it doesn't matter 17.15.40 # it would save one operation _per note_ 17.15.52 # savings per sample is more important 17.16.06 # preglow, right now it _is_ per sample.. but I have to implement that delta thing 17.16.25 # stevenm: yes, but it's not supposed to be like that, the delta method is what you must use if you want it realtime 17.17.03 # thinking about something like cubic interpolation - wouldn't that be easier (per sample) if the samples were at the same rate? or would that be infeasible anyway on hte iRiver? 17.17.08 # preglow, all right.. So can iriver technically do floating point then ? 17.17.30 # stevenm: no, but floating point or fixed point, it's all the same math, you just need to code it slightly differently 17.18.01 # stripwax: linear at least should be easy 17.18.05 # The result is an int, but you go thru a double operation to get it. If I have one double operation per note, and only miltiplication per sample, is this acceptable? 17.18.06 Quit bobTHC ("( www.nnscript.de :: NoNameScript 3.81 :: www.XLhost.de )") 17.18.09 # some kind of interpolation has to be done 17.18.29 Nick Lynx_ is now known as Lynx_awy (HydraIRC@134.95.189.59) 17.18.31 # stevenm: even that is too much, addition per sample should be more than enough 17.18.39 # stevenm: and perhaps a mul to control volume 17.18.52 # stevenm: and some more for interpolation 17.19.38 # preglow, I see what you are saying, for the delta.. but how do you handle volume, then? Note volume, that is. 17.19.54 # preglow, it has both channel and note volume. How to go about this? 17.20.12 # preglow, multiplication, or somehow do an approximation using shifting ? 17.20.30 # stevenm: multiply is perfectly feasible on coldfire 17.20.45 # preglow, oh, all right. that's good 17.20.55 # stevenm: codecs do little but multiply and add 17.21.21 # preglow, I could always have it going at 22Khz instead of 48 17.21.40 # stevenm: go for 44.1khz first 17.21.41 # having it at 48 would be a big win imho 17.21.50 # or 44.1 17.23.21 # Do any compiler optimizations help? Like, -O3 or whatever ? 17.23.33 # Yes (see my earlier post) 17.23.51 # GCC is pretty good at motorola optimizations (iirc). 17.24.13 # 12 lines of c became 44 lines of asm 17.24.22 # 200 lines of c to go... 17.24.33 # stripwax: -O2 should help heaps 17.24.35 # preglow - what are you rewriting atm? 17.24.51 # stripwax: imdct_l in libmad 17.25.26 # cool. lots and lots of opportunities for MAC code there I hope? 17.25.31 # yes 17.25.35 # very much so 17.25.48 # mdct36 is one bloody long MAC invocation 17.26.06 # heh 17.26.21 # preglow, what is the MAC instruction ? 17.26.38 # stevenm - like SSE or MMX on a PC.. 17.27.19 # not really 17.27.40 # stevenm: it multiplies two numbers, and then adds the result to another register 17.27.46 # stevenm: and does it fast 17.28.14 # preglow, Is ee 17.28.15 # and to top it of, it can do a parallel load, so i have to write asm by hand to utilize it properly 17.28.38 # http://glow.m0f0.net/rockbox/layer3.c 17.28.40 # line 1770 17.28.43 # from there on begins the fun 17.29.09 # grayscale is coming along nicely. I added 'lcd_set_bgcolor' and 'lcd_set_fgcolor' which set the colors to use when drawing things. 17.29.35 # grep for III_imdct_s, and you'll see what stuff looks like after assembler optimization, not exactly a pretty piece 17.31.59 # what I meant was the MAC unit supports more than just one instruction, e.g. MSAC, all of the EMAC stuff 17.32.20 # ahh, yes, but there's not many 17.32.36 # you have mac, msac, and movclr, plus some status/mask registers 17.32.50 # shop, brb 17.34.24 # mm, true 17.35.04 # preglow, running into a problem... the delta value per sample ranges from 0.222 to 1.9ish.... 17.35.57 # stevenm - what's the actual problem? 17.36.36 # stripwax, I did the math to find the delta value, to add, per sample 17.36.48 # and it's in the floating point range 17.37.23 # I thought it would be a whole number of samples, but no... it's like, 0.2 in some places, 0.4, 1.03, etc 17.37.57 # well, yes, it would be, right? if it was a whole number of samples, then all you could ever do is play octave notes, and not the notes in between ... 17.38.00 # and if you round it off, then it does not work. Sounds completely horrific, can't even tell what note it is 17.38.17 # well, sort of 17.38.19 # don't round it. 17.38.29 # but then it's double math, and we can't have that ... ? 17.38.45 Quit AC ("CGI:IRC") 17.39.06 # If I can leave it in double form, I can then have one floating point addition per sample, and one per note 17.39.08 # store the sample position to a greater precision. e.g. store the sample position multipled by 65536. 17.39.50 # but then you need to divide it to get the actual sample, no? 17.39.54 # so adding "1.03" to the sample position, you really add "1.03*65536". Which you can round to 67502 and be reasonably confident it will sound just as good 17.40.00 # Don't need to divide. just need to shift. 17.42.11 # hmm.. that's a good idea. thank you 17.42.15 # Sure 17.42.24 # Yea, I just got out of bed. "snow", campus is closed 17.42.31 # not fully thinking straight 17.42.47 # stevenm - heh. i'm hideously hung over right now 17.43.03 # haha. party night? 17.43.15 # btw if any of your samples aer longer than 64K then you'll need to reduce the precision if you want to get everything to fit into a 32bit int 17.43.45 # nah, music festival, all weekend long. don't think i spent more than an hour without a drink in my hand 17.43.53 # stevenm: snowing here too. everything is closed. :) 17.43.59 # XShocK, where is here / 17.44.00 # ? 17.44.15 # Germantown, Maryland, US 17.45.06 # XShocK, that's pretty close to us. I'm in College Park, MD 17.45.24 # I thought so. :) 17.45.30 # heh 17.45.31 # Explains why I'm not seeing any of this snow from my window in London ;-) 17.45.41 # :) 17.47.13 # stevenm: your ip .student.umd.edu. :) 17.48.11 # here schools were closed since last thursday, same in CP? 17.48.36 # yea 17.48.49 # possibly tomorrow, too. but there's hardly any snow at all 17.48.55 # stevenm: that there's the fixed point part 17.49.02 # stevenm: you don't need floats to be able to encode 1.35435 17.49.16 # professors are just too lazy to come probably. gets me outta physics exam 17.49.26 # :)) 17.49.32 # preglow, yea about to try that 17.49.58 # preglow, I accidentally just rm'd some code I needed, getting it offa my ftp first 18.02.14 Join mecraw [0] (~mecraw@69.2.235.2) 18.02.36 # okay.. getting there.. the multiplying by a large number seems to work 18.03.04 # how large can the samples be max? 18.03.42 # preglow, what do you mean? 18.04.41 # e.g. is the biggest sound file 64KB, or is it smaller? 18.04.55 # Hmm.. I think the largest patch here is 2.3 MEGS 18.05.14 # But I am about to go and check how many waveforms it contains 18.05.30 # stevenm i really meant one individual waveform 18.05.40 Quit UlfJack ("Verlassend") 18.05.52 # Yea. I see.. the only program that will load a GUS patch and tell me EVERYTHING about it happens to run on windows 18.06.04 # just have to wait for my desktop to boot up 18.06.18 # stevenm: i meant a single waveform 18.06.27 # er... i thought you were writing a midi codec?! don't you already have that information in your code somewhere? 18.06.41 # otherwise how do you know which waveform to play? 18.06.45 # stripwax, I do, I do, don't worry 18.07.16 # I just thought this way would be faster than digging through it and seeing how big 18.07.44 # ah ;-) 18.08.32 # but all right.. I put some printfs into the loader. lets see here 18.08.48 # It looks like 248kb 18.09.21 # but that is just the largest patch, 2.3mb. there could, theoretically, be 1 meg patch with only one waveform in it... 18.09.28 # ok so you can use 14bits 18.09.31 Quit Zavatta ("Leaving") 18.09.56 # stevenm - er, ok, so what is the largest waveform? :-S 18.10.18 # I have no way of easily knowing 18.10.35 # hhmmmm... 18.11.18 # stripwax, do you think it would work if I multiplied everything by 1024 ? 18.11.55 # stevenm: that factor depends on how large your waveform can be, that's why i ask 18.13.15 # preglow, I guess that wouldn't be too hard.. take the largest few patches, look at the largest waveform in each, etc 18.13.48 # we seem to be asking the same questions over and over here... i already asked about the 64kb waveform size a while ago. stevenm - that sounds like a plan. look at all the patches > 248KB 18.14.26 # stripwax, on it. I figure, 248kb - 18 bits. an 11 bit shift on top of that should fit nicely 18.15.06 # stevenm hmmm... 248Kb is 18 bits, so the shift should be 14 bits, no? (like I already said) 18.16.22 # You should go for as much resolution as possible, I can't think of any performance penalty for using 14 bits vs 11 bits 18.16.39 # stripwax, yes.. I was just saying 11 because I have 11 bits coded in right now. But yes, the maximum would be the best 18.17.03 # That's 28 patches I have to check. this won't take too too long 18.17.30 # stevenm ok cool. hey, snowing in London :-D 18.20.18 Join nobby [0] (nobby@ACD505B4.ipt.aol.com) 18.20.32 # stripwax, coo, snow! Yeah.. Harpsicord just has to be 550KB 18.20.58 Join Stryke` [0] (~Chairman8@resnet-241-86.resnet.umbc.edu) 18.21.37 # That means, 20 bits for addressing samples, and 12 bits on top of that for multiplying 18.21.43 # it's been snowing here for days 18.21.51 # preglow, where is here ? 18.21.55 # norway :P 18.22.01 # preglow, cool 18.22.19 # more like snoreway :P 18.22.27 # preglow, so this thing will do 32-bit ints ? 18.22.30 # kenya kenya kenyaaaaaaaaaaaaaaa 18.22.33 # 12 bits sounds good. 18.22.55 Part nobby 18.22.57 Join nobby [0] (nobby@ACD505B4.ipt.aol.com) 18.24.49 # stevenm - unsigned int should be 32 bits for the coldfire target, I'm pretty sure 18.25.33 # but I thought there was a portable datatype that you should use ( called I think int_32 ? ) 18.25.37 # stripwax, I'm missing a bit somewhere.. it's annoying. 12 bit shift cuts off half the notes. 11 bit shift works. must be a signed value *somewhere* 18.27.03 # yeah, sounds like it. 18.27.06 Join Ancient_F [0] (no@ppp10-adsl-151.ath.forthnet.gr) 18.27.34 Nick Ancient_F is now known as XavierGr (no@ppp10-adsl-151.ath.forthnet.gr) 18.27.41 # or just use 11 bits until you track it down 18.27.45 # hey guys.. Do you think it is reasonable to use up 81KB for precomputed delta tables? And that is a generous estimate too 18.27.51 # delta should be notefrequency/(sample_duration*sampling_rate) 18.28.03 # stevenm: why would you need that? 18.28.21 # preglow, speed. That way I don't have to do any math per note 18.28.33 # stevenm: ram is really slow in the h1x0 18.28.39 # you should only need tables for at most 13 notes. The other octaves are just shifts. 18.28.43 # per note math is not a problem 18.29.10 # stripwax, yes, but the waveforms per patch aren't spread out evenly, and have varying sampling rates 18.29.35 # preglow, all right. That makes 2 divisions, one multiply, and one shift per note 18.29.58 # and an add per sample, plus a few shifts 18.30.10 # plus the volume junk 18.30.20 # yep 18.30.28 # but note on doesn't happen _THAT_ often 18.30.52 Quit asdsd (Read error: 60 (Operation timed out)) 18.31.25 Quit linuxstb (Read error: 113 (No route to host)) 18.31.28 # preglow, okay. and turns out, the per sample division for volume is just a 14 bit shift too 18.31.30 # for effects like tremolo (if you're implementing that?) you can save cpu per sample by only recomputing volume levels every few samples or so, rather than every sample 18.31.45 # Hello all! Can I ask a small question? 18.31.52 # stevenm: i do not believe you can make the volume a simple shift 18.31.54 # XavierGr - of course! 18.31.55 # I have rockbox running in my iHP. I see that there is a .rockbox folder. I have seen that there are everyday builds. Can I just replace the .rockbox folder with a new build or I will have to flash again? 18.32.00 # stevenm: but that's not problem, muls are pretty quick 18.32.13 # XavierGr: just replace 18.32.19 # XavierGr: you need to replace rockbox.iriver as well 18.32.20 # thanks 18.32.26 # XavierGr: don't mention it 18.32.31 # oh yeah ok! :) 18.32.41 # when will daily builds start containing rockboy? 18.32.54 # nobby: when it's usable, i'd guess 18.32.58 # k 18.33.03 # ages away then... 18.33.08 # no, not really 18.33.18 # it is usable as it is, just need to find out where to optimize it 18.33.23 # anyone want to buy my P&E wiggler? I bought it but I'm thinking I really don't need it now.. unused.. :-( 18.33.30 # okay people.. I'm going to go ear breakfast. Then come back, and hopefully continue on this 18.33.38 # er eat. that didnt sound right 18.33.40 # and stop it crashing on every rom ive tried (all freeware demos so far) 18.33.41 # hehe 18.33.48 # stevenm: i'm tempted, but no dice 18.33.56 # arghh!!! 18.33.57 # stevenm - is there example code I could play with? 18.33.58 # stripwax: see above 18.34.21 # preglow - hehe . ok, thx anyway. i can probably return it to the supplier 18.34.24 # stripwax, you want the code to this thing ? 18.34.33 # Hello nobby, I was inspired by your move towards HCl to give you a modded firmware.(read it in logs) Now I can run Rockbox too. :) 18.34.39 # yeah, why not 18.35.06 # stripwax, hmm... let me clean up some of this delta junk, then I'll upload the patch set and ?the code. Are you on Linux 18.35.41 # stevenm - sure, thanks! linux is not a problem, i'm just going to look over the code, probably not run/compile it 18.36.20 # xavier: isnt it useful(!) :P sound quality is awesome ;) 18.36.58 # Well I can play snake2 and create,rename or delete folders on the fly! 18.37.09 # stripwax, here, let me get it to a buildable state 18.37.19 # true 18.37.30 # and the playlist converter will be useful 18.37.34 # stripwax, it's really ugly, esp. the gus loader. need to fix junk like skipping the reserved areas instead of loading them, etc 18.37.57 # nobby:Not to mention that it connects faster in USB mode 18.38.00 # stevenm - sure ok, no rush 18.38.29 # oh my god, i certainly hope i manage to introduce a bug in thise code 18.38.33 # i'll never be able to find it 18.39.27 # xavier:agreed, its better, but i like music too :P 18.40.22 # Well I use the remote so if I press play on the remote original firmware comes in! :P 18.41.21 # stripwax, all right. it builds and runs, and it uses the delta stuff. not everything has been adapted for delta, like looping. but it will build and play right 18.43.17 # stripwax, http://wam.umd.edu/~stevenm/irivermidi_new.tbz2 18.44.21 # stripwax, the functions in question are synth.c / synthVoice() and sequencer.c / pressNote() 18.44.22 # stevenm - fab, tx 18.44.36 # and with that, breakfast at 12:45 pm. back later 18.46.05 # my remote died... 18.48.09 # opps sorry 18.50.45 # stevenm - not sure what's going on at the end of synthSample. Is that supposed to be a lowpass filter? 18.51.33 # stripwax, I suppose so. it eliminates the high pitched hissing sampling noise, especially with string instruments 18.51.49 # stripwax, I suppose that can be done with a circular array, and a shift instead of division 18.52.24 # Yeah probably - but better would be to use interpolation during sample generation, rather than post processing with a filter to remove the hiss that shouldn't be there in the first place ;-) 18.54.08 # Hmm, rockbox might not have an fscanf function.. (anyone confirm/deny?) 18.54.10 # stripwax, yea I guess you are right. But.. I don't know how to do interpolation.. and my main concern was getting the basics working, then slowly working up. It won't even loop properly yet 18.54.14 # bye all 18.54.14 Quit XavierGr () 18.54.41 # stripwax, the fscanf is just a hacked together config loader. that's like, the last thing I'll do, make a normal config parser 18.55.33 # stripwax, but... I just clocked this thing to 600Mhz, then throttled it 87%, so effectively a 78Mhz Pentium M I suppose.. and it ran realtime as long as you didn't move the mouse 18.56.04 # and this is all with the rest of my programs running alongside it 18.56.30 # now, breakfast for real 18.58.05 # heh :-) cool. well I'm thinking that getSample is a bit inefficient since you're building the address each time, rather than just doing that once and then just incrementing/decrementing it. i'll take a look and see if I can't rearrange that a bit 19.02.03 *** Saving seen data "./dancer.seen" 19.05.03 Quit Schnueff (Read error: 60 (Operation timed out)) 19.06.50 # stevenm - by the way, by 'interpolation' i mean, instead of just getting ONE sample out of the waveform for each sampleoffset, we actually get two, and average the two values in some way. That will remove the 'high pitched sampling noise' at the source, since it's caused by the non-smooth movement of the sample offset e.g. if delta is 1.01 then 99% of the time the sample offset moves by 1 sample, and 1% of the time it moves by 2 s 19.09.23 # can i download the patches from anywhere? builds fine under cygwin on windows 19.18.24 # helloooooo 19.18.28 # how goes o.o 19.20.05 # Yeehah! lseek() working in the cygwin x11 simulator. :) 19.20.10 # yay! 19.20.12 # grats :) 19.20.14 # what was it? 19.20.38 # Linus found the cause - cygwin uses a 64 bit off_t datatype.. 19.20.54 # ...while rockbox defines it 32 bit 19.21.59 # how are 64 bit values passed? by reference? 19.22.12 # well, of course not 19.22.23 # On the stack, methinks 19.22.39 # yes, but not strange it broke things 19.22.53 # it got 32 bits when it expected 64 19.23.05 # The fix is simple when you know the problem. 19.23.08 # looked like you tried to seek out of bounds all ther time 19.23.18 # sometimes ;) 19.23.45 # I added a tiny sim_lseek() with 32 bit parameters & return value, which simply calls the system's lseek() 19.24.57 # :) 19.25.14 # stripwax, I am back 19.25.44 # hiya! which gus patch files are you using, could you send me them/link them pls? 19.25.44 # stripwax, yes, getsample needs to be cleaned up.. Here, let me put the samples up 19.25.59 # er patches 19.26.04 # I'm currently downloading a 1MB patch set but it might not be the same as yours. 19.26.07 # amiconn: any luck with rockboy? 19.26.09 # Yes please 19.26.46 # stripwax, you'll need to make your own config file for that. it doesn't parse the configs properly yet 19.27.09 # HCl: Didn't try yet. Next thing is to complete & commit the malloc() fix. 19.27.29 # stripwax, are you on broadband ? 19.27.30 # ok 19.27.31 # I have mandelbrot on iriver!! 19.27.32 # yep 19.27.43 # Sorry, am just very happy :) 19.27.48 # mandlebrot, hehe. is it zoomable? 19.27.52 # yes 19.27.53 # amiconn: i got a new version of rockboy by now, it has a nice ifdef DYNAREC everywhere 19.27.55 # stripwax, oh okay then. I'm gonna host it on my dorm machine 19.27.56 # and is it greyscale? 19.27.59 # I will send a picture 19.28.00 # markun: nice 19.28.03 # stevenm - cool, thanks 19.28.05 # Yes, grayscale. 19.28.11 # * HCl wants grayscale for rockboy 19.28.14 # markun schweet 19.28.37 # markun: 4 scales isn't that much - porting the grayscale lib to simulate even more would be great. 19.28.48 # yes, but. i'd like both o.o; 19.28.51 # Does the greyscale lib do native 2-bit on iRiver or does it always use 1-bit time dithering? 19.28.55 # since rockboy won't have cpu to do grayscale lib 19.29.14 # stripwax: The grayscale lib is not yet ported to iriver. 19.30.04 # amiconn ok, wasn't sure 19.30.06 # If it still isn't by the time I will have an iriver, I'd try to use 2-bit in addition to temporal dithering 19.30.25 # yep - makes sense 19.30.45 # Should allow for some 49 graycsales with a similar approach as on the archos 19.30.55 # I ported the grayscale api, but without temporal dithering. 19.31.03 Join stevenm_1 [0] (~steve@181-109.mam.umd.edu) 19.31.35 # stevenm_1 - let me know where the patches are when they're up 19.31.49 # Maybe the 2-bit mode of the lcd uses temporal dithering internally. In this case it may interfere with further temporal dithering 19.32.15 # stripwax, yes.. I have to make an account on my desktop for ftp access.. one moment 19.32.15 # don't think it does 19.32.16 # amiconn - maybe 19.32.30 # stripwax, you said it was Cygwin? Does that actually support sound? /dev/dsp that is 19.32.49 # stevenm_1 dunno, i'll find out I guess. 19.33.00 # stripwax, all right.. 19.33.15 # http://130.89.160.166/rockbox/iriver-mandelbrot.jpg 19.33.24 # Apparently it should just work, but there's some things that Cygwin's /dev/dsp doesn't support 19.33.56 # markun - nice! so that's native greyscale but no temporal dither? lovely 19.34.00 Join Sucka [0] (~NNSCRIPT@host81-129-2-158.range81-129.btcentralplus.com) 19.35.18 # markun: Your 2-bit mode implementation uses a similar api as the grayscale lib? 19.35.47 # It's quite slow, but then I don't know how fast it is on player. 19.36.01 # amiconn: It uses the same api. gray.h. 19.36.12 # But not everything is implemented. 19.36.18 # No scrolling. 19.36.23 # Nice :) 19.36.54 # I think this same api would be useful for b&w too (of course some functions are unnecessary then) 19.36.55 # stripwax, http://wam.umd.edu/~stevenm/patchset.tbz2 30 megs :) 19.37.10 # I suspect the code will get smaller if we do this... 19.37.13 # markun: really nice 19.37.26 # I added lcd_set_bgcolor and lcd_set_fgcolor to lcd.[ch] for the iriver, they can be used to give everything in rockbox a nice color. 19.37.29 # stevenm- woah, so in theory running the midi plugin on iRiver could run out of memory??? 19.37.39 # stripwax, and it will want it as, ./irivermidi and ./patchset.. 19.37.49 # amiconn: That was also your idea, right? 19.37.55 # yup 19.37.58 # stripwax, in theory, if you used all 128 instruments in your MIDI file, then yes 19.38.05 # hmm... 19.38.12 # Additionally, lcd_set_drawmode should also be implemented 19.38.13 # stripwax, well actually it'll be less than that 19.38.33 # stripwax, that patchset contains more than you need. like 4 drum banks I think 19.38.42 # oh ok! :-) 19.38.44 # Yes, it should. 19.38.57 # stevenm_1 - that link doesn't work for me 19.39.10 # stripwax, hmm.. 19.39.31 # This would allow to remove all those duplicate functions that are there now, and be more flexible at the same time 19.40.01 # stripwax, now try 19.40.48 # amiconn: the duplicate functions in grey.h and lcd.h? 19.41.09 # No, I mean the duplicate functions in lcd_recorder.c / lcd_h100.c (cvs) 19.41.22 # Like lcd_drawline() / lcd_clearline() etc. 19.41.40 # stripwax, yea, try that link again. I uploaded it to wrong dir 19.41.49 # stevenm yup works now 19.42.12 # downloading nicely 19.43.28 Join rovragge [0] (rr@mima.x.se) 19.44.01 # markun: There would be only one function for each graphics primitive, like it is now in the grayscale lib 19.44.12 # a friend of is anxious to try out rockbox because 'it will probably not work after flashing and then I lose 300 euro" 19.44.31 Quit stevenm (Read error: 110 (Connection timed out)) 19.44.32 # heh not anxious, I meant scared 19.45.15 # rovragge - you gotta take risks to be on the cutting edge 19.45.27 # well help me measure the risk 19.47.00 # I don't know how many people have flashed rockbox and ended up breaking their player. I know of no such cases but some of the older hands might know of some. 19.47.30 # if it doesn't work, he can just reflash the original firmware 19.47.37 # how does he do that? 19.47.59 # by sending it back to linus 19.48.07 # for how much $$? 19.48.07 # and have him with his bdm wiggler reflash it 19.48.13 # shipping? 19.48.20 # where does linus live again... norway? 19.48.35 # Sweden 19.48.38 # sweden 19.48.51 # so, the money for shipping an iriver to sweden, and back from sweden 19.48.53 # well does linus just do such things on request? 19.49.10 # thats nice 19.49.14 # well, thats a question for him, really, but i don't see why not personally, as long as it doesn't happen too often. 19.49.16 Nick stevenm_1 is now known as stevenm (~steve@181-109.mam.umd.edu) 19.49.31 # Ah there, finally 19.49.31 # i don't guarantee that he will, i'm just saying he could. 19.49.38 # what cpu does this iriver thing run on? 19.49.43 # coldfire. 19.49.50 # whoah 19.49.57 # are there emulators? 19.50.08 # coldfire emulators? not any that are usable 19.50.26 # starting out good again: locked up player 19.50.34 # stripwax, aaaaand we have working forward looping. for the most part 19.50.35 # what'd you do? 19.50.52 # stevenm - woohoo! 19.51.05 # shit I shouldve bought one of the rockbox supporting devices 19.51.10 # but rockbox can't play mp3 19.51.45 # HCl: try my optimization.. 19.51.53 # ah. 19.51.55 # ok 19.52.03 # for a moment you made it sound like you bricked your player, heh 19.52.06 # this is exactly what i hoped for, i hate debugging asm 19.52.16 # i lock up my player all the time with rockboy 19.52.25 # no brick, no 19.52.59 # i got this strange fascination with microassemblers and gadget devices 19.53.17 # gonna be fun 19.53.36 # well, you can help with dynarec if you want :P 19.53.46 # what's that and does it require hardware? 19.53.59 # its going to be the new cpu core for rockboy 19.53.59 # it requires you getting intimate with the cpu 19.54.06 # hopefully, it'll make things faster 19.54.08 # I dont -have- the CPU 19.55.04 # i'll just have to bitchslap gcc some more and make it produce usable assembly 19.57.41 Quit nobby (Read error: 110 (Connection timed out)) 19.58.23 # no other compilers for coldfire? 19.58.30 # none that are free 19.58.31 # the only coldfire I have is an old palm 19.59.57 # if a non free compiler is used, is that visible in the final assembly? 20.00.04 # no. 20.00.10 # well... 20.00.25 # did you buy your windows? :P 20.00.32 # no 20.00.36 # but i didn't need to. 20.00.46 # i get mine for free through msdn academic alliance 20.00.54 # nice 20.02.03 # I don't believe in intellectual property, hence I don't have moral issues with using warezed software. 20.02.50 # i just believe that companys like microsoft are seriously acting like criminals when it comes to competitor companys. hence i'll do everything to work against them. 20.04.13 # HCl, so what do you say, can I do anything with rockbox without a hardware to play? 20.04.30 # simulators get a long way 20.04.42 # but yea. 20.04.54 # stripwax, did the thing run on cygwin ? 20.05.04 # you can check the todo list, some of them can just be designed on the sim 20.05.18 # which platform does the sim run on? 20.05.24 # win32, x11 20.05.29 # ah, great. 20.05.38 # I'll check with it later on. 20.05.41 # :) 20.06.31 # seems referring to non-existing addresses hangs the player 20.06.33 # what gives 20.06.36 # :) 20.07.04 # this is really depressing, it looks like my changes don't do shit 20.07.08 # :/ 20.07.09 # thatd be reasonable.. the bus is trying to address a non-existing piece of memory, and nothing happens, the memory doesnt respond 20.07.11 # preglow: I just discovered that on the Gmini too ;) 20.07.15 # HCl: it does, i just can't measure it myself 20.07.24 # HCl: need a higher speed coldfire 20.07.25 # i'm kind of assuming that dynarec will be slower in the end :p 20.07.25 # coldfire does have an exception mechanism doesn't it? 20.07.32 # preglow, you can overclock it 20.07.33 # ah. 20.07.44 # mst: i'll wait for linus' changes 20.07.45 # mst: we don't have linus' changer 20.07.47 # changes 20.07.58 # it doesn't tell me anything 20.08.15 # linus is working on cpu speed scaling. 20.08.18 # I can overclock my palm in softare 20.08.27 # he's the only one who's able to run at higher speeds at the moment. 20.08.28 # mst: you can't just overclock the cpu and be done with it 20.08.44 # mst: the peripherals need to tag along with the timing changes as well 20.08.50 # is this a hardware issue of software timing issue? 20.08.55 # hardware 20.08.58 # software 20.09.00 # :P 20.09.03 # then how's Linus related to it? 20.09.04 # hardware/software :P 20.09.22 # jpeg.c does not decode the pictures right.. 20.09.36 # mst: because he's the only one capable of measuring hardware timing issues at the moment 20.10.39 # brb, gonna test midi plugin with nothing else running 20.10.44 Quit stevenm ("Leaving") 20.10.47 # never realised Linus had anything to do with hardware 20.11.06 # hah. 20.11.19 # he's the only person with a bdm wiggler - actually able to debug anything. 20.11.24 # mst: what makes you think that? he's the one who wrote the bootloader 20.11.26 # he wrote the bootloader 20.11.53 # mst: sure you're not confusing him with someone else? 20.12.02 # preglow, pretty much ;) 20.12.10 # then again theres always something new to learn 20.12.13 Join zezayer [0] (~zezayer@host81-152-218-69.range81-152.btcentralplus.com) 20.12.26 # indeed 20.13.49 Join frank [0] (~frank@p54A16165.dip.t-dialin.net) 20.15.06 Nick kergoth is now known as kergoth`food (~kergoth@li11-226.members.linode.com) 20.19.47 # hmm.. rockbox is written in C?! 20.19.58 # nah, we liked javascript bettre :P 20.20.03 # betterrrr* 20.20.13 Join stevenm [0] (~steve@181-109.mam.umd.edu) 20.20.18 # i sort of thought it'd be macroassembler 20.20.31 # code doesn't stay managable when written in assembly 20.20.39 # back.. With -O2 it runs realtime on a Pentium-M at 78Mhz 20.20.42 # thats why programming languages have been invented in the first place 20.20.54 # and that's as low as this thing goes 20.21.03 # mst: pure c with asm for very low level or performance critical stuff 20.21.05 # HCl, that's why macroassembler and Best Code Practices (TM) were invented in first place ;) 20.21.11 # stevenm: i bet i can bring it lower 20.21.19 # preglow, I'm a fascist. I consider everything critical. Heh. 20.21.38 # preglow, I bet you could.. esp. with that 'lowpass filter' with for loop, etc 20.22.03 Quit mecraw (Read error: 54 (Connection reset by peer)) 20.22.04 # stevenm: i've done stuff like that tons of times, i'll see if i can get my opt to work, and then have a look at your thing 20.22.06 # ok, I'll go RTFM now. 20.22.54 # preglow, Another annoying thing about this. Before playback, the thing loads 7 megs of waveform from HD to RAM. With my PC clocked down, that takes an annoyingly long time 20.23.10 # stevenm, mmap? 20.23.17 # just wait 'till you see how long it will take on the iriver 20.23.20 # mst, what is that ? 20.23.54 Join asdsd [0] (~asdsd@h-67-100-34-237.miatflad.dynamic.covad.net) 20.23.57 # stevenm, memory mapping. 20.24.06 # preglow, I am sure SOME of that time is used up printing output.. radeonfb doens't like me. 20.24.14 # though on an underclocked machine I'm not sure how efficient that'd be 20.24.37 # preglow, It's very straightforward.. just take X bytes from file and load them [here]. Maybe it would be faster thru ASM? 20.24.37 Join muesli- [0] (muesli_tv@c-180-220-160.cvx-h.dial.de.ignite.net) 20.24.46 # stevenm: no, i sincerely doubt that 20.24.59 # preglow, well, how long would it take to load that much? 20.25.44 # preglow, I mean, on archos, filling the MP3 buffer takes surprisingly a short time.. and that's two megs. Is there a reason it would take so much longer here? 20.26.18 # stevenm: no, not really, i was just guessing 20.26.22 # stevenm: it has to be done anyway 20.26.33 # brb, food 20.26.55 # preglow, ok 20.31.00 # Does anyone here have any experience with Sigmatel chips? 20.32.43 Quit Nibbler ("blubber") 20.33.39 # back again. I still have my BDM wiggler for sale, noticed a convo above about that 20.35.03 # what's a BDM wiggler? ;) 20.35.10 # * mst googles 20.35.23 # * Renko giggles 20.35.25 # ah I see 20.36.32 # a hardware interface that lets you access the built-in "background debug module" on the coldfire cpu. i bought one intending to do the same kinda thing as Linus but then realised that there's not much I would be able to do usefully that Linus hasn't already got under control. 20.36.59 Join Nibbler [0] (~sven@port-195-158-163-29.dynamic.qsc.de) 20.37.47 # did anyone do anything about a gdb stub for the serial port yet? 20.38.06 # nope. 20.38.10 # but its on the todolist 20.38.32 # yeh, there's one for the archos right? 20.38.36 # yup. 20.38.45 # though i'm not sure what interface the archos one uses 20.38.52 # serial. 20.38.54 # kay. 20.40.09 # so should be poss to use that as a base for the iriver? 20.41.45 # it might, i'm not sure exactly 20.41.48 # i think it'll give a nice outline 20.41.52 # to what commands you need to implement 20.42.53 Quit asdsd (Read error: 110 (Connection timed out)) 20.42.55 Join mecraw [0] (~mecraw@69.2.235.2) 20.43.13 # stripwax: Well, most probably someone needs a wiggler for working on H3xx support 20.45.39 # stripwax, is there going to be a H3XX port ?? 20.48.02 Quit zezayer ("ChatZilla 0.9.61 [Mozilla rv:1.7.2/20040804]") 20.48.57 # While you're on this subject, I'll need a wiggler-like think for the Gmini ... 20.49.12 # jyp, how fast is the gmini ? 20.49.13 # If anyone has info, I'm eager to hear 20.49.44 # stevenm: It can decode mp3 in realtime ;) 20.49.56 # What do you mean exactly ? 20.50.13 # jyp, but can it.. potentially play MIDI in real time ? :) 20.50.46 # it looks like easier than mp3, doesn't it ? 20.50.58 # jyp, I guess I'm saying, is it about as fast iRiver? 20.51.38 # I guess both archs have the same power. 20.51.46 # -- roughly 20.52.01 # jyp, there's a not of annoying math involved 20.52.16 # There must be tricks. 20.52.16 # jyp, okay then.. then I guess this thing ain't just going to be for iriver\ 20.52.27 # jyp, there are.. but it is still annoying math 20.52.49 # I think midi would even be possible on the old archos, if we ever get hold of that wav 'codec' for the mas... 20.52.55 # Ok, I guess there are effects and such 20.53.38 # which make the thing hard 20.53.48 # amiconn, I don't think so. there is no way it will run on a 12Mhz CPU 20.54.10 # amiconn, well, maybe with a lot of help from Linus, maybe... 20.54.51 # amiconn, I've got a P-M down to 78Mhz barely handling it.. but thats without hand optimization 20.54.59 # and at the highest sample rate 20.56.48 # Well, imho it all depends on the precision, sample rate etc. It may be possible on a 12 MHz cpu at a lower quality. 20.57.38 # amiconn, maybe. but how do you get a hardware MP3 decoder to play raw samples? 20.57.56 # [20:52:22] ... if we ever get hold of that wav 'codec' for the mas... 20.58.19 # amiconn, what do you mean by 'get hold of' ? One exists? 20.58.31 # amiconn, can that chip even do that? 20.58.33 # Actually there are at least 2 20.59.00 # amiconn, then what is stopping us from getting our hands on one of them? 20.59.04 # One very simple, doing 44.1 kHz 16 bit stereo only, without buffering & demand transfer 20.59.52 # This one also does parallel transfer only, so we can't use it 21.00.19 # * HCl finally gets gcc to spit out some working assembly. 21.00.25 # i swear, gameboy flags are nasty. 21.00.38 # HCl, gameboy? 21.00.40 # Then there are rumours that another one exists, much more sophisticated and also capable of serial transfer 21.00.54 # i hope that i'll be able to optimize them out some far day in the future 21.01.01 # some day in the far future* 21.01.04 # stevenm: yes. 21.01.16 # stevenm: working on dynarec for rockboy 21.01.26 # HCl, dynarec ? 21.02.06 *** Saving seen data "./dancer.seen" 21.02.19 # dynamic recompilation 21.03.43 # HCl, woah, cool 21.04.07 # HCl, I know a little tiny bit about gameboy.. about as far as the C compiler takes you 21.05.12 # someone unsoldered everything and scanned the iriver player. who has that unsoldered sheet? 21.10.36 # i want to know for sure, which port is used for sound input since there are 3 possibilities. 21.15.21 # jpegs are working on iriver 21.15.29 # nice. 21.15.47 # good 21.15.53 # I will post a picture later. 21.15.59 # Don't have a camera now. 21.18.09 # preglow: Could you please test my next shot at the malloc() problem, by compiling for iriver? 21.20.26 # stripwax, I put an MP3 of the MIDI synth on the internet 21.20.36 # its on the soundcodecs page 21.25.32 # amiconn: sure 21.25.45 Nick StrathAFK is now known as Strath (~mike@dgvlwinas01pool0-a239.wi.tds.net) 21.26.37 # preglow: http://amiconn.dyndns.org/malloc-2.diff codec.h did also change: http://amiconn.dyndns.org/codec.h 21.27.00 # All against current cvs, as usual. You'll need to undo malloc.diff first 21.27.06 Nick kergoth`food is now known as kergoth (~kergoth@li11-226.members.linode.com) 21.28.07 # Yeah! 21.28.18 # I identified my player's CPU. It's ATJ2085 21.28.48 # stevenm, lol, that midi is great! well done! 21.29.39 # now I am going to haquor that biotch :P 21.30.31 # Renko, thanks 21.30.57 # Renko, it uses the Timitidy patch set.. EAWPatches I think 21.31.03 # ahahah 21.31.05 # this sounds familiar! 21.31.18 # preglow, hm? 21.31.24 # midi mp3 21.31.27 # :) 21.31.48 # it took me about 1 second of the first note to be sure 21.31.54 # The x11 sim really has a strange notion of realtime... 21.31.57 # hahaha 21.32.34 # amiconn: you use diff -u ? 21.32.41 # cvs diff -u 21.32.58 # i wonder why the bloody hell it fails on these trivial cases 21.33.15 # Yeah.. I don't understandthis too 21.35.03 # amiconn, 'for an arbitrary definition of real... your mileage may vary' 21.35.16 # amiconn: libflac/bitbuffer.c can't find global.h 21.35.27 # Btw, could anyone check whether wv2wav also gives crc errors on the target when decoding the example .wv AC posted? 21.35.40 Quit muesli- (Read error: 60 (Operation timed out)) 21.35.41 # preglow: Hrmpf. 21.35.45 # sigh... 21.36.21 # I forgot to add global.h ... ouch+ 21.38.21 # preglow: http://amiconn.dyndns.org/global.h This goes in apps/codecs/libFLAC/include (directly) 21.40.17 # amiconn: it builds now, shall i test it as well? 21.41.06 # That would be ideal :) It works on both sims (except wv2wav, as mentioned) 21.42.23 # WHOAH 21.42.30 # I have a Z80-based player! 21.43.03 # that's not much to be happy about... 21.43.03 # heh 21.43.09 # heh 21.43.27 # ti-86 baby! ;) 21.44.40 # mst, what kind of player is it? Archos? 21.45.07 # preglow, is it possible to actually test codecs on simulators before testing them on target ? 21.45.14 # stevenm: sure 21.45.26 # stevenm, no. A nameless OEM branded USB flash/mp3/FM/DVR player, known on the market under the common name of "S1 Mp3 Wilson Co. LTD" and branded under about 300 different nicknames 21.45.55 # mst, hahaha 21.46.03 # amiconn: well, certainly seems to run fine 21.46.10 # Good :) 21.46.33 # stevenm, dont get me wrong, it's cheapass *and* ubercool. The damn firmware allows to read ebooks on it, and the player is sized a little bigger than a match box 21.46.45 # preglow, How would you test codecs on a sim? More importantly, where to you get the sim? I tried to build a sim target form rockbox source.. fails on the 3rd file 21.48.02 # preglow: 21.48.08 # Thanks for testing 21.48.22 # @all: Attention, huge commit ahead... 21.48.25 # oh sweet.. IDA is picking the BIOS apart. OH SWEET. 21.48.40 # amiconn: no problem 21.49.22 # stevenm: i actually don't know, i haven't coded anything that would work on the sim yet, so i haven't tried building it 21.49.41 # i dabble mostly with coldfire asm, and that won't run on the sim 21.49.53 # HMPF 21.50.18 # mst: if you just check out uisimulator and select Simulator when you run configure, that should be it, afaik 21.50.58 # mst: that is, check out 'uisimulator' from cvs, in addition to the usual rockbox files 21.51.22 Quit YouCeyE (Read error: 110 (Connection timed out)) 21.55.06 # me? 21.55.15 # I'm not even playing with rockbox yet 21.56.28 # yes, sorry, me talking to the wrong persons again 21.56.57 # heh 21.57.10 # This is going to be very interesting. Verry interesting. 21.57.19 # Phew, 43 files changed... hopefully I didn't break something non-obvious 21.58.26 # Well.. I've been at this for 5 hours or so now. Thanks to people's help, this thing is optimized a LOT. Now, I better go study some math 21.58.26 Quit jyp (Read error: 104 (Connection reset by peer)) 21.58.39 # and then, add support for drum sounds 21.58.45 # good bye people 21.58.57 Join jyp [0] (~jp@128.139-200-80.adsl.skynet.be) 22.00.18 Quit stevenm ("Leaving") 22.01.40 Join nozomiyume [0] (~vthakkar@ip-133-194.station.sony.com) 22.03.57 Join nobby [0] (nobby@ACD54364.ipt.aol.com) 22.06.48 Join muesli- [0] (muesli_tv@c-180-220-19.cvx-h.dial.de.ignite.net) 22.10.01 # hmm 22.10.06 # now this is disturbing 22.10.34 # what the HELL does a x86 PC boot record do in a Z80-based firmware 22.10.48 # ? 22.11.01 # HCl, I'm hacking my player. 22.11.09 # z80 based ? O.o 22.11.14 # aren't z80's incredibly slow...? 22.11.22 # mst: it's hiding? 22.11.42 # http://www.jesstech.com/new/english/jes.HTML_Product.phtml?id=13# <- ATJ2085 is my CPU 22.11.53 # apparently it's not TOO slow.. 24bit DSP 22.12.30 # where the hell is the entry point on Z80 processors cold boot 22.12.31 # grrrr 22.14.07 # Mmmm... Yet another obsure chinese chi 22.14.08 # p 22.14.23 # yeah. a 32 bit Z80. This is wrong on SO many levels. 22.14.49 # I'd like you to succeed in porting Rockbox... 22.15.00 # since the gmini has a 24 bits dsp too ;) 22.15.18 # we might build up on each other's work 22.15.30 # * HCl ponders writing an gcc-output-to-dyna-code tool. 22.15.31 # first I need to decrypt the damn firmware. 22.15.33 # heh. 22.15.44 # jyp, what chip does gmini run on? 22.15.50 # cause i get the feeling i gotta do this more often.... 22.16.57 # mst: TCC730, which is a S3CC410 in disguise 22.17.02 # http://www.mculand.com/sub1/mcu/calmrisc16_device/S3cc410.pdf 22.17.15 # CalmRisc16 core 22.19.47 # RISC. I doubt my and your player have anything in common. heh. 22.19.59 # HCl: You said your malloc() implementation had a small bug? 22.22.22 # RISC... doesn't mean much these days 22.22.39 Quit chuck (Read error: 110 (Connection timed out)) 22.23.59 # amiconn: well, it was my usage of malloc, not my implementation 22.24.07 # my implementation is fine, aside from not having free() 22.24.10 # Okay... 22.25.51 # why? 22.26.06 # 'cause I'm trying to make this work in the sim now 22.26.11 # ah :) 22.26.12 # ok. 22.26.18 # my malloc was only with dynarec anyways... 22.26.34 # rockbox front page looks a bit funny with the latest commit.... 22.28.07 # Ahhh tits!!! I am disassembling the wrong firmware!! 22.28.15 # ROFL 22.28.21 # xd 22.29.02 # hmmm... this gets even more interesting. I just found the word ``police'' in the dump. 22.29.22 # HCl: rockmacros.h now clashes with the simulator #defines in file.h :( 22.29.30 # ick. 22.29.33 # why...? 22.30.08 # its only to reroute functions to the plugin api 22.30.19 # Well, the file functions that need simulation (open(), opendir(), ....) are redefined for the sim to sim_open() etc 22.30.40 # you can just add an ifdef simulator in the rockmacros.h ... 22.30.47 # man... don't you just love the chinese firmware.. comes with windows bootdisk, a warezed copy of minilyrics -and- a keygen to it 22.30.55 # lmao. 22.31.09 # HCl: The problem is that your redefines are still needed as well. 22.31.16 # o.o 22.31.18 # hm..? 22.31.43 # file.h defines open() -> sim_open() etc. 22.31.58 # These functions are also exposed on the plugin api that way 22.32.15 # rockboy needs open() -> rb->open() on the target 22.32.31 # On the sim, it needs open() -> rb->sim_open() instead... 22.34.10 # Hmm. It seems I need a longish workaround 22.34.42 # "Patience.... The musical bottom spends a little more than one ½ minute to be taken care" 22.34.47 # * mst kicks Google Translate 22.34.48 Quit muesli- (Read error: 110 (Connection timed out)) 22.35.07 # #ifdef SIMULATOR / #undef / #define / #else / #define / #endif 22.35.53 # o.o 22.36.46 # oh now THAT's a discovery. Sigmatel, whom I initially suspected to be the vendor of my CPU, sued Action Semiconductor, who turns out to be the real vendor 22.38.03 # And now I know why. Because ATJ2xxx is a ripoff of ST34xx. Which brings me back to square one. 22.39.03 Quit nobby () 22.39.10 # lol. 22.39.13 # good luck :P 22.39.17 Quit preglow (Read error: 104 (Connection reset by peer)) 22.39.37 # might i be able to hire anyone for a cookie to do my rewrite-gcc-to-dyna code work? :P 22.42.47 Quit pill (Read error: 104 (Connection reset by peer)) 22.43.12 Join preglow [0] (thomj@s183a.studby.ntnu.no) 22.43.18 # * preglow kicks his server 22.46.03 # blergh. 22.46.25 # 26 instructions just to calculate the gameboy flags 22.46.40 # thats not pretty :( 22.48.36 Join muesli- [0] (muesli_tv@c-180-220-63.cvx-h.dial.de.ignite.net) 22.50.43 Quit muesli- (Client Quit) 22.51.13 Join jpburton5150 [0] (knoppix@cpe-24-94-54-216.stny.res.rr.com) 22.51.49 # hows rockboy progressing? :) 22.52.36 # ok...so im having trouble compiling because there is a bug in gcc that for some reason wont let me compile calculator.c... ive tried updaiting gcc but to no avail... how might i remove calculator.c from the compile? 22.52.52 # jpburton5150: how do you know it's a gcc bug? 22.53.30 # it says a little message like "internal compiler overflow" and then tells me to report it to the gcc bug center 22.53.51 # CoCoLUS: okish, i got gcc to spit out the assembly i need, i'm trying to analyse it to see how i'll encode it into the dynarec 22.54.03 # jpburton5150: i had that.. it went away on its own o.o 22.54.06 # Hrmpf, bug in plugin.h ... 22.54.11 # jpburton5150, what version of gcc are you using? 22.54.26 # ive tried 3.3.5 and 3.4.3 22.54.39 # but neither work... 22.55.32 # looking at the makefile it seems that it compiles everything in the apps/plugins folder... 22.55.46 # so i assumed that if i just deleated calculator.c it would work 22.55.52 # but it gave me errors 22.55.57 # the problem is, the code gcc outputs uses 4 regs, while i really only have one available to me. 22.55.59 # i got it with the latest gcc but went to 3.4.1 cos that's what the autobuild uses and it works 22.56.09 # hmm alrighty 22.56.18 # well i'll try updating to that version then in a little bit... 22.56.54 # i also tried deleting the code in calc... but it produced unusable code on the iriver 22.57.03 # you have to remove the filename from the SOURCES file 22.57.05 # in that dir 22.57.09 # than it will be left out 22.57.48 # CoCoLUS, it should compile cleanly tho.. 22.58.20 # alrighty thanks 22.58.35 # thats what i was looking for... 22.58.51 # Renko: did you get the same problem? 22.59.03 # yeah 22.59.29 # or simmilar but certainly in calculator.c 22.59.48 # hmm i see... 22.59.58 # i had the same problem with an old version of gcc 23.00.12 # well thats interesting as calculator.c i thought was for the calculator plugin... 23.01.06 # it is? 23.01.23 # it's in the plugin folder... 23.01.27 # yeah it is 23.02.10 *** Saving seen data "./dancer.seen" 23.02.47 # I made a picture of the jpeg viewer on iriver: http://130.89.160.166/rockbox/rockbox-grayscale.jpg 23.03.59 # nice 23.04.23 # woah thats awesome... 23.04.35 # i didnt know we got grayscale working... 23.05.06 # well, it's not in cvs yet. 23.05.37 # i see... 23.05.48 # does iriver have 4 or 16 shades? 23.05.54 # only 4 23.08.04 # markun - that's truly cool! 23.08.21 # Yes, that's what I thought :) 23.09.04 # I also tried a picture of the iriver itself, but that didn't look as good as einstein. 23.09.52 # dmesg 23.09.57 # :x 23.12.02 # Stevenm - I'm just listening to the output of the midi codec right now, built under cygwin. seems a-ok! 23.13.22 # ? we have a working sound codec? :D 23.13.36 # Volume changes seem kinda abrubt though - they should have a couple of milliseconds of interpolation applied imho 23.13.59 Join Camilo [0] (~chatzilla@userca029.dsl.pipex.com) 23.14.02 # CoCoLUS - this is a midi plugin, and I was running the code under Windows :-S 23.14.12 # midi sounds like sound to me :P 23.15.18 # Yeah, volume level changes are waaaaay too abrubt. Does anyone have a contact for stevenm? 23.18.24 # good night folks 23.18.28 Quit jyp ("poof!") 23.19.06 # nice work, can't wait to hook 2 bits grayscale into rockboy 23.19.24 # stripwax: do you mean at note start and end? 23.20.27 Quit jpburton5150 (Read error: 54 (Connection reset by peer)) 23.20.29 # yes but particularly note end. iirc 'note off' is often implemented in a midi file as 'volume 0' rather than a real note off event, and it sounds like it's switching volume level to zero immediately rather than over a few milliseconds 23.20.56 # HCl: I'm a bit afraid to commit before I made it faster. Everything is a bit slow right now. 23.21.05 # sure. 23.21.07 # i could be wrong of course. i guess this would be handled better if the envelope table is read/used 23.21.10 # i'm not in a hurry 23.23.28 # james bond is kinda corny sometimes... 23.23.42 Join TexJoachim [0] (~TexJoachi@p508BB121.dip.t-dialin.net) 23.23.53 # stripwax: i don't think he has implemented envelopes yet 23.24.05 # stripwax: so note on/off will be abrupt 23.24.48 # yes 23.25.35 # the docs don't say squat about how to interpret that data 23.25.40 # but i guess timidity parses it 23.26.32 Join hubble [0] (hubble@h41n2fls302o1033.telia.com) 23.27.40 Quit frank ("Leaving") 23.29.52 Join bnewhouse [0] (~bnewhouse@cpe-24-94-54-216.stny.res.rr.com) 23.30.00 Part stripwax 23.33.57 Quit hubble () 23.36.31 Quit markun () 23.39.05 # Grr. Proper linking of rockboy for the sim is really tricky. 23.43.05 # mm? :/ 23.43.11 # whats going wrong now? 23.44.46 # I don't get rockboy to link on a simulator build (win32) 23.45.35 # Same on x11 simulator 23.48.01 # Ahahah! I need -nostdlib for the intermediate .o 23.49.51 # ???? 23.49.58 # why? 23.50.05 # i thought -nostdlib was a linker option only 23.50.26 # Yes it is. 23.50.52 Part TexJoachim ("Bye!") 23.50.54 # I link several individual objects into one intermediate .o before building the final plugin 23.51.12 # For this to work, I need -r -nostdlib 23.51.52 # ahh 23.52.14 # aha. 23.52.20 # its a good idea to add that anyways 23.52.26 # is it working? 23.52.28 # someone fix libmad makefile :// 23.52.43 # HCl: It starts, loads the rom, the crashes the simulator. 23.52.50 # xI 23.52.56 # kay :3 23.53.11 # I suppose it is the same malloc() clash that prevented the codec plugins from working. Adding workaround... 23.55.30 Join webguest44 [0] (~86ae1502@labb.contactor.se) 23.56.40 Quit webguest44 (Client Quit) 23.56.52 Join webguest69 [0] (~86ae1502@labb.contactor.se) 23.57.23 Quit webguest69 (Client Quit) 23.58.09 # * HCl grins. 23.58.20 # DYNA_MOVE_l_r_to_r(3,2,1); 23.58.24 # i actually have a line that goes 3 2 1 :P 23.58.55 # Hmm. Now it crashes a bit later, at emu_run