Previous day | Jump to hour: 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | Next day

Seconds: Show Hide | Joins: Show Hide | View raw
Font: Serif Sans-Serif Monospace | Size: Small Medium Large

Click in the nick column to highlight everything a person has said.
The Logo icon identifies that the person is a core developer (has commit access).

#rockbox log for 2004-04-27

00:02:17 Quit JonasH ()
00:05:02 Join c0utta [0] (~c0utta@234.cust41.nsw.dsl.ozemail.com.au)
00:14:22Bagdernight
00:14:24 Quit Bagder ("Leaving")
00:15:07 Quit AciD ("www.cpm-fr.com")
00:25:54LinusNkaboofa: you can still compile with floating point support
00:26:07LinusNit's just that snprintf() doesn't support it
00:26:15kaboofaah
00:26:58kaboofado you know anything that would support it?
00:27:03kaboofai'll search for my self.
00:27:06kaboofa*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:00
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:00
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:15diddystar5brb
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:00
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:15diddystar5tetris
03:34:35BlueChiplol
03:35:12diddystar5thats +1
03:35:32diddystar5(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:31BioHazardgame 2: 131 lines, 6:03
03:47:26diddystar5:)
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:00
04:01:14BioHazardmidk: i fixed a bug in numbers.rock to make it playable
04:01:30BioHazardim also changing ON to custom game
04:01:42midkohh good idea
04:01:44midk:)
04:02:15BioHazardthen i can explore bitmaps! :D
04:03:07BlueChipbitmaps?
04:03:55midkyes bc
04:03:56midkas in
04:03:57midklcd_bitmap
04:04:02BioHazardyea
04:04:25BlueChiphmm, not played with that - wrote my own routines - probably very inefficient
04:05:18diddystar5then make lcd_bitmap effeicent
04:05:39BlueChipim not touching core code
04:05:41midkum
04:05:44midkreaD: he wrote his own
04:05:48midkTHEY are probably inefficient
04:06:23scott666_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:40BioHazardi already replaced the USB screen with a screen that says: UnivERsaL StOOPiD BuS
04:06:42scott666i need to fix my headphone jack
04:06:54midklol bio really?
04:07:03midkohh no bitmap
04:07:07midkjust text?
04:07:15BioHazardbitmap
04:07:21midkbitmap?
04:07:22BioHazardit says it in bizzare fonts
04:07:32midkso you know the bitmap function already
04:07:38BioHazardsorta
04:07:51BioHazardi never said it <i>worked</i> ;)
04:08:08BioHazardi replaced it though
04:08:34BioHazardbut its cut off cause lcd_bitmap cant use things > 16y
04:09:09BioHazardor at least thats what the comment says
04:09:33BioHazardi wanna add sounds to numbers.rock! :D
04:10:04BioHazardhow much memory is reserved for plugins?
04:10:07midk32k
04:10:07BioHazard25K?
04:10:36BioHazardheck, then we should kave no problem adding sounds to tetris.rock
04:11:50midkwell
04:11:53midkalready at 12kb
04:13:05BioHazardand the sounds package is 19K
04:13:16BioHazarda cool 31K B) lol
04:13:27BioHazardi hope you dont add too much :D
04:13:36BlueChip19k plugin overhaed to play sound?
04:14:05BioHazardwait a sec... couldnt it put it in the main buffer?
04:14:24midkim gonna add a lot
04:14:27BioHazardcause it couldnt play the sounds unless the player wasant playing right?
04:14:30midkmaybe we can compress them or something
04:14:35midknot sure
04:14:38BioHazardit is compressed
04:14:39midkdont think so
04:14:45midki mean like shorten it or something
04:14:46diddystar5sounds? yes
04:14:46scott666'genocide's the most exhausting activity known to man, except for soccer'
04:14:51midksud
04:14:55diddystar5mp3 IS compressed you know
04:14:59midkno shit
04:15:08midkoh really i thought it was "un"compressed
04:15:17midkno WONDER it requires a codec!
04:15:26BioHazardi encodded at 32kbps 22khz mono
04:15:27diddystar5well? so yor going to compress a compressed file?
04:15:35midkoyah
04:15:47BioHazardall of the files are clipped as close as i could get it
04:15:48midkbut there are different methods of compression
04:15:54midkONE way could MAYBE be to SHORTEH them
04:15:58midkshorten*
04:16:03midkthink of the possibilities
04:16:13BioHazardshorten them?
04:16:27midklike if we squeeze them they may actually get shorter + fit!
04:16:41BioHazardplay them faster?
04:17:20BioHazardcause im not sure how you squeeze a file
04:17:34*BioHazard puts sounds.zip on a floppy and squeezes it
04:19:40midknice try
04:20:25BioHazardit didnt work
04:21:26BioHazardcan the grayscale framework display grayscale bitmaps?
04:22:50midkyes.
04:23:02BioHazardand how do you convert these?
04:23:25BioHazardis there a bmp2grayrb?
04:23:42BlueChiplol
04:24:03BlueChipsorry misread - retracts lol
04:24:33midkheh no bio
04:24:55midkyou can set the foreground and bg only
04:25:01midkor use the pixel tools
04:32:44BlueChipbed time - nite all
04:32:50midknite
04:32:52BioHazardnite
04:33:18 Part BlueChip
04:33:36*BioHazard changes custom title to: "master of compiler errors"
04:35:28BioHazardwhats the difference between a part and a quit?
04:35:57midkpart = left channel
04:36:00midkquit = exited irc
04:43:28 Nick BioHazard is now known as BioHazard|Eggrol (~a@cpe-66-75-38-230.bak.rr.com)
04:45:34BioHazard|Eggrolshould i let numbers.rock v1.0 out for a public evaluation for its worthyness of the patch tracker?
04:45:51scott666whats numbers.rock do?
04:46:02BioHazard|Eggrolits a "guess the number" game
04:46:35diddystar5peache out
04:46:40 Quit diddystar5 ("Leaving")
04:48:16scott666fun
04:50:37midki hate him
04:51:05BioHazard|Eggrolwho
04:51:15midk3 guesses
04:51:21BioHazard|Eggroloh
04:51:31BioHazard|Eggrolhavent heard of him ;)
04:51:43midklol 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:57BioHazardso should i give out numbers.rock?
04:53:40BioHazardyour the only one who can vouch for its signifigance besides me
04:54:42midkit's good!
04:54:45midk:0
04:54:47midk:)*
04:55:02midkadd more complicated features + return it
04:55:11BioHazard?
04:55:14BioHazardreturn it?
04:55:15midkour target audience: ppl who are too afraid to complain
04:55:20midkrather release uit
04:55:22midkit*
04:55:22BioHazard:D
04:55:52BioHazardcomplianing is what drives people to make things better >:D
04:56:08midkyes but it's Perfect the first time around if we do it right :)
04:56:24BioHazardso i should finish custom game?
04:56:31midkyes.
04:56:35midk:d
04:56:35BioHazardk,
04:56:37midk:D
04:56:39midkthen release it
04:56:50midkthen make a nice tetris update
04:56:51midkD:
04:56:53midkgah
04:56:55midk:D*
04:57:05BioHazardmidk = smiley master
04:57:16midklol
04:58:17midki try i try
05:00
05:04:32BioHazardnext i can make it compile for the player with no testing platform! :D
05:05:21midkmm use the sim or don't do it for the player
05:05:35BioHazardit was a joke
05:05:58midklol yay
05:06:03midkits only fun doing rec things
05:06:05midkplayer things suck
05:06:12BioHazardamen
05:06:14midk2 lines psh
05:06:20midkwhadda load of bs
05:06:21BioHazardthe player in general sucks
05:06:35BioHazardi know a guy with one... i pity him so
05:06:48midkLOL
05:06:50BioHazardand on top of it, he wont rockbox it
05:07:56midkHAHA
05:07:57BioHazardi guess if he dosent rockbox it, he dosent have to worry about anybody stealing it... nobody wants that thing... :D
05:08:03midklol!
05:08:24BioHazardonly thing its got over mine is its 20GB
05:08:31BioHazardmines the 15 :(
05:09:39midkaww boooooooo
05:09:40midkjk
05:10:25BioHazardi think when mine craps out im gonna get an AV320 if avos gets far enough...
05:10:32midki have one!
05:10:56BioHazardhow is it?
05:11:06midknicey
05:11:10BioHazard(besides expensive)
05:11:13***Saving seen data "./dancer.seen"
05:11:13midkhope avos gets farther yeah lol
05:17:59BioHazardis there a more optimized way to write this?
05:18:00BioHazard if (gamelevel == 1){guessmax = 25;}
05:18:00BioHazard if (gamelevel == 2){guessmax = 50;}
05:18:00DBUGEnqueued KICK BioHazard
05:18:00BioHazard if (gamelevel == 3){guessmax = 100;}
05:25:45BioHazarddoes rb->rand()%RANDMAX rand from 0 to RANDMAX or 1 to RANDMAX?
05:27:01midkback
05:27:11midkyes
05:27:13midkdo this
05:27:35midkswitch(gamelevel) { case 1: guessmax = 25; break; case 2: etc etc }
05:28:04BioHazardexplain
05:28:19midkswitch is like go in depth with it
05:28:20BioHazardi dont like inserting code i dont understand ;)
05:28:26midka simple way to do a lot of ifs
05:28:44midkswitch(variable) { case X: bla; break; }
05:28:50midkvariable is gamelevel right?
05:29:07BioHazardyea
05:29:18midkswitch(gamelevel) { [in] case [gamelevel is] 1: [then] guessmax = 25; [and] break; }
05:29:57midksense?
05:30:00midkits like button_get
05:30:25BioHazardah
05:30:27BioHazardgot it
05:30:51midk:D
05:31:07BioHazardbut that would take just as much code
05:31:41midkOH
05:31:46midkhere's the best way in this case
05:31:53midkwe're comparing the same variable right?
05:32:12midkon those 3 if's
05:32:17BioHazardright
05:32:28BioHazardand its changing the same variable
05:32:32midkso there is no way that it could be more than one of those
05:32:39BioHazardright
05:33:10BioHazardactually...
05:33:20BioHazardi could put it in here:
05:33:46BioHazard case BUTTON_F2:
05:33:46BioHazard gamelevel = 2;
05:33:46BioHazard guessmax = 50;
05:33:46BioHazard break;
05:33:57midkoh sure
05:34:03BioHazardand then i could get rid of gamelevel
05:34:03midkbut a quick lesson anyways
05:34:13midkif you have anything like this where you can't put it there...
05:34:37midk"gamelevel" can't be anything other than 1 value at one given tick right?
05:34:43BioHazardright
05:34:51midkso you're wasting time by doing those ifs
05:35:00midkinstead
05:35:04midkwe could do this
05:35:38midkif(gamelevel == 1) guessmax = 25; else if(gamelevel == 2) guessmax = 50; else guessmax = 100;
05:35:50midkbecause instead of checking each one every time like those ifs
05:35:53midkit goes down the list
05:36:01midkif the first isnt true it heads onto the second
05:36:06midkand if not then the third
05:36:11BioHazardelse if?
05:36:16midkyup
05:36:26midkbut 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:37midkyo wakey
05:36:40midkheh sry
05:44:54BioHazardi dropped a bunch of those temp strings (str_*) cause none of them were bieng used later, so might as well reuse it
05:45:36midkk
05:45:42midkdo what ya want
05:45:47midkyou're not under my control anymore :(
05:45:49midk;)
05:47:58BioHazardk, time to test the custom screen
05:48:04midkyay
05:50:10BioHazardthe compiled size jumped from 1.86KB to 2.85KB
05:50:49BioHazardguess what?
05:51:00BioHazardi forgot rb->lcd_update again...
05:51:17midklol
05:51:23midklets do bitmaps yahh
05:51:30midkoh wait you can
05:51:31midkso do it yay
05:52:33BioHazardADDING lcd_update dropped it to 2.26KB o_O
05:53:28midkaww
05:53:29midklol
06:00
06:02:50BioHazardit works now
06:02:56BioHazardits got custom mode
06:04:42midkyay
06:05:41BioHazardjust a little cleanup...
06:07:52 Quit scott666 ("i'll be back...eventually...")
06:17:47BioHazardi might be able to get it to restart...
06:19:44midkback in a bit maybe
06:38:33BioHazardk, it has a "play again?" option now
06:38:34 Quit Nibbler (Read error: 54 (Connection reset by peer))
06:40:57midkYAy
06:41:10midkdude put that on the patches page if you're done soubds pretty cool
06:41:32BioHazardand its got background music and grayscale and a microwave and dancing girls and...
06:43:03midkOM
06:43:04midkLOL
06:43:06midki was like
06:43:09midkOHHHH at bg music
06:43:14midkOOOOOOOOOOOOOOOOOH at grayscale
06:43:18midkthen awwww at microwave
06:43:27midkthe "dammit" sort of "awww"
06:43:45BioHazardhow could you implement grayscale into this?
06:44:16BioHazardits totally text based...
06:47:19BioHazardhow many y pixels are there between 2 lines? 8?
06:47:23BioHazardor 16?
06:54:41midklets do that tomorrow or weds :D
06:54:49BioHazardk, its 16, now how do i use bitmaps?
06:54:51midk8 pixels
06:54:56midk2 lines?
06:55:02midk2 * 8 = 16
06:56:18 Quit RobbieVox (Read error: 110 (Connection timed out))
06:57:48midkbrb again
06:59:25 Quit wake ("leaving")
07:00
07:02:08midkcnite
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:34BioHazardso, can anyone explain lcd_bitmap?
07:32:13BioHazardrb->lcd_bitmap(bmp_lose, 48, 72, 16, 16, true);
07:32:16BioHazarddosent work
07:36:48BioHazardor is there nobody there...
07:56:52 Quit BioHazard ("wait! come back! i want that muffin! -=SysReset 2.51=-")
08:00
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:33sleep21hey everyone
08:36:07Strathhello
08:37:39 Join edx [0] (edx@pD9EABBCA.dip.t-dialin.net)
08:42:03sleep21what CPU does the Archos use?
08:42:19Strathwhich one? :)
08:43:15sleep21i 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:19sleep21the C55x
08:43:30Stratheh?
08:43:40 Quit c0utta (Read error: 110 (Connection timed out))
08:44:09sleep21the cpu is part of the DSP
08:44:39Strathah
08:45:49Straththe gmini series use the tcc730
08:46:22Strath(CalmRISC16 core)
08:46:45sleep21and all the archos' firmwares just stay on the HD
08:47:00Strathna
08:47:12Strathwell...
08:48:14Straththe 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:42sleep21so you never actually flash update the bios?
08:48:44Straththe gmini and av3xx series update the firmware in internal eerom
08:48:53sleep21ah
08:49:23Straththats beryond my experiances with JBxxxx and rockbox
08:49:34sleep21ok
08:50:14sleep21unfortunatly, the nomad uses a propriatary filesystem, so i cant tell what's on the HD and what's on the FW
08:50:24Straththe jukebox series have been EOL'ed for a while
08:50:46Strathwhat about released updates?
08:51:11Straththats where we (avos) started our efforts
08:51:24sleep21i suppose it flashes the bios because it cautions you not to un plug it
08:51:40Strathseems most likly
08:51:54Strathor, almost definatly
08:51:59Strath(sp)
08:52:16sleep21but 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:17Strathhave you examined the update file at all?
08:53:12sleep21well, 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:22Strathya... most flashable devices have a minimal boot stub which doesn't get modified (motherboards, ticalcs, mp3 players, etc....)
08:54:02Strathsee if winzip will open it? :)
08:54:09sleep21so do you think if i fuck up my eeprom working on this, recuemode can save me?
08:54:23sleep21i dount it, it's not a self extrating zip
08:54:34Strath97% positive :)
08:54:37sleep21k
08:54:42sleep21that's good
08:54:51sleep21i don't think there's any serial interface
08:55:13Strathwell, just open it with a tracing x86 disasembler and find the data block
08:56:32Strathor is that beyond your current abilities?
08:57:21sleep21not necissarily, i have a working knowledge of ASM
08:57:58sleep21can you recommend a good disassembler, i've only used debug to date ;-)
08:58:35Strathheh
08:58:51StrathIDA is the best IMNSHO
08:59:02sleep21heh
08:59:12sleep21free?
08:59:40Strathnot by a long shot!
08:59:42Strathheh
08:59:46Strathya... i know
08:59:48sleep21damn it to hell
09:00
09:00:19sleep21any 2nd best :-)
09:00:21sleep21gpl?
09:00:25Strathhrm....
09:01:19sleep21cool, IDA supports the DSP in the Nomad
09:01:45Strathi resently began evaluating OllyDebug
09:02:02Strathsee... told ya its good :)
09:02:17sleep21yeah, but it only supports it in the $799 build
09:02:23Strathhowever the price tag is quite high
09:02:31sleep21that's simply out of the question
09:02:42 Join mattzz [0] (~c2af7556@c231002.adsl.hansenet.de)
09:02:54StrathOllyDebug might suit your needs
09:03:28Straththough i haven't fully evaluated it as of yet
09:03:38Strathand it is free
09:03:56sleep21version 109d?
09:04:33Straththats what i've got
09:04:42sleep21k
09:04:52sleep21i can't find their homepage but i found the file
09:05:49Strathhttp://home.t-online.de/home/Ollydbg
09:06:37Strathit's basicly postcardware
09:07:12sleep21hehe awesome
09:07:15Strath(freeware, but if you use it alot, the author request that you let him know)
09:07:22sleep21yep
09:08:00sleep21an opensource firmware for the nomad is gonna be a massive undertaking
09:08:16sleep21probably bigger than the rockbox project
09:09:02Strathhavn't had time to look at the nomad yet
09:10:07sleep21it's really good hardware, relatively lousy software
09:10:40sleep21as i said it's a propriatary FS, so no drive letter acess
09:10:43sleep21(sp)
09:11:18***Saving seen data "./dancer.seen"
09:11:24Strathoy
09:11:43sleep21yeah
09:11:44Strathya... most of the market seems to be that way
09:11:57Strathgood hardward, poor software
09:12:06sleep21it's a shame
09:12:43sleep21the Nomad OS itself isn't much to brag about either
09:14:10Straththe 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:51sleep21yep
09:38:21mattzzamiconn: Hi Jens, what's cookin'?
09:41:38amiconnHi
09:43:40 Quit AciD (Read error: 60 (Operation timed out))
09:43:48amiconnSorry, gotta go.
09:43:52mattzzc 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
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]DragonLinusN: Good morning, do you read?
10:12:07LinusNaffirmative
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]DragonYes Sir! (very formal today?)
10:15:19LinusN:-)
10:15:32LinusNyeah, time to take control of this project
10:15:39[IDC]DragonI'm bouncing an idea around, for my car emulator I'd like to have a TSR feature in a plugin.
10:15:54[IDC]DragonCould be very simple, I think.
10:15:55LinusNno more silly plugins, only good, sensible, useful stuff!
10:15:59LinusN:-)
10:16:13LinusNwe have discussed that before
10:16:31[IDC]Dragondid we?
10:16:41[IDC]DragonAlzheimer here
10:16:50LinusNa long time ago, when we designed the plugin interface
10:16:55[IDC]Dragonwhat was the outcome?
10:17:08dwihnoLinusN: DevCon! DevCon!
10:17:11dwihno\o/ DevCon \o/
10:17:14LinusNwe decided not to add it because it opens up a huge can of worms
10:17:47LinusNdwihno: i know i know
10:17:59LinusNpatience, grasshopper
10:18:04[IDC]DragonI think it can be very easy, worm-free:
10:18:13[IDC]DragonThe plugin could return with a special exit code, indicating it wants to stay.
10:18:16dwihnoLinusN: I've been patient for a year :D
10:18:57[IDC]DragonThe 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]DragonSo the resident plugin has to free its resources and exit.
10:19:39LinusNah, so it only stays until another plugin is loaded?
10:20:01[IDC]Dragonyes, that would be all I need.
10:20:27[IDC]DragonWell, 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]Dragoncan threads currently exit?
10:22:01LinusNnope
10:22:08[IDC]Dragonor do we only create them?
10:22:13[IDC]Dragonah, OK.
10:22:51[IDC]Dragonguess I have to dig into the kernel to find out if that's difficult to add.
10:27:46[IDC]Dragonlooks easy to add
10:28:17[IDC]Dragonwhat 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:46LinusNsounds ok to me
10:38:33[IDC]Dragonto me as well ;-)
10:39:46[IDC]DragonMy CD changer project has no progress without such, I'd like to get serious with it.
10:39:47LinusNwe may have to increase MAXTHREADS
10:40:12[IDC]DragonI know, have to count.
10:41:02LinusNhmm, the scheduler assumes that there are no "holes" in the thread table
10:41:28[IDC]Dragonthere won't, the plugin always comes last
10:41:41LinusNfor now, yes
10:42:44[IDC]Dragonor we have to add a flag to the thread descriptor
10:43:11LinusNperhaps 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]Dragonthen you need to place it's stack somewhere
10:43:44 Quit c0utta (Read error: 110 (Connection timed out))
10:43:49LinusNbut 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]DragonI'd rather place the stack within the plugin, leave it to its responsibility
10:54:04LinusN[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]Dragonwhat should that do?
10:56:55LinusNsame 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]Dragonah
10:59:33[IDC]Dragonhow should I signal the "exit now" condition to the plugin function? call it with -1, or add another parameter?
11:00
11:05:33[IDC]DragonIn 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:33LinusNsure
11:07:34LinusNthe 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]Dragonit'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]Dragonif the thread function end thereafter, it should work.
11:10:03[IDC]Dragonends
11:11:19***Saving seen data "./dancer.seen"
11:12:57[IDC]DragonNext thing such a plugin probably wants is a message queue, but this could also be implemented locally.
11:13:34LinusNi think so, it's better to keep it simple
11:13:54LinusNall other threads have to create their own, so the same should apply to the plugin
11:14:51LinusNi think it is best to simply export the thread functions, and add a TRX mechanism to the plugins
11:14:56LinusNTRS
11:15:00LinusNTSR ...
11:15:08[IDC]DragonI 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:50LinusNwell, the current plugin interface defines a plugin_start() function
11:21:01LinusNlet's add plugin_end()
11:21:20[IDC]DragonOK, that's another way.
11:21:39LinusNbut it's not that simple...
11:21:40[IDC]Dragonwill probably break compatibility?
11:22:07LinusNwe'll probably need a plugin_stop() and plugin_end(), or something
11:22:24LinusNhmmm
11:22:27LinusNnot really
11:22:55[IDC]DragonWhy 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:01LinusNplugin_end() would be enough
11:23:12[IDC]Dragonagreed
11:23:25LinusNand it would be optional
11:24:04LinusNmaybe 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]Dragonfor plugin linking, it's not optional.
11:25:13[IDC]Dragonagree on the return code.
11:26:05LinusNi think the plugin could register an exit function, much like onexit()
11:29:11[IDC]Dragonah, a callback, yes.
11:29:38[IDC]Dragonthen we don't need a special exit code, if we apply for TSR this way.
11:31:11LinusNtrue
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:00
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:00
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:59moccinohello all
13:55:31moccinoya des francais??
13:56:17LinusNnon :-)
13:56:43moccinolol
13:56:47LinusNon parle anglais ici
13:56:58moccinolol, mais tu peux m'aider en pv??
13:57:02LinusNsure
13:57:23moccinosur l'archos av140
13:57:49LinusNi don't have one
13:57:59moccinook of course
13:57:59moccino!
13:58:02 Quit moccino ()
14:00
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:00
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:46Mode"#rockbox +o LinusN " by ChanServ (ChanServ@services.)
15:39:51 Quit sleep21 (Read error: 54 (Connection reset by peer))
15:44:32Z10N+o
15:45:42 Part Z10N
15:53:59 Part LinusN
16:00
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
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
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:00
19:07:28 Join schoki_ [0] (~e42690@DSL01.212.114.236.75.NEFkom.net)
19:11:33***Saving seen data "./dancer.seen"
20:00
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:28rcyeskehello
20:26:31 Join RedBreva [0] (~jirc@81.153.56.186)
20:27:57 Quit RedBreva (Client Quit)
20:37:46 Part deadite66
21:00
21:11:37***Saving seen data "./dancer.seen"
21:14:01 Join moccino [0] (moccino@80.125.211.175)
21:14:26moccinoya des francais??
21:15:06moccinoya surtt personne ouai
21:15:07moccino!
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:50kaboofaI'm getting VERY close to a release of the calculator plugin
21:34:54kaboofa:)
21:35:11kaboofaI 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:46BioHazard|486can someone help me with this plugin coding problem ive been having?
21:55:04scott666that depends on what iti s
21:55:15BioHazard|486rb->lcd_bitmap
22:00
22:00:44kaboofawhat about it?
22:01:10BioHazard|486i cant get it to work
22:01:42kaboofalcd_bitmap(src,x,y,width,height,clear) put a bitmap at given position
22:01:45kaboofahmm
22:01:52kaboofahow are you loading the bitmap?
22:02:37BioHazard|486i converted a .bmp to funky numbers with bmp2rb.exe and copied the mess it output to my source files
22:03:16mattzzand watch out for the last comma ;-)
22:03:29BioHazard|486as in...?
22:04:04mattzzif the number of bytes is %16 there will be a comma too much in the output
22:04:19BioHazard|486its 16x16
22:07:42kaboofamake;./uisim32.exe
22:07:43kaboofaugh
22:08:20kaboofaputty != rockbox sdk
22:08:45BioHazard|486ive got the uisim somewhere, i need to run it in that?
22:09:04kaboofano; I was trying to test my code
22:09:12kaboofabut i was typing in the wrong window
22:13:33BioHazard|486so what does the clear arg do?
22:14:47kaboofaprobably if you want to make a clean lcd for whatever you want your bitmap on
22:16:41BioHazard|486can 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:00
23:05:18 Quit Nibbler (Read error: 54 (Connection reset by peer))
23:07:15Strathhrm.... 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:53BioHazard|486k, my bitmap is defiend like this:
23:30:54BioHazard|486const unsigned char bmp_win[] = { *BIG STRING OF NUMBERS SEPERATED BY COMMAS* };
23:31:04BioHazard|486and i call it with
23:31:31BioHazard|486rb->lcd_bitmap(bmp_win,24,72,16,16,1);
23:31:37BioHazard|486but it wont draw
23:32:52BioHazard|486what am i doing wrong?
23:34:24amiconndo you issue a rb->lcd_update() afterwards? (looks correct otherwise)
23:34:31BioHazard|486yep
23:34:37amiconnhmm
23:36:43amiconnAh: (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:55amiconnErr: 0 <= x <= 111
23:38:40BioHazard|486yep, that fixed it...
23:38:47BioHazard|486im stoopid :)
23:38:58BioHazard|486i thought it was y,x,
23:39:13BioHazard|486but now... the image is all garbled
23:41:07BioHazard|486it displays properly when using bmp2rb.exe -a
23:43:43amiconnHmm, 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:27BioHazard|486another question: cant the grayscale plugin framework be moved to an #include-able file like plugin.h?
23:54:45BioHazard|486or can you do that with it already?
23:56:58amiconnUnfortunately, it couldn't be done (yet), otherwise I would have done that already.
23:57:01amiconnCurrently, 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:55BioHazard|486but if its a file thats usable for more than 1 plugin...
23:58:35BioHazard|486maybe add it to plugin.h?
23:58:45amiconnYes, this would be solved along the way then, but currently the makefile tries to build one plugin per .c file.

Previous day | Next day