IRC logs for #opendune on OFTC at 2011-04-30
⏴ go to previous day
01:13:53 *** ChanServ sets mode: +v Yexo
01:14:53 *** planetmaker has joined #openDune
01:14:53 *** ChanServ sets mode: +v planetmaker
02:26:20 *** TinoDid|znc has joined #openDune
02:30:10 *** TinoDid|znc is now known as TinoDidriksen
09:47:02 *** Alberth has joined #openDune
13:13:30 <glx> if (emu_bx == 0) { /* Unresolved jump */ emu_ip = 0x073D; emu_last_cs = 0x2756; emu_last_ip = 0x0717; emu_last_length = 0x0042; emu_last_crc = 0xE7A6; emu_call(); return; }
13:16:23 <SmatZ> why wrong? the result returned by that function in dx:ax is divided by bx?
13:16:33 <SmatZ> or that function never returns?
13:17:06 <SmatZ> or few next bytes after that call instruction are actually data passed to that function?
13:17:24 <SmatZ> (so the function modifies the return IP on the stack)
13:17:36 <glx> unresolved jump is goto l__073D
13:18:05 <SmatZ> intentional crash of the program? :P
13:18:32 <SmatZ> or is some "useful" (for example, debug) code waiting at INT0 handler?
13:58:46 <DorpsGek> SVN: glx (r1499) -Add: C-ified Drivers_CustomTimer_Set[Delay|Frequency]()
13:59:26 <glx> the weird function was just a 32bit div
14:56:48 *** Xaroth_ has joined #openDune
15:20:21 <DorpsGek> SVN: glx (r1500) -Add: C-ified Drivers_CustomTimer_06D2() and Drivers_CustomTimer_0746()
15:21:31 <glx> Xaroth|Work: Xaroth_: please do something for DorpsGek, #68 is not a bug
15:22:55 <glx> Alberth: #68 seems incomplete
15:29:44 <Xaroth|Work> glx: it's created in the bugtracker
15:29:48 <Xaroth|Work> hence marked as a bug
15:31:01 <Xaroth|Work> in a bugtracker, yes.
15:31:24 <glx> can't you determine the task type ?
15:31:41 <Xaroth|Work> sure I can, but it's more useful to invest time in a code review thingie
15:41:30 <Alberth> glx: what is missing?
15:41:57 <glx> there's just the description
15:42:23 <Alberth> I just noticed. Sorry about asking the obvious
15:43:00 * Alberth grrs at stupid bugtrackers that don't attach attachments automagically
15:43:33 *** Xaroth has joined #openDune
15:43:33 *** ChanServ sets mode: +o Xaroth
15:48:51 <glx> maybe you can add a csip32 csip314;
16:01:28 <Alberth> isn't uint8* -> csip32 in the wrong direction? it may save you 3 or 4 calls now, but you still need the local stack space with its mess, and you still cannot change ptr2.
16:01:28 <Alberth> A far more effective way is to convert f__2BA5_0006_009C_A3D1() (I don't get what happens there); then f__259E_0040_0015_5E4A() (very trivial then); and then clean up the whole stuff, including the various 3c32 3c36, 998a globals.
16:05:27 <glx> I mean csip32 csip314; csip314.s.cs = emu_ss; csip314.s.ip = emu_bp - 0x314; and use this when calling the wrapper without the emu_
16:10:09 <Alberth> I know you mean that. But you still need the emu_ function, as there are other calls from decompiled, so you really just gain some clarity for those 3-4 calls.
16:10:17 <Alberth> but you're the boss :)
16:11:01 <glx> it's just to remove more emu_ calls in the code
16:12:35 <TrueBrain> it will take so many iterations before all emu_ shit is gone :D
16:15:19 <TrueBrain> oeh, time to go to a movie
16:19:31 <Alberth> oeps, I should compile first :)
16:23:10 <Alberth> 'file exists, please delete file' and not having a 'delete' button at the tracker form :p
16:23:56 <Alberth> anyway, version 3 should be it, if this is correct: csip314.s.cs = emu_ss; csip314.s.ip = emu_bp - 0x314;
16:58:38 <Xaroth|Work> trying to find the old dune 2 sprite list
16:59:12 <Xaroth|Work> so I can make another (poor) attempt at designing a theme for openduen -_-
17:16:21 <Xaroth> but i was thinking of doing it with the dune 2 sprites
17:16:34 <Xaroth> like, sand background with stone area for content
17:16:42 <Xaroth> titles and the sorts in concrete slabs
17:20:05 <Alberth> do you want other things than slabs? otherwise you could do it the other way around, and use vehicles for the content
17:20:40 <Alberth> euhm, a sand area surrounded by stones, and vehicles for the title
17:20:43 <Xaroth|Work> first need to find me a proper quality sprite list
17:22:11 <Alberth> vehicles can drive into the screen to form the title then :p
17:22:51 <Alberth> yeah, not dune-ish enough probably
19:55:45 <DorpsGek> SVN: glx (r1501) -Add: C-ified Drivers_1DD7_0B53() and Drivers_1DD7_1C3C(). Segment 1DD7 is done
23:51:53 <DorpsGek> SVN: glx (r1502) -Add: C-ified Driver_ClearData()
continue to next day ⏵