--- Log for 27.04.104 Server: sterling.freenode.net Channel: #rockbox --- Nick: logbot Version: Dancer V4.16p1 Started: 20 hours and 51 minutes ago 00.02.17 Quit JonasH () 00.05.02 Join c0utta [0] (~c0utta@234.cust41.nsw.dsl.ozemail.com.au) 00.14.22 # night 00.14.24 Quit Bagder ("Leaving") 00.15.07 Quit AciD ("www.cpm-fr.com") 00.25.54 # kaboofa: you can still compile with floating point support 00.26.07 # it's just that snprintf() doesn't support it 00.26.15 # ah 00.26.58 # do you know anything that would support it? 00.27.03 # i'll search for my self. 00.27.06 # *myself 00.34.19 Quit c0utta{zZ} (Read error: 110 (Connection timed out)) 00.39.32 Quit c0utta (Read error: 110 (Connection timed out)) 00.46.12 Join c0utta{zZ} [0] (~c0utta@234.cust41.nsw.dsl.ozemail.com.au) 00.51.25 Quit mecraw_ ("Trillian (http://www.ceruleanstudios.com)") 00.52.28 Quit c0utta{zZ} (Read error: 60 (Operation timed out)) 01.02.35 Quit Nibbler (Read error: 104 (Connection reset by peer)) 01.06.05 Join Nibbler [0] (~nibbler@port-212-202-73-124.reverse.qsc.de) 01.11.07 *** Saving seen data "./dancer.seen" 01.18.47 Join c0utta{zZ} [0] (~c0utta@234.cust41.nsw.dsl.ozemail.com.au) 01.24.39 Join CSBluechip [0] (~bluechip@cpc3-colc1-3-0-cust61.colc.cable.ntl.com) 01.27.25 Join c0utta [0] (~c0utta@234.cust41.nsw.dsl.ozemail.com.au) 01.27.31 Part LinusN 01.28.24 Part BlueChip 01.29.07 Part CSBluechip 01.33.25 Quit MT () 01.36.37 Quit RobbieVox (Read error: 110 (Connection timed out)) 01.43.23 Join CSBluechip [0] (~bluechip@cpc3-colc1-3-0-cust61.colc.cable.ntl.com) 01.43.31 Join [1]c0utta [0] (~c0utta@234.cust41.nsw.dsl.ozemail.com.au) 01.43.32 Nick CSBluechip is now known as BlueChip (~bluechip@cpc3-colc1-3-0-cust61.colc.cable.ntl.com) 01.48.52 Quit c0utta{zZ} (Read error: 110 (Connection timed out)) 01.59.10 Part amiconn 02.01.44 Join BioHazard [0] (~a@cpe-66-75-38-230.bak.rr.com) 02.07.17 Quit c0utta (Read error: 110 (Connection timed out)) 02.07.20 Nick [1]c0utta is now known as c0utta (~c0utta@234.cust41.nsw.dsl.ozemail.com.au) 02.13.44 Join diddystar5 [0] (lee@IC104.library.oregonstate.edu) 02.19.15 # brb 02.19.17 Quit diddystar5 ("Leaving") 02.37.54 Join diddystar5 [0] (lee@IC104.library.oregonstate.edu) 02.45.33 Join Administrator_ [0] (lee@IC104.library.oregonstate.edu) 02.45.33 Quit diddystar5 (Read error: 104 (Connection reset by peer)) 02.45.39 Nick Administrator_ is now known as diddystar5 (lee@IC104.library.oregonstate.edu) 02.58.28 Quit BioHazard ("wait! come back! i want that muffin! -=SysReset 2.51=-") 03.03.02 Quit dwihno (Read error: 104 (Connection reset by peer)) 03.03.02 Quit BlueChip (Read error: 104 (Connection reset by peer)) 03.04.07 Join BlueChip [0] (~bluechip@cpc3-colc1-3-0-cust61.colc.cable.ntl.com) 03.06.08 Join RobbieVox [0] (RobbieVox@cpc1-derb1-5-0-cust42.nott.cable.ntl.com) 03.08.49 Join BioHazard [0] (~a@cpe-66-75-38-230.bak.rr.com) 03.09.49 Join dwihno [0] (~dw@81.8.224.89) 03.11.09 *** Saving seen data "./dancer.seen" 03.17.05 Join scott666_ [0] (scott666@c-24-245-58-245.mn.client2.attbi.com) 03.17.06 Quit scott666 (Read error: 104 (Connection reset by peer)) 03.19.01 Join midk [0] (~Zakk@c-24-18-36-105.client.comcast.net) 03.27.36 Nick BioHazard is now known as BioHazard|Tetris (~a@cpe-66-75-38-230.bak.rr.com) 03.34.15 # tetris 03.34.35 # lol 03.35.12 # thats +1 03.35.32 # (thats what people addicted to DD say) 03.46.13 Nick BioHazard|Tetris is now known as BioHazard (~a@cpe-66-75-38-230.bak.rr.com) 03.46.31 # game 2: 131 lines, 6:03 03.47.26 # :) 03.50.17 Quit scott666_ (Read error: 110 (Connection timed out)) 03.51.17 Join scott666_ [0] (scott666@c-24-245-58-245.mn.client2.attbi.com) 04.01.14 # midk: i fixed a bug in numbers.rock to make it playable 04.01.30 # im also changing ON to custom game 04.01.42 # ohh good idea 04.01.44 # :) 04.02.15 # then i can explore bitmaps! :D 04.03.07 # bitmaps? 04.03.55 # yes bc 04.03.56 # as in 04.03.57 # lcd_bitmap 04.04.02 # yea 04.04.25 # hmm, not played with that - wrote my own routines - probably very inefficient 04.05.18 # then make lcd_bitmap effeicent 04.05.39 # im not touching core code 04.05.41 # um 04.05.44 # reaD: he wrote his own 04.05.48 # THEY are probably inefficient 04.06.23 # anyone know the internals of an archos very well? 04.06.30 Nick scott666_ is now known as scott666 (scott666@c-24-245-58-245.mn.client2.attbi.com) 04.06.40 # i already replaced the USB screen with a screen that says: UnivERsaL StOOPiD BuS 04.06.42 # i need to fix my headphone jack 04.06.54 # lol bio really? 04.07.03 # ohh no bitmap 04.07.07 # just text? 04.07.15 # bitmap 04.07.21 # bitmap? 04.07.22 # it says it in bizzare fonts 04.07.32 # so you know the bitmap function already 04.07.38 # sorta 04.07.51 # i never said it worked ;) 04.08.08 # i replaced it though 04.08.34 # but its cut off cause lcd_bitmap cant use things > 16y 04.09.09 # or at least thats what the comment says 04.09.33 # i wanna add sounds to numbers.rock! :D 04.10.04 # how much memory is reserved for plugins? 04.10.07 # 32k 04.10.07 # 25K? 04.10.36 # heck, then we should kave no problem adding sounds to tetris.rock 04.11.50 # well 04.11.53 # already at 12kb 04.13.05 # and the sounds package is 19K 04.13.16 # a cool 31K B) lol 04.13.27 # i hope you dont add too much :D 04.13.36 # 19k plugin overhaed to play sound? 04.14.05 # wait a sec... couldnt it put it in the main buffer? 04.14.24 # im gonna add a lot 04.14.27 # cause it couldnt play the sounds unless the player wasant playing right? 04.14.30 # maybe we can compress them or something 04.14.35 # not sure 04.14.38 # it is compressed 04.14.39 # dont think so 04.14.45 # i mean like shorten it or something 04.14.46 # sounds? yes 04.14.46 # 'genocide's the most exhausting activity known to man, except for soccer' 04.14.51 # sud 04.14.55 # mp3 IS compressed you know 04.14.59 # no shit 04.15.08 # oh really i thought it was "un"compressed 04.15.17 # no WONDER it requires a codec! 04.15.26 # i encodded at 32kbps 22khz mono 04.15.27 # well? so yor going to compress a compressed file? 04.15.35 # oyah 04.15.47 # all of the files are clipped as close as i could get it 04.15.48 # but there are different methods of compression 04.15.54 # ONE way could MAYBE be to SHORTEH them 04.15.58 # shorten* 04.16.03 # think of the possibilities 04.16.13 # shorten them? 04.16.27 # like if we squeeze them they may actually get shorter + fit! 04.16.41 # play them faster? 04.17.20 # cause im not sure how you squeeze a file 04.17.34 # * BioHazard puts sounds.zip on a floppy and squeezes it 04.19.40 # nice try 04.20.25 # it didnt work 04.21.26 # can the grayscale framework display grayscale bitmaps? 04.22.50 # yes. 04.23.02 # and how do you convert these? 04.23.25 # is there a bmp2grayrb? 04.23.42 # lol 04.24.03 # sorry misread - retracts lol 04.24.33 # heh no bio 04.24.55 # you can set the foreground and bg only 04.25.01 # or use the pixel tools 04.32.44 # bed time - nite all 04.32.50 # nite 04.32.52 # nite 04.33.18 Part BlueChip 04.33.36 # * BioHazard changes custom title to: "master of compiler errors" 04.35.28 # whats the difference between a part and a quit? 04.35.57 # part = left channel 04.36.00 # quit = exited irc 04.43.28 Nick BioHazard is now known as BioHazard|Eggrol (~a@cpe-66-75-38-230.bak.rr.com) 04.45.34 # should i let numbers.rock v1.0 out for a public evaluation for its worthyness of the patch tracker? 04.45.51 # whats numbers.rock do? 04.46.02 # its a "guess the number" game 04.46.35 # peache out 04.46.40 Quit diddystar5 ("Leaving") 04.48.16 # fun 04.50.37 # i hate him 04.51.05 # who 04.51.15 # 3 guesses 04.51.21 # oh 04.51.31 # havent heard of him ;) 04.51.43 # lol you may have 04.52.00 Nick BioHazard|Eggrol is now known as BioHazard (~a@cpe-66-75-38-230.bak.rr.com) 04.52.57 # so should i give out numbers.rock? 04.53.40 # your the only one who can vouch for its signifigance besides me 04.54.42 # it's good! 04.54.45 # :0 04.54.47 # :)* 04.55.02 # add more complicated features + return it 04.55.11 # ? 04.55.14 # return it? 04.55.15 # our target audience: ppl who are too afraid to complain 04.55.20 # rather release uit 04.55.22 # it* 04.55.22 # :D 04.55.52 # complianing is what drives people to make things better >:D 04.56.08 # yes but it's Perfect the first time around if we do it right :) 04.56.24 # so i should finish custom game? 04.56.31 # yes. 04.56.35 # :d 04.56.35 # k, 04.56.37 # :D 04.56.39 # then release it 04.56.50 # then make a nice tetris update 04.56.51 # D: 04.56.53 # gah 04.56.55 # :D* 04.57.05 # midk = smiley master 04.57.16 # lol 04.58.17 # i try i try 05.04.32 # next i can make it compile for the player with no testing platform! :D 05.05.21 # mm use the sim or don't do it for the player 05.05.35 # it was a joke 05.05.58 # lol yay 05.06.03 # its only fun doing rec things 05.06.05 # player things suck 05.06.12 # amen 05.06.14 # 2 lines psh 05.06.20 # whadda load of bs 05.06.21 # the player in general sucks 05.06.35 # i know a guy with one... i pity him so 05.06.48 # LOL 05.06.50 # and on top of it, he wont rockbox it 05.07.56 # HAHA 05.07.57 # i guess if he dosent rockbox it, he dosent have to worry about anybody stealing it... nobody wants that thing... :D 05.08.03 # lol! 05.08.24 # only thing its got over mine is its 20GB 05.08.31 # mines the 15 :( 05.09.39 # aww boooooooo 05.09.40 # jk 05.10.25 # i think when mine craps out im gonna get an AV320 if avos gets far enough... 05.10.32 # i have one! 05.10.56 # how is it? 05.11.06 # nicey 05.11.10 # (besides expensive) 05.11.13 *** Saving seen data "./dancer.seen" 05.11.13 # hope avos gets farther yeah lol 05.17.59 # is there a more optimized way to write this? 05.18.00 # if (gamelevel == 1){guessmax = 25;} 05.18.00 # if (gamelevel == 2){guessmax = 50;} 05.18.00 DBUG Enqueued KICK BioHazard 05.18.00 # if (gamelevel == 3){guessmax = 100;} 05.25.45 # does rb->rand()%RANDMAX rand from 0 to RANDMAX or 1 to RANDMAX? 05.27.01 # back 05.27.11 # yes 05.27.13 # do this 05.27.35 # switch(gamelevel) { case 1: guessmax = 25; break; case 2: etc etc } 05.28.04 # explain 05.28.19 # switch is like go in depth with it 05.28.20 # i dont like inserting code i dont understand ;) 05.28.26 # a simple way to do a lot of ifs 05.28.44 # switch(variable) { case X: bla; break; } 05.28.50 # variable is gamelevel right? 05.29.07 # yea 05.29.18 # switch(gamelevel) { [in] case [gamelevel is] 1: [then] guessmax = 25; [and] break; } 05.29.57 # sense? 05.30.00 # its like button_get 05.30.25 # ah 05.30.27 # got it 05.30.51 # :D 05.31.07 # but that would take just as much code 05.31.41 # OH 05.31.46 # here's the best way in this case 05.31.53 # we're comparing the same variable right? 05.32.12 # on those 3 if's 05.32.17 # right 05.32.28 # and its changing the same variable 05.32.32 # so there is no way that it could be more than one of those 05.32.39 # right 05.33.10 # actually... 05.33.20 # i could put it in here: 05.33.46 # case BUTTON_F2: 05.33.46 # gamelevel = 2; 05.33.46 # guessmax = 50; 05.33.46 # break; 05.33.57 # oh sure 05.34.03 # and then i could get rid of gamelevel 05.34.03 # but a quick lesson anyways 05.34.13 # if you have anything like this where you can't put it there... 05.34.37 # "gamelevel" can't be anything other than 1 value at one given tick right? 05.34.43 # right 05.34.51 # so you're wasting time by doing those ifs 05.35.00 # instead 05.35.04 # we could do this 05.35.38 # if(gamelevel == 1) guessmax = 25; else if(gamelevel == 2) guessmax = 50; else guessmax = 100; 05.35.50 # because instead of checking each one every time like those ifs 05.35.53 # it goes down the list 05.36.01 # if the first isnt true it heads onto the second 05.36.06 # and if not then the third 05.36.11 # else if? 05.36.16 # yup 05.36.26 # but a switch is a better way to do a lot of else ifs 05.36.31 Join wake [0] (~wake@HSE-Kitchener-ppp194434.sympatico.ca) 05.36.37 # yo wakey 05.36.40 # heh sry 05.44.54 # i dropped a bunch of those temp strings (str_*) cause none of them were bieng used later, so might as well reuse it 05.45.36 # k 05.45.42 # do what ya want 05.45.47 # you're not under my control anymore :( 05.45.49 # ;) 05.47.58 # k, time to test the custom screen 05.48.04 # yay 05.50.10 # the compiled size jumped from 1.86KB to 2.85KB 05.50.49 # guess what? 05.51.00 # i forgot rb->lcd_update again... 05.51.17 # lol 05.51.23 # lets do bitmaps yahh 05.51.30 # oh wait you can 05.51.31 # so do it yay 05.52.33 # ADDING lcd_update dropped it to 2.26KB o_O 05.53.28 # aww 05.53.29 # lol 06.02.50 # it works now 06.02.56 # its got custom mode 06.04.42 # yay 06.05.41 # just a little cleanup... 06.07.52 Quit scott666 ("i'll be back...eventually...") 06.17.47 # i might be able to get it to restart... 06.19.44 # back in a bit maybe 06.38.33 # k, it has a "play again?" option now 06.38.34 Quit Nibbler (Read error: 54 (Connection reset by peer)) 06.40.57 # YAy 06.41.10 # dude put that on the patches page if you're done soubds pretty cool 06.41.32 # and its got background music and grayscale and a microwave and dancing girls and... 06.43.03 # OM 06.43.04 # LOL 06.43.06 # i was like 06.43.09 # OHHHH at bg music 06.43.14 # OOOOOOOOOOOOOOOOOH at grayscale 06.43.18 # then awwww at microwave 06.43.27 # the "dammit" sort of "awww" 06.43.45 # how could you implement grayscale into this? 06.44.16 # its totally text based... 06.47.19 # how many y pixels are there between 2 lines? 8? 06.47.23 # or 16? 06.54.41 # lets do that tomorrow or weds :D 06.54.49 # k, its 16, now how do i use bitmaps? 06.54.51 # 8 pixels 06.54.56 # 2 lines? 06.55.02 # 2 * 8 = 16 06.56.18 Quit RobbieVox (Read error: 110 (Connection timed out)) 06.57.48 # brb again 06.59.25 Quit wake ("leaving") 07.02.08 # cnite 07.02.09 Quit midk ("yo yo yo cya later YO YO YO wasa wasa!") 07.11.15 *** Saving seen data "./dancer.seen" 07.17.15 Join AciD [0] (~acid@longchamp44-1-82-67-133-87.fbx.proxad.net) 07.18.34 # so, can anyone explain lcd_bitmap? 07.32.13 # rb->lcd_bitmap(bmp_lose, 48, 72, 16, 16, true); 07.32.16 # dosent work 07.36.48 # or is there nobody there... 07.56.52 Quit BioHazard ("wait! come back! i want that muffin! -=SysReset 2.51=-") 08.19.47 Join RobbieVox [0] (RobbieVox@cpc1-derb1-5-0-cust42.nott.cable.ntl.com) 08.20.24 Join Nibbler [0] (~nibbler@port-212-202-73-124.reverse.qsc.de) 08.25.54 Join Strath [0] (aopen@dgvlwinas01pool0-a197.wi.tds.net) 08.27.30 Join sleep21 [0] (~iughehr@tnt01-215.phlpa.fast.net) 08.27.33 # hey everyone 08.36.07 # hello 08.37.39 Join edx [0] (edx@pD9EABBCA.dip.t-dialin.net) 08.42.03 # what CPU does the Archos use? 08.42.19 # which one? :) 08.43.15 # i dunno, i'm studying the Nomad Xtra for a similar project and i found that it uses a TMS320 which has a CPU built in 08.43.19 # the C55x 08.43.30 # eh? 08.43.40 Quit c0utta (Read error: 110 (Connection timed out)) 08.44.09 # the cpu is part of the DSP 08.44.39 # ah 08.45.49 # the gmini series use the tcc730 08.46.22 # (CalmRISC16 core) 08.46.45 # and all the archos' firmwares just stay on the HD 08.47.00 # na 08.47.12 # well... 08.48.14 # the jukebox series (which is what rockbox is for) has the factory firmware on chip and loaded updated firmware at each boot from HD 08.48.42 # so you never actually flash update the bios? 08.48.44 # the gmini and av3xx series update the firmware in internal eerom 08.48.53 # ah 08.49.23 # thats beryond my experiances with JBxxxx and rockbox 08.49.34 # ok 08.50.14 # unfortunatly, the nomad uses a propriatary filesystem, so i cant tell what's on the HD and what's on the FW 08.50.24 # the jukebox series have been EOL'ed for a while 08.50.46 # what about released updates? 08.51.11 # thats where we (avos) started our efforts 08.51.24 # i suppose it flashes the bios because it cautions you not to un plug it 08.51.40 # seems most likly 08.51.54 # or, almost definatly 08.51.59 # (sp) 08.52.16 # but there's a rescue mode that can format the HD, and reload the OS if something happens, and no one can tell me where that's located on the unit 08.52.17 # have you examined the update file at all? 08.53.12 # well, the updates don't come as .bins or anything, it's an exe that includes the flashing software and the bios, i don't know how i could just get ahold of the bios 08.53.22 # ya... most flashable devices have a minimal boot stub which doesn't get modified (motherboards, ticalcs, mp3 players, etc....) 08.54.02 # see if winzip will open it? :) 08.54.09 # so do you think if i fuck up my eeprom working on this, recuemode can save me? 08.54.23 # i dount it, it's not a self extrating zip 08.54.34 # 97% positive :) 08.54.37 # k 08.54.42 # that's good 08.54.51 # i don't think there's any serial interface 08.55.13 # well, just open it with a tracing x86 disasembler and find the data block 08.56.32 # or is that beyond your current abilities? 08.57.21 # not necissarily, i have a working knowledge of ASM 08.57.58 # can you recommend a good disassembler, i've only used debug to date ;-) 08.58.35 # heh 08.58.51 # IDA is the best IMNSHO 08.59.02 # heh 08.59.12 # free? 08.59.40 # not by a long shot! 08.59.42 # heh 08.59.46 # ya... i know 08.59.48 # damn it to hell 09.00.19 # any 2nd best :-) 09.00.21 # gpl? 09.00.25 # hrm.... 09.01.19 # cool, IDA supports the DSP in the Nomad 09.01.45 # i resently began evaluating OllyDebug 09.02.02 # see... told ya its good :) 09.02.17 # yeah, but it only supports it in the $799 build 09.02.23 # however the price tag is quite high 09.02.31 # that's simply out of the question 09.02.42 Join mattzz [0] (~c2af7556@c231002.adsl.hansenet.de) 09.02.54 # OllyDebug might suit your needs 09.03.28 # though i haven't fully evaluated it as of yet 09.03.38 # and it is free 09.03.56 # version 109d? 09.04.33 # thats what i've got 09.04.42 # k 09.04.52 # i can't find their homepage but i found the file 09.05.49 # http://home.t-online.de/home/Ollydbg 09.06.37 # it's basicly postcardware 09.07.12 # hehe awesome 09.07.15 # (freeware, but if you use it alot, the author request that you let him know) 09.07.22 # yep 09.08.00 # an opensource firmware for the nomad is gonna be a massive undertaking 09.08.16 # probably bigger than the rockbox project 09.09.02 # havn't had time to look at the nomad yet 09.10.07 # it's really good hardware, relatively lousy software 09.10.40 # as i said it's a propriatary FS, so no drive letter acess 09.10.43 # (sp) 09.11.18 *** Saving seen data "./dancer.seen" 09.11.24 # oy 09.11.43 # yeah 09.11.44 # ya... most of the market seems to be that way 09.11.57 # good hardward, poor software 09.12.06 # it's a shame 09.12.43 # the Nomad OS itself isn't much to brag about either 09.14.10 # the mian push is to just get mp3 playback and data transfers working, then ship it 09.22.39 Join amiconn [0] (~jens@pD95D15F6.dip.t-dialin.net) 09.22.51 # yep 09.38.21 # amiconn: Hi Jens, what's cookin'? 09.41.38 # Hi 09.43.40 Quit AciD (Read error: 60 (Operation timed out)) 09.43.48 # Sorry, gotta go. 09.43.52 # c u 09.43.54 Nick amiconn is now known as amiconn|away (~jens@pD95D15F6.dip.t-dialin.net) 09.47.34 Quit Ka__ (Read error: 60 (Operation timed out)) 09.52.04 Join Ka__ [0] (~tkirk@65.216.194.2) 09.55.57 Quit RobbieVox (Read error: 110 (Connection timed out)) 10.00.28 Nick mattzz is now known as mattzz|meeting (~c2af7556@c231002.adsl.hansenet.de) 10.04.27 Join LinusN [200] (~linus@labb.contactor.se) 10.07.05 Quit Strath (Read error: 54 (Connection reset by peer)) 10.09.11 Join [IDC]Dragon [0] (~c2af7555@reladm.kharkov.net) 10.10.41 # <[IDC]Dragon> LinusN: Good morning, do you read? 10.12.07 # affirmative 10.12.13 Quit Ka__ (Read error: 104 (Connection reset by peer)) 10.14.00 Join Ka__ [0] (~tkirk@65.216.194.2) 10.14.24 # <[IDC]Dragon> Yes Sir! (very formal today?) 10.15.19 # :-) 10.15.32 # yeah, time to take control of this project 10.15.39 # <[IDC]Dragon> I'm bouncing an idea around, for my car emulator I'd like to have a TSR feature in a plugin. 10.15.54 # <[IDC]Dragon> Could be very simple, I think. 10.15.55 # no more silly plugins, only good, sensible, useful stuff! 10.15.59 # :-) 10.16.13 # we have discussed that before 10.16.31 # <[IDC]Dragon> did we? 10.16.41 # <[IDC]Dragon> Alzheimer here 10.16.50 # a long time ago, when we designed the plugin interface 10.16.55 # <[IDC]Dragon> what was the outcome? 10.17.08 # LinusN: DevCon! DevCon! 10.17.11 # \o/ DevCon \o/ 10.17.14 # we decided not to add it because it opens up a huge can of worms 10.17.47 # dwihno: i know i know 10.17.59 # patience, grasshopper 10.18.04 # <[IDC]Dragon> I think it can be very easy, worm-free: 10.18.13 # <[IDC]Dragon> The plugin could return with a special exit code, indicating it wants to stay. 10.18.16 # LinusN: I've been patient for a year :D 10.18.57 # <[IDC]Dragon> The framework remembers it, before kicking it out for another plugin it calls the main function again, with a clean-up code. 10.19.22 # <[IDC]Dragon> So the resident plugin has to free its resources and exit. 10.19.39 # ah, so it only stays until another plugin is loaded? 10.20.01 # <[IDC]Dragon> yes, that would be all I need. 10.20.27 # <[IDC]Dragon> Well, and it should have a way to spawn and exit one thread. 10.21.49 Join c0utta [0] (~c0utta@132.cust50.nsw.dsl.ozemail.com.au) 10.21.54 # <[IDC]Dragon> can threads currently exit? 10.22.01 # nope 10.22.08 # <[IDC]Dragon> or do we only create them? 10.22.13 # <[IDC]Dragon> ah, OK. 10.22.51 # <[IDC]Dragon> guess I have to dig into the kernel to find out if that's difficult to add. 10.27.46 # <[IDC]Dragon> looks easy to add 10.28.17 # <[IDC]Dragon> what do you think? 10.28.47 Join Unknown [0] (~c0utta@132.cust50.nsw.dsl.ozemail.com.au) 10.31.44 Quit Ka__ (Read error: 104 (Connection reset by peer)) 10.32.17 Join Ka__ [0] (~tkirk@65.216.194.2) 10.34.46 # sounds ok to me 10.38.33 # <[IDC]Dragon> to me as well ;-) 10.39.46 # <[IDC]Dragon> My CD changer project has no progress without such, I'd like to get serious with it. 10.39.47 # we may have to increase MAXTHREADS 10.40.12 # <[IDC]Dragon> I know, have to count. 10.41.02 # hmm, the scheduler assumes that there are no "holes" in the thread table 10.41.28 # <[IDC]Dragon> there won't, the plugin always comes last 10.41.41 # for now, yes 10.42.44 # <[IDC]Dragon> or we have to add a flag to the thread descriptor 10.43.11 # perhaps a mire simple approach, like a permanent plugin_thread that can change context? 10.43.11 Join Strath [0] (aopen@dgvlwinas01pool0-a197.wi.tds.net) 10.43.42 # <[IDC]Dragon> then you need to place it's stack somewhere 10.43.44 Quit c0utta (Read error: 110 (Connection timed out)) 10.43.49 # but it adds a scheduling penalty even if no plugin is running 10.43.50 Nick Unknown is now known as c0utta (~c0utta@132.cust50.nsw.dsl.ozemail.com.au) 10.44.41 # <[IDC]Dragon> I'd rather place the stack within the plugin, leave it to its responsibility 10.54.04 # [IDC]Dragon: API suggestion: push_thread() and pop_thread()? 10.55.29 Nick amiconn|away is now known as amiconn|work (~jens@pD95D15F6.dip.t-dialin.net) 10.55.49 # <[IDC]Dragon> what should that do? 10.56.55 # same as create_thread() and (the future) delete_thread(), just that the names suggest that you have to delete them in reverse order 10.57.17 # <[IDC]Dragon> ah 10.59.33 # <[IDC]Dragon> how should I signal the "exit now" condition to the plugin function? call it with -1, or add another parameter? 11.05.33 # <[IDC]Dragon> In a future delete_thread(), I could also condense the array again to avoid a hole, then decrement num_threads. This would be a clean way, I think. 11.06.33 # sure 11.07.34 # the tricky part is to delete the current thread, but it's pretty trivial too if you know what you are doing 11.09.12 # <[IDC]Dragon> it's easy (I think) if delete_thread() is called from within the thead to be deleted, then current_thread is the index to be used. 11.09.54 # <[IDC]Dragon> if the thread function end thereafter, it should work. 11.10.03 # <[IDC]Dragon> ends 11.11.19 *** Saving seen data "./dancer.seen" 11.12.57 # <[IDC]Dragon> Next thing such a plugin probably wants is a message queue, but this could also be implemented locally. 11.13.34 # i think so, it's better to keep it simple 11.13.54 # all other threads have to create their own, so the same should apply to the plugin 11.14.51 # i think it is best to simply export the thread functions, and add a TRX mechanism to the plugins 11.14.56 # TRS 11.15.00 # TSR ... 11.15.08 # <[IDC]Dragon> I meant using the queue core functions, thinking about exporting them. 11.15.55 # <[IDC]Dragon> [10:59] <[IDC]Dragon> how should I signal the "exit now" condition to the plugin function? call it with -1, or add another parameter? 11.16.30 # <[IDC]Dragon> (Lets add THX) 11.17.18 # <[IDC]Dragon> ;-) 11.20.50 # well, the current plugin interface defines a plugin_start() function 11.21.01 # let's add plugin_end() 11.21.20 # <[IDC]Dragon> OK, that's another way. 11.21.39 # but it's not that simple... 11.21.40 # <[IDC]Dragon> will probably break compatibility? 11.22.07 # we'll probably need a plugin_stop() and plugin_end(), or something 11.22.24 # hmmm 11.22.27 # not really 11.22.55 # <[IDC]Dragon> Why that? If it returns, it has to be gone. (synchronous call) 11.22.57 Join RobbieVox [0] (RobbieVox@cpc1-derb1-5-0-cust42.nott.cable.ntl.com) 11.23.01 # plugin_end() would be enough 11.23.12 # <[IDC]Dragon> agreed 11.23.25 # and it would be optional 11.24.04 # maybe a simple return code from the plugin that says "STAY_IN_MEMORY" 11.24.09 Join [1]c0utta [0] (~c0utta@105.cust40.nsw.dsl.ozemail.com.au) 11.24.49 # <[IDC]Dragon> for plugin linking, it's not optional. 11.25.13 # <[IDC]Dragon> agree on the return code. 11.26.05 # i think the plugin could register an exit function, much like onexit() 11.29.11 # <[IDC]Dragon> ah, a callback, yes. 11.29.38 # <[IDC]Dragon> then we don't need a special exit code, if we apply for TSR this way. 11.31.11 # true 11.31.38 Join limbus [0] (~manuel@kernel.cycos.net) 11.35.21 Join AciD [0] (~acid@longchamp44-1-82-67-133-87.fbx.proxad.net) 11.40.31 Quit c0utta (Read error: 110 (Connection timed out)) 11.40.33 Nick [1]c0utta is now known as c0utta (~c0utta@105.cust40.nsw.dsl.ozemail.com.au) 11.41.57 Nick mattzz|meeting is now known as mattzz (~c2af7556@c231002.adsl.hansenet.de) 11.42.40 Join zeekoe [0] (me@zeekoe.kabel.utwente.nl) 11.43.46 Quit Strath (Read error: 60 (Operation timed out)) 12.01.18 Quit Nibbler (Read error: 104 (Connection reset by peer)) 12.12.23 Nick mattzz is now known as mattzz|away (~c2af7556@c231002.adsl.hansenet.de) 12.18.20 Quit LinusN ("disconnecting from stoned server.") 12.18.59 Quit RobbieVox (Read error: 110 (Connection timed out)) 12.21.47 Join LinusN [200] (~linus@labb.contactor.se) 13.04.59 Nick mattzz|away is now known as mattzz (~c2af7556@c231002.adsl.hansenet.de) 13.11.21 *** Saving seen data "./dancer.seen" 13.29.23 Quit [IDC]Dragon ("no fate but what we make (EOF)") 13.43.53 Join Nibbler [0] (~nibbler@port-212-202-73-124.reverse.qsc.de) 13.43.58 Join RobbieVox [0] (RobbieVox@cpc1-derb1-5-0-cust42.nott.cable.ntl.com) 13.52.53 Join moccino [0] (moccino@80.125.65.32) 13.53.59 # hello all 13.55.31 # ya des francais?? 13.56.17 # non :-) 13.56.43 # lol 13.56.47 # on parle anglais ici 13.56.58 # lol, mais tu peux m'aider en pv?? 13.57.02 # sure 13.57.23 # sur l'archos av140 13.57.49 # i don't have one 13.57.59 # ok of course 13.57.59 # ! 13.58.02 Quit moccino () 14.00.44 Quit mattzz ("CGI:IRC") 14.26.09 Join BlueChip [0] (~bluechip@cpc3-colc1-3-0-cust61.colc.cable.ntl.com) 14.26.09 Quit Nibbler (Read error: 54 (Connection reset by peer)) 14.34.41 Quit RobbieVox (Read error: 60 (Operation timed out)) 14.44.04 Quit zeekoe (Read error: 110 (Connection timed out)) 15.02.24 Quit BlueChip ("Trillian (http://www.ceruleanstudios.com)") 15.11.25 *** Saving seen data "./dancer.seen" 15.29.12 Join Reva [0] (~jirc@65.199.28.2) 15.29.56 Quit Reva (Client Quit) 15.31.05 Join Reva [0] (~jirc@65.199.28.2) 15.31.45 Quit Reva (Client Quit) 15.34.34 Join Z10N [0] (~kishorkr0@65.199.28.2) 15.38.24 Join moccino [0] (moccino@80.125.211.175) 15.38.46 Mode "#rockbox +o LinusN " by ChanServ (ChanServ@services.) 15.39.51 Quit sleep21 (Read error: 54 (Connection reset by peer)) 15.44.32 # +o 15.45.42 Part Z10N 15.53.59 Part LinusN 16.00.48 Join RobbieVox [0] (RobbieVox@cpc1-derb1-5-0-cust42.nott.cable.ntl.com) 16.00.51 Join Nibbler [0] (~nibbler@port-212-202-73-124.reverse.qsc.de) 16.24.08 Quit moccino () 16.29.15 Join zeekoe [0] (me@zeekoe.kabel.utwente.nl) 16.29.59 Join mecraw_ [0] (~mecraw@69.2.235.2) 16.31.38 Join methangas [0] (methangas@0x50a46195.virnxx10.adsl-dhcp.tele.dk) 16.32.40 Quit RobbieVox (Read error: 60 (Operation timed out)) 16.59.18 Join mecraw__ [0] (~mecraw@69.2.235.2) 17.00.19 Nick amiconn|work is now known as amiconn|away (~jens@pD95D15F6.dip.t-dialin.net) 17.11.29 *** Saving seen data "./dancer.seen" 17.17.39 Quit mecraw_ (Read error: 110 (Connection timed out)) 17.48.57 Join deadite66 [0] (~Miranda@cpc1-yarm1-5-0-cust53.pete.cable.ntl.com) 18.00.54 Join RobbieVox [0] (RobbieVox@cpc1-derb1-5-0-cust42.nott.cable.ntl.com) 18.05.20 Quit mecraw__ ("Trillian (http://www.ceruleanstudios.com)") 18.06.26 Quit zeekoe (Read error: 110 (Connection timed out)) 18.09.26 Quit deadite66 (Read error: 60 (Operation timed out)) 18.09.29 Join mecraw__ [0] (~mecraw@69.2.235.2) 18.10.34 Nick amiconn|away is now known as amiconn (~jens@pD95D15F6.dip.t-dialin.net) 18.25.49 Join mattzz [0] (~mattzz@c231002.adsl.hansenet.de) 18.31.47 Part amiconn 18.37.03 Join Lynx0 [0] (Lynxl@134.95.189.59) 18.43.02 Quit AciD (Connection timed out) 18.43.59 Quit RobbieVox (Read error: 110 (Connection timed out)) 18.56.53 Quit Lynx0 ("User pushed the X - because it's Xtra, baby") 19.07.28 Join schoki_ [0] (~e42690@DSL01.212.114.236.75.NEFkom.net) 19.11.33 *** Saving seen data "./dancer.seen" 20.10.43 Join deadite66 [0] (~Miranda@cpc1-yarm1-5-0-cust53.pete.cable.ntl.com) 20.19.47 Join cjnr11 [0] (dfd@bobillot-5-82-224-193-23.fbx.proxad.net) 20.19.49 Part cjnr11 20.25.36 Join AciD [0] (~acid@longchamp44-1-82-67-133-87.fbx.proxad.net) 20.26.11 Join rcyeske [0] (~user@d207-6-10-3.bchsia.telus.net) 20.26.28 # hello 20.26.31 Join RedBreva [0] (~jirc@81.153.56.186) 20.27.57 Quit RedBreva (Client Quit) 20.37.46 Part deadite66 21.11.37 *** Saving seen data "./dancer.seen" 21.14.01 Join moccino [0] (moccino@80.125.211.175) 21.14.26 # ya des francais?? 21.15.06 # ya surtt personne ouai 21.15.07 # ! 21.15.09 Quit moccino (Client Quit) 21.15.21 Quit methangas (" HydraIRC -> http://www.hydrairc.com <- :P") 21.22.27 Join Strath [0] (aopen@dgvlwinas01pool0-a231.wi.tds.net) 21.30.53 Quit AciD (Read error: 104 (Connection reset by peer)) 21.34.50 # I'm getting VERY close to a release of the calculator plugin 21.34.54 # :) 21.35.11 # I found out how to print floating points out to the screen 21.37.56 Join amiconn [0] (~jens@pD95D15F6.dip.t-dialin.net) 21.43.38 Join amiconn_ [0] (~jens@pD95D1AD9.dip.t-dialin.net) 21.45.11 Quit amiconn (Nick collision from services.) 21.45.11 Nick amiconn_ is now known as amiconn (~jens@pD95D1AD9.dip.t-dialin.net) 21.47.48 Join scott666 [0] (scott666@c-24-245-58-245.mn.client2.attbi.com) 21.49.59 Join BioHazard|486 [0] (~a@66.17.4.94) 21.54.46 # can someone help me with this plugin coding problem ive been having? 21.55.04 # that depends on what iti s 21.55.15 # rb->lcd_bitmap 22.00.44 # what about it? 22.01.10 # i cant get it to work 22.01.42 # lcd_bitmap(src,x,y,width,height,clear) put a bitmap at given position 22.01.45 # hmm 22.01.52 # how are you loading the bitmap? 22.02.37 # i converted a .bmp to funky numbers with bmp2rb.exe and copied the mess it output to my source files 22.03.16 # and watch out for the last comma ;-) 22.03.29 # as in...? 22.04.04 # if the number of bytes is %16 there will be a comma too much in the output 22.04.19 # its 16x16 22.07.42 # make;./uisim32.exe 22.07.43 # ugh 22.08.20 # putty != rockbox sdk 22.08.45 # ive got the uisim somewhere, i need to run it in that? 22.09.04 # no; I was trying to test my code 22.09.12 # but i was typing in the wrong window 22.13.33 # so what does the clear arg do? 22.14.47 # probably if you want to make a clean lcd for whatever you want your bitmap on 22.16.41 # can you bitmap on a screen with text? 22.19.14 Nick BioHazard|486 is now known as BioHazard|486|bb (~a@66.17.4.94) 22.19.19 Nick BioHazard|486|bb is now known as BioHazard|bbl (~a@66.17.4.94) 22.23.37 Part rcyeske ("later") 22.41.57 Part schoki_ 23.05.18 Quit Nibbler (Read error: 54 (Connection reset by peer)) 23.07.15 # hrm.... think this free subscription offer to CIO Magazine is worth it? (offer says $95 value) ;) 23.11.41 *** Saving seen data "./dancer.seen" 23.22.42 Nick BioHazard|bbl is now known as BioHazard|486 (~a@66.17.4.94) 23.30.30 Join AciD [0] (~acid@longchamp44-1-82-67-133-87.fbx.proxad.net) 23.30.53 # k, my bitmap is defiend like this: 23.30.54 # const unsigned char bmp_win[] = { *BIG STRING OF NUMBERS SEPERATED BY COMMAS* }; 23.31.04 # and i call it with 23.31.31 # rb->lcd_bitmap(bmp_win,24,72,16,16,1); 23.31.37 # but it wont draw 23.32.52 # what am i doing wrong? 23.34.24 # do you issue a rb->lcd_update() afterwards? (looks correct otherwise) 23.34.31 # yep 23.34.37 # hmm 23.36.43 # Ah: (24, 72) is off-screen. Allowed range: 0 <= x <= 112, 0 <= y <= 63. I supposed what you want would be rb->lcd_bitmap(bmp_win,72,24,16,16,1); 23.37.55 # Err: 0 <= x <= 111 23.38.40 # yep, that fixed it... 23.38.47 # im stoopid :) 23.38.58 # i thought it was y,x, 23.39.13 # but now... the image is all garbled 23.41.07 # it displays properly when using bmp2rb.exe -a 23.43.43 # Hmm, thats the hard part ('cause I never used bmp2rb before) 23.51.58 Quit scott666 ("i'll be back...eventually...") 23.52.20 Quit mattzz ("Client exiting") 23.52.28 Join scott666 [0] (scott666@c-24-245-58-245.mn.client2.attbi.com) 23.54.27 # another question: cant the grayscale plugin framework be moved to an #include-able file like plugin.h? 23.54.45 # or can you do that with it already? 23.56.58 # Unfortunately, it couldn't be done (yet), otherwise I would have done that already. 23.57.01 # Currently, the rule is "one .c file per plugin", but there was a discussion recently to allow for more files. No solution yet, though 23.57.55 # but if its a file thats usable for more than 1 plugin... 23.58.35 # maybe add it to plugin.h? 23.58.45 # Yes, this would be solved along the way then, but currently the makefile tries to build one plugin per .c file.