IRC logs for #opendune on OFTC at 2010-10-11
⏴ go to previous day
11:27:13 *** glevans2 has joined #openDune
14:31:01 *** ChanServ sets mode: +v Yexo_
18:28:40 *** fjb is now known as Guest2419
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: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: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: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 <TrueBrain> they didn't 'sleep' back then :p
22:06:10 <glx> most DOS games are like that
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: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:47 <TrueBrain> I can just feel it :D :p
22:07:48 <glx> first version was a hell with recursive calls ;)
22:08:02 <TrueBrain> glx: well, first version had only 'gotos' and no functions
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:44 <TrueBrain> so a VM like something would be 'easier'
22:10:07 <TrueBrain> a NES emulator exists
22:10:33 <TrueBrain> as slow as you would expect it
22:11:31 <TrueBrain> meh, no fun someone already did NES and SNES ...
22:13:01 <TrueBrain> I expected more of modern browsers
22:18:55 <Xaroth|Work> explosion resistant
22:19:35 <glx> in multi explosions are not recommended ;)
22:21:46 <glx> ok obsidian mined, let's the lava return
continue to next day ⏵