IRC logs for #opendune on OFTC at 2010-02-16
⏴ go to previous day
11:39:54 *** ChanServ sets mode: +v Yexo
12:11:36 <Xaroth|Work> @calc 5 * 3600 * 24
12:11:52 <TrueBrain> @calc 7 * 3600 * 24
12:45:43 <TrueBrain> nice progress on MPU :)
18:58:15 <TrueBrain> there are multiple of such MSData blobs? Each their own file, or?
19:00:02 <glx> one for g_global->musicBuffer, and 5 for g_global->soundBuffers
19:00:06 <Xaroth> windows 7 is a bit ANNOYING
19:00:11 <TrueBrain> back already Xaroth? :)
19:00:17 <Xaroth> going into hybernation after 60 minutes of no activity
19:00:19 <TrueBrain> glx: k, that explains :)
19:00:26 <Xaroth> yeh, i'm back, other friends of him are ther enow
19:00:38 <Xaroth> took us fucking 20 minutes to get from the streetcorner near the VU to the VU itself
19:00:51 <TrueBrain> you should have gone walking :p
19:01:25 <Xaroth> yes, and leave my car on the middle of the street :P
19:01:40 <TrueBrain> glx: it is getting there :)
19:01:42 <Xaroth> now where the hell are the power saving options of this damned thing >:(
19:01:52 <TrueBrain> Xaroth: sure; by the time you come back, the traffic jam only got bigger, but you are in front of it!
19:02:12 <Xaroth> ooh, win7 also has a selective screenshot tool now, took them only.. 12 years? :o
19:02:45 <glx> you mean ctrl or alt prntscreen ?
19:03:16 <Xaroth> you can click and drag whatever you want to printscreen
19:08:32 <TrueBrain> so what will I be doing
19:08:38 <TrueBrain> got annoyed by EVE, so that is enough for now ...
19:08:50 <TrueBrain> (well, the EVE API)
19:09:56 <Xaroth> Item : Aliens Vs Predator (with Play.com Exclusive Multiplayer Skins Unlock Code) (AVP)
19:51:29 <glx> btw the "splitted" 32bit value (noteOnLength) is a smart thing on a 16bit CPU
19:51:57 <glx> it just complicates our work as we are on 32bit+ ;)
19:56:50 <TrueBrain> easy to fix when conversion is done
19:56:55 <TrueBrain> sound driver is self-containing, so :)
19:57:25 <glx> all 0x44AF (0xAB00) is local yes
19:58:09 <TrueBrain> I wish my pc could run that
19:58:34 <glx> but MSData csip is stored in g_global (probably never used directly from there, except to tell the driver what to use)
19:59:13 <TrueBrain> there are currently multiple MSData, so which one?
19:59:52 <glx> ,...,...,...emu_get_memory16(0x44AF, 0x00, 0x1314) += 4;
19:59:52 <glx> ,...,...,...index = emu_get_memory16(0x44AF, 0x00, 0x1314);
19:59:52 <glx> ,...,...} while (emu_get_memory16(0x44AF, index, 0x12F4) == 0x0);
19:59:53 <glx> ,...,...data_csip = emu_get_csip32(0x44AF, index, 0x12F2);
20:00:26 <TrueBrain> multiple of them ;)
20:01:07 <glx> but all are allocated at driver init (f__23E1_0004_0014_2BC0() calls)
20:01:55 <TrueBrain> oh well, we will see if you unconver more of those lovely functions ;) Ghehe :)
20:01:58 <glx> and size is driver dependant
20:02:19 <TrueBrain> as soon as you know how to put any audio driver over this, please do so :) No need to convert the whole driver if you already know what is going on ;)
20:02:54 <glx> ,...,...value = (int32)Drivers_CallFunction(sound->index, 0x96).s.ip; <-- always return 0x208 for mt32mpu.adv
20:03:31 <TrueBrain> 0x96 is the function, I assume?
20:04:19 <glx> there's an function array in the driver
20:04:31 <glx> function, ip, function, ip, ...
20:04:45 <TrueBrain> all very sensible :)
20:05:27 <glx> and all .adv of course use the same function index ;)
20:07:42 <glx> I'll need to convert functions called by MPU_Interrupt() because they do MPU_WriteData() calls and set some MSData things (like note length)
20:09:59 <glx> anyway many AB00 functions are just popf() ;)
20:12:50 <glx> ,...emu_orb(&emu_bh, 0x0);
20:12:51 <glx> ,...emu_push(0x0494); f__AB00_048E_0001_6780();
20:15:09 <glx> the emu_orb is there because these things are just code machine hacks
20:15:13 *** PeterT has joined #openDune
20:17:04 <glx> 80 CF 00 0E E8 FA <-- this hack :)
20:17:22 <glx> the 80 is there just to have a harmless instruction
20:19:09 <TrueBrain> either way, that is to be expected for any driver, that they implement NULL functions
20:21:57 <glx> 80 CF 00 0E E8 FA FF indeed
20:22:37 <glx> which means exactly emu_orb(), call -6, and at -6 it's an iret
20:35:07 <glx> anyway I think I can commit MPU_Interrupt now :)
20:38:15 <DorpsGek> SVN: glx (r914) -Add: C-ified MPU_Interrupt()
21:52:36 <Xaroth> TrueBrain: tomorrow most likely to evo again :(
21:52:58 <Xaroth> but I might convince the boss that my colleague should go
21:53:19 <TrueBrain> why not enjoy a trip to Haarlem?
21:53:25 <Xaroth> seeing my dad might be 'released' tomorrow as well
21:53:36 <Xaroth> not the sitting in a server room for a few hours
21:53:44 <TrueBrain> Xaroth: fair enough
21:54:03 <glx> ok, I generate crash.bin now :)
21:54:45 <TrueBrain> disable the first pic_resume in src/pic.c in libemu if you want to resume it, and make sure it is named other then crash.bin :p
21:56:26 <glx> I use my usual naming (crash_CS_IP.bin)
continue to next day ⏵