IRC logs for #opendune on OFTC at 2010-10-11
            
02:55:41 *** glx has quit IRC
03:56:50 *** glevans2 has quit IRC
11:27:13 *** glevans2 has joined #openDune
12:00:24 *** glx has joined #openDune
12:00:24 *** ChanServ sets mode: +o glx
12:01:11 <glx> hello
14:27:32 <Xaroth|Work> o/
14:31:01 *** Yexo_ has joined #openDune
14:31:01 *** ChanServ sets mode: +v Yexo_
14:31:07 *** Yexo has quit IRC
14:31:20 *** Yexo_ is now known as Yexo
18:28:40 *** fjb is now known as Guest2419
18:28:41 *** fjb has joined #openDune
18:35:30 *** Guest2419 has quit IRC
22:02:40 <TrueBrain> glx: how impossible would it be to make my decompiler export to javascript, and write the layers for that?
22:03:05 <Xaroth|Work> gfx wise would be a pain
22:03:23 <TrueBrain> don't think so
22:03:29 <TrueBrain> in HTML5 we have a Canvas
22:03:33 <TrueBrain> should be 'fast enough'
22:03:50 <TrueBrain> one should think we should be able to emulate 20 MHz CPUs in javascript ..
22:03:56 <TrueBrain> maybe it is easier to write a DOSBox in javascript :p
22:04:26 <glx> well I guess it's possible, but I don't know your code that much ;)
22:04:40 <TrueBrain> well, code aside
22:04:45 <TrueBrain> more the technical point of view
22:04:46 <SmatZ> TrueBrain: emulator written in interpreted javascript will hardly be just ~100 times slower than original :)
22:04:53 <TrueBrain> can we port the DOS layer?
22:05:20 <TrueBrain> SmatZ: so that still leaves enough CPU left :D
22:05:23 <SmatZ> nevertheless the idea is interesting
22:05:25 <SmatZ> yeah :)
22:05:26 <glx> it will eat CPU anyway
22:05:37 <TrueBrain> I can't find anything on the web about it
22:05:47 <glx> opendune always use a full core for me
22:05:55 <TrueBrain> because it has an infinite loop :D
22:05:58 <SmatZ> :)
22:05:58 <TrueBrain> they didn't 'sleep' back then :p
22:06:10 <glx> most DOS games are like that
22:06:13 <TrueBrain> yup
22:06:20 <TrueBrain> I don't mind, nor care :p
22:06:29 <TrueBrain> I wonder what is easier .. a DOSBox like thingy that is done in javascript
22:06:36 <TrueBrain> or a decompiler which pushes out javascript-like code
22:06:50 <TrueBrain> the latter has tail-recusion issues I guess
22:06:54 <TrueBrain> the javascript stack will run dry
22:06:56 <glx> decompiler to javascript I'd say
22:07:10 <SmatZ> this place is going insane!
22:07:13 * SmatZ is scared ;)
22:07:15 <TrueBrain> or we have to go back to one of our first versions, where we pushed out data with 'goto'
22:07:21 <TrueBrain> SmatZ: no, you are loving the idea :)
22:07:30 <TrueBrain> and you want tos tart working on it
22:07:36 <SmatZ> ok :)
22:07:47 <TrueBrain> I can just feel it :D :p
22:07:48 <glx> first version was a hell with recursive calls ;)
22:07:50 <SmatZ> :D
22:08:02 <TrueBrain> glx: well, first version had only 'gotos' and no functions
22:08:09 <TrueBrain> had no stack issue
22:08:15 <glx> I didn't test this one
22:08:28 <TrueBrain> possible I never released that ... can't remember :p
22:08:34 <TrueBrain> as that was impossible to translate to real C
22:09:00 <glx> it was possible but all in 1 file ;)
22:09:27 <TrueBrain> ghehe
22:09:44 <TrueBrain> so a VM like something would be 'easier'
22:10:07 <TrueBrain> a NES emulator exists
22:10:08 <TrueBrain> haha
22:10:20 <glx> in javascript ?
22:10:30 <TrueBrain> http://benfirshman.com/projects/jsnes/
22:10:33 <TrueBrain> as slow as you would expect it
22:10:34 <glx> crazy
22:11:19 <TrueBrain> yes, it is
22:11:31 <TrueBrain> meh, no fun someone already did NES and SNES ...
22:11:37 <glx> less than 2FPS
22:12:33 <glx> too slow
22:12:54 <TrueBrain> yup
22:12:56 <TrueBrain> DOS will be same
22:12:58 <TrueBrain> bah
22:13:01 <TrueBrain> I expected more of modern browsers
22:13:10 <glx> DOS will be worse ;)
22:17:23 * glx likes diamond pickaxe :)
22:17:45 <TrueBrain> we all do :D
22:18:40 <glx> but obsidian is useless
22:18:51 <Xaroth|Work> makes nice walls
22:18:55 <Xaroth|Work> explosion resistant
22:19:24 <TrueBrain> bombshelter :D
22:19:35 <glx> in multi explosions are not recommended ;)
22:21:00 <TrueBrain> still fun :D
22:21:46 <glx> ok obsidian mined, let's the lava return