IRC logs for #opendune on OFTC at 2011-04-07
            
02:04:58 *** Yexo- has joined #openDune
02:05:21 *** Yexo has quit IRC
02:53:02 *** glx has quit IRC
05:45:40 *** TinoDidriksen has quit IRC
06:02:35 *** TinoDidriksen has joined #openDune
06:41:57 *** TinoDidriksen has quit IRC
06:45:47 *** TinoDidriksen has joined #openDune
12:53:22 *** glx has joined #openDune
12:53:22 *** ChanServ sets mode: +o glx
12:53:41 <glx> hello
13:39:16 *** Yexo- is now known as Yexo
17:34:20 *** Alberth has joined #openDune
19:12:07 <Alberth> oi
19:14:41 <Alberth> I have a local array uint8 loc312[0x300]; code does emu_push(emu_ss); emu_push(emu_bp - 0x312); <-- start address of the 'old' array
19:15:06 <Alberth> is there a recommended way of translation those pushes ?
19:21:17 <glx> uint8*
19:21:32 <glx> but only if it's possible
19:22:47 <glx> where is this ?
19:23:58 <Alberth> cs__259E.c at the last function
19:24:17 <Alberth> but it calls f__259E_0040_0015_5E4A() so I guess not at this time
19:25:01 <Alberth> emu_Tools_Memcopy(); <-- and that one too :)
19:25:19 <glx> that one is easy :)
19:25:29 <glx> memcpy() ;)
19:25:40 <glx> but indeed the other is blocking
19:25:56 <Alberth> f__259E_0040_0015_5E4A() is also small, but it calls another function :(
19:26:45 <glx> you can keep the stack and use uint8 *loc312 = &emu_get_memory(emu_ss, emu_bp, -0x312); for the rest
19:27:31 <glx> that way the converted code will work and the old code too
19:28:24 <Alberth> that seems like a good solution
19:28:30 <glx> check r1442
19:28:49 <glx> you can see how we do it :)
20:39:41 *** Alberth has left #openDune