IRC logs for #opendune on OFTC at 2011-06-05
            
00:47:50 *** fjb|mobile_ has joined #openDune
00:48:14 *** fjb is now known as Guest3441
00:48:15 *** fjb has joined #openDune
00:54:44 *** fjb|mobile has quit IRC
00:55:30 *** Guest3441 has quit IRC
02:34:07 *** glx has quit IRC
08:40:47 *** Alberth has joined #openDune
09:55:32 *** fjb|mobile_ has quit IRC
13:00:37 *** glx has joined #openDune
13:00:37 *** ChanServ sets mode: +o glx
13:01:18 <glx> hello
13:02:24 <Alberth> hello
13:21:37 <Alberth> oh, historyTail is the newest event, and historyHead the oldest :p
13:36:54 <glx> events are not pushed in front ?
13:39:33 <Alberth> void emu_Input_History_Add() updates Tail
13:39:44 <glx> makes sense
13:40:02 <glx> events should handled in the right order
13:41:07 <Alberth> and f__29E8_074D_0066_6E9B() (which I called Input_ReadHistory()) pulls events from head
13:41:58 <Alberth> so it is ok, just head and tail have a different meaning than you think at first :)
14:23:06 *** SmatZ has quit IRC
14:23:29 *** Osai^2 has quit IRC
14:25:34 *** Yexo has quit IRC
14:25:44 *** planetmaker has quit IRC
14:25:49 *** tneo has quit IRC
14:40:27 <Alberth> emu_al = emu_get_memory8(0x40, 0x00, 0x17); <-- what's there?
14:43:53 <Alberth> (in f__29E8_0971_0071_E515(), which also has DOS interrupts, so maybe initial mouse/keyboard detection or so?)
14:45:50 *** SmatZ has joined #openDune
14:46:50 *** tneo has joined #openDune
14:47:19 *** Osai has joined #openDune
14:47:29 <glx> BIOS_KEYBOARD_SHIFT = 0x17,
14:48:50 *** Yexo has joined #openDune
14:48:50 *** ChanServ sets mode: +v Yexo
14:49:32 <glx> 0040:0017 Keyboard flag bits (byte) 7=ins, 6=caps, 5=num, 4=scrll,
14:49:32 <glx> 3=ALT, 2=CTRL, 1=LSHFT, 0=RSHFT (toggle states)
14:50:39 *** planetmaker has joined #openDune
14:50:39 *** ChanServ sets mode: +v planetmaker
15:00:27 <Alberth> keyboard state, thus
15:06:22 <Alberth> how nice, set ax, then do pop(&ax) :p
15:08:38 <glx> silly as usual :)
19:05:50 <Alberth> timing is bad, but here is a first attempt on converting the input code. http://devs.openttd.org/~alberth/cs__29E8.c.txt
19:06:11 <Alberth> code won't compile, and is broken w.r.t. arguments and return values
19:06:34 <Alberth> it mostly serves as a way to get an idea of function names, and what each does
19:07:34 <Alberth> in my patch queue are also changes in other files
19:09:10 <Alberth> the simplest question is whether the function names I created seem reasonable. That would allow committing them.
19:09:44 <Alberth> the more complicated one is how to proceed from here
19:11:06 <Alberth> ie I have now done both the mouse part and the other input part very roughly to get a first impression of their structure
19:12:34 <Alberth> my idea would be either a) convert and commit a function 'for real', or b) do the same, but in a patch queue, so we can test the complete set before committing, c) other????
19:31:22 <Alberth> s/a function/each function in turn/
19:32:33 <Alberth> perhaps we should take other precautions to prevent/avoid disasters?
19:51:19 *** Alberth has left #openDune