IRC logs for #opendune on OFTC at 2010-04-11
⏴ go to previous day
14:01:17 <TrueBrain> bah, it seems I fucked up my 3rd external HD
14:19:04 <TrueBrain> hmm .. it seems only my WorkStation fucks it up ...
14:19:41 <TrueBrain> under Mac it works ... linux gives me read failures on FAT level ..
15:36:09 <TrueBrain> why a wrapper function?
15:36:39 <TrueBrain> I strongly strongly doubt you can cast the emu to a va_list
15:36:49 <TrueBrain> (cross-compatible issues)
15:38:06 <TrueBrain> and so unknown this function is not ;)
15:39:15 <TrueBrain> mostly I think va_list is 32bit or 64bit on normal systems, while the DOS version most likely was a 16bit .. so casting to va_list is something I would suggest to avoid at all costs :)
15:39:49 <TrueBrain> I guess you have to write a 'char *buffer' function as _Internal, do the va_list in the normal C function, and do some magic in the emu_ layer
16:02:24 <glx> in my headers I have "typedef char * va_list;"
16:09:12 <glx> anyway the problem is probably not there
16:12:39 <glx> and I don't see why they usually do sprintf() before calling emu_GUI_Unknown09AB(), while emu_GUI_Unknown09AB() does it too ;)
16:18:13 <TrueBrain> and char * is vastly different from a 16bit pointer
16:25:35 <glx> a quick search on emu_GUI_Unknown09AB() shows it doesn't matter (never called with extra args)
16:26:37 <glx> but when converting to GUI_Unknown09AB() I use extra params to remove some sprintf()
16:47:33 <glx> but I still don't see where is the error
16:53:35 <glx> indeed found the error (wrong emu_cs)
17:06:38 <glx> was just a missing emu_cs = 0x22A6 before a call :)
17:07:23 <DorpsGek> SVN: glx (r1075) -Add: named and C-ified GUI_DisplayText()
17:07:56 <glx> the emu_ wrapper is incomplete but it's enough for its usage
17:15:15 <glx> and now I can finish the problematic Script_Team function
17:20:27 <DorpsGek> SVN: glx (r1076) -Add: C-ified Script_Team_Unknown0788() and Script_Team_DisplayText() (and another file is gone)
17:21:55 <glx> Script_Team_DisplayText() was using a local buffer (and of course I couldn't pass it to the non C-ified emu_GUI_DisplayText())
continue to next day ⏵