IRC logs for #opendune on OFTC at 2011-02-25
            
03:50:40 <DorpsGek> SVN: glx (r1393) -Add: C-ified GameLoop_B4ED_0200()
04:35:09 *** glx has quit IRC
12:41:12 *** fjb is now known as Guest2616
12:41:13 *** fjb has joined #openDune
12:48:26 *** Guest2616 has quit IRC
13:02:33 *** glx has joined #openDune
13:02:33 *** ChanServ sets mode: +o glx
13:02:56 <glx> hello
15:05:16 * glx likes when functions are easy to test
15:05:42 <glx> like for B4ED I just need to let the intro run
15:10:25 <TrueBrain> :D
16:59:13 <DorpsGek> SVN: glx (r1394) -Add: C-ified GameLoop_B4ED_07B6()
17:08:52 <glx> do we have a RVB struct or something like that ?
17:11:15 <glx> hmm no
17:11:31 <TrueBrain> RVB?
17:11:43 <glx> RGB
17:13:30 <TrueBrain> ah; no
17:33:03 <DorpsGek> SVN: glx (r1395) -Add: C-ified GameLoop_B4ED_075D()
18:00:06 *** Xaroth has joined #openDune
18:00:08 *** ChanServ sets mode: +o Xaroth
21:13:40 <TrueBrain> right, which function shall I do this night ...
21:15:31 <TrueBrain> B4E9 is like Redraw() or something
21:16:38 <TrueBrain> unit.c is only using 2 f__ functions :D
21:16:43 <TrueBrain> opendune.c ... a bit more :p
21:17:42 <DorpsGek> SVN: truebrain (r1396) -Fix: some silly conversion leftover
21:18:22 <TrueBrain> glx: doing any function atm?
21:18:41 <glx> not now
21:19:09 <glx> but I'll continue B4ED
21:19:39 <TrueBrain> that is what I meant ;)
21:19:42 <TrueBrain> k, will do B4E9
21:19:46 <TrueBrain> huge ... but seems nice :D
21:20:09 <glx> yeah huge functions are often nice once done
21:20:28 <TrueBrain> and we seriously need to do something about the emu_Unknown functions
21:20:30 <TrueBrain> they are annoying :p
21:21:03 <TrueBrain> like emu_Unknown_B483_0363 .. I wonder why it is like it is :p
21:21:06 <glx> emu_WSA functions are annoying too ;)
21:21:11 <TrueBrain> yeah ... they are
21:21:20 <TrueBrain> if we have all callers, it can be converted
21:21:54 <TrueBrain> B495, B4DA and B511 left :)
21:22:05 <TrueBrain> if those are done, WSA can be converted nicely ... :)
21:23:39 <TrueBrain> on the other hand, if nothing uses the WSA internals, we should be fine converting it to non-emulator memory ..
21:25:32 <TrueBrain> ah, that was the problem ...
21:27:59 <TrueBrain> meh; some other time to give that a spin :)
21:37:59 <TrueBrain> glx: do you happen to hav B4E9:033B .. there are 16 bytes there I need :D
21:39:00 <glx> I can find that :)
21:47:54 <TrueBrain> yeah, we really should make functions like emu_Unknown_07AE_0000 in a real C function :p Reads like lazy now :D
21:48:31 <glx> 4dc6:0331
21:48:31 <glx> d9 02
21:48:31 <glx> 7b 02
21:48:31 <glx> 93 02
21:48:31 <glx> 65 02
21:48:32 <glx> c5 02
21:48:32 <glx> 4dc6:033b
21:48:34 <glx> 33 01
21:48:34 <glx> da 00
21:48:36 <glx> da 00
21:48:36 <glx> fe 00
21:48:38 <glx> e4 00
21:49:25 <glx> (I did B4E9:0331 while at it ;) )
21:49:27 <TrueBrain> bah, guessed wrong :)
21:49:29 <TrueBrain> tnx glx :)
22:18:37 <TrueBrain> funny ... normally static info is in emu_cs, but because of the dynamic stuff, it is 2E8A now :D
22:32:36 <TrueBrain> weird .. that struct is 0x12 big, but 6 bytes are never used ...
22:34:38 <TrueBrain> oeh, an emu_sp+=2 is missing in GameLoop_Intro :p
22:34:49 <TrueBrain> twice
22:36:46 <TrueBrain> @calc 0x12 * 7
22:36:46 <DorpsGek> TrueBrain: 126
22:36:49 <TrueBrain> @base 10 16 126
22:36:49 <DorpsGek> TrueBrain: 7E
22:36:53 <TrueBrain> but there is only 0x60 room
22:37:45 <TrueBrain> lol
22:37:47 <TrueBrain> oops
22:37:55 <TrueBrain> 0xC = 12 != 0x12
22:45:28 <glx> 0x12 = 18 ;)
22:46:30 <glx> indeed 2 missing emu_sp += 2
22:47:06 <glx> luckily GameLoop_Intro is called via C-ified functions
22:49:01 <glx> so it's only stack space waste and there's no corruption
22:49:16 <TrueBrain> yeah
22:49:19 <TrueBrain> and my patches fixes it
22:49:22 <TrueBrain> so .. no biggy :)
22:50:43 <TrueBrain> seems my work is correct :D
22:51:19 <DorpsGek> SVN: truebrain (r1397) -Add: C-ified GUI_ChangeSelectionType() and GUI_Widget_DrawAll()
22:51:24 <TrueBrain> thnk that should be it :)
22:51:53 <TrueBrain> replaced what I could with respect to emu_Unknown functions
22:59:00 <DorpsGek> SVN: truebrain (r1398) -Fix: give Unknown_07AE_0000() his own C-function, so we don't have to call the emulator layer all the time
22:59:06 <TrueBrain> thatone was bugging me :D
23:27:06 <TrueBrain> k, B483 next
23:29:01 <glx> B483_0470 ?
23:29:42 <TrueBrain> doesn't exist
23:29:52 <TrueBrain> B483_0000 and B483_04CB exist, but I am doing the first
23:29:52 <glx> emu_Unknown_B483_0470
23:30:15 <TrueBrain> ah; no :p
23:30:28 <TrueBrain> why are they not converted like normal btw?
23:30:29 <TrueBrain> any idea?
23:30:47 <glx> I'll unemu it when doing f__B4ED_0AA5_0010_6B85
23:30:59 <glx> will be the last call
23:31:12 <TrueBrain> k :)
23:33:29 <DorpsGek> SVN: truebrain (r1399) -Add: C-ified last (unknown) animation function
23:49:11 <TrueBrain> variable_0222 is named, but never used?
23:49:12 <TrueBrain> weird ...
23:56:53 <glx> probably one of the variables I named "randomly"
23:58:02 <glx> I guess it was at the same time as variable_0218
23:58:44 <TrueBrain> yeah .. but it is wrong :D
23:58:45 <TrueBrain> hihi
23:59:07 <TrueBrain> most likely 131 long