IRC logs for #opendune on OFTC at 2011-04-07
⏴ go to previous day
06:02:35 *** TinoDidriksen has joined #openDune
06:45:47 *** TinoDidriksen has joined #openDune
17:34:20 *** Alberth has joined #openDune
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:32 <glx> but only if it's possible
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: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:49 <glx> you can see how we do it :)
continue to next day ⏵