--- Log for 25.02.105 Server: zelazny.freenode.net Channel: #rockbox --- Nick: logbot Version: Dancer V4.16 Started: 21 days and 15 hours ago 00.01.21 Join amiconn_ [0] (~jens@pD95D1BED.dip.t-dialin.net) 00.02.06 Quit methangas (" Want to be different? HydraIRC -> http://www.hydrairc.com <-") 00.02.34 Quit amiconn (Nick collision from services.) 00.02.34 Nick amiconn_ is now known as amiconn (~jens@pD95D1BED.dip.t-dialin.net) 00.03.45 # good rule: pay attention to your clobber list 00.04.04 # hehe 00.04.51 # Good rule; I know what happens if you don't... 00.04.57 # yes, so do i 00.05.03 # like the lockup i jjust described 00.05.14 # i clobbered a5, my clobber list said a6 00.06.13 Join BoD[] [0] (~BoD@JRAF.org) 00.06.18 # wouhouyouhou ! 00.09.05 # so... 00.09.08 # what's up ? 00.11.43 # meh, watching jerks on this chat, pondering on leaving it, you? 00.12.11 # jerk, am i? :P 00.12.21 # noo 00.12.22 # XD 00.12.24 # not *this* chat 00.12.27 # ? 00.12.28 # this as in, this other chat 00.12.34 # sorry 00.12.41 # jerks on this other chat* 00.12.52 # SO ANYWAY 00.12.57 # what about iRiver ? :) 00.13.12 # i have trouble getting it to not crash on dynarec. 00.13.20 # dynarec? 00.13.20 # by which temperature does intel cpus start throttling? 00.13.32 # varies 00.13.50 # dynamic recompilation - for gameboy 00.14.16 # ohh 00.14.22 # wow 00.14.32 # this recompiles ? 00.14.50 # it writes coldfire code on the fly, yea 00.14.55 # I didn't know emulators did that 00.15.03 # coldfire ? :) (sorry) 00.15.07 # the iriver cpu 00.15.10 # ok 00.15.22 # ok now the big question 00.15.31 # and yea, its mostly used since.. n64 emulators got around 00.15.37 # what model should I buy 00.15.55 # h140 ? 00.16.12 # have you seen the pmp models ? 00.16.17 # yea, i have 00.16.22 # no experience with them 00.16.37 # read on a review that it doesn't have much battery run time 00.16.44 # yeah me too 00.16.56 # but I mean they're only a bit more expensive 00.17.00 # but they can play video 00.17.09 # yup. 00.17.17 # => dilemna 00.17.20 # :) 00.17.23 # its certainly an interesting thing 00.17.40 # i'm mostly waiting on something like that, but having a pda integrated 00.17.48 # ah yeah 00.17.54 # something like the zaurus sl c3000, but with more diskspace and more cpu 00.17.57 # well Archos have a thing 00.18.10 # linux based, IIRC 00.18.29 # preglow: Your remark concerning clobber lists reminded me of something... thanks :) 00.18.56 # amiconn: my pleasure 00.19.16 # HCl: will rockbox work on a H140 00.19.29 # BoD[]: it already does 00.19.33 # oh 00.19.35 # sorry 00.19.45 # no need to apologize 00.20.03 # oh nono 00.20.09 # I mean the H300 00.20.17 # probably, yes 00.20.24 # h1x0 and h3x0 are very alike 00.20.28 # ahhh 00.20.34 # that's a good news 00.20.37 # but as far as i know 00.20.54 # the h3x0 has DRM, and no digital in or/and out (it was either one, don't know which) 00.21.03 # it has no s/pdif, no 00.21.12 # oh :( 00.21.19 # but it has usb host 00.21.24 # and drm is something you don't really want either 00.21.35 # HCl: well, it's 100% firmware based 00.21.40 # preglow: it is? 00.21.42 # HCl: afaik 00.21.46 # Hmm, and H3xx has colour display, not good for battery life... 00.21.47 # didn't know that 00.21.49 # I think I need usb host 00.21.51 # HCl: you even loose it if you flash a korean firmware 00.21.56 # HCl: it seems to have a key in the eeprom 00.22.06 # preglow: i thought it said you just can't play drm files anymore if you flash with korean 00.22.23 # but ok 00.22.30 # HCl: yes, but if you flash back to us, you can't play either 00.22.36 # you'll never get the key back 00.22.43 # what does the DRM do ? 00.22.53 # let you play protected music files 00.23.11 # but for "regular" mp3 files ? 00.23.16 # can't the h1x0 play drm files? 00.24.08 # I don't think so 00.24.12 # cause ... who has these files anyway ? :) 00.24.40 # preglow: If you want to know of what you did remind me, see my commit. It's a minor thing though. 00.24.51 # if I had a drm wma, I'd just reencode it in mp3 00.26.12 # is there a feature comparison chart like the one for archos, but for iRiver ? 00.26.50 Quit jyp ("poof!") 00.29.07 # BoD[]: the comparison chart includes iRiver 00.29.19 # oops :) 00.29.32 # and do you have the url? 00.29.48 # hrm 00.29.59 # ok I found it 00.30.00 # sorry 00.30.07 # alright :) 00.30.09 # amiconn: i can't see how clobber list made you think of that, but whatever ;) 00.30.31 # I don't mean io.c, but the second commit 00.30.37 # (in apps/plugins/lib 00.30.39 # ) 00.31.19 # ahh, there are more 00.31.32 # a bit more related, yes 00.42.06 Quit lolo-laptop ("Client exiting") 00.44.34 # the Automatic Volume Control works with iRiver ? 00.45.36 # nothing much sound related is done yet 00.45.40 # ok 00.45.44 # just codec work and sound output 00.45.59 # ok 00.46.26 # I guess the chart should be re-done 00.46.55 # with a column "iriver with rockbox" and "iriver without rockbox" 00.48.30 # and also a column for each archos model 00.49.12 # what, you mean like this? http://www.rockbox.org/twiki/bin/view/Main/FeatureComparison 00.50.05 # it'll get a thorough update when we're closer to release 00.50.48 # yeah I mean this one, but updated 00.51.01 # hey 00.51.09 # well right now "Rockbox" just means "on any model" 00.51.11 # is there a database in rockbox now ? 00.52.05 # like browse by artist / track / album / year / any id3 00.52.28 # cause I guess that's possible on iriver (right?) 00.53.51 # hrmf 00.54.04 # hmm? :) 00.54.05 # my short frame imdct create funny noises 00.54.12 # yes, i think that's possible 00.55.47 # BoD[]: There is a database now, also uable on archos models. Allow browse by/ search for artist/ album/ track. No year, genre or other tag yet. 00.56.45 # Why the **** xxx2wav gets linked to alpine_cdc.rock in the sim ??? 00.56.50 # amiconn: did you know 68k assembly, again? 00.57.03 # Hmm, not really 00.57.17 # I have an Amiga, and looked into it a bit. 00.58.03 # I don't know all those special features. I guess SH1 asm won't help you ;) 00.58.08 # haha 00.58.09 # not much 00.58.10 Quit Sucka ("( www.nnscript.de :: NoNameScript 3.81 :: www.XLhost.de )") 00.58.20 # i've got most of it 00.58.28 # no, the addressing probably isn't what's wrong anyway 00.58.31 # amiconn : that's great :) 00.59.15 Join mecraw [0] (~mecraw@69.2.235.2) 00.59.52 Quit Renko ("Leaving") 01.00.21 *** Saving seen data "./dancer.seen" 01.02.04 # preglow: I'm currently investigating the odd behaviour of plugins (esp. the codec plugins) in the cygwin simulator builds. I wonder what a .wav header has to do in all (!) plugins... 01.02.44 # Anyone here who does simulator builds on Linux, and could check whether there is a .wav header in them too? 01.03.27 # i'm yet to build a simulator at all, actually 01.03.32 # haha 01.03.42 # i guess that unintended 01.03.46 # that's 01.04.12 # Yeah, I guess so, too. The old builds (last week's cvs) don't have that. 01.04.30 # There is a .wav header defined in xxx2wav.c 01.04.32 # FOOL 01.04.33 # ARGHHH 01.04.55 # It seems this gets omehow linked to all plugins. It shouldn't.... 01.05.02 # small wonder everything sounds bad, i've forgotten to dereference a pointer 01.05.10 # oops 01.05.20 # and asm blocks aren't very good at complaining 01.06.28 # Even helloworld.rock contains a .wav header now.... 01.06.48 # hahahah 01.07.41 # hm, shouldn't the timer event registers on iriver... 01.07.46 # TER0 and TER1 be defined as MBAR+0x151 and MBAR+0x191 instead of MBAR+0x150 and MBAR+0x190? 01.08.18 # MCF54249UM.pdf page 178 01.08.49 # arg MCF5249UM.pdf 01.09.50 # i never thought i'd think 15 registers would be too little 01.14.00 # i wish the libmad makefile would pick up changes 01.15.15 # anyway thanks guys! 01.15.18 # i go to sleep :) 01.15.31 Quit BoD[] ("mblelop !") 01.17.43 Quit cYmen_ (Read error: 113 (No route to host)) 01.19.25 Quit Aison (Connection refused) 01.20.20 Quit markun () 01.21.34 # The memmove() implementation in xxx2wav is wrong.... 01.22.33 # It only works correctly if moving backward, i.e. dest addr < source addr 01.23.36 # nice 01.23.37 # The declaration is also wrong. The destination pointer obviously doesn't point to constand data 01.23.45 # *constant 01.23.59 # linuxstb: defend yourself! 01.24.01 # memmove() is used by libmad and tremor 01.24.14 # err, by libmad and flac 01.24.50 # memchr() is unimplemented & does nothing. This is used by flac & tremor 01.25.17 # (although for metadata resp. framing only) 01.28.48 # probably would have noticed it otherwise, yes 01.30.02 Join lostlogic [0] (~lostlogic@node-4024215a.mdw.onnet.us.uu.net) 01.35.10 Quit XShocK (" HydraIRC -> http://www.hydrairc.com <- IRC has never been so good") 01.41.40 # newby question: ICR0 is defined at address 0x04c, I want to change ICR2 at address 0x04e 01.41.45 # then I would do for example ICR0 = (ICR0 & 0xff00ffff) | 0x008c0000; /* Interrupt on level 3.0 */ 01.41.57 # is this correct? 01.48.14 # or would I do ICR0 = (ICR0 & 0xffff00ff) | 0x00008c00; /* Interrupt on level 3.0 */ 01.48.30 # Yup 01.49.06 # The coldfire is big endian 01.52.59 # so from left to right the first 0xff is stored at ICR0, second 0xff at ICR1, 00 at ICR2 and last 0xff at ICR3? 01.54.30 # correct 01.54.37 # thanks 02.06.22 # amiconn: Good evening :-) Firstly, the xxx2wav.o is part of the plugin lib - so it's linked against every plugin in the same way the grayscale lib is. Does your HelloWorld.rock contain the grayscale lib as well? 02.06.38 # No, it doesn't 02.07.29 # That's how a library works - an object from it is only selected for linking if the binary the lib is linked to requires a symbol that is defined by the library object 02.08.01 # Otherwise almost all plugins would become too big to load on the archos 02.08.29 # I understand that - so why does your helloworld.rock contain xxx2wav.o, but not the rest of libplugin.a ? It doesn't on my setup. 02.08.46 # I don't know, but I want to find out. 02.09.14 # Possibly this is related to the odd behaviour of the plugins here 02.09.50 # Sounds possible - the linker must be linking it for a reason - presumably I've reused a symbol I shouldn't have done. 02.10.21 # Yes, but that would also mean all the plugins contain an unresolved symbol they shouldn't 02.11.14 # Unfortunately the plugins on Win32 are dlls and no final binary, so no .map file is generated 02.11.38 # The strange thing is that the X11 sim helloworld.rock doesn't contain xxx2wav when compiled under Linux. 02.12.05 # i give up 02.13.38 # Yes, that's what I wanted to know. The X11 sim plugins on cygwin also don't contain that .wav header, but the Win32 sim plugins do. 02.14.46 # They didn't contain that before the new build system (but then there was no xxx2wav either), and they also don't contain it when I don't link against the plugin library 02.15.11 # (but the the codec test plugins don't link successfully for obvious reasons) 02.15.16 # *then the 02.15.34 # Going back to memchr and memmove. memchr is only used by functions in libFLAC and Tremor that we don't use - which is why there was no need to implement it. I apologise for my memmove (it was late, I wrote it very quickly just to get libFLAC to compile, and it never caused a problem, so I forgot about it). 02.16.33 # I didn't do anything about memmove() yet - first wanted to solve the odd simulator problems. 02.17.07 # A correct memmove implementation isn't hard though 02.18.13 # I agree - as I said, I just wrote it very quickly without thinking. 02.21.11 # Hmm, I just looked at the symbol tables of xxx2wav.o and helloworld.o. I can't imagine which symbol causes the linker to link xxx2wav.o to all win32 plugins 02.21.40 # I need to hide each single function and retry until I find the offending one. 02.22.48 # time for bed, later 02.22.57 Quit preglow ("yep") 02.25.11 # linuxstb: Your check of CONFIG_HWCODEC at the top of xxx2wav.c cannot work. 02.27.11 # Why not? 02.27.55 # Both symbols are defined in config.c and includes of it, which in turn get included by plugin.h You check before that... 02.28.05 # s/symbols/macros/ 02.29.02 # err, config.h I mean 02.29.11 # OK. But that check is also part of the plugins/lib/SOURCES file - so the check in xxx2wav.c is redundant. 02.29.14 Quit Patr3ck () 02.29.31 # Yes, it's only a safety measure. 02.38.37 Quit mecraw () 02.39.10 # will rockbox read pda documents? text only? 02.39.14 # I mean pdf 02.39.25 Join telliott [0] (~telliott@208-251-255-120.res.evv.cable.sigecom.net) 02.39.46 # If someone writes a pdf plugin, then yes 02.40.58 # linuxstb: It is definitely one of the system function equivalents in xxx2wav.c that causes this odd behaviour on windows. I 'just' need to find out which one... 02.41.16 # Hi. Anyone else notice a bug with playlist creation in the latest daily builds? With recursively insert turned on, rockbox only adds the first folder under the current one. 02.41.38 # I have a V1 recorder. 02.41.55 # telliott: Which build did you test? Iirc Linus fixed this recently 02.43.09 # 5/21 02.44.27 # The fix should be in 2005-02-22 02.44.34 Quit telliott (Read error: 54 (Connection reset by peer)) 02.45.33 Join telliott [0] (~telliott@208-251-255-120.res.evv.cable.sigecom.net) 02.46.09 # Got disconnected. I'm using Monday's build, 2/21 02.46.29 # [02:44:17] The fix should be in 2005-02-22 02.46.41 # As amiconn said, it was fixed on the 21st so the 22nd daily build should be OK. 02.47.01 # Thanks. 02.47.35 # I love the id3 database brower for finding stuff. Now I need to fix all my tags. 02.51.54 Quit DMJC ("Leaving") 02.52.50 Join DMJC [0] (~James@220-245-162-47-sa-nt.tpgi.com.au) 02.59.32 Part telliott 03.00.23 *** Saving seen data "./dancer.seen" 03.00.34 # linuxstb: Now I know which functions in xxx2wav.c fool the win32 linker - malloc() and free() 03.01.22 # It seems the linker wants to use these implementations instead of the system native ones for the dll init or similar. Of course this cannot work... 03.01.43 # That explains it then. 03.02.29 # So if this shall work on all simulators, we need a workaround. Obviously these functions must be called differently, at least for simulator builds 03.03.19 # That implies a (small) change to all codecs. They need to have a header which is included by all source files (I think all codecs have one) 03.03.38 # I think we can live with that. 03.03.39 # Then we need a #define similar to the ones in file.h 03.03.51 # #ifdef SIMULATOR 03.04.13 # Why #ifdef SIMULATOR? Can't we just rename them for all builds? 03.04.23 # #define malloc(blurb) sim_malloc(blurb) 03.04.40 # of course we could them rename in general 03.05.09 # Something like my_malloc() or codec_malloc() or such 03.06.59 # What do you think about adding a .h file in apps/codecs, and then including that from all the plugin files (via the "all.h" or whatever they use). 03.09.19 # Sounds reasonable. However, the question remains where this should be placed. apps/codecs would be first choice, but this header is also needed in xxx2wav.h, i.e. in apps/plugins/lib 03.10.17 # Why is it needed by xxx2wav.h? Don't we just need define codec_mallocd() etc in xxx2wav.[ch] ? 03.11.54 # Yes, I mean xxx2wav.c. This is where codec_malloc() and friends are defined. If we declare them in xxx2wav.h (which would be the canonical place), this declaration needs to be duplicated in apps/codecs/.h 03.13.21 # In fact, I wouldn't call these functions codec_*. They are placed in the plugin lib after all, and may also be useful for other plugins. One such plugin is rockboy... 03.13.47 # ...which may in fact be the cause why HCl didn't get it to run on the simulator 03.14.11 # There is also a private malloc() implementation in it... 03.14.37 # I think rockboy failed in the simulator before I added xxx2wav, but of course that doesn't stop it being a problem. 03.15.08 # Yeah - xxx2wav causes problems because it defines malloc(). Rockboy defines malloc() itself... 03.15.28 # But I think codec_malloc is the best name - the implementation is good enough to be used generally. They will only work if the "local_init()" function has been called - which also loads a Wav file. 03.15.38 # ^not good enough 03.16.30 # Yes, I saw that. Of course this can be remedied. Split xxx2wav in two - the general malloc() part and the .wav handling part 03.17.19 # I wasn't thinking that xxx2wav and the codec plugins would be permanent parts of rockbox - they are just there so people can test and optimise the codec libraries. 03.17.20 # The malloc() function would need some more work though. Somehow it needs to be initialised 03.17.50 # Yes of course. Still, the malloc() part may be useful in general - one more reason to split it apart 03.18.13 # I think Bagder has said that he's got a malloc implementation he can use in Rockbox - which I am assuming is better than my 6 lines of C. 03.18.19 # Anyway, that doesn't need to be done right now, and we should name these functions codec_* 03.20.48 # If you want to give it a shot, feel free to do so. Otherwise I'll try to do that tomorrow. I need to sleep now. At least I know what is going wrong. 03.21.41 # Night 03.21.48 # I probably won't have time - I have real work to do whuch is why I'm up at 2.18am. Maybe tomorrow. 03.22.00 # Night. 03.22.10 # Already 3:22 am here... 03.22.26 Part amiconn 03.31.25 Join ashridah [0] (ashridah@220-253-120-15.VIC.netspace.net.au) 04.05.23 Join QT_ [0] (as@area51.users.madwifi) 04.21.17 Quit shx (Nick collision from services.) 04.22.29 Quit QT (Read error: 110 (Connection timed out)) 05.00.25 *** Saving seen data "./dancer.seen" 05.19.07 Join ze__ [0] (ze@adsl-69-231-197-65.dsl.irvnca.pacbell.net) 05.27.40 Quit linuxstb (Read error: 60 (Operation timed out)) 05.29.27 Quit ze (Read error: 104 (Connection reset by peer)) 05.29.27 Nick ze__ is now known as ze (ze@adsl-69-231-197-65.dsl.irvnca.pacbell.net) 07.00.27 *** Saving seen data "./dancer.seen" 07.13.49 Join StrathAFK [0] (~mike@dgvlwinas01pool0-a239.wi.tds.net) 07.17.48 # Can anyone tell me how the Battery Chain is connected? Please take a look at this Image and imagine it was a recorder. It is mainly for orientation http://www.gofurygo.de/webpost/archos_fix_1.jpg 07.18.17 Join LinusN [0] (~linus@labb.contactor.se) 07.18.31 # Hey Linus... 07.20.22 # So, in the Upper right Edge of the Picture there is the "GND", Battery Minus to Metal casing and to Archos mainboard (Upper Right Middle Solder Joint)... 07.21.47 # In the Upper left edge there is Battery Plus to lower Battery Minus, and Upper Metal Casing to lower Metal Casing. 07.23.50 # In the lower right edge there is A contact made with Battery Plus, and from there to Archos Mainboard. Problem here is that somehow the Metal casing (which still is connected to Battery Minus on the other side) is also connected to Battery Plus - Voila my Short Circuit. 07.24.25 Join midk [0] (~midk@c-67-161-124-8.client.comcast.net) 07.25.23 # Now I removed the lower Metal casing and the left side PCB, but still the Minus Pole gets somehow connected up to Plus pole in the lower Right edge... 07.25.47 # Can somebody Point me in the Right direction where I've got to search? 07.26.45 # I have to admit that I tinned the Lower-Right-Contact and the upper left one, too. I hope that that doesn't cause the Problem... 07.27.10 # * einhirn sighs - 07.27.10 # *sigh* 07.29.03 # * einhirn makes sad face - "I just want my Recorder back" 07.29.29 # poor you 07.29.34 # Thanks... 07.30.13 # which model? 07.30.40 # Recorder - Well, I have to man myself, someone out there had to go through about 6 Month without his device... 07.31.35 # i haven't followed your case, could you brief me? 07.31.56 # short cut to the casing? 07.32.28 Quit Strath (Read error: 110 (Connection timed out)) 07.32.35 # which picture are you referring to? 07.32.45 # somewhere it seems like that. I entered a Picture link for orientation (before you got online) 07.32.45 # - just imagine it to be a recorder... http://www.gofurygo.de/webpost/archos_fix_1.jpg 07.35.05 # so when did the short happen? 07.36.05 # Err... I thought to be a smart guy. And soldered in the lower batteries using three pieces of wire... 07.36.29 # huh? 07.36.33 # I connected the wire to the Pads where the Batteries would have been seated... 07.37.05 # I did that because my batteries are longer than the original ones and were bending the PCB away... 07.37.15 # ok 07.37.51 # and you removed the end pcb? 07.37.56 # (And I removed the lower left spring to release the tension - so I had to solder the Battery... 07.38.01 # ok 07.38.05 # Yes, for "Diagnostics"... 07.38.38 # as far as i can tell, the pcb needs to be there for grounding purposes 07.38.53 # There I saw that the both Metal casings are connected together... 07.39.06 # allright 07.39.44 # Ok, then there is just the Problem why both, the Plus pole and the Minus Pole of the Battery Chain are connected to it... 07.40.16 # to the left pcb? 07.40.57 # On the Upper Right edge it seems to be designed to be so (Wire through the Spring, soldered to the metal casing) 07.41.09 # the ground, yes 07.41.53 # But somehow I get connection from Metal casing to Battery contact on the Lower right side too... 07.42.19 Quit ashridah ("out") 07.42.24 # I think I shorted some PCB Layers or something... (don't hope so because that would seem to be fatal?) 07.42.38 # take a look at this: http://www.rockbox.org/docs/repairbattery.html 07.42.57 # Jupp... Did so before... 07.43.21 # The connections to the Metal casings were stretched out of solder on all four corners... 07.43.33 # So I resoldered them... 07.43.40 # are you sure that you haven't accidentally enlarged the solder blob to the left? 07.44.17 # next to the digi i/o connector 07.45.48 # Have done so while resoldering the metal casing... but by now I removed the Solder because I removed the Metal casing (for diagnostiscs) 07.46.04 # Is that where the both layers are shorted? 07.46.13 # could be 07.46.18 # Hmm... 07.46.32 # if the solder blob extended to the vias next to it 07.46.53 # There are three contacts on the left side, each one of them was Seperate... 07.46.57 # how did you discover the short? 07.47.41 # Plugging in Batteries and them getting warm... The Blobs never (to my knowledge) extended to another via or something... 07.48.01 # http://www.rockbox.org/internals/rec_rear_top.jpg 07.48.29 # see how the early models didn't suffer from this? :-) 07.48.53 # they used Solder sparingly but twisted the Metal casing in... 07.48.59 # yup 07.49.38 # anyway, i think it will get hot if you connect to the via right next to the blob at "94V-0" 07.50.37 # That I didn't do... Well, as I said I have to admit that I tinned the Plus pole just left above the 0127 07.50.40 # also, you might have blown a circuit or two 07.50.51 # Oh... That would be bad... 07.51.14 # but you measure a short with a mutlimeter? 07.51.19 # multimeter 07.51.31 # Anyway, thanks so far - Will get back online when I am at my workplace... 07.51.37 # Good morning everyone! 07.51.40 # ok 07.51.43 # dwihno: morning 07.51.45 # Yup. Multimeter: Plus to Metal casing short 07.52.09 # i think you want to replace the 7416 above the lcd 07.53.21 # Hmm... I don't see anything tagged like that... 07.53.29 # IRF7416 07.53.35 # 8 pins 07.53.58 # Two 8Pin SMDs, both tagged 4463 07.54.05 # hmmm 07.54.40 # * einhirn has to go - can't afford being late... 07.54.45 # oki 07.54.52 Quit einhirn ("Miranda IM! Smaller, Faster, Easier. http://miranda-im.org") 08.07.26 Join methangas [0] (methangas@0x50a43276.virnxx10.adsl-dhcp.tele.dk) 08.50.51 Join einhirn [0] (Miranda@bsod.rz.tu-clausthal.de) 08.51.48 # Hello... I'm back... 08.52.44 # LinusN: My agenda now is to unsolder the HDD-Connector PCB from the Device and check if the Short is located on it... 08.54.23 # If the short is not located on that board, I'll take a look at the 8pin-SMDs, they seem to/should be the Transistors that control Main Power and HDD Power - right? 08.54.47 # yes 08.55.04 # Perhaps Google will come up with a way to test these - hopefully without needing to unsolder them... 08.58.42 # I am afraid of blowing something else if I just plug in my Multimeter (at least it works with 9V - so if it injects that somewhere it doesn't belong to, it'll blow; right?) 08.59.23 # Well, I'll come back to you when I have results of the tests... 09.00.30 *** Saving seen data "./dancer.seen" 09.02.00 Join Sando [0] (kekekek@CPE-147-10-21-132.vic.bigpond.net.au) 09.05.22 # einhirn: what kind of multimeter do you have that uses 9V to measure conductance??? 09.17.57 Join ashridah [0] (ashridah@220-253-120-34.VIC.netspace.net.au) 09.37.18 Quit einhirn ("Miranda IM! Smaller, Faster, Easier. http://miranda-im.org") 09.40.26 Join jyp [0] (~jp@239.90-201-80.adsl.skynet.be) 09.54.08 # What's the semantic of struct fat_cache_entry, field secnum ? 10.00.23 # huh? 10.02.52 # it's the sector number of the cached sector 10.09.22 # As usual I like being sure ;) 10.10.00 Join R3nTiL_ [0] (~zorroz@83.69.98.227) 10.18.24 Join Patr3ck [0] (~patr3ck@pD9ECFFCE.dip.t-dialin.net) 10.24.43 # LinusN: I tried yesterday to get the free timer on iriver to work 10.24.52 # and? 10.25.02 # LinusN: I only managed to freeze it ;-) 10.25.03 # But 10.25.14 # I cross checked everything and spotted 10.25.22 # that TER0 and TER1 are defined as 10.25.44 # MBAR+150 and MBAR+190 10.26.03 # shouldn't that be MBAR+151 and MBAR+191? 10.26.34 # not if you access them as a word 10.26.40 # mcf5249um.pdf page 178 10.27.00 # ok 10.28.07 # so that was not the problem... 10.28.17 # when i designed the mcf5249.h file, i was misled by the manual that said that the internal registers weren't byte accessible 10.28.36 # i'll change that some day 10.29.07 # no problem, I only thought this could be the problem why my iriver froze. 10.29.11 # hrm. odd 10.29.36 # rockbox took a few minutes to recalc fsinfo just after i'd been using the iriver stock firmware to record something. 10.30.03 # anyway, I got some reaction from my programming ;-) 10.30.11 # I will try again this evening 10.31.44 # ashridah: seems like iriver invalidates the fsinfo once in a while 10.32.17 # yeah. i think i've noticed it doing that once before. 10.32.29 # after plugging the device into a usb port on a pc 10.39.15 Quit R3nTiL_ () 10.41.26 Quit jyp ("poof!") 10.56.12 Join Aison [0] (~hans@zux166-181.adsl.green.ch) 11.00.32 *** Saving seen data "./dancer.seen" 11.12.22 Join webguest63 [0] (~c31ce021@labb.contactor.se) 11.39.09 Join muesli- [0] (muesli_tv@c-180-220-173.cvx-h.dial.de.ignite.net) 11.40.01 # high 11.40.06 # low 11.40.39 # :-) 11.40.44 # hi linus 11.41.04 # hey ho 11.44.19 # how's goin in sweden? rode a reendeer today? 11.49.32 Join amiconn [0] (~jens@pD95D1BED.dip.t-dialin.net) 11.50.08 # muesli-: of course 12.00.04 # :D 12.00.55 # people got very excited about the news of playing wavs 12.03.25 # omgomgomg! 12.03.28 # heh 12.04.21 # if it's just a standalone bit of code streaming a wav file to the audio output, bfd. if it's a built in thread that's feeding data from a refillable buffer... :) 12.07.27 # the hardest part is going to be determining the size of the output buffer that's going to be able to handle the worst-case scenario of codecs, AND codec swapping. 12.16.14 # uff, dunno too much about this..2 b honest..nothing... 12.17.34 # well. okay. it's not as simple as just writing data to the headphone's output. if you don't have enough buffered data already ready to go, then it's possible that the device won't have enough time to read and decode more from the disk to fill up the buffer before you run out. 12.17.39 # if that happens, you get a skip 12.18.10 # makes sense 12.18.36 # if we want to provide seamless playback between songs, we need the buffer to be big enough to handle the changeover from one codec to another, as well as reading new data from the next file. 12.19.21 # yepp 12.19.46 # most of the time, we will have several songs already loaded in memory 12.20.22 # so the pcm output buffer doesn't have to take disk loading time into account 12.20.31 Nick QT_ is now known as QT (as@area51.users.madwifi) 12.20.34 # LinusN: that's true. 12.20.40 # how many songs can you buffer in one turn? 12.20.44 # but you have to make some allowances for potential worstcase scenarios 12.20.50 # like having to load a new codec plugin 12.21.08 # muesli-: the mp3 buffer is about 30MBytes today 12.21.13 # which could co-incide with the near depletion of the buffer, so you need watermarks and other fun stuff ;) 12.21.24 # yup 12.22.03 # so theoretically there are 32mb / ~5mb for each file possible? 12.22.20 # roughly 12.22.44 # rockbox tries to fit as much data in the buffer as possible 12.23.23 # i wonder why there are only 32mb of buffer..rams arent expensive in these days.. 12.23.56 # another 32mb won't affect the battery time that much 12.24.26 # maybe for wav playback, but not for mp3 12.24.48 # the archos jukebox has only 2mb :-) 12.24.57 # yepp...i wonder if the next hardware mod would be exchanging that 32mb ram module with a bigger one ;) 12.25.06 # hehe 12.25.23 # theroretically it shouldnt be hard... 12.27.59 # not in theory 12.28.52 # when the archos box has only 2mb...it has spin the harddrive for buffering every 2minutes!? 12.29.51 # roughly, we have only about 1.6Mb left for buffering 12.30.15 # so every 1.5 mins 12.30.18 # muesli-: the archos would be buffering mp3 data, not pcm data (if i understand the hardware) 12.30.24 # yes 12.30.26 # * ashridah smacks head 12.30.28 # minutes. 12.32.01 # :) 12.32.26 # * LinusN goes to lunch 12.32.54 # i guess if you would increase the buffer you could increase playing time by factor 1,5 12.36.13 # me too 12.36.17 # cya l8er 12.38.11 Quit midk ("Leaving") 12.38.19 Join preglow [0] (thomj@s183a.studby.ntnu.no) 12.39.00 # LinusN: when i do addressing with a base register and a scaled index register, is the index register signed? 12.40.13 Join shx [0] (~a4810127@labb.contactor.se) 12.41.08 Quit muesli- (Read error: 104 (Connection reset by peer)) 12.55.13 # preglow: yes 13.00.35 *** Saving seen data "./dancer.seen" 13.06.23 # hrmf 13.06.40 # ahehum! 13.07.40 # i do a array[11 - i] access, which i code like neg %d7, move randomdata, 44(%a0, %d7*4). everything involved is long or long*, and %d7 contains i 13.07.56 # is that wrong? :V 13.08.31 # should work 13.08.49 # well, shoot 13.09.05 # i've tried optimizing imdct for short blocks, just to brace myself for the bigger boys 13.09.11 # but i do something wrong somewhere 13.12.02 # can i see the code? 13.13.24 # sure 13.13.26 # gimme a sec 13.14.03 # http://glow.m0f0.net/rockbox/layer3.c 13.14.08 # grep for III_imdct_s 13.14.20 Join Patr3ck_ [0] (~patr3ck@pD9ECF008.dip.t-dialin.net) 13.14.35 # i'm not done optimizing, but it should work as it is 13.14.38 # * preglow braces for stupid bugs 13.15.10 # * HCl yawns 13.15.11 # hi 13.15.38 # beware that imdct_s is a two dimensional array, but they should be stored sequantially 13.15.41 # HCl: elo 13.19.58 # preglow: i need emac.h 13.23.00 # it should be there as well 13.23.14 # glow.m0f0.net/rockbox/emac.h 13.24.28 # i probably won't end up using those macros anyway, so i should stop using it ;) 13.26.12 Join Renko [0] (~Renko@host217-43-59-250.range217-43.btcentralplus.com) 13.26.56 # also, the shifting of the result might be wrong 13.27.14 # but that should just yield a volume change, not a different waveform altogether 13.27.31 Join jyp [0] (~jp@239.90-201-80.adsl.skynet.be) 13.29.40 Quit Patr3ck (Read error: 110 (Connection timed out)) 13.30.24 # i don't see anything wrong... 13.32.35 # you mean in the output or in the code? 13.32.35 Quit webguest63 ("CGI:IRC (EOF)") 13.32.42 # in the code 13.32.45 # nor do i 13.33.20 # the only thing i can imagine is wrong, is using mac in the first place 13.33.28 # but that should only yield gain errors 13.34.00 # MAD_F_MLZ does nothing but shift a 64 bit result four bits up and then return the 32 top bits 13.34.10 # the emac unit always works on the top bits in fractional mode 13.34.14 # so i'm stumped 13.35.28 # MLO is a load, right? 13.36.27 # aha 13.36.29 # a simple 32x32 bit multiply 13.36.35 # saw that 13.36.42 # it's used to overwrite the accumulator, i do a movclr instead 13.38.07 # so what's the EMAC's basic aim? 13.38.33 # ashridah: it's used to multiply numbers and accumulate them as it goes 13.38.45 # ashridah: which sounds simple, but it's a fundamental dsp operation 13.38.57 # i guess i don't know DSP well enough :) 13.39.14 # it's also good for 3d calculations 13.39.19 # ie. dot product 13.39.55 # yeah 13.41.41 Join muesli- [0] (muesli_tv@c-180-220-232.cvx-h.dial.de.ignite.net) 13.45.16 # mornin 13.45.17 Quit muesli- (Read error: 104 (Connection reset by peer)) 13.47.12 # preglow: i'm no emac expert, but is %acc and %acc0 really the same register? 13.47.30 Quit jyp (Read error: 110 (Connection timed out)) 13.47.43 # LinusN: i think so 13.47.53 # LinusN: am i using both? 13.48.07 # you clear %acc before the loop 13.48.24 # no, i clear acc0 before the loop 13.48.41 # movel #0,%acc 13.48.43 # at least i certainly hope so 13.48.56 # objdump seems to equate the two, at least 13.49.41 # but try hard coding it, then, asm("move.l #0, %acc0"); instead of the SET_MAC 13.49.54 # that is what should be happening already, though 13.54.08 # yup 14.00.48 Join jyp [0] (~jp@239.90-201-80.adsl.skynet.be) 14.06.18 # preglow: i don't see anything wrong, and i guess i'll have to run the debugger to spot the error... 14.07.05 Quit Renko (Remote closed the connection) 14.07.49 # hrmf 14.08.18 # wait a sec 14.08.27 # debug facilities would be great 14.09.30 Quit lostlogic ("Going to the moon") 14.09.57 # maybe i should try making some quick emac functions i can run on the computer, just to verify results 14.10.54 # i'm a little curious about the first "move.l(%[s]+, %%a5" 14.11.25 # yes 14.12.14 # what about it? i'm planning on moving that outside the for i loop and using all mac fetches inside, just haven't gotten around to making asm version of the loop 14.14.07 # the mac fetches happen in parallel, so the result won't be in %a5 until after the instruction is done 14.14.13 # that instruction is to provide data for the first mac 14.16.09 # was a little unsure about the number of increments of %a3 14.16.30 # that's a valid concern 14.16.41 # but it should be right 14.16.55 # twelve per loop iter 14.19.01 # okay 14.19.15 # i have a problem with movem in my dynarec.. who can help me with that? 14.19.28 # HCl: depends, elaborate 14.19.57 # preglow: i have two movem instructions that swap into gameboy context, and one that saves the gameboy context 14.20.06 # with them, rockboy crashes, without, it works. 14.20.17 # but ofcourse, without, the results don't get stored so its useless 14.20.28 # HCl: well, what do they look like? 14.20.39 # asm volatile (//"movem.l (%0),%%d0-%%d6/%%a0-%%a1\n\t" 14.20.39 # "jsr (%1)\n\t" 14.20.39 # //"movem.l %%d0-%%d6/%%a0-%%a1,(%0)\n\t" 14.20.46 # "a" (cpu.a) 14.20.50 # maybe my cpu.a is wrong? 14.20.54 # should it be &cpu.a ? 14.21.31 # if a is a pointer, then no, () does dereferencing 14.21.40 # its not a pointer. 14.21.54 # it's where you want to save the state? 14.22.03 # yea 14.22.10 # well, an array is a pointer 14.22.15 # so it's still right 14.22.45 # its not an array :x 14.22.51 # i'll make it &cpu.a 14.22.51 # struct? :P 14.23.04 # its an union thing in a struct 14.23.18 # if so, yes, use & 14.26.57 # that did something.. 14.28.43 Quit ashridah ("sleep") 14.28.47 # something good? ;) 14.29.42 # sortof. 14.29.46 # it didn't crash. 14.29.54 # and it did change the gameboy's program counter. 14.30.03 # but not to the correct value. 14.30.30 # well, is %0 preserved in the call? 14.30.57 # yea 14.31.19 # let me see the lists after the asm statements 14.32.37 # what do you mean? 14.32.41 # the constraint strings 14.32.52 # where you declare what variables you use in the asm block 14.32.55 # ahh 14.32.56 # there it is 14.33.04 # you do know that %0 is an actual register, yes? 14.33.21 # how do you know it isn't clobbered in the place you're jumping to? 14.33.23 # yes. 14.33.33 # because i control the code thats written in the place that its jumping to. 14.33.44 # you don't even know what register %0 is 14.33.50 # how do you know you're not overwriting it? 14.33.52 # its a3/a4 14.33.54 # i mean 14.33.55 # a5/a6 14.33.56 # :P 14.34.05 # because this is my register clobber list for the block :P 14.34.10 # : "d0", "d1", "d2", "d3", "d4", "d5", "d6", "d7", "a0","a1", "a2", "a3", "a4" ); 14.34.13 # hahaha 14.34.18 # ok 14.34.46 # brb. 14.38.46 # * HCl continues to work on it 14.39.35 Nick Lynx_awy is now known as Lynx_ (HydraIRC@134.95.189.59) 14.47.54 # preglow: i think i see a problem 14.49.23 # LinusN: please, explain 14.50.59 # it seems the compiler doesn't see that %d0 is clobbered 14.51.42 # the outer loop is bounded by %d0 14.51.57 # how can it not see that? it's right there in the list. i thought it complained if i exhausted the registers 14.52.31 # nasty 14.52.47 # why, indeed 14.56.22 Join elinenbe [0] (~elinenbe_@65.115.46.225) 14.56.34 # if i clobber too many registers, the register allocator does complain 14.56.40 # so i can't even begin to guess why it's doing this 14.57.18 # weird indeed 14.57.32 # looks like it looses track in the nested loops 14.57.38 # well ok 14.57.51 # i'll try merging the inner loop into the asm 14.58.00 # or both 14.58.07 # probably clever 14.58.30 # the movem is loop invariant, so it needs to go outside the inner loop 14.59.16 Join edx__ [0] (edx@p548796C0.dip.t-dialin.net) 14.59.19 # now it would be nice with hardware loops... 14.59.42 # I'd like to compile a codec as a standalone application... (preferably mad or tremor) 14.59.51 # Advices on how to do that ? 15.00.15 # 0x20390000 15.00.37 *** Saving seen data "./dancer.seen" 15.00.53 # * HCl scratches his head. 15.01.15 # well.. at least its working correctly.. aside from doing something utterly odd to make it into 0x20390000 15.02.43 # jyp: i believe there are examples on their respective home pages 15.03.22 # LinusN: what platforms have hardware loops? 15.03.52 # LinusN: i mean complie for the target 15.03.53 Join lolo-laptop [0] (~lostlogic@68.251.84.226) 15.04.02 # preglow: most dsp's i guess 15.05.22 # * HCl sig.s 15.05.23 # jyp: you'll have to link the libmad.a into the apps code directly 15.05.24 # sighs* 15.05.42 # can someone tell me whats wrong with this code?: 15.05.49 # 2278 0150 4e75 15.05.51 # :x 15.05.51 # jyp: my god, you'll have a good time porting libmad 15.06.12 # it assumes 32 bit ints pretty much the entire way 15.06.48 # isn't there an alternative library? 15.06.50 # Too bad 15.07.08 # HCl: you expect us to disassemble for you? 15.07.15 # ... C specs never said ints were 32bits wide ;) 15.07.31 # HCl: objdump is your friend 15.07.33 # preglow, LinusN: The MAS has hardware loops... 15.07.46 # amiconn: i thought you guys didn't know how the mas worked 15.07.48 Join newnick [0] (~3edba57e@labb.contactor.se) 15.07.54 # well. 15.07.55 # as i said, "most dsp's" 15.07.56 # the problem is. 15.08.01 # if i feed it through objdump 15.08.02 # preglow: we can program it 15.08.03 # its supposed to be fine 15.08.09 # 20: 2278 0150 moveal 150 ,%a1 15.08.16 # 26: 4e75 rts 15.08.39 # well, then the error is probably not here 15.09.02 # :( 15.09.11 # preglow: think you can help me a bit? :/ 15.09.13 # preglow: we have documentation on the DSP in the MAS, but not on the rest of the chip 15.09.20 # cause i don't understand whats going wrong.. 15.09.35 # LinusN: ahh 15.09.51 # HCl: i'm not much of a 68k expert 15.09.55 # :/ 15.10.00 Quit edx (Read error: 110 (Connection timed out)) 15.10.00 Join muesli- [0] (muesli_tv@c-180-220-93.cvx-h.dial.de.ignite.net) 15.10.11 # re 15.10.16 # * HCl sighs. 15.10.22 # HCl: what's the problem? 15.10.27 # and right now i need to finish this optimization i'm working on, i should have been doing other things for a lot of hours now 15.10.40 # LinusN: i'm writing a code block consisting of 2278 0150 4e75 15.10.44 # which according to objdump 15.10.46 # preglow: i know the feeling :-) 15.11.00 # is moveal 0x150, %a1 , rts 15.11.16 # and i'm calling it using this: 15.11.30 # "movem.l (%0),%%d0-%%d6/%%a0-%%a1\n\t" 15.11.30 # "jsr (%1)\n\t" 15.11.30 # "movem.l %%d0-%%d6/%%a0-%%a1,(%0)\n\t" 15.11.30 DBUG Enqueued KICK HCl 15.11.30 # : 15.11.30 # : "a" (&cpu.a), 15.11.32 # "a" (b->block) 15.11.35 # : "d0", "d1", "d2", "d3", "d4", "d5", "d6", "d7", "a0","a1", "a2", "a3", "a4" ); 15.12.13 # i made it dump all the registers before the movems and after calling the block and the movems... 15.12.23 # and it seems to work fine, aside from completely messing up the value of %a1 15.12.42 # for some reason it turns into 0x20398000 15.12.49 # rather than 0x150 15.12.53 # is %a1 supposed to be included in the movem? 15.12.57 # yes. 15.13.06 # it needs to be stored in memory 15.13.11 # and fetched 15.13.15 # before calling the block 15.13.27 # and cpu.a is which register? 15.13.36 # d0 15.13.51 # can't be 15.14.00 # hm? 15.14.12 # movem.l needs an address register 15.14.15 # it starts with d0 then it traverses it o.o 15.14.23 # oh. you mean 15.14.24 # in the code 15.14.25 # um. 15.14.26 *** Alert Mode level 1 15.14.26 # let me look. 15.14.31 # does anyone know how gcc prefers labels in asm statements to look like? 15.14.37 # its supposed to be %a5 or %a6 15.14.44 # preglow: .label: 15.14.48 # LinusN: thanks 15.14.49 # let me check 15.14.59 # preglow: oh, you mean global ones? 15.15.19 # then it's just the plain name 15.15.30 # 880: 4bf9 0000 0000 lea 0 ,%a5 15.15.30 # 886: 2c6f 0078 moveal %sp@(120),%fp 15.15.30 # 88a: 4cd5 037f moveml %a5@,%d0-%d6/%a0-%a1 15.15.30 *** Alert Mode level 2 15.15.30 # 88e: 4e96 jsr %fp@ 15.15.30 *** Alert Mode level 3 15.15.30 # 890: 48d5 037f moveml %d0-%d6/%a0-%a1,%a5@ 15.15.48 # whats %fp, by the way? 15.16.00 # LinusN: Really? I think if you want to define function foobar() in asm, you need to use _foobar: 15.16.00 # frame pointer 15.16.02 # a6? 15.16.09 # amiconn: not for the 68k 15.16.22 # (or is it the other way around?) 15.16.39 # The underscore is definitely necessary for SH1 15.16.40 # HCl: yes 15.16.43 # k 15.16.49 # amiconn: then it isn't for the 68k 15.17.18 Ctcp Ignored 1 channel CTCP requests in 0 seconds at the last flood 15.17.18 # * HCl sighs 15.17.34 # Strange. I thought this C -> asm label translation is independent of cpu architecture. Iirc x86 also needs this. 15.17.40 # * HCl goes to doublecheck the encoding of movea 15.17.49 # amiconn: i was surprised too 15.17.50 # LinusN: no, i meant a local one 15.17.58 # then it is .label: 15.18.01 # yup 15.18.54 Join webguest33 [0] (~3edba57e@labb.contactor.se) 15.19.02 # HCl: i don't see anything wrong with that code 15.19.07 # me neither :( 15.19.26 Quit muesli- (Read error: 104 (Connection reset by peer)) 15.19.44 # hrm... 15.20.15 # but then i didn't see any problem with preglow's code either :-) 15.20.50 # * HCl sighs, needs an assembly-level trace/debugger 15.21.19 # * LinusN caresses his bdm emulator 15.21.23 Quit newnick ("CGI:IRC (EOF)") 15.21.34 # heh, i don't suppose you'd be willing to debug part of rockboy? :X 15.21.35 Quit webguest33 (Client Quit) 15.21.46 # *has no idea how easy it is to debug with a bdm* 15.22.04 # it's easy 15.22.11 # but my time is extremely limited 15.22.16 # yea. its ok. 15.22.32 # Is the code you're talking about somewhere ? 15.22.40 # let me put it on my ftp 15.22.45 # binaries are on my ftp either way 15.22.49 # hold on.. 15.23.17 # I don't have an iRiver, so the binaries are not so useful :P 15.23.29 # oh. 15.23.30 # ok. 15.23.34 # hold on, let me just get the code 15.23.46 # take your time ;) 15.23.54 # LinusN: how would a gdb stub for serial port function in comparison to the bdm? 15.24.15 # it would work great 15.24.20 # ftp://titania.student.utwente.nl/rockboydyna.zip 15.25.16 # where's the offending code ? 15.25.31 *** Alert Mode OFF 15.25.36 # cpu.c and dynarec.c 15.25.44 # HCl: how is rockboy running? (well, with they dynarec, not with the bugs!) 15.26.12 # elinenbe: not, cause dynarec is malfunctioning so far, but making a little progress in that calling a dynarec block doesn't crash the iriver anymore 15.26.26 # hey, that's a step! 15.26.35 # yea, but now its delivering the wrong results 15.26.44 # for unknown reasons 15.27.01 # what's the deal with #ipodlinux, it seems like there is so little interest in that project... 15.27.24 # having to look up the instruction reference to see what instructions support what register types all the time is extremely annoying 15.28.52 # HCl: Is the assembler code conforming to your expectations ? 15.29.02 # preglow: yeah, the standard 68k is a little nicer than the coldfire 15.29.25 # jyp: what do you mean..? 15.29.50 # Are you ok with the way gcc allocates registers ? 15.29.56 # (basically) 15.29.56 # i don't see why not. 15.30.05 # I just ask ;) 15.30.15 # if you browse up in the chat a bit, i pasted a dump of the assembly that gcc generates 15.30.52 # btw, the purpose of the movem is to save the registers right ? 15.31.00 # yea, and load 15.31.16 # a terrible waste to save all regs every time 15.31.22 # cpu.h has a gameboy register -> m68k reg map 15.31.26 # yesyesy. 15.31.34 # I don't understand why you have to save those AND mark them as clobbered 15.31.49 # because they are.. clobbered..? 15.31.56 # the first movem doesn't save them, but load them 15.32.00 # and the second movem writes them 15.32.04 # not the other way around 15.32.31 # LinusN: i'm not going for speed yet. 15.32.43 # trying to get it to work first. 15.32.53 # what a unique approach! :-) 15.33.05 # o.o 15.35.59 Quit Marco (Read error: 110 (Connection timed out)) 15.37.32 # * HCl scratches his head 15.37.39 Quit Sando (Read error: 54 (Connection reset by peer)) 15.40.06 Nick edx__ is now known as edx (edx@p548796C0.dip.t-dialin.net) 15.42.09 # time to go home 15.42.11 # cu aroune 15.42.14 # byebye 15.42.17 # cu around 15.42.20 Part LinusN 15.45.46 Nick Lynx_ is now known as Lynx_awy (HydraIRC@134.95.189.59) 15.51.15 # * HCl sighs again. 15.51.23 # * HCl throws stuff at gcc 15.52.35 # * preglow bitchslaps gcc 15.55.11 # I can't see how gcc is involved in your problem 15.56.28 # its compiling my code. 15.56.33 # and its doing it wrongly. 15.56.49 # Ha, now we're getting into it ;) 15.56.57 # and now it even crashes rockboy 15.57.05 # I asked you just above and you seemed happy :P 15.57.39 # yes, i'm sitting here with a screenfull of asm code thanks to gcc not doing its stuff properly 15.57.42 # heh 15.58.26 # file a bug report :) 15.59.35 # jyp: not really. 16.03.13 # preglow: is it because it doesn't understand clobbered registers properly ? 16.04.36 # here it actually assigned the same register (a4) to two arguments. 16.06.00 # jyp: don't know 16.06.11 # and now it actually just generates invalid assembly 16.06.12 # hurray 16.12.35 # HCl: it can assign both an input and output to the same argument if the input is not marked as clobbered, iirc 16.12.47 # -rwxr-xr-x 1 thomj users 838219936 Feb 25 16:12 mpa2wav.rock 16.12.49 # what the hell 16.13.16 Join bg_ [0] (~chatzilla@adsl-68-78-228-166.dsl.mdsnwi.ameritech.net) 16.13.19 # i think a plugin the size of an iso is a bit much 16.14.07 # there probably is something in a supposedly empty section 16.14.37 # the .o file is correctly sized 16.14.39 # hrmf 16.14.45 # i wonder how this happened 16.14.57 # i haven't done anything but modify some asm 16.15.46 # maybe you put something around address 0x31f638a0 ? 16.17.58 Join AC [0] (~5078751e@labb.contactor.se) 16.19.23 # Hi 16.19.34 # * AC runs the last wv tests 16.20.24 # could anyone skilled in the ways of Makefiles have a look and determine why libmad's makefile doesn't pick up when changes are made? 16.20.34 # having to do a make clean each time i change something is very annoying 16.22.44 # * HCl sighs. 16.23.06 Join Chamois [0] (~52e2b617@labb.contactor.se) 16.26.34 # * HCl blames the movem instruction. 16.33.32 Join zezayer [0] (~zezayer@host81-152-218-69.range81-152.btcentralplus.com) 16.38.37 # atrghh 16.38.38 # i can't take this 16.38.41 # i need to be able to debug 16.45.35 # amiconn: what'd you say if panic.h looked like this: 16.45.40 # #include "sprintf.h" 16.45.40 # void panicf( const char *fmt, ... ) ATTRIBUTE_PRINTF(1, 2); 16.46.27 # (ignoring header&trailer of course) 16.48.05 # * HCl sighs. 16.48.09 # * HCl whacks things. 16.48.09 Join cYmen [0] (~cymen@nat-ph3-wh.rz.uni-karlsruhe.de) 16.48.56 # * HCl takes the pc calculation out... 16.51.53 # * HCl sighs and stares. 16.54.06 # * HCl goes. 16.54.08 # bbl. 16.54.09 # u.u 16.54.39 Join muesli- [0] (~muesli_tv@c-180-220-219.cvx-h.dial.de.ignite.net) 16.55.15 Join mecraw [0] (~mecraw@69.2.235.2) 16.59.37 Quit AC ("CGI:IRC (EOF)") 17.00.41 *** Saving seen data "./dancer.seen" 17.02.44 Join ze__ [0] (ze@adsl-69-231-219-215.dsl.irvnca.pacbell.net) 17.03.24 Quit ze (Nick collision from services.) 17.03.29 Nick ze__ is now known as ze (ze@adsl-69-231-219-215.dsl.irvnca.pacbell.net) 17.10.38 Join skav [0] (skav@67-138-74-184.dsl1.merch.roc.ny.frontiernet.net) 17.12.05 Quit muesli- (Read error: 60 (Operation timed out)) 17.27.47 # is 0x150 a valid memory address? 17.29.12 # on iriver? 17.29.19 # where's linus when you need him.. 17.32.00 Quit Aison ("( www.nnscript.de :: NoNameScript 3.72 :: www.XLhost.de )") 17.33.33 Join XShocK [0] (~XShocK@pcp09492659pcs.nrockv01.md.comcast.net) 17.34.30 # gotcha. 17.34.41 # my dynarec is doing (0x150), %a1 17.34.46 # instead of 0x150, %a1 17.37.01 # now i just need to fix that. 17.45.50 # is dynarec just another way of saying HLE 17.45.51 # ? 17.48.29 Quit Patr3ck_ () 17.50.27 # state what HLE means ;) 17.50.55 # It's even more crytic than dynarec :p 17.51.30 # HLE is High level Emulation 17.52.04 # that is instead of emulating the processor... you emulate system calls. 17.55.46 # No; it's not the same 17.56.08 # and it cannot be done in this case since there's no hardware support for Z80 in the Coldfire 17.56.31 # , bg_ 17.59.07 Join Renko [0] (~Renko@host217-43-59-250.range217-43.btcentralplus.com) 17.59.27 # i see 18.02.10 # bg_: not at all. 18.02.19 # what they said :P 18.02.24 # * HCl hadn't read up yet 18.02.41 Quit zezayer (Read error: 110 (Connection timed out)) 18.02.44 # elinenbe: not just system calls, library calls 18.05.41 # * HCl goes to doublecheck... 18.22.19 Join muesli- [0] (muesli_tv@c-180-220-60.cvx-h.dial.de.ignite.net) 18.23.32 Join zezayer [0] (~zezayer@host81-152-218-69.range81-152.btcentralplus.com) 18.24.40 Quit muesli- (Client Quit) 18.26.06 Join hubble [0] (hubble@h13n1fls302o1033.telia.com) 18.28.53 # Someone knowledgeable with the fat driver reading? 18.28.54 # XShocK: ok i've got the DMA working, i think the problem is that i had a old bootloader with the rambar1 bug 18.29.39 # XShocK: but i don't get why the frequency is messed up 18.29.52 # XShocK: if I use DMACONFIG = 0x4300 that is 18.30.42 # XShocK: doh. i was still using the sdram buffer =( 18.31.13 # why shouldn't you use the sdram buffer? 18.32.44 # preglow: because the audio FIFO of the coldfire is only 6 samples, so we need to use a special mode of the DMA controller called "Cycle steal" (CS) which basicly means that the dma only transfer 32-bits for each request from the audio interface (I2S) 18.33.38 # hahaha 18.33.40 # six samples 18.33.47 # preglow: so the request must be completed before the FIFO is empty 18.34.12 # preglow: i guess the problem with sdram is that (at the current CPU frequency) it is too slow 18.34.34 # well, sdram is probably ok, as long as not too much is used 18.34.39 # ehh 18.34.39 # sram 18.35.06 # preglow: i think we only need 1k or even less than that 18.35.20 # yes, we'll see anyway 18.37.09 # just came... 18.39.17 # i used SRAM and needed 0x6300 for it to play nicely. maybe it is because it was stereo. 18.39.52 # or... i shouldn't be such 18.40.26 # on 4300 it works without any glitches whatsoever, but just twice as slow. 18.40.50 # so there is no problem related to the speed of SRAM. 18.41.04 # ok, that is great 18.41.22 Quit cYmen ("leaving") 18.41.23 # little wierd since the iriver firmware uses 4300 18.41.26 # the sram is single cycle access, so small wonder 18.41.30 # i yes 18.42.50 # XShocK: try to set AUDIOCLK in PLLCR 18.43.02 # XShocK: that way 4300 should work 18.43.35 # yes, i remeber deleting the PLLCR config. 18.43.39 # will try now 18.45.00 # rambar1 bug? 18.45.09 # whats a rambar1 bug? 18.45.24 Join AC [0] (~5078751e@labb.contactor.se) 18.45.27 # hi 18.45.28 # HCl: linus initialized SRAM wrong 18.45.31 # hubble, did you "make clean" after changing the crt0.s file? 18.45.39 # hubble: ah. 18.45.52 # first part of libwavpack is in cvs 18.45.59 # XShocK: not sure, but i'm pretty sure I saw that it compiled crt0.s 18.46.04 # is is realy slow.. about 3% in the worst case 18.46.24 # AC: yes, we'll fix that some time ;) 18.46.26 # because i didn't do that, and had a hard time understand what was the bug, :) 18.46.59 # nop.. PLLCR didn't help 18.47.10 # aa yes, helped 18.47.28 # ok, then that is the thing... :) 18.47.33 # preglow: :) 18.47.51 # that is, if i don't commit suicide over failing to optimize libmad some time soon 18.50.28 # oh. the good news is that my dynarec is working, by the way 18.50.41 # about codecs do you have news about the mp3 codec here http://www.freescale.com/webapp/sps/download/mod_download.jsp?colCode=CFMP3DECAUDSW&prodCode=MCF5249&nodeId=02WcbfCjB1Ng9F&location=psp 18.50.42 # it is? 18.50.44 # what was wrong? 18.51.12 # the bad news is, its generating the wrong results 18.51.25 # preglow: the opcode its compiling is actually movea.l (0x150), %a1 18.51.26 # rather than 18.51.32 # movea.l 0x150,%a1 18.51.53 # ahh 18.52.06 # i modified hello world to give me the value at memory address 0x150 18.52.07 # is this in an asm statement? 18.52.14 # and it was the value the PC was getting set to 18.52.18 # or code you generate? 18.52.22 # generate. 18.52.43 # void DYNA_MOVEA_w_i_to_r(un16 imm, un8 dest) { 18.52.43 # DWRITEW(0x2078|(dest&0x7)<<9); // unsure if correct 18.52.43 # DWRITEW(imm); 18.52.43 # } 18.52.50 # now, it does have an unsure if correct comment. 18.52.50 # so. 18.52.53 # i'll look into that. 18.53.50 Join linuxstb [0] (~linuxstb@dsl-212-23-31-215.zen.co.uk) 18.54.09 # it is incorrect 18.54.18 # yea, i think i understand what i did wrong 18.54.35 # the odd thing is, when i put asm("movea.l 0x150 %%a1"); in gcc 18.54.42 # it seems to generate the same wrong code as me 18.54.47 # (add a , 18.54.51 # )) 18.55.05 # 0x207c 18.55.07 # i think it should be 18.55.15 # HCl: you lack a # 18.55.19 # ah. 18.55.25 # HCl: all constants that aren't prefixed # are taken as addresses 18.55.31 # ahh. 18.55.32 # okay. 18.55.42 # well, i happen to have an MOVEA_l_i_to_r 18.55.44 Quit Chamois ("CGI:IRC") 18.55.47 # which is indeed 0x207c 18.55.50 Quit linuxstb (Client Quit) 18.55.53 # i'll look into it 18.56.02 # anyways. 18.56.08 # as i was saying, the dynarec is working 18.56.12 # now i just gotta get my encoding right :) 18.56.16 # ahh 18.56.18 # gimme a sec here 18.56.26 Join linuxstb [0] (~linuxstb@dsl-212-23-31-215.zen.co.uk) 18.56.26 Quit linuxstb (Client Quit) 18.56.34 # well, i think that's just plain wrong, in that case 18.57.02 # what does w_i and l_i stand for? 18.57.06 # word int? long int? 18.57.13 # word/long immediate 18.57.19 Join linuxstb [0] (~linuxstb@dsl-212-23-31-215.zen.co.uk) 18.57.31 # 20: 227c 0000 0150 moveal #336,%a1 18.57.35 # thats what gcc generates now. 18.57.40 # with the # 18.57.42 # looks much better 18.57.44 # looks right? 18.57.47 # yea. 18.57.56 # so i'll just delete my subroutine and use my _l variant instead 18.58.21 # for word, it should be 0x307c 18.58.38 # yea. its a bit confusing. 18.58.52 # unless it turns out i can't do hex in my head any more 18.58.54 # i'll get it right :) 18.58.56 # hehe :P 18.59.16 # i just gotta get used to the coldfire programmers manual 18.59.59 # linuxstb: wv2wav works for me 19.00.20 # Is it in CVS yet? 19.00.34 # added it a minute ago 19.00.44 *** Saving seen data "./dancer.seen" 19.01.00 # c = 1100 ... 19.01.05 # I'll give it a go now. Does it work with hybrid (i.e. lossless) files? 19.01.38 # HCl: indeed, and the lower mode bit needs to be 1 19.01.44 # HCl: and the top register bit needs to be 1 19.01.49 # yea, its still downloading the document 19.01.50 # HCl: the rest 0, which gives you c 19.01.53 # i'm on this hacked wireless network 19.02.10 # our city seriously has too many wireless networks 19.02.30 # ok 19.02.35 # most cities have, heh 19.02.38 # this is indeed the opcode for # 19.02.51 # seems like i need to rewrite my move immediate instructions since i got them wrong 19.03.09 # linuxstb: here is a wv to test: http://x-factor.dyndns.org/rockbox/t1.wv 19.03.36 # Thanks, but I've already made myself some .wv files. 19.03.43 # :) 19.04.12 # But I'll download it anyway.... 19.04.35 # linuxstb: atm rockbox supports wv files in version 4.x 19.05.07 # 3.x support i will add later 19.06.58 # What speed are you getting with your test file(s)? 19.07.03 # HCl: dynarec is working... great! 19.07.47 # linuxstb: it depends on how the file was encoded.. worst 3% best 7% 19.09.42 # AC: my file gave about 3.4% 19.10.04 # How much work is it to support wv 3.x files? What's the difference between 3.x and 4.x? 19.11.44 # linuxstb: it shouldn't be hard to support version 3.x - but i dont know the exact difference 19.12.05 # linuxstb: i think en/decoding has ben improved in version 4.x 19.13.35 # Are you planning on looking at any more codecs? libmusepack is about the only one I can think of that we haven't incorporated yet. 19.13.38 # HCl: where do you live? 19.14.07 # linuxstb: Sure.. it quite fun to get a codec working :) 19.15.03 # Do you know how libwavpack deals with the hybird compression (.wv and .wvc files)? It seems that it would be quite hard to fit that into Rockbox. 19.15.15 # s/hybird/hybrid/ 19.16.03 # linuxstb: at the moment not, but i will check it.. i have also contact to the wavpack developer 19.16.50 # elinenbe: netherlands 19.20.56 # whats .wv? :) 19.21.01 # ah... 19.22.03 # yay. 19.22.08 # it works it works it works 19.22.28 # * HCl just successfully executed his first dynarec block 19.22.38 # * HCl gets the debug crap out a bit. 19.23.08 # I have a question... all the numbers that are thrown out are so low.... 3%, 7%, 5%, etc. 19.23.21 Join Stryke` [0] (~Chairman8@resnet-241-86.resnet.UMBC.EDU) 19.23.32 Part elinenbe 19.23.44 Join elinenbe [0] (~elinenbe_@65.115.46.225) 19.24.31 # so, when will they be moving closer to 100% (realtime, or faster)? 19.26.38 # must go now.. see you 19.27.06 # quit 19.27.06 # don't look at me :X 19.27.07 Quit AC ("CGI:IRC") 19.27.44 # I mean... what is holding the speed back -- are you still working with an 11mhz cpu? 19.28.05 # yes 19.30.51 # That, and little to no optimisation 19.35.03 # linuxstb: have you got any idea how to fix the libmad makefile? 19.38.12 # okok, i've got an array address i want to use in an asm statement, how do i go about doing this? right now i just use "movea.l #label, %a1", but this doesn't work at all 19.38.26 # #label evaluates to #0, and that's the address of a function 19.45.36 # yay. 19.45.40 # recompiling block 0x150 19.45.43 # unimplemented opcode :) 19.45.47 # * HCl goes for food now, dynarec is working 19.46.07 # Oh boy 19.50.29 # preglow: try pea #label ? 19.50.44 # preglow: I haven't looked in detail, but I think the problem is that the apps/plugins/Makefile doesn't specify that libmad is a requirement to build mpa2wav. 19.51.07 Part hubble 19.51.08 # hubble: why would i want to push it? 19.51.49 # i'm going to use it as an array, and the label is the start of the array 19.52.36 # preglow: why don't you do it in C & look what the compiler outputs ? 19.53.07 # i was planning to do that, but wanted to avoid having to put in the c code again 19.53.10 # heh 19.53.13 # but ok 19.53.32 # Or look for another array :) 19.53.50 # ...access, that already exists 19.55.33 # it just does lea imdct_s, %a1 19.55.39 # i tried that, then it fails completely 19.55.46 # in what way ? 19.55.55 # player locks up 19.56.35 # If I were to give my opinion, is has nothing to do with the use of "lea" 19.56.38 # what the hell? 19.56.56 # the compiler ends up resolving the address to be 0 as well 19.57.16 # how can that be? that's most definitely not where the array is 19.57.18 # I guess you are disassembling the code before relocation 19.57.39 # ..... 19.57.43 # that's very true 19.58.26 # i didn't think of that at all 20.16.16 # Still no fat guru around? 20.16.32 # fat as in File Allocation Table, of course 20.16.44 # <@:) 20.16.47 # i think that would be zagor 20.16.59 # you could try doing a summoning ritual 20.17.07 # heh ;) 20.21.32 # * HCl scratches his head as his dynarec isn't too efficient yet 20.23.06 # did you try moving the interpreter core to sram, btw? 20.27.08 # no. 20.27.12 # i wouldn't know how. 20.28.26 # the biggest trouble i'm having is gameboy memory accesses, really. 20.28.45 # in what way? 20.31.09 # HCl: is the dynarec more efficient than the static emulation? 20.31.26 # well, memory read/writes in gameboy go through rather complex functions 20.31.48 # and before each call to them, i have to store all the gameboy registers, and fetch them again afterwards 20.32.30 # you mean like indexing and shit? 20.32.33 # elinenbe: it should be faster when talking about calculation, but i'm worried about memory accesses 20.32.38 # yea. 20.32.44 # i even spotted some recursion 20.32.45 # how complexing indexing does it do? 20.32.48 # which is just really icky 20.32.50 # the coldfire does some of that as well 20.33.15 # you got any docs on the cpu? 20.33.21 # that i can sneak a peek at 20.33.32 # z80? 20.33.42 # why...? 20.33.53 # the code for memory accesses is more relevant, really 20.34.12 # i want to have a look at what addressing modes it has 20.34.26 # kay.. hold on. 20.34.47 # http://www.work.de/nocash/pandocs.htm#gameboytechnicaldata 20.38.04 # pretty small instruction set 20.38.42 # but what complex functions are you talking about? 20.41.04 Join cYmen [0] (~cymen@nat-ph3-wh.rz.uni-karlsruhe.de) 20.58.21 Join midk [0] (~midk@c-67-161-124-8.client.comcast.net) 21.00.47 *** Saving seen data "./dancer.seen" 21.11.36 Nick StrathAFK is now known as Strath (~mike@dgvlwinas01pool0-a239.wi.tds.net) 21.26.33 Quit Renko (Remote closed the connection) 21.29.46 Quit edx () 21.30.33 Quit zezayer ("ChatZilla 0.9.61 [Mozilla rv:1.7.2/20040804]") 21.32.58 Join edx [0] (edx@p548796C0.dip.t-dialin.net) 21.47.45 # if i have a i2c bus, and i want to connect one additional device to it, what are my actions? if i understand right i only need to change the resistor on the bus line. 21.49.07 # tmobile got owned again.. 21.49.07 # http://66.40.38.42/freddurst/ 22.00.07 # arf 22.27.13 Quit lolo-laptop (Remote closed the connection) 22.27.40 Join [IDC]Dragon [0] (~idc-drago@pD9E34EF5.dip.t-dialin.net) 22.28.25 Join lolo-laptop [0] (~lostlogic@68.251.84.226) 22.28.52 # <[IDC]Dragon> jyp: what do you want to know about the FAT? 22.30.40 # My question was if a short int was enough for #entries in a directory 22.30.54 # Also, side questions are... 22.31.17 # can I trust fsck for fat, and; 22.31.21 # * [IDC]Dragon digs for the spec 22.31.52 # what tool should I use to check the fat structure 22.32.20 # <[IDC]Dragon> chckdsk? 22.33.02 # fsck 1.35 (28-Feb-2004) 22.33.03 # dosfsck 2.10, 22 Sep 2003, FAT32, LFN 22.34.18 # <[IDC]Dragon> http://md.hudora.de/presentations/forensics/2004-10-26/fatgen103.doc.pdf 22.34.38 # <[IDC]Dragon> do you know that paper? 22.34.44 # nope 22.34.52 # <[IDC]Dragon> it's the FAT bible 22.37.19 # <[IDC]Dragon> the # of dir entries are 16 bit for the root 22.38.12 # <[IDC]Dragon> sorry, that was FAT16 22.40.35 # <[IDC]Dragon> better use 32 bit 22.40.58 # <[IDC]Dragon> for which variable? 22.41.28 # fat_dir.entry* 22.41.46 # fat_file.dir_entries* 22.44.08 # <[IDC]Dragon> the case might be a bit esotheric, but I vote for 32 bit 22.44.21 # <[IDC]Dragon> why so pinchy? 22.45.41 # Actually I don't think it is the problem I'm facing 22.45.52 Quit linuxstb (Read error: 110 (Connection timed out)) 22.47.12 # here a couple debug messages I get ... 22.47.25 # drivers/fat.c:1957 next_write_cluster(0,0) 22.47.29 # drivers/fat.c:773 find_free_cluster(4D380) == 4D380 22.47.34 # drivers/fat.c:837 update_fat_entry(4D380,FFFFFF8) 22.48.01 Quit skav (Read error: 110 (Connection timed out)) 22.48.20 # it this normal ? 22.48.34 # ark 22.48.50 # not what I wanted to paste 22.50.09 # * HCl can't stand his parents.. 22.50.10 # hi. 22.50.20 # preglow: memory. 22.50.56 # preglow: memory mapped io puts a lot of overhead on memory accesses and complicate memory read/write functions in an emulator. 22.51.12 # Anyways... I guess FFFFFF8 a fake entry for free space 22.51.56 # <[IDC]Dragon> it's a special marker, end of chain or so 22.52.16 # <[IDC]Dragon> EOF, yes 22.52.56 # <[IDC]Dragon> next_write_cluster(0,0) looks no good 22.53.13 # hehe 22.53.20 # * preglow loves his parents 22.53.51 # my dad is fine, its mostly my mom. 22.53.55 # don't see enough of them these days 22.54.04 # she always stresses the living crap out of me. 22.54.12 # while i can't stand stress and its really unhealthy for me. 22.54.24 # stress is bad, yes 22.55.06 # just tell her "keep quiet, i got to work on the dynarec", and when she asks wtf that is, tell her, it's the only thing keeping your house from exploding :) 22.55.15 # she doesn't listen. 22.55.17 # to anything. 22.55.26 # even when she's making me really stressed and pissed off 22.55.30 # she just continues 22.55.32 # making it even worse 22.55.39 # at the end it got so bad that i had to resist hitting her 22.55.44 # then i just grabbed my stuff and left. 22.56.01 # first time i got my car up to 6000 rpm. 22.56.12 # hahaha 22.56.21 # the gear / gas thing in need for speed really works. 22.56.43 # not with a cold engine i hope? :) 22.56.43 # ofcourse there were boring people that followed the speedlimit so i couldn't race all the way. 22.56.45 # my father's good at stressing me up as well, but i've learnt how to handle him 22.57.00 # brb 22.57.32 # HCl: which gear/gas thing in need for speed? 22.57.56 # rasher: accelerating from 3000 rpm - about right in front of the red, then changing gears for acceleration. 22.58.07 # ah 22.58.13 # yes, yes that is indeed correct 22.58.53 # second gear can still go pretty fast 22.59.08 # (unrelated to anything, but awesome http://people.zeelandnet.nl/marco/pimpzilla/ ) 23.00.50 *** Saving seen data "./dancer.seen" 23.16.18 # [IDC]Dragon: any chance there's a tool to browse the FAT structures ? 23.21.11 Join zezayer [0] (~zezayer@host81-152-218-69.range81-152.btcentralplus.com) 23.25.18 Quit courtc (Read error: 60 (Operation timed out)) 23.26.21 # rasher: damn, my firefox looks good now 23.27.40 # lol. 23.27.49 # fur and gold 23.28.51 # but i still can't get my damned simple imdct_s optimisation to work ://// 23.31.17 Quit zezayer ("ChatZilla 0.9.61 [Mozilla rv:1.7.2/20040804]") 23.32.01 # jyp: do you know if objcopy translates _all_ references, or do i need to do something fancy? 23.32.13 # references ? 23.32.30 Quit lolo-laptop ("Client exiting") 23.32.33 # to labels ? 23.32.39 # symbols 23.32.41 # well, it obviously generates position independent code 23.32.42 # yes 23.33.04 # I don't really know 23.33.58 # but *local* labels have no relocation entry, so you won't see the symbol 23.34.02 Join courtc [0] (~court@adsl-158-7-189.asm.bellsouth.net) 23.34.07 # yet I'm not sure this is your question 23.34.08 # i'm starting to suspect my label reference isn't getting relocated 23.34.36 # well, the label i reference is static... 23.35.03 # bah, i'll just let it be and ask linus when i see him again 23.35.06 # static is still relocated 23.35.40 # it's only when the label is accessed by a relative jump for example 23.36.03 # You can disassemble the code after relocation to be certain 23.36.54 # how do i do that? i would have to objdump the .rock file? 23.37.30 # I think so 23.37.44 # hmmm 23.37.48 # I don't have looked into plugins yes 23.37.49 # -r prints reloc entries 23.37.49 # yet 23.38.07 # my lea does have a reloc entry 23.38.11 # If .rock is the ld output then yes 23.38.30 # objdump doesn't understand .rock 23.38.42 # which comes as no surprise 23.39.25 # lemme have a look at the makefile 23.40.11 # wooops 23.40.17 # spotted one error right there 23.40.31 # mm call to ld is wrapped in a script 23.41.23 # let's hope this helps 23.42.05 Join skav [0] (skav@67-138-74-184.dsl1.merch.roc.ny.frontiernet.net) 23.46.26 # argh 23.50.03 # hah! 23.50.05 # i got it! 23.50.55 # the error was, as usual, in the constraint list 23.51.43 # think i found a bug as well, if you list only input and output constraints, gcc doesn't think the asm block is used