IRC logs for #opendune on OFTC at 2010-04-15
⏴ go to previous day
12:58:59 <TrueBrain> LibEMU (and alleycat) 'works' on the FPGA :)
12:59:12 <TrueBrain> not really how it should ... but the timer works, the video works .. it just works
12:59:21 <TrueBrain> of course timing the 3DA port turns out to be a bitch
13:02:50 <TrueBrain> but .. I saw the cat walking over the fence! :)
13:07:08 *** arik1812 has joined #openDune
13:26:08 <glx> if I understand well it changes tile->houseID, but the and mask seems wrong
13:34:20 <TrueBrain> as it is (once again) a few bits short
13:34:23 <TrueBrain> not the first time :p
14:19:47 *** ChanServ sets mode: +v Yexo
14:29:09 <TrueBrain> ah, I was about to finish DrawText_Wrapper
14:29:13 <TrueBrain> I just needed to decompiel a few things
14:32:25 <TrueBrain> as it has va-arg params :p
15:00:37 <TrueBrain> hmmm ... it fails :(
15:07:17 <TrueBrain> @base 10 16 [calc 0x8bea - 0x8aee]
15:07:21 <DorpsGek> TrueBrain: Error: 'fc' is not a defined function.
15:08:26 <TrueBrain> glx: something is VERY wrong
15:08:41 <TrueBrain> when I load savegames, weird stuff starts to happen
15:08:52 <TrueBrain> for example, all my damaged units are being picked up and repaired
15:09:13 <TrueBrain> on a positive side, the text is (with my patch at least) correct in the top bar
15:16:31 <glx> btw I just did a quick check regarding DisplayText, emu_cs is wrong when calling emu_GUI_DrawText_Wrapper
15:17:51 <glx> ,...,...,...emu_push(emu_cs); emu_push(0x0AFF); emu_GUI_DrawText_Wrapper();
15:18:05 <TrueBrain> that is wrong, yes :p
15:18:19 <TrueBrain> lucky no local cs access, so not an issue
15:18:22 <TrueBrain> but who did that? :)
15:18:49 <TrueBrain> ah, so then it is correct
15:18:57 <TrueBrain> then it already was 10E4, and it should still be 10E4
15:19:04 <glx> ,...,...,...emu_push(emu_cs); emu_push(0x0AFF); emu_cs = 0x10E4; emu_GUI_DrawText_Wrapper(); <-- with that no ugly spacing
15:19:26 <TrueBrain> then there is no need for that
15:19:39 <TrueBrain> but either way, don't worry about it
15:19:54 <glx> yes you are converting it :)
15:20:33 <glx> but we should be more carefull with "local" emu_ calls ;)
15:20:54 <TrueBrain> hmm .. most things I converted I added the emu_cs
15:21:03 <TrueBrain> but yes, we should take care of those
15:21:14 <TrueBrain> lucky DisplayText is yours, so I can just point fingers here :p
15:24:24 <glx> hmm I never added any emu_cs IIRC, so something to check
15:24:28 <TrueBrain> pff, replacing emu_calls is a bitch :(
15:25:00 <TrueBrain> fuck, emu_GUI_String_Get_ByIndex is not yet converted
15:25:28 <glx> isn't it like String_Get_ByIndex?
15:26:19 <glx> oh there's a switch in it
15:29:33 <DorpsGek> SVN: glx (r1087) -Add: C-ified Script_Unit_GetAmount(), Script_Unit_IsInTransport(), Script_Unit_Unknown22C4(), Script_Unit_Unknown246C(), Script_Unit_Unknown2552() and Script_Unit_FindStructure()
15:33:15 <TrueBrain> lol, something is not completely correct in my patch ...
15:36:41 <TrueBrain> is giving issues ...
15:38:43 <TrueBrain> but I don't see why ....
15:39:38 <TrueBrain> k, printf indeed does something with it :)
15:39:45 <TrueBrain> how to resolve that ......
15:40:53 <TrueBrain> wow, a lot of emu_ seem unused ;)
15:41:00 <TrueBrain> something nice to cleanup :) But that is for another day
15:41:33 <DorpsGek> SVN: truebrain (r1088) -Add: C-ified GUI_DrawText_Wrapper()
15:41:39 <TrueBrain> still the % bug ...
15:43:23 <DorpsGek> SVN: truebrain (r1089) -Fix (r1088): do not vsnprintf strings to GUI_DrawText_Wrapper() twice (once via emu, once in C-version)
15:43:53 <TrueBrain> either way, the problem units are being picked up immediatly, should be fixed ....
15:45:27 <TrueBrain> that is a nice list ;) Mostly because of your C-ifiying ;)
15:45:36 <TrueBrain> I will take care of it this weekend if you haven't done so before :)
15:45:39 <TrueBrain> for now, I have to go :)
16:03:53 <DorpsGek> SVN: glx (r1090) -Remove: no longer required emu_ functions
16:45:41 *** ChanServ sets mode: +o TrueBrain
16:45:41 *** ChanServ sets mode: +v Xaroth|Work
16:45:41 *** ChanServ sets mode: +v Xaroth
20:58:10 <TrueBrain> warnings.patch can use some alignment fixing :)
20:59:27 <TrueBrain> and, euuhhh ... second is smaller, but first is nicer
22:38:38 *** maikel has joined #openDune
continue to next day ⏵