--- Log for 20.03.121 Server: beckett.freenode.net Channel: #rockbox --- Nick: logbot Version: Dancer V4.16 Started: 14 days and 7 hours ago 00.04.13 # <_bilgus_> dconrad interested in lua?? :) 00.06.02 # hah, I only know I've seen the word lua before, that's the extent of my knowledge 00.06.13 # some kind of webdev thing 00.07.40 # <_bilgus_> nah its a scripting language 00.08.19 # well shows how much I know XD 00.08.25 # <_bilgus_> they use it a lot for allowing users to change configurations in games 00.08.44 # <_bilgus_> but here its kinda been twisted to our will with our own extensions 00.10.09 # <_bilgus_> its not particularly a favorite of mine I just picked up the port because I see it as a way to let the users make their own stuff anyways looking for example scripts or even fully fledged 00.10.25 # <_bilgus_> I have a few in demos/lua_scripts 00.10.36 # <_bilgus_> the menu is created in lua aswell 00.10.59 # <_bilgus_> anyways its kinda fun and always looking to rope in help :P 00.11.29 # haha I see, well I'll take a peek and see if I can get the gist 00.12.27 # <_bilgus_> theres also some black voodoo stuff that allows it to scan the source files and create memory maps of rockbox internals 00.12.37 # <_bilgus_> but I wouldn't start with that 00.13.25 # <_bilgus_> the metadata dumper and the settings dumper uses that 00.13.44 # <_bilgus_> oh also Boomshine in games its lua 00.14.26 # <_bilgus_> and even a hex viewer 00.16.29 # <_bilgus_> print_lua_func will spit out a file that shows all the commands available 00.24.56 *** Saving seen data "./dancer.seen" 00.25.35 Quit dconrad (Quit: Connection closed) 00.45.00 Quit JanC (Remote host closed the connection) 00.45.23 Join JanC [0] (~janc@lugwv/member/JanC) 00.46.45 Quit ac_laptop (Ping timeout: 256 seconds) 01.39.22 Quit massiveH (Quit: Leaving) 02.24.57 *** Saving seen data "./dancer.seen" 03.05.56 Join bertrik [0] (~bertrik@rockbox/developer/bertrik) 04.15.04 Quit APLU (Ping timeout: 258 seconds) 04.21.17 Join APLU [0] (~mulx@eva.aplu.fr) 04.25.00 *** Saving seen data "./dancer.seen" 05.09.53 Join lebellium [0] (~lebellium@89-92-69-66.hfc.dyn.abo.bbox.fr) 05.37.55 Join TheLemonMan [0] (~lemonboy@irssi/staff/TheLemonMan) 05.37.57 Quit jdarnley (Ping timeout: 256 seconds) 05.46.02 Join J_Darnley [0] (~J_Darnley@d51a44418.access.telenet.be) 06.25.02 *** Saving seen data "./dancer.seen" 08.02.30 Quit Galois (Ping timeout: 256 seconds) 08.21.46 Join jdarnley [0] (~J_Darnley@d51a44418.access.telenet.be) 08.23.15 Quit J_Darnley (Ping timeout: 246 seconds) 08.25.03 *** Saving seen data "./dancer.seen" 09.41.41 Join ac_laptop [0] (~ac_laptop@186.2.247.129) 10.25.06 *** No seen item changed, no save performed. 11.13.06 Join calebccff [0] (~calebconn@connolly.tech) 11.13.06 # Oh damn I didn't realise how much rockbox uses lua 11.13.51 # it generally doesn't 11.14.05 # aside from some scripting examples i've not seen it used 11.14.15 # oh aha, nonethless it's cool that it's there as an option 11.14.23 # Rather than having to write bare metal C 11.14.28 Join cereal_eater [0] (d593a771@213-147-167-113.nat.highway.webapn.at) 11.23.47 Quit cereal_eater (Quit: Connection closed) 11.26.25 # <_bilgus_> lua hasn't fully been integrated into the core but its come a long way 11.28.36 # <_bilgus_> I really need a way to load pre-compiled modules which I saw a ram overlay method in the imageviewer plugin that might be a way forward 11.35.34 # _bilgus_: dlopen for rockbox? 11.35.36 # basically? 11.47.00 Quit Saijin-Naib (Read error: Connection reset by peer) 11.55.57 # <_bilgus_> exactly 12.06.23 Join Saijin_Naib [0] (~Saijin_Na@2603-7081-1d05-7230-7d9a-d34d-13ac-10be.res6.spectrum.com) 12.10.29 # <_bilgus_> another way is to put the bytecode compiler in a separate plugin and turn it into a loader I can run stuff compiled locally there just isn't any reason to currently 12.12.43 # <_bilgus_> so I think the way I might do it is do the compile figure out which modules are needed and have several plugins chosen at runtime that fit the needs of the script 12.13.32 # <_bilgus_> overlay it in the ram and use the rest as ram for the script 12.25.07 *** Saving seen data "./dancer.seen" 12.52.18 # _bilgus_: i've heard some people using duktape 12.52.30 # but that's JS and no idea how good its memory footprint is 12.55.36 Join J_Darnley [0] (~J_Darnley@d51A44418.access.telenet.be) 12.56.52 # but in this day and age 12.57.00 # JS might make more sense due to how common it is 12.57.13 # but i dunno, replace lua with a JS implementation? 12.57.16 # how does it compare? 12.57.18 Quit jdarnley (Ping timeout: 246 seconds) 13.04.05 # I think JS takes a LOT more overhead 13.11.50 # maybe so 13.11.58 # i just know interpreted languages are always going to be slower 13.14.59 # yeah definitely 13.16.30 # <_bilgus_> work could be put into porting lua-jit JS is not a good idea on embedded me thinks 13.17.15 # despite its flaws lua is usually the most resource efficient 13.17.37 # <_bilgus_> especially once you gut the floats 13.18.26 # <_bilgus_> it could also use some asm for the OP code switch and eek out a bit more 13.19.49 # <_bilgus_> but there are lots of mods to the port now I had moved to 5.3 originally but it had way worse memory needs 13.20.10 # <_bilgus_> no sorry 5.2 13.20.19 # There'd probably be a lot of benefit to getting newer GCC working to be fair, although that's a whole different kettle of fish :P 13.20.19 # is 5.3 better? 13.21.26 # <_bilgus_> I cherry picked from 5.2 to do some of the things I wanted and added some ideas from elua 13.22.22 # <_bilgus_> I added all the graphics stuff and more and still ended up with more memory free than the initial 5.2 implementation I ported 13.24.14 # <_bilgus_> the jump between lua ad C and back that context switch is the big bottleneck in lua 13.25.27 # <_bilgus_> (at least in rockbox land) 13.31.01 # makes me wonder if TCL would use too much ram 13.31.48 # but in any case it's probably going to remain a novelty 13.32.08 # it's not a good choice for serious code due to the limited resources of what we're writing code for 13.36.12 # <_bilgus_> 380 kb free after loading a simple memory check script on the clip zip 13.36.32 # <_bilgus_> it starts at ~ 550 kb 13.37.50 # <_bilgus_> but it also has the option to tke over the playback buffer 13.38.03 # <_bilgus_> then its sitting at 1.5 meg or so 13.38.54 # <_bilgus_> I added some of the lua emergency garbage collector and it will only take over the playback buffer once the plugin buffer is so fragged or so full it can't alloc 14.10.26 Join MrZeus [0] (~MrZeus@89.238.143.231) 14.25.08 *** Saving seen data "./dancer.seen" 14.41.24 Quit JanC (Read error: Connection reset by peer) 14.41.44 Join JanC [0] (~janc@lugwv/member/JanC) 14.48.48 Quit MrZeus (Ping timeout: 245 seconds) 15.05.39 Quit TheLemonMan (Quit: "It's now safe to turn off your computer.") 15.30.10 Join jdarnley [0] (~J_Darnley@d51A44418.access.telenet.be) 15.31.43 Quit J_Darnley (Ping timeout: 245 seconds) 16.25.10 *** Saving seen data "./dancer.seen" 16.48.41 Quit calebccff (Quit: Idle timeout reached: 10800s) 17.33.14 Quit ufdm (Read error: Connection reset by peer) 18.10.20 Join cereal_eater [0] (d593a771@213-147-167-113.nat.highway.webapn.at) 18.11.44 Quit jdarnley (Ping timeout: 240 seconds) 18.15.29 Join ufdm [0] (~ufdm@c-73-164-63-214.hsd1.mn.comcast.net) 18.16.13 Join J_Darnley [0] (~J_Darnley@d51A44418.access.telenet.be) 18.20.42 Quit cereal_eater (Ping timeout: 240 seconds) 18.25.12 *** Saving seen data "./dancer.seen" 19.05.29 Join MrZeus [0] (~MrZeus@89.238.143.231) 19.13.02 Quit lebellium (Quit: Leaving) 19.28.18 Join S|h|a|w|n [0] (~shawn156@unaffiliated/shawn156) 19.54.55 Join massiveH [0] (~massiveH@ool-18e4e82f.dyn.optonline.net) 19.58.04 Join ufdm_ [0] (~ufdm@c-73-164-63-214.hsd1.mn.comcast.net) 19.58.04 Quit ufdm (Read error: Connection reset by peer) 20.20.21 Join cockroach [0] (~blattodea@pdpc/supporter/active/cockroach) 20.25.16 *** Saving seen data "./dancer.seen" 20.56.08 Join advcomp2019 [0] (~advcomp20@unaffiliated/advcomp2019) 20.58.56 Quit advcomp2019__ (Ping timeout: 240 seconds) 21.05.53 Join Galois [0] (djao@efnet.math.uwaterloo.ca) 21.10.37 Quit Huntereb (Ping timeout: 265 seconds) 21.11.34 Join Huntereb [0] (~Huntereb@2603-9001-5a04-bbe7-021e-37ff-fe4e-f43a.inf6.spectrum.com) 21.18.08 Quit Huntereb (Ping timeout: 240 seconds) 21.21.05 Join Huntereb [0] (~Huntereb@2603:9001:5a04:bbe7::69) 21.33.33 Quit MrZeus (Ping timeout: 264 seconds) 21.52.57 Quit S|h|a|w|n (Read error: Connection reset by peer) 22.06.27 Quit Acou_Bass (Quit: ZNC 1.8.2 - https://znc.in) 22.09.07 Join Acou_Bass [0] (~Acou_Bass@cpc96070-bolt17-2-0-cust175.10-3.cable.virginm.net) 22.25.18 *** Saving seen data "./dancer.seen" 22.28.06 Quit cockroach (Quit: leaving) 22.35.42 Join charliebrown [0] (4433d5fb@c-68-51-213-251.hsd1.mi.comcast.net) 22.36.38 Nick charliebrown is now known as charlie_brown (4433d5fb@c-68-51-213-251.hsd1.mi.comcast.net) 22.36.51 Quit charlie_brown (Client Quit) 22.38.14 Join orangejuice365 [0] (4433d5fb@c-68-51-213-251.hsd1.mi.comcast.net) 23.20.06 Join f1reflyylmao [0] (~f1refly@dynamic-095-112-085-056.95.112.pool.telefonica.de) 23.22.03 Quit f1refly (Ping timeout: 246 seconds) 23.22.03 Nick f1reflyylmao is now known as f1refly (~f1refly@dynamic-095-112-085-056.95.112.pool.telefonica.de) 23.26.00 # I was wondering if someone can point me towards how to get graphics with transparency working? I notice 'Flipit' bitmaps use a pink background and I'm assuming that it shows transparent on grayscale screens? 23.26.00 # Also would SDL run on the iPod Mini? 23.32.02 Quit ufdm_ (Quit: Leaving)