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-07-21

00:00:12[IDC]Dragonthe menues are resisting
00:00:40[IDC]Dragonthe compiler seems to think function pointers are no constants
00:02:25 Quit flemse ()
00:02:49[IDC]Dragonno, rather the string behind the str() macro
00:02:52amiconnGrr I hate that: warning: assignment discards qualifiers from pointer target type
00:03:33[IDC]Dragonit is possibly correct, since we load the lang
00:03:36 Quit Nibbler (Read error: 54 (Connection reset by peer))
00:04:54[IDC]Dragonall those menu data structures are assembled at runtime!
00:05:05[IDC]DragonThis must be a lot of code
00:06:42 Quit c0utta (Read error: 104 (Connection reset by peer))
00:07:14 Join Nibbler [0] (
00:07:46***Saving seen data "./dancer.seen"
00:10:41[IDC]DragonI failed with the menus and options
00:12:24 Nick midk2k3 is now known as midk (
00:15:42elinenbesuch nice work on the project the last few days...
00:15:47elinenbeanyone here follow cycling?
00:15:48amiconnWth is "ctype"?
00:18:03[IDC]Dragonfrom ctype.h? dunno.
00:18:23amiconn(From ctype.c and ctype.h, yes)
00:18:38 Quit Smooth (Read error: 110 (Connection timed out))
00:18:44amiconnThis is even exposed at the plugin api, but seems to be used nowhere...
00:19:24[IDC]Dragonseems to be a lookup table for char properties
00:19:59amiconnSo it should be const'able (!) as well
00:20:43[IDC]Dragonor even removeable, if nobody uses these isxxx() macros
00:21:34[IDC]Dragontoupper/tolower is used
00:21:48[IDC]Dragonwhich in turn uses the table
00:21:49amiconnIn plugins?
00:22:14[IDC]Dragoneven that, yes. why?
00:22:38amiconnBecause otherwise it wouldn't have to be included within the plugin api
00:23:23[IDC]Dragonyes. but the const police shoudn't care
00:33:10amiconnData section now down to 7200 bytes, still working
00:34:57[IDC]Dragonyou did ctype and what else?
00:36:39 Quit mecraw__ ("Trillian (")
00:38:02amiconnSince my latest report (>~8 KB): Irq name strings, usb logo, settings lookup tables, ctype
00:38:48[IDC]DragonI compiled what you committed
00:39:09[IDC]Dragonwhich is 7604 bytes
00:39:40[IDC]Dragonoops, I'm lagging behind
00:40:37amiconnAnd I forgot to mention the api struct
00:40:45[IDC]DragonI'm adding a check to the flash plugin
00:41:14amiconnChecking the pointer address range I suppose?
00:42:02amiconnDoing the sysfont thing will yield almost 4 KB again, but this is a complex one I'll do after the runtime tests
00:42:22[IDC]Dragonyes, understandable
00:42:45[IDC]Dragonthen we're pretty close to the bottom
00:43:23amiconnShould be ~3.2 KB for the v1, about half of which is the lang string array
00:46:04amiconnThis one is funny: Compiling for v2 yields a smaller data section than compiling for v1 (44 bytes)
00:46:07midkreformatting, bbl.
00:46:18 Quit midk ("just STOP it arspy")
00:46:42amiconnAh, this results from the charging control
00:46:54[IDC]Dragonprobably something with the charging code
00:47:45amiconnObviously this contains more initialized data than the radio code
00:54:29[IDC]Dragonflash plugin checks committed
00:55:03amiconn[IDC]Dragon: Did you test the v2 rom build in the meantime, or should I announce it without testing?
00:55:31[IDC]DragonI didn't test, this would be a bit of work
00:55:46[IDC]Dragonincluding updating gcc
00:57:29[IDC]Dragondo I have to build that? no cygwin binaries?
00:58:40amiconnFor sh-elf-gcc: If you want gcc 3.4, you may need to build it, but if 3.3.1 is sufficient (that's what I use, and it is much better than 3.0.4), there are binaries
01:03:18[IDC]Dragonyou haven't tried 3.4 ?
01:05:14amiconnWhen I last checked, there were no binaries for sh-elf-gcc 3.4.x on cygwin, and I didn't want to compile it myself
01:05:53[IDC]DragonI'm wondering if the waitstates for the flash are optimal
01:06:25amiconnIn fact, someone tried compiling rockbox on gcc 3.4 (Linux) and ran into problems with the asm immediate operand constraints (their definition changed between 3.3 and 3.4)
01:07:53[IDC]Dragonviewing th h/w info is soo much slower from flash
01:08:30[IDC]DragonI'm sure the memcmp(64KB) is the reason
01:09:01amiconnAre there any waitstates? Iirc the only address area for which waitstates are defined is the ata i/o (cs6)
01:09:42[IDC]Dragonhaven't checked, was just thinking
01:10:12[IDC]Dragonmaybe it's never touched and at some worst-case default
01:10:21 Join amiconn_ [0] (
01:11:55 Quit amiconn (Nick collision from services.)
01:11:55 Nick amiconn_ is now known as amiconn (
01:18:06[IDC]Dragonyou're right, waitstates should be at minimim
01:18:25[IDC]Dragon(register WCR3)
01:19:00*[IDC]Dragon needs to sleep
01:19:29amiconn(me as well)
01:19:42[IDC]Dragonsweet dreams
01:20:18[IDC]Dragon(not: assignment discards qualifiers from pointer target type)
01:20:35 Quit [IDC]Dragon ()
01:26:53 Part amiconn
01:51:09 Quit AciD (Read error: 104 (Connection reset by peer))
01:51:09 Quit Nibbler (Read error: 54 (Connection reset by peer))
01:56:34 Quit dids ("Leaving")
02:07:47***Saving seen data "./dancer.seen"
02:09:45 Nick maikeul is now known as gromit` (
02:50:40 Join midk [0] (
02:52:31 Quit midk (Client Quit)
02:52:34 Join midk [0] (
02:53:48 Quit midk (Read error: 104 (Connection reset by peer))
02:56:20 Join midk [0] (
03:27:34 Join Nibbler [0] (
03:31:15 Quit midk ("gone.")
03:31:47 Nick BoofaWork is now known as Kaboofa (
03:33:27 Join midk [0] (
03:33:50 Part midk
03:34:06 Join midk [0] (
03:51:29 Quit wake ("leaving")
03:51:32 Join AciD [0] (
04:07:48***Saving seen data "./dancer.seen"
04:28:19 Nick StrathAFK is now known as Strath (
04:28:20 Quit Nibbler (Read error: 54 (Connection reset by peer))
05:06:15 Join dstar5 [0] (
05:17:34 Join scott666_ [0] (
05:26:06 Quit scott666 (Read error: 60 (Operation timed out))
05:43:58 Quit scott666_ (Read error: 110 (Connection timed out))
05:44:13 Join scott666_ [0] (
05:52:14 Quit dstar5 ("Leaving")
05:57:59 Quit midk ("gone.")
05:59:59 Part scott666_
06:07:49***Saving seen data "./dancer.seen"
06:11:48 Join Nibbler [0] (
06:14:35 Join midk [0] (
06:19:07 Quit midk (Client Quit)
06:19:11 Join midk [0] (
06:19:19 Join midk_ [0] (
06:19:19 Quit midk (Read error: 104 (Connection reset by peer))
06:19:33 Quit midk_ (Read error: 104 (Connection reset by peer))
06:19:34 Join midk [0] (
06:24:07 Quit AciD ("Read error: 666 (Connection reset by Satan)")
06:25:31 Join LinusN [200] (
06:29:25midkhi LinusN
06:39:05 Join dstar5 [0] (
06:51:40 Quit midk ("Leaving")
06:51:59 Join midk [0] (
06:56:03 Quit dstar5 ("Leaving")
07:03:36LinusNmidk: how's it going with rockblox?
07:04:08midknearly there..
07:05:01midki didn't see any reason there should be extra keypresses after it exits.. unless they occur within the ~2 second rb->sleep pause right before you exit
07:05:14midkbut my patch should take care of that, it takes you to a "start new game" screen after you lose.
07:05:23midknot after it tells you YOU LOSE that is :p
07:05:29LinusNthere is probably at least one release event in the queue
07:05:53midkremind me to add an exclamation point or two after the you lose text :)
07:06:11midkhang on
07:06:13LinusNand a "muuuhahahahahaaaaa" MP3 clip :-)
07:06:24midkhaha, repeated 5 times
07:06:40LinusNactually, sound effects would be nice
07:06:55midkwere you ever compiling bitswap.c for me?
07:07:06LinusNaaah, forgot about that one
07:09:03LinusNremind me when i'm home :-)
07:09:13midkthat would be?
07:09:25LinusNlater, i guess :-)
07:09:36midkoh, that helps :)
07:09:42LinusNseriously, i won't be able to hack from home until friday
07:10:15*midk guesses that compiling is hacking related
07:10:45midkuh oh
07:11:50midkof course.
07:11:59midki thought i lost rockblox.c there for a minute
07:12:04*LinusN realizes that raw button reads may be hard to simulate
07:12:38midkgood idea, what about set_button_repeat.. or even.. global_settings->button_repeat = 5;
07:13:07midkthat's it.
07:13:14LinusNi think raw reads are a better solution
07:13:37LinusNwill do it soonish
07:13:41midkwell i'll merely need an example, but i'm sure one will be included free? :)
07:13:58LinusNi'll send you an example
07:14:05midk*jumps for joy
07:14:13midk..after locating the rockblox file on the cygwin cd
07:14:32midkuh oh
07:14:40midkwhere's the cygwin cd?!
07:15:26LinusNcygwin cd?
07:15:35midkmy cd with cygwin junk - i just reformatted today
07:15:42midki probably lost a bit of work but hopefully not too much
07:15:46midki knew i was forgetting something.
07:16:10LinusNbackups are for l00sers
07:16:20midkoh, i should have just let it get overwritten, good idea!
07:20:20midkreboot, captain. be back soon.
07:20:23 Quit midk ("Leaving")
07:22:17 Join midk [0] (
07:22:40midkyay, back.
07:22:42midkYAY, here it is.
07:22:45midkWAIT, i don't think i lost anything really
07:23:37midkdoes anybody read? or has the internet died for me again?
07:25:32midkappears to be a firefox problem.
07:25:38LinusNi'm here
07:25:51midkoh, sure, now you respond.. :)
07:26:02midkok let's see if i lost anything
07:26:17LinusNi'm at work, can't respond that quickly
07:26:37midkto quote track, "joke, LinusN"
07:29:00LinusNdoes the new simulator makefile work ok for you?
07:29:19Kaboofai needed to ask something
07:29:21midkactually, i tried bc's sim patch with his devkit and it didn't compile..
07:29:49LinusNit's outdated
07:29:56midkno, his newer one on his site
07:30:05midk/bin/ld: cannot find -lcomdlg32
07:30:05midkcollect2: ld returned 1 exit status
07:30:05midkmake[1]: *** [/home/guest/rockbox-devel/build/uisw32.exe] Error 1
07:30:12LinusNi think i'll merge some of his changes into CVS
07:30:40midkfor the sim?
07:30:55LinusNdid you try to apply it on the recent cvs?
07:31:21midk..and it errored... :]
07:31:30LinusNmissing comdlg32 library...
07:31:44LinusNi wonder why he needs that
07:32:33Kaboofabecause HE'S AN EVIL WITCH!!!!
07:32:41Kaboofaor not
07:32:42Kaboofai don't know.
07:32:49midki thought LinusN said that
07:32:56midkthat scared me for a moment
07:33:02midkyour nicks are both blue
07:33:15Kaboofawhat client do you use?
07:33:34midki should have known
07:33:43*midk gasps
07:33:45Kaboofaand what is the 'nim' plugin?
07:33:48*midk keeps quiet
07:33:54midkit's for players only
07:33:59Kaboofawhat does it do though?
07:34:00midki suppose you have some lowly recorder..
07:34:04midkyou are incapable of playing it.
07:34:07midkhm it's a game
07:34:13Kaboofalowly recorder?
07:34:21midknever mind,sir.
07:34:30Kaboofaplease stop insulting my old hardware.
07:34:32Kaboofathank you.
07:34:56midkoh, NO
07:35:19midki lost my recent rockblox work
07:35:21midkoh well..
07:35:25midk*gets a salvaging program
07:35:34Kaboofacurse went well i guess
07:35:36Kaboofathat was quick.
07:35:39Kaboofajust kidding.
07:35:42midkok stfu
07:35:46Kaboofaof course, i have to go to sleep now.
07:35:51Kaboofaso i'll see you guys.
07:36:11midklater sir Boof
07:36:19LinusNporting nim to the recorder should be a breeze
07:36:25LinusNnite kaboofa
07:36:27midki wanted to make a recorder jackpot
07:36:44Kaboofawhat is nim though!
07:37:01LinusNit's a game where you draw sticks from a stack
07:37:05midkwith flashy graphics and maybe a useless feature or 10, such as... playing pong while you wait
07:37:11midkand you try not to move the others?
07:37:16Kaboofapickup sticks?
07:37:22midkI LOVE THAT GAME!
07:37:25LinusNthere are 21 sticks
07:37:26midkerr um
07:37:42LinusNyou are not allowed to take them all, but you must take at least one
07:37:53midki remember this.. without moving any of the others?
07:37:58LinusNand the one who takes the last stick loses
07:37:58Kaboofai'm out now.
07:38:03Kaboofai've seenthat
07:38:04midkthat sucks
07:38:10midksucky game alery
07:38:10Kaboofaon mario party or something
07:38:18Kaboofai play video games, because i like rotting my brain.
07:38:33midkok thats great, go get some rest now
07:38:36LinusNit's a sucky game, yes, but it's feasible on a player
07:38:53midki don't see how you can draw sticks on an lcd that size
07:39:36midki just came up with a concept for a clock loading screen
07:39:42midkok so the logo slides down and bounces
07:39:45midkand it says "loading settings"
07:39:57midkthen there's this splash that asks.. "do you want to listen to music while you wait?"
07:40:17midkand then you can pick a song off the hard drive... then it says loaded settings and the music fades out and you get the clock screen
07:41:08LinusNyou're nuts
07:41:26Kaboofayou can make a impulse tracker program
07:41:34Kaboofaand you can compose while you are waiting
07:41:55KaboofaAND you can play ikaruga on the lcd
07:42:05 Nick Kaboofa is now known as tomDead (
07:42:05LinusNor you can have a graphical clock while you're waiting
07:42:08tomDeadtime for sleep
07:42:09midkhm, and we can use the mic as a built in speaker that says "YOU ARE SMART AND SLEEK AND COOL"
07:42:14LinusNnite tomDead
07:42:17midkLinusN, there is no real wait time.
07:42:21midkand nite.
07:42:23LinusNi know
07:42:26midkwe'll cause a delay
07:42:29midkfor no reason!
07:42:33midkhahahahaha. *rubs hands
07:42:41midkthey want the clock, they don't get the clock
07:42:54*midk starts working on a format_harddrive() and shatter_lcd() function
07:44:00midkyay, look at it search my hard drive for a nonexistant rockblox.c
07:44:00Strathisn't that first one a little "hands on" midk? ;)
07:44:11LinusNok, then i'll start with melt_battery()
07:44:17midkok whoa strath
07:44:32midkLinusN, you also get fry_chargingchip
07:45:04LinusNamiconn has already implemented corrupt_filesystem()
07:45:11Strathwhy not burn_out_wallwart()
07:46:17midkswitch(charger) { case true: burn_out_wallwart(); break; case false: shoot_out_beam_of_lightning_through_charging_port(true); break; }
07:46:19Strathhrm... question though, it what order would one execute these functions? :)
07:47:02midki'd start with formatting the hard drive. then i'd fry their charging chip / wallwart.
07:47:08midkthen i'd format the..
07:47:12midkoh wait, i already used it
07:47:17midkand in the right way :(
07:47:19Strathand would the last one actually get run?
07:47:51midkhaha........ "Clock is now scanning your system for settings. Please wait a minute."
07:47:59midk"Do not turn off during this process."
07:48:24Strathoh, oh.... USB(toast)
07:48:36midkthat just ruined it.
07:49:55Straththen my work here is done
07:50:13midkgee tHANKS
07:50:38Strathyou are so very welcome >;)
07:50:47midkwell, i guess it's time for you to format my hard drives
07:50:47midki actually did earlier today but..
07:51:36midkhard drive*
07:51:52Strathjust one....
07:54:04midki really should get an extra
07:54:08midkthey can come in handy sometimes
07:55:30midkthis code needs serious reworking
07:55:43midkdo you mind if i overhaul rockblox.c linusn?
07:57:37LinusNnot at all
07:57:54midki need one of those happy hacking keyboards
07:57:56LinusNbut i'll kill you if you remove the horizontal mode
07:58:05midk*deletes code
07:58:32LinusNi like rotating the jukebox to get a better screen layout
07:58:59midkis it ok if i include a vertical *option* on the off chance i do code it??
07:59:21midk(people cheer)
08:00:07LinusNi was thinking of a generic highscore screen in the plugin library
08:00:13midki was making one!
08:00:17midkyou idea stealer
08:00:20midkok that's it..
08:00:27midki'll just wait till you finish your 'coding'
08:00:37midkand THEN i'll code my rockblox
08:03:19midkare you done yet? ;}
08:03:43LinusNi won't have the time to do a highscore lib function
08:03:51midkyou're right you won't
08:03:55midk*gets back to work
08:04:10LinusNthese are not the droids we're looking for...
08:04:15midkdon't even think about it.. my code is proprietary and you are not allowed to use it at all or use the idea either
08:04:24midki already patented my high score list idea
08:04:39midknot patented.. but i am stating that it's my idea, and you may not steal it.
08:05:22midkoh, i see how this works
08:05:39midkno time to code, but plenty of time to write wikies
08:05:58midkjust as i suspected..
08:06:03midki see where this is going
08:07:50***Saving seen data "./dancer.seen"
08:08:13midkrockblox is just ugly code
08:08:17midkugly ugly ugly.
08:10:36midkso far the new features then are
08:10:39midk-pausing of a game
08:10:49midk-picking a difficulty
08:11:02midk-starting new games while playing / when finished
08:11:08midkand a score breakdown at the end..
08:11:20midkie, score: xxxx level: xx lines: xx blocks: xx
08:11:20LinusNi would appreciate if you committed that, so we can work incrementally
08:11:28midklet me fix it up, first..
08:11:50midki just made a major change, moving the game out of "int game_loop" to the while plugin ok loop.
08:17:30midkwoo, ERRORS!
08:21:05midkwow, it compiled.
08:21:18midkoh, no it didn't :)
08:31:15midkaw, i have to recode score_analysis
08:40:08midkah, never mind
08:44:00midki have a great idea for an integrated animation.
08:46:51midkand the animation is completed.
08:54:17 Join amiconn [0] (
08:56:59LinusNhi amiconn
08:58:12LinusNthe guy with the disk optimization problems have a 0x302 mask
08:58:29LinusN"has", my grammar sucks
08:59:03 Join [IDC]Dragon [0] (
08:59:55amiconnLinusN: Hmm, that leads to the problem how to decide when to disable the optimized routines
09:00:01[IDC]Dragongood morning
09:06:07LinusNwe could probably always disable them on all DK23DA/CA drives
09:06:24LinusNit's not a big deal imho
09:06:28midkum, that's my drive i'm pretty sure
09:08:47midkam i the only one that misses archos' "Cinema to go.. with you whereever you go!" slogan?
09:10:26amiconnLinusN: Maybe it's sufficient to do it for the DK23DA (the dreaded RLD drives), since the DK23CA seems no longer to be a problem
09:12:06amiconnDid you create test version with only fast reading or writing disabled?
09:13:21LinusNnot yet
09:13:56amiconnAny news on ther other case (corrupted recordings)?
09:23:10[IDC]Dragonamiconn: is your runtime test still ongoing?
09:23:29amiconnyes (next round: running from ram)
09:24:20midki created a tetris bug that's fun
09:24:30midkyou have to press down to move the block down.. so it's like you always win
09:27:13[IDC]Dragona cheat mode!
09:27:37midk*maps it to F1+ON+PLAY+UP+F3
09:31:52amiconn[IDC]Dragon: I'll do a video runtime test as well
09:36:15[IDC]Dragonamiconn: for that, the ROM version will win for sure
09:37:33midkaw, *midk appears to have a clock bug
09:38:42[IDC]Dragonduring video, the code runs from the plugin and IRAM, almost no ROM
09:42:45[IDC]Dragonthe main difference is the larger buffer, which is of course good for the runtime
09:53:07 Quit Strath ("Client closed")
09:59:22LinusNmidk: raw button reads coming up
09:59:45LinusNi'll email you an example plugin
10:00:03midkthanks linusn
10:00:10midkupdate your address -
10:00:26LinusNroger that
10:02:36midkhm, firefox is just *dead*
10:04:43LinusNmidk: update your CVS and check your mail
10:05:00midkgot it, give me about 15 minutes
10:05:04 Nick midk is now known as midk|quakeIII (
10:07:51***Saving seen data "./dancer.seen"
10:07:53[IDC]Dragonhi LinusN, saw your commit
10:08:09[IDC]Dragonso you're going for 2 functions?
10:08:44[IDC]Dragondid you bump the API version?
10:11:07LinusNsilly me, i always forget that
10:13:19[IDC]Dragonyeah, especially since that check is not really likely to kick in
10:13:49[IDC]Dragonit's kind of rare to run newer plugins (using those functions) with older Rockbox
10:14:17[IDC]Dragonthe other way round is more likely
10:15:03[IDC]Dragonnot having updated a plugin for a while, and it becoming incompatible
10:16:00amiconnAlthough it may happen - e.g. if you have a certain version flashed, and are testing a newer one including it's plugins with RoLoing, then restart the box a try to use a plugin
10:16:13amiconn*and try
10:23:03 Nick midk|quakeIII is now known as midk (
10:26:33amiconnLinusN: Your changes caused a sim warning
10:27:16midkLinusN, thanks for the example!
10:29:43LinusNamiconn: forgot to remove some obsolete stuff
10:31:17amiconnGotta leave now
10:31:27 Part amiconn
10:31:45midkyeah, woo
10:32:00midki developed a crummy way to exit the plugin
10:44:03[IDC]Dragontalking about dead code:
10:44:30[IDC]DragonI found menu_moveup(), menu_movedown(), seems to be unused
10:44:46[IDC]Dragonor is this the way to confugable menus?
10:45:36midkconfuggable - lol
10:49:15LinusNwe added those some time ago, for c0utta's configurable menu stuff
10:49:35LinusNbut they are probably not going to be used
10:58:07[IDC]Dragonyesterday I tried to "const" the menus and options
10:58:38[IDC]Dragonbut I failed, realising that the language string lookup forces them to be assembled at runtime
10:59:12[IDC]DragonAre you aware of this? Must result in a lot of code...
11:04:34LinusNyes i'm aware of this
11:05:13LinusNi brought the subject up a long time ago, but we didn't find a good solution
11:06:29[IDC]Dragonhow about either ID or string pointer in the same member?
11:06:55[IDC]Dragonthen the menu code can tell them apart and do the lookup if it's an ID
11:07:23LinusNthat was one of the ideas, but we didn't like it
11:07:35[IDC]Dragonthe ID base can be freely picked, to avoid conflicts on any target
11:08:13[IDC]Dragonyou can view the ID as a "virtual pointer", if you like
11:09:33LinusNi'm not too fond of the idea of storing an integer in a pointer variable, and vice versa
11:09:51LinusNbut if it saves us a lot of code, i may consider it
11:10:02[IDC]DragonOK, then don't call it an integer
11:10:43[IDC]Dragonit is a pointer, and if it points to a certain region, there is a function to translate it
11:10:57LinusNdon't we store the voice id separately today?
11:11:01[IDC]Dragonthat's why I called it virtual pointer
11:11:24[IDC]Dragonyes, it is an additional member
11:11:47[IDC]Dragonso it did create a lot of extra code, too
11:11:58[IDC]DragonI wasn't aware of this
11:12:00LinusNbut the voice id is the same as the string id in all cases today, isn't it?
11:12:26LinusNso let's use one of them, but never both
11:12:29[IDC]Dragonno, there are special IDs for numbers or numbes with units
11:12:39LinusNin menus????
11:12:48[IDC]Dragonin options
11:13:04LinusNbut they aren't menus afaik
11:13:24[IDC]Dragonbut a similar costruction
11:14:01LinusNi would prefer a separate char * and an ID, and the menu code can decide which one to use
11:14:12[IDC]Dragonif the menus work with IDs only, we'd have no problem
11:14:19LinusNif char * == NULL, it uses the ID
11:14:32[IDC]Dragonbut there are menus with literal strings
11:14:38LinusNthe radio presets are menus
11:14:46LinusNand the debug menus
11:14:53[IDC]Dragonso, the str() macro resolves everything to a string first
11:15:20[IDC]Dragonhaving both is another option
11:15:32LinusNi think we should have both, like i said
11:15:58[IDC]Dragonbut it takes more space, beauty against size
11:16:46LinusNwe could just reuse/redefine the voice id that we have today
11:17:05[IDC]Dragonfor menus, probably
11:17:14LinusNyes, is there another case?
11:17:53[IDC]Dragonthe options
11:18:03LinusNyes, the setting options is another case, but let's start with the menus
11:18:06[IDC]Dragonthey are more and larger
11:18:31LinusNthe settings are a lot more difficult
11:18:32[IDC]Dragonsometimes like all the numbers 0-32 in a row
11:19:41LinusNyes, there we could benefit from a mix of ID's and strings
11:20:36LinusNwe received a patch for this a long time ago, but we turned it down, just because it was "messy" from our perspective
11:21:57[IDC]Dragonsomething like a virtual base pointer for non-strings still sounds messy?
11:22:44LinusNeverything that forces us to cast the string pointer depending on the address is messy imho
11:23:11LinusNbut as i said, if it buys us a lot of RAM, i may be for it
11:23:18[IDC]Dragonwe need a MMU ;-)
11:24:54[IDC]Dragonsavings is the number of option values we have, times size (say, 2 bytes)
11:29:03LinusNso we redefine the "string" member in struct opt_items
11:30:26LinusNto a union
11:31:00LinusNunion v_ptr {char *str, int lang_id}
11:32:00LinusNif(v_ptr.lang_id > LARGEST_ID) use v_ptr.str
11:32:20[IDC]Dragonor have a macro which generates the "virtual pointer" from a string ID
11:32:51LinusNor both
11:33:33[IDC]DragonI just counted, we have 234 option values in total
11:33:39LinusNthe union may be the most portable option
11:34:40[IDC]DragonI'm not sure how unions can get populated with a const initializer list
11:34:57LinusNin fact, we might want more members in that union
11:35:13LinusNa plain integer
11:35:48LinusNfor the OFF, 1, 2, 3, 4, 5, 6, 7, 8, 9 case
11:36:18LinusNsaves us many strings
11:37:31[IDC]Dragonmaybe the compiler is smart enough to recycle identical const strings?
11:39:23[IDC]Dragonbut with the SH's load/store architecture, loading an address of something is costly itself, the pointer needs more space than the data
11:40:39midkreboot brb
11:40:41 Quit midk ("gone.")
11:43:02 Join midk [0] (
11:44:43LinusNlunch time
11:45:27midksee you linusN
11:45:33midki may finish the rockblox update tonight
11:47:45[IDC]Dragonfor the record: we have ~124 menu entries and 233 option values
12:07:53***Saving seen data "./dancer.seen"
12:08:13 Join lImbus [0] (
12:08:13 Quit Nibbler (Read error: 54 (Connection reset by peer))
12:09:51lImbuswhuts, midk ?
12:11:19midk<[IDC]Dragon> for the record: we have ~124 menu entries and 233 option values
13:07:46 Join midk_ [0] (
13:07:50 Quit midk_ (Read error: 104 (Connection reset by peer))
13:11:14 Quit lImbus (Remote closed the connection)
13:12:04 Join BMC [0] (
13:12:53 Join midk_ [0] (
13:12:57 Quit midk_ (Read error: 104 (Connection reset by peer))
13:13:37midkbmc: hi
13:14:34BMCwhat's up?
13:14:44midknothing really
13:14:47midkabout to go to bed.
13:14:54BMClol, where ya from?
13:15:01BMCcause here it's just 1 pm
13:15:18midk4:15am here.
13:15:22midkseattle, wa
13:15:32*midk 's eyes are bloodshot
13:15:39BMCok, that's good reason to go to bed!
13:15:46midkyeah... :p
13:16:09BMCcan I ask you a question?
13:16:15BMC((short one))
13:16:22BMCyou own a archos?
13:16:51BMCwhich one?
13:17:06midkrecorder 15
13:17:29BMCyou know, I'm from germany and gonna spend a year in the USA
13:17:44BMCbut over here we have 220V
13:17:48BMCUSA has 110V
13:18:08BMCso I was wondering if it's easy to buy an US power supply for the archos in the US
13:18:26midkah, yes it is
13:18:32BMCcause I don't wanna spend 100$ on a DC up/down changer
13:19:14midkread this, and the next one:
13:19:42midk9V DC, 600ma, center positive
13:19:58midkyou could get one for 5-10 bucks.. possibly less
13:20:44BMCone thing I can scratch from my to-do list! ;-)
13:21:06BMCthx man! and have a good night over there!
13:21:17midkjust a moment
13:21:29 Join Tunsnask [0] (
13:22:09Tunsnaskhow do i install a patch on my recorder?
13:22:30BMCwell, hi Tunsnask
13:22:30midkTunsnask, you have to apply it to source and compile it
13:23:18midkhmm bmc
13:23:26midkwell you can probably find one at a radioshack
13:23:32Tunsnaskwhat source?
13:23:38midkif not, a best buy or circuit city or such
13:23:45midkTunsnask, rockbox source
13:24:21BMC@midk: thx man, I know a radioshack store where I gonna be, so that's where I'll take a look for it
13:24:34midkthey have all sorts of stuff like that there..
13:24:40midkok, np, good luck then
13:24:54midkhave a nice trip
13:25:11BMCthx man! l8er!
13:25:16 Quit BMC ()
13:26:31midkhm, Tunsnask, it's nearly 4:30 in the morning and i am tired. i can really only advise you to this page about setting up a compiler,
13:26:49midkand this page for patches.
13:28:34midkbe right back
13:28:40 Quit midk ("Leaving")
13:29:07 Join pfavr [0] (
13:38:03Tunsnaskarhg... i dont understand anything of this shit
13:38:17LinusNthen applying patches is not for you
13:40:45 Join midk [0] (
13:44:52 Nick midk is now known as midk|sleep (
13:45:02midk|sleepnite all
13:45:09LinusNnite midk|sleep
13:48:22 Join Nibbler [0] (
14:07:56***Saving seen data "./dancer.seen"
14:22:35 Quit elinenbe (Read error: 104 (Connection reset by peer))
14:22:37 Join elinenbe_ [0] (
14:31:07 Quit Tunsnask (Read error: 60 (Operation timed out))
14:38:32 Join lImbus [0] (
15:02:58 Join WheatPuppet [0] (
15:02:59 Quit Nibbler (Read error: 104 (Connection reset by peer))
15:03:15WheatPuppetHi all.
15:04:27WheatPuppetI downloaded Rockbox onto my Jukebox last night, and that singular event turned my MP3 player into an indespensible device, instead of a digital music player for my car.
15:04:39LinusNglad to hear it
15:05:28WheatPuppetJust wanted to express my gratitude, because I've been frustrated with a lot of the quirks of the original ARCHOS firmware/software.
15:05:43LinusNtoo bad you didn't find rockbox until now :-)
15:06:42WheatPuppetIndeed. Although I installed it almost exactly a year after I got it. I got it for my birthday last year, and I install Rockbox on my jukebox now. Like a free birthday present from people I don't know.
15:06:55WheatPuppetIn any other situation, I might be creeped out.
15:07:21LinusNhappy birthday then :-)
15:07:27WheatPuppetThanks. :D
15:07:36LinusNplayer or recorder?
15:07:51WheatPuppetFM Recorder.
15:08:29WheatPuppetI've put the record function to good use, recording lectures of hard classes while I took notes.
15:08:45LinusNwhich version of rockbox do you use?
15:09:24WheatPuppetWhatever one I downloaded. :D
15:09:53WheatPuppet2.1, I think.
15:10:01LinusNmy guess is that you took it from the download page, and not from the daily build page
15:10:09LinusN2.2 then
15:10:17WheatPuppetDaily builds scare me.
15:10:33LinusNwe have very stable daily builds
15:11:39LinusNi guess we will have 2.3 out the door in september
15:12:04LinusNnot much development during the summer
15:12:29LinusNthe fm radio code has changed a bit since 2.2
15:12:33WheatPuppetI can understand that. What's Rockbox written with/in?
15:12:44LinusNC (and some assembler)
15:13:37WheatPuppetWow, I might have to look at the source at some point. ((adds to list of programming projects))
15:14:38LinusNdo so
15:16:05WheatPuppetHow many disasters have there been with people flashing the firmware. I'm tempted to do that (for the reduced boot time, primarily), but I don't want to cook my player.
15:16:27WheatPuppet... there would be a question mark at the end of that first sentance, if I were more literate.
15:17:30LinusNvery few
15:17:59LinusNand the few disasters i know of have been due to inability to follow instructions
15:18:18LinusNbut there's still a (small) risk
15:18:30WheatPuppetAhh, okay. I'll have to do that at some point soon.
15:18:48LinusNif you use the player in the car, you will want to flash it
15:19:22LinusNif you power it from the lighter output, that is
15:20:34WheatPuppetI don't. I have an old car, and the lighter power doesn't work.
15:23:10WheatPuppetAnyway, it's a great project, and at the very least, I'll keep updated with it. Thanks for answering my questions. I gotta take off.
15:24:20 Part WheatPuppet
15:31:11 Join AciD [0] (
15:35:17 Quit AciD (Read error: 104 (Connection reset by peer))
15:54:04 Join WheatPuppet [0] (
15:55:35 Part WheatPuppet
16:00:55 Quit pfavr (Remote closed the connection)
16:01:16 Part LinusN
16:02:57 Join pfavr [0] (
16:07:59***Saving seen data "./dancer.seen"
16:09:32lImbuspfavr: do you still run your own wiki or has it gone twiki ?
16:10:14pfavrlImbus, I didn't take it down - but believe there is only one true rockbox wiki.
16:10:22pfavr(twiki that is)
16:10:42pfavrhaven't looked at it for a while - been busy with other things
16:10:58lImbusme too, was just curious
16:13:12pfavrthere has been no changes on the old since june 16... but I don't know if there is still something there which could be useful - when I get the time to edit the twiki I think the gratiswiki should be deleted.
16:14:02lImbusI think some of the gui-ideas should be kept.
16:14:09lImbusat least mine ones ;-)
16:14:41pfavrBut some of the material has already been moved to twiki - so feel free to move _your_ideas_ also
16:15:50lImbusok, as soon as I got some spare time left. maybe on weekend
16:39:09 Join Nibbler [0] (
16:42:00 Join Tunsnask [0] (
16:42:41Tunsnaskchould someone tell me how to apply a patch on my recorder? please
16:44:25lImbusTunsnask: are you familiar with developing ?
16:45:09Tunsnasknot really
16:48:04 Quit [IDC]Dragon ("no fate but what we make (Session timeout)")
16:51:30lImbusok, try to install a development kit (called sdk).
16:51:35lImbusbest get it from here:
16:52:10lImbusif you got that ready, we should continue step for step
17:14:13 Join dstar5 [0] (
17:18:07 Join mecraw__ [0] (~lmarlow@
17:18:55 Join appelsinsvin [0] (
17:19:19appelsinsvinwho is using my nick???
17:19:36dstar5what is your nick?
17:20:14lImbuserr. somebody that was just asking for help about patching
17:20:22dstar5is it registered?
17:20:27appelsinsvinthat was me
17:20:42appelsinsvinno it is not
17:20:57appelsinsvinnevermind i just use this nick
17:21:09lImbusso you are using it. the one who talked to me has not yet signed off
17:22:00lImbusyou are obviously using your nick, you must be signed in twice
17:22:06lImbusTunsnask: test
17:22:29appelsinsvinI'm tunsnask who asked for help
17:22:35appelsinsvinnot long ago
17:22:56lImbusand this irc-user is still signed in
17:24:44dstar5[DNS] Looking up (Tunsnask)...
17:24:44dstar5[DNS] Canonical: Numerical:
17:24:44dstar5[DNS] Looking up (appelsinsvin)...
17:24:44DBUGEnqueued KICK dstar5
17:24:44dstar5[DNS] Canonical: Numerical:
17:26:32dstar5if you register your nick, you can kill your nick if someone uses it, or if you become dissconmected you can kill it instead of waiting
17:27:10dstar5do it by /msg nickserv register (password you want)
17:32:03 Quit Tunsnask (Read error: 110 (Connection timed out))
17:32:53dstar5now you can do /nick Tunsnask
17:32:59dstar5to be tunsnask :)
17:35:39 Join AciD [0] (
17:36:13 Nick appelsinsvin is now known as Tunsnask (
17:58:55elinenbe_did anyone read the wired article about apple?
17:58:57elinenbe_But PortalPlayer went exclusively with Apple. "When Apple came to the table, we dropped all our other customers," Knauss said. For the next eight months, the company's 200 employees in the United States and 80 engineers in India worked exclusively on the iPod, Knauss said.
17:59:24elinenbe_are you telling me there that 280 employees of portal player worked 8 months to do the ipod?
17:59:34Tunsnaskkinda strange
17:59:39 Nick elinenbe_ is now known as elinenbe (
18:01:43lImbusthey are polishing them by hand :-)
18:08:02***Saving seen data "./dancer.seen"
18:27:14 Quit Nibbler (Read error: 104 (Connection reset by peer))
18:36:49 Quit dstar5 ("Leaving")
18:55:24 Join zeekoe [0] (
19:07:06 Part lImbus
19:22:11 Quit mecraw__ (Read error: 104 (Connection reset by peer))
19:22:41 Join mecraw__ [0] (~lmarlow@
19:53:53 Join dstar5 [0] (
19:55:57 Quit AciD (Read error: 104 (Connection reset by peer))
20:02:25 Join NibbIer [0] (
20:06:16 Join wake [0] (
20:08:05***Saving seen data "./dancer.seen"
20:10:04 Quit wake (Client Quit)
20:11:33 Quit Tunsnask (Read error: 110 (Connection timed out))
20:13:24 Join AciD [0] (
20:17:49 Nick tomDead is now known as kaboofa (
20:19:13 Quit dstar5 ("Leaving")
20:21:41 Join scott666_ [0] (
20:47:48 Nick midk|sleep is now known as midk (
20:47:48 Quit NibbIer (Read error: 54 (Connection reset by peer))
21:17:08 Quit midk ("gone.")
21:23:57 Join midk [0] (
21:32:55 Quit midk ("gone.")
21:36:15 Join midk [0] (
21:37:08zeyou wanted to see
21:38:46midkhm, aerial view of a city or something?
21:39:09zei told you last night
21:39:33midki don't see anything in relation to the text that occurred.
21:40:07midkthe buildings?
21:40:44ze(00:35:08) free zero eagle: and even if so, i'm doing stuff
21:40:45ze(00:35:08) xmidkx: boo.
21:40:45ze(00:35:12) xmidkx: BOO
21:40:45ze(00:35:22) xmidkx: making tydy tshirtz?
21:40:45ze(00:35:59) free zero eagle: no i'm stitching a group of aerial photos of my kindergarten/1st-grade elementary school
21:40:48ze(00:36:03) free zero eagle: :p
21:40:50ze(00:36:12) xmidkx: show me when you finish
21:41:09midkasdf. of the school itself?
21:41:36zewhat did you think "aerial photos of my school" meant?
21:42:18midkoh, i didn't see that
21:42:24midkts all ugly and stuff
21:43:45midki found a picture of my house or something
21:43:54zei won an award in a costume contest at that school
21:43:58zei was a vampire bat
21:44:24zei had the furry body suit part of an ape costume, some bat wings my mom made, and like fangs and stuff i think
21:44:31zei won the "ugliest costume" award
21:46:17midktheir stupid text is covering my house
21:50:20 Quit zeekoe (Read error: 110 (Connection timed out))
21:51:28 Quit kaboofa ("fuck all of you. all of you on the 5 networks i'm on. except #rockbox.")
21:52:17midkwhat's wrong with this thing
21:52:25 Join Smooth [0] (
21:52:28 Quit Smooth (Client Quit)
21:52:53midki know where this is
22:03:24midki can't save the image
22:04:05 Join dstar5 [0] (
22:05:42 Join Tunsnask [0] (
22:06:25dstar5hi Tunsnask
22:07:07dstar5 midk!*@* added to ignore list.
22:07:15midkgood job
22:07:33TunsnaskI have nearly learned to patch my recoreder! hurray! :-)
22:07:38dstar5Tunsnask, what unit do you have?
22:08:02Tunsnaskerh... unit what kinda unit?
22:08:08***Saving seen data "./dancer.seen"
22:08:15Tunsnaskor what do you mean
22:08:41Tunsnaski got a Archos jukebox recorder 20
22:09:03dstar5neat i have a dead one of those :)
22:09:27Tunsnaskrest in peace
22:12:29Tunsnaskany who wants to help me?
22:12:45midki would, but i'm sure dstar5 wants to
22:12:54dstar5Tunsnask, what do you want?
22:13:17Tunsnaskpatch my recorder
22:22:17 Join NibbIer [0] (
22:23:19 Quit midk ("Leaving")
22:24:55 Join midk [0] (
22:25:05 Quit AciD (Read error: 60 (Operation timed out))
22:25:17 Quit midk (Client Quit)
22:25:18 Join midk [0] (
22:45:03 Join maikeul [0] (
22:53:35 Quit gromit` (Read error: 60 (Operation timed out))
23:13:34 Quit NibbIer (Read error: 104 (Connection reset by peer))
23:58:09dstar5good bye

Previous day | Next day