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 2012-12-21

00:01:36 Join japc [0] (
00:02:49 Part LinusN
00:09:57 Quit lorenzo92 (Quit: ChatZilla 0.9.89 [Firefox 17.0.1/20121129165506])
00:11:11***Saving seen data "./dancer.seen"
00:23:14 Quit japc (Quit: Ex-Chat)
00:24:41 Join japc [0] (
00:29:14 Quit ender` (Quit: Don't worry about the world coming to an end today. It's already tomorrow in Australia.)
00:38:11 Quit pamaury (Read error: Operation timed out)
00:40:17 Quit zaphee (Read error: Connection reset by peer)
00:50:06 Quit bertrik (Ping timeout: 246 seconds)
01:14:43 Quit scorche (Disconnected by services)
01:14:47 Join scorche` [0] (~scorche@rockbox/administrator/scorche)
01:22:40 Join advcomp2019 [0] (~advcomp20@unaffiliated/advcomp2019)
01:30:10 Join webguest74 [0] (
01:31:03webguest74I am having trouble finding a theme for my Sansa clip plus that has the sleep timer
01:32:19webguest74how do I know if the theme has the sleep timer without downloading and installing it first?
01:33:51 Quit webguest74 (Client Quit)
01:34:12 Join webguest54 [0] (
01:36:39webguest54is there anyone online here?
01:37:28webguest54I am trying to find which theme for the Sansa clip plus has the sleep timer and is easy to read as well
01:38:17 Quit webguest54 (Client Quit)
01:48:05 Quit nosa-j (Ping timeout: 260 seconds)
01:50:02 Join nosa-j [0] (~m00k@
02:01:43 Join Robin0800 [0] (
02:05:40 Quit nosa-j (Ping timeout: 265 seconds)
02:08:20 Quit dfkt (Quit: -= SysReset 2.55=- Sic gorgiamus allos subjectatos nunc.)
02:11:15***Saving seen data "./dancer.seen"
02:17:02 Join nosa-j [0] (~m00k@
02:18:13 Quit Robin0800 (Remote host closed the connection)
02:24:36 Quit XavierGr (Ping timeout: 246 seconds)
02:25:51 Quit [Saint] (Remote host closed the connection)
02:28:00 Join [Saint] [0] (~saint@rockbox/user/saint)
02:42:36 Quit MortifiedPenguin (Excess Flood)
02:49:20 Join ParkerR [0] (ParkerR@unaffiliated/parkerr)
02:51:38 Quit lebellium (Ping timeout: 256 seconds)
03:04:29 Join XavierGr [0] (XavierGr@rockbox/staff/XavierGr)
03:09:06 Nick ParkerR is now known as MortifiedPenguin (ParkerR@unaffiliated/parkerr)
03:15:40 Quit thegeek (Read error: Connection reset by peer)
03:18:01 Quit XavierGr ()
03:41:48 Quit [Saint] (Remote host closed the connection)
03:43:52 Join [Saint] [0] (~saint@rockbox/user/saint)
04:08:34 Join TheSphinX^ [0] (
04:11:18***Saving seen data "./dancer.seen"
04:12:19 Quit TheSphinX_ (Ping timeout: 265 seconds)
04:15:45 Join saratoga [0] (47e22765@gateway/web/freenode/ip.
04:16:05 Quit solarcloud_3scrn (Read error: Connection reset by peer)
04:27:55 Nick MortifiedPenguin is now known as ParkerR_ (ParkerR@unaffiliated/parkerr)
04:28:16 Quit solarcloud (Ping timeout: 265 seconds)
04:30:32 Nick ParkerR_ is now known as Iwonderhowlongof (ParkerR@unaffiliated/parkerr)
04:30:44 Nick Iwonderhowlongof is now known as ParkerR_ (ParkerR@unaffiliated/parkerr)
04:50:37 Join TheSphinX_ [0] (
04:53:02 Quit pixelma (Disconnected by services)
04:53:03 Join pixelma_ [0] (pixelma@rockbox/staff/pixelma)
04:53:05 Nick pixelma_ is now known as pixelma (pixelma@rockbox/staff/pixelma)
04:53:07 Join TheSphin- [0] (
04:53:14 Join amiconn_ [0] (quassel@rockbox/developer/amiconn)
04:53:14 Quit amiconn (Disconnected by services)
04:53:19 Nick amiconn_ is now known as amiconn (quassel@rockbox/developer/amiconn)
04:53:21 Quit TheSphinX^ (Ping timeout: 245 seconds)
04:53:47 Quit TheSphinX_ (Read error: Operation timed out)
04:54:37 Join TheSphinX^ [0] (
04:58:02 Quit TheSphin- (Ping timeout: 245 seconds)
05:13:30 Quit [7] (Disconnected by services)
05:13:39 Join TheSeven [0] (~quassel@rockbox/developer/TheSeven)
05:17:44 Quit [Saint] (Remote host closed the connection)
05:18:50 Quit TheJacquerie (Read error: Operation timed out)
05:20:42 Quit knittl (Ping timeout: 244 seconds)
05:20:47 Quit Staphylo (Ping timeout: 255 seconds)
05:20:58 Quit nomada (Ping timeout: 250 seconds)
05:21:27 Quit simabeis_ (Ping timeout: 265 seconds)
05:23:09 Join Rower85 [0] (
05:23:10 Quit uwe_mobile (Ping timeout: 244 seconds)
05:25:24 Join amithkk_ [0] (uid4289@gateway/web/
05:26:57 Join Staphylo [0] (
05:28:15 Join knittl [0] (~knittl@unaffiliated/knittl)
05:29:26 Join nomada [0] (
05:30:39 Join uwe_mobile [0] (
05:32:09 Join TheSphinX_ [0] (
05:34:07 Join simabeis [0] (
05:34:28 Quit TheSphinX^ (Ping timeout: 248 seconds)
05:34:42 Join TheJacquerie [0] (
05:43:18 Quit jhMikeS (Read error: Connection reset by peer)
05:44:33 Quit japc (Ping timeout: 255 seconds)
05:57:23 Quit nateloaf (Quit: Leaving.)
06:10:35 Join akaWolf [0] (~akaWolf@unaffiliated/akawolf)
06:11:22***Saving seen data "./dancer.seen"
06:54:20 Join [Saint] [0] (~saint@rockbox/user/saint)
07:07:52 Join sakax [0] (
07:23:34 Quit nosa-j (Read error: Operation timed out)
07:28:35 Join nosa-j [0] (~m00k@
07:39:26 Quit nosa-j (Quit: k)
07:39:38 Join nosa-j [0] (~m00k@
07:45:48 Quit nosa-j (Ping timeout: 264 seconds)
07:47:08 Join nosa-j [0] (~m00k@
07:56:37 Join einhirn [0] (
08:11:24***Saving seen data "./dancer.seen"
08:25:59 Join ender` [0] (
08:28:11 Join stoffel [0] (
08:51:20 Join esperegu [0] (
08:54:58 Quit pystar89 (Ping timeout: 255 seconds)
08:55:36espereguhi. any specific package I need to run RockboxUtility on Kubuntu lately? I just downloaded the latest RockBoxUtility and it shows without any text at all.
08:57:06 Join bertrik [0] (~quassel@rockbox/developer/bertrik)
08:57:39 Join einhirn_ [0] (
08:58:05esperegu1.3.0 seems to start fine though
08:59:46 Quit einhirn (Ping timeout: 260 seconds)
09:02:05 Join Zagor [0] (
09:02:05 Quit Zagor (Changing host)
09:02:05 Join Zagor [242] (~bjst@rockbox/developer/Zagor)
09:10:37 Join melmothX [0] (~melmoth@unaffiliated/melmothx)
09:12:12 Quit SuperBrainAK (Quit: pbly going to sleep /_\)
09:13:23 Quit stoffel (Remote host closed the connection)
09:20:38 Join petur [0] (~petur@rockbox/developer/petur)
09:24:12 Quit bertrik (Ping timeout: 264 seconds)
09:25:20 Quit saratoga (Quit: Page closed)
09:28:45nosa-jhey i have a sansa fuze v2 and i was working with trying to get a plain black splash screen during bootup. anyway, i got my image to show up at the begening but it still shows the original rockbox logo. any way you guys could help?
09:29:11nosa-jit shows the original logo after it shows the one i made
09:29:57nosa-jmy guess is the image is somehow also loaded/shown from the disk instead of flash
09:30:19 Join LinusN [0] (
09:44:06 Quit Belzebub (*.net *.split)
09:44:06 Quit new299 (*.net *.split)
09:44:06 Quit user890104 (*.net *.split)
09:46:15 Join Belzebub [0] (~torrentow@
09:46:15 Join new299 [0] (
09:46:15 Join user890104 [0] (
09:47:36 Quit TheSphinX_ (Ping timeout: 264 seconds)
09:52:58 Join TheSphinX^ [0] (
09:53:06 Join pamaury [0] (~quassel@2a01:e35:243f:8460:221:6aff:feaa:cdaa)
09:53:06 Quit pamaury (Changing host)
09:53:06 Join pamaury [0] (~quassel@rockbox/developer/pamaury)
09:57:35 Join lebellium [0] (
10:04:25 Join bebna [0] (~a.fasold@
10:11:28***Saving seen data "./dancer.seen"
10:13:58 Quit kevku (Quit: KVIrc 4.3.1 Aria
10:20:04 Quit mc2739 (Read error: Connection reset by peer)
10:20:12 Quit TheSphinX^ (Ping timeout: 252 seconds)
10:20:24 Join mc2739 [0] (~mc2739@rockbox/developer/mc2739)
10:20:55 Join TheSphinX^ [0] (
10:22:55 Join TheSphinX_ [0] (
10:25:59 Quit TheSphinX^ (Ping timeout: 260 seconds)
10:31:37 Join XavierGr [0] (XavierGr@rockbox/staff/XavierGr)
10:34:29 Join TheSphinX^ [0] (
10:34:34 Join thegeek [0] (
10:34:49 Quit TheSphinX_ (Ping timeout: 244 seconds)
10:36:41 Join wodz [0] (
10:45:56 Join TheSphinX_ [0] (
10:46:07 Quit TheSphinX^ (Read error: Operation timed out)
10:50:51 Quit wodz (Quit: Leaving)
10:52:37 Quit amithkk (Write error: Broken pipe)
10:54:51 Quit amithkk_ (Remote host closed the connection)
11:01:38 Join kevku [0] (x@2a01:d0:ffff:34a::2)
11:07:12 Quit Provel__ (Read error: Connection reset by peer)
11:10:57 Join Provel [0] (
11:11:10gevaertsnosa-j: my guess is you only changed the bootloader splash, not the main firmware splash
11:11:14 Join japc [0] (
11:12:51 Quit japc (Client Quit)
11:18:54 Join amithkk_ [0] (uid4289@gateway/web/
11:30:36 Quit bluebrother (Disconnected by services)
11:30:40 Join bluebrother^ [0] (~dom@rockbox/developer/bluebrother)
11:34:17 Quit fs-bluebot (Ping timeout: 264 seconds)
11:34:22 Quit esperegu (Remote host closed the connection)
11:35:42 Join fs-bluebot [0] (
11:41:04 Quit einhirn_ (Read error: Connection reset by peer)
12:11:31***Saving seen data "./dancer.seen"
12:24:00 Quit Belzebub (Changing host)
12:24:00 Join Belzebub [0] (~torrentow@unaffiliated/blown-engine)
12:40:33 Join Topy44 [0] (
12:42:22 Quit pamaury (Ping timeout: 246 seconds)
12:43:52 Quit Topy44|2 (Ping timeout: 265 seconds)
12:44:42 Join pamaury [0] (~quassel@rockbox/developer/pamaury)
13:26:14 Quit petur (Quit: *plop*)
13:35:13 Join jhMikeS [0] (~jethead71@
13:35:13 Quit jhMikeS (Changing host)
13:35:13 Join jhMikeS [0] (~jethead71@rockbox/developer/jhMikeS)
13:41:56 Quit TheJacquerie (Ping timeout: 248 seconds)
13:53:28 Join pystar89 [0] (
13:55:54 Join TheJacquerie [0] (
14:11:32***Saving seen data "./dancer.seen"
14:18:35 Quit akaWolf (Quit: my exit)
14:21:23 Join akaWolf [0] (~akaWolf@unaffiliated/akawolf)
14:36:19 Join dfkt [0] (dfkt@unaffiliated/dfkt)
14:44:33 Join solarcloud_3scrn [0] (~solarclou@
14:46:01 Join amayer_ [0] (
14:59:15 Quit kevku (Quit: KVIrc 4.3.1 Aria
15:34:53melmothXcpu- and battery-wise, is it better mp3 @320 or high quality ogg?
15:35:44 Join wodz [0] (
15:37:00wodzTorne: ping
15:38:26ZagormelmothX: see usually mp3 is faster.
15:38:43melmothXZagor: oh, thanks, i missed that page
15:39:46wodzZagor: Is it? I recall n1s last optimizations to tremor made it superior to mp3 except the PP where mp3 is dualcore
15:40:37Zagorwodz: if so, the wiki page hasn't been updated
15:41:12Zagormp3@320 nearly always beats vorbis@350 in those lists
15:41:35 Join japc [0] (~japc@
15:42:45wodzmaybe my mem is rusty
15:42:56 Join eckoit [0] (~ryan@
15:49:59Zagorwodz: or the wiki page is :-)
15:51:06 Join sentriz [0] (~Senan@
15:54:42 Quit Zagor (Quit: Clint excited)
15:54:46 Join pretty_function [0] (~sigBART@
15:56:31 Quit brkfstsqd (Ping timeout: 252 seconds)
15:57:31 Quit the-kyle (Ping timeout: 255 seconds)
16:02:58 Quit japc (Quit: Ex-Chat)
16:03:18 Join japc [0] (~japc@
16:11:36***Saving seen data "./dancer.seen"
16:14:04vedosi have iPod Classic 160GB i have emcore boot in it and rockbox... i've noticed it has had some hit's and the harddisk isn't working perectly / jams etc...
16:14:25vedosi'm getting stuff from there to my external drive.
16:14:49 Join the-kyle [0] (~kyle@
16:15:14vedosnow that it's clean from all files i was wondering about formatting it and installing all the stuff again. it there any way that'd it'd do thorough platterscan for bad sectors and marked it.
16:15:23vedosor some woodoo to get it work better?
16:18:30 Join prof_wolfff [0] (
16:18:32 Quit pretty_function (Remote host closed the connection)
16:23:03gevaertsvedos: did you update rockbox after installing?
16:23:26gevaertsThe rockbox version packaged in emcore is about a year old, and known to have issues
16:24:01vedosyes i updated
16:24:15vedosbut how i should format the HD properly? to mark bad sectors etc?
16:27:42 Join kevku [0] (x@2001:470:dcc6:0:69:69:69:69)
16:38:11vedosgevaerts: any ideas?
16:38:19gevaertsSorry, no
16:42:19vedoshow expensive it is to get new HD to Apple Classic 160GB and fix the scroll wheel?
16:43:06vedosother POWERFUL players which can be used with Rockbox recommendations are welcome too!
16:47:38 Quit TheSphinX_ (Ping timeout: 276 seconds)
16:48:17 Join TheSphinX^ [0] (
17:16:48 Part eckoit
17:19:13amayer_vedos: im not speaking from personal experience here. but one of my co-workers said if you take your ipod in and tell them the battery only lasts an hour or that some other normal wear/tear happened you can get a replacement for $60(american)
17:43:21 Join pretty_function [0] (~sigBART@
17:43:55 Quit wodz (Ping timeout: 260 seconds)
17:59:21 Quit japc (Quit: Ex-Chat)
18:11:38***Saving seen data "./dancer.seen"
18:12:07 Join y4n [0] (~y4n@unaffiliated/y4ndexx)
18:33:20 Quit pretty_function (Remote host closed the connection)
18:45:19 Quit bebna (Quit: Leaving.)
18:46:51 Quit shamus (Read error: Connection reset by peer)
18:47:48 Join shamus [0] (
18:49:34 Join bertrik [0] (~quassel@rockbox/developer/bertrik)
18:50:05 Quit shamus (Read error: Connection reset by peer)
18:51:13 Join shamus [0] (
18:56:20 Quit sentriz (Ping timeout: 252 seconds)
19:03:54 Join scorche [0] (~scorche@rockbox/administrator/scorche)
19:04:17 Quit shamus (Ping timeout: 250 seconds)
19:06:10 Quit scorche` (Ping timeout: 265 seconds)
19:16:05 Join saratoga [0] (47e22765@gateway/web/freenode/ip.
19:16:59saratogazagor: ogg is less complex to decode on arm then mp3
19:17:31saratogabut on multicore targets mp3 can use two cores so its faster
19:20:09saratogahmm actually with the last mp3 optimization s maybe this isnt the case
19:21:09saratogawell how about this: vorbis should be faster since its less complex but ive mostly worked on mp3 so maybe its faster on newer arm
19:22:45saratogayeah looking at the scores on faster arm vorbis depends a lot on memory performance since we over optimized its mdct for early arm chips
19:23:03 Join SuperBrainAK [0] (
19:24:59saratogaok yeah looking at my notes when the cpu clock to mem clock ratio is low mp3 is way slower then vorbis but this reverses with slower memory due to our mdct having awful cache performance
19:25:19 Join shamus [0] (
19:25:34 Quit TheSphinX^ (Ping timeout: 246 seconds)
19:25:41saratogainterestingly on android phones with big caches this flips and vorbis is again much faster
19:26:01saratogashould probably fix that someday
19:29:08 Quit amayer_ (Ping timeout: 248 seconds)
19:31:07 Join TheSphinX^ [0] (
19:32:06 Join sentriz [0] (~Senan@
19:33:29 Join lebellium_ [0] (
19:36:36 Quit lebellium (Ping timeout: 248 seconds)
19:36:39 Nick lebellium_ is now known as lebellium (
19:37:46 Join wodz [0] (
19:48:49bluebrother^saratoga: the stable / unstable state only affects the state displayed in Rockbox Utility. It doesn't have any negative effect on a release being shown −− if a release is announced by the download server it will get a release entry
19:49:05bluebrother^in other words: it is ok, there is no problem.
19:51:08 Join stoffel [0] (
19:52:48 Quit sentriz (Ping timeout: 252 seconds)
19:54:44 Quit wodz (Read error: Operation timed out)
20:01:18 Join zaphee [0] (~user@2a01:e35:2e82:4050:21bc:3863:2d8f:3383)
20:06:11 Part LinusN
20:11:42***Saving seen data "./dancer.seen"
20:17:16 Join TheSphinX_ [0] (
20:19:12 Join TheSphin- [0] (
20:19:55 Quit TheSphinX^ (Ping timeout: 265 seconds)
20:22:06 Quit TheSphinX_ (Ping timeout: 245 seconds)
20:25:09 Join wodz [0] (
20:25:41 Quit TheSphin- (Read error: Operation timed out)
20:25:43 Join TheSphinX_ [0] (
20:28:05 Join nateloaf [0] (
20:57:33 Join Horscht [0] (
20:57:33 Quit Horscht (Changing host)
20:57:33 Join Horscht [0] (~Horscht@xbmc/user/horscht)
21:02:10 Join lorenzo92 [0] (
21:02:47lorenzo92pamaury: ping
21:11:05 Quit akaWolf (Read error: Connection reset by peer)
21:11:22 Join akaWolf [0] (~akaWolf@unaffiliated/akawolf)
21:17:12 Quit stoffel (Remote host closed the connection)
21:18:58 Quit akaWolf (Ping timeout: 260 seconds)
21:19:55 Quit shamus (Ping timeout: 250 seconds)
21:21:21 Join eckoit [0] (~ryan@
21:26:44 Quit nateloaf (Quit: Leaving.)
21:35:19 Join nateloaf [0] (
21:37:12 Quit wodz (Quit: Leaving)
21:39:18lorenzo92pamaury: I'm stuck on ADC reading, I don't know why but I don't get the irq finished condition :(
21:54:42pamaurylorenzo92: different irq number ? different registgers ?
21:54:45pamaurylet me see
21:54:57lorenzo92nono I reviewed that, I give the coe
21:56:34lorenzo92the irq bit should become 1 when done, right? from the datasheet seems so, but not sure from the text ^^
22:01:53pamaurylorenzo92: num samples should be ignored if acculmulate is false but even then it should be 0 for a single conversion
22:02:55lorenzo92pamaury: oh yeah! thanks :)
22:02:58lorenzo92it works :)
22:05:26lorenzo92pamaury: now I try to write down a simple button driver ;)
22:11:43***Saving seen data "./dancer.seen"
22:16:09lorenzo92pamaury: what's the meaning of divide_by_2?
22:16:51lorenzo92and yes I detected the volume up correctly!
22:25:38 Join Strife89-N810 [0] (~user@
22:27:09pamaurylorenzo92: divide (analog) the input by two to not saturate this adc
22:27:23lorenzo92okay I immagined that, thanks hehe
22:27:43lorenzo92now I'm figuring out the adc value for all the buttons
22:34:26 Quit Strife89-N810 (Quit: Heading out.)
22:41:32 Quit melmothX (Quit: goodnight)
22:46:23 Quit [Saint] (Ping timeout: 264 seconds)
22:49:06 Join wodz [0] (
22:50:41wodzpamaury: Could you take a look at - Do I assume correctly that it takes branch if the value read from mem was 0xffff?
22:51:40 Quit Rower85 (Quit: Hmmm...)
22:53:53lorenzo92pamaury: done! I still miss the power button (this time should be gpio) and select button (??!! triggers recovery mode, so also here should be a gpio, need to see service manual)
22:54:08 Quit the-kyle (Ping timeout: 256 seconds)
22:57:47 Quit y4n (Quit: Today is the perfect day for a perfect day.)
23:04:24pamaurywodz: yes
23:04:38pamaurylorenzo92: see power pswitch
23:04:57lorenzo92yes, but for the select button I'm still unsure
23:05:28wodzpamaury: do you have any idea why it is not simply compared with 0xffff in single cmp?
23:06:50pamaurywodz: is it possible to build 0xff in a single subs command ?
23:06:51 Join shamus [0] (
23:08:28pamauryTorne: ping
23:09:07 Quit SuperBrainAK (Quit: pbly going to sleep /_\)
23:09:12wodzthis compare is used in various places in ftl code so I wanted to be sure
23:09:25 Join the-kyle [0] (
23:11:43pamaurywodz: try to assemble subs r12, r1, 0xffff to see :)
23:18:08 Quit wodz (Quit: Leaving)
23:23:11 Quit shamus (Read error: Connection reset by peer)
23:23:36 Join shamus [0] (
23:31:44lorenzo92pamaury: okay I can detect center button (does also recovery) -> DIGICTL_STATUS bit 2 = 1; bit 3 = 1. But I cannot figure out power button!
23:31:50lorenzo92it is on the same pswitch
23:32:07lorenzo92perhaps it is needed to be done via irq?
23:34:49pamaurylorenzo92: usually pswitch can have several values, one can be used for power and one for select
23:34:53Tornepamaury: no, literals in ARM can only be 8 bit values rght rotated by an even number of bits
23:34:56pamaury(on stmp3780)
23:35:02Torneor the negation of such a value
23:35:10Torneso 0xff00 is fine but 0xffff is impossible
23:35:19pamaurythat's what i thought
23:35:41lorenzo92pamaury: exactly, but I don't know why on center i get both bits set (2,3) and on play/power nothing ...
23:36:14pamauryso it's not a gpio, no lradc, not pswitch ?
23:36:48TorneHm, wait
23:36:58Torneit's doing ldrh and then trying to see if it was 0xffff?
23:37:16Torneit should be okay to compare to 0xffffffff
23:37:20Tornebecause ldrh sign extends
23:37:35Torneand 0xffffffff is a valid shifter operand
23:38:47lorenzo92pamaury: seems so BUT the schematic tells me that is a PSWITCH :/
23:39:13Tornesomeone should tell wodz :)
23:39:18 Quit the-kyle (Ping timeout: 246 seconds)
23:40:03 Join the-kyle [0] (~kyle@
23:41:14lorenzo92pamaury: do you have the Z5 schematics with you? Otherwise I can send you a cut of the interesting part
23:41:35lorenzo92pamaury: OMG just realized why :D
23:41:39Torneoh. i guess he was reversing something, in which case it doesn't matter that a better way exists, i suspect the compiler just missed it
23:42:04lorenzo92pamaury: I have no battery attached currently, the schematic suggest me I need VDD_BATT :D
23:42:20pamauryTorne: ldrh sign-extend ?
23:42:36pamaurylorenzo92: indeed, since pswitch is voltage based
23:43:03pamauryTorne: so this code is wrong ?!
23:43:48Tornesorry, no, i mean, you can use ldrsh
23:43:49Tornewhich does
23:44:31pamauryah :) i'm feeling better, it's just that the compiler is not smart enough
23:45:40lorenzo92pamaury: possible that usb did not work due to battery missing? hope not ^^
23:46:07pamaurylorenzo92: no, the chip can work out of usb only
23:46:31lorenzo92pamaury: okay fiuu hihi, and of course now also play button is working -> keypad done :D
23:47:04Tornepamaury: well, if the value is also *used* then i guess it's not an optimisation if the value is supposed to be unsigned
23:47:19Torneas you will start treating 0xfffe as -2 instead of 65534
23:47:32Torneso it depends what *else* you do with the loaded value :)
23:48:12pamaurytrue, we need more context !
23:48:35pamaurybut wodz says this code is duplicated many times, isn't a load faster ?
23:48:59pamaury(load from constant pool)
23:49:09Torneprobably not, no
23:49:19Tornedepends on your memory characteristics and cahce
23:49:31Torneyou lose a register either way
23:50:01Torneso it's the difference between an additional almost-certainly-cached sequential icache hit (at the cost of slightly increased code size/icache pressure) and a nonsequential dcache access that may miss
23:51:13Tornei have a GNU as macro somewhere that, given an arbitrary 32-bit constant, works out the optimal way to encode it in Thumb code given the exact memory characteristics of the GBA rom :)
23:52:03Torneno cache on that platform so there is a fixed answer.
23:56:51lorenzo92okay I completed Z5's keypad hehe ...
23:58:53 Quit Elfish (Remote host closed the connection)

Previous day | Next day