#nuvie@irc.freenode.net logs for 15 Nov 2006 (GMT)

Archive Today Yesterday Tomorrow
Nuvie homepage


[07:35:23] --> Yuv422 has joined #nuvie
[07:40:37] <-- Yuv422 has left IRC ()
[07:50:23] --> SB-X has joined #nuvie
[08:00:06] <-- Kirben has left IRC ("System Meltdown")
[08:00:09] <-- servus has left IRC (lem.freenode.net irc.freenode.net)
[08:00:31] --> servus has joined #nuvie
[08:08:17] --> Kirben has joined #nuvie
[08:35:23] --> Yuv422 has joined #nuvie
[08:54:44] <-- servus has left IRC (lem.freenode.net irc.freenode.net)
[08:54:44] <-- Yuv422 has left IRC (lem.freenode.net irc.freenode.net)
[08:54:44] <-- ChanServ has left IRC (lem.freenode.net irc.freenode.net)
[08:54:44] <-- laxdragon has left IRC (lem.freenode.net irc.freenode.net)
[08:54:44] <-- SB-X has left IRC (lem.freenode.net irc.freenode.net)
[08:54:44] <-- luteijn has left IRC (lem.freenode.net irc.freenode.net)
[08:54:44] <-- wjp has left IRC (lem.freenode.net irc.freenode.net)
[08:54:44] <-- Kirben has left IRC (lem.freenode.net irc.freenode.net)
[08:55:34] --> ChanServ has joined #nuvie
[08:55:34] --> Yuv422 has joined #nuvie
[08:55:34] --> Kirben has joined #nuvie
[08:55:34] --> servus has joined #nuvie
[08:55:34] --> SB-X has joined #nuvie
[08:55:34] --> laxdragon has joined #nuvie
[08:55:34] --> wjp has joined #nuvie
[08:55:34] --> luteijn has joined #nuvie
[09:00:27] <SB-X> hi eric
[09:01:36] <Yuv422> hey Joseph
[09:01:41] <Yuv422> How's things?
[09:06:04] <Yuv422> bbl getting dinner ready
[09:07:03] <SB-X> fine, i was playing with map editing in CoD2 but done with that now
[09:07:06] <SB-X> ok
[09:12:19] <-- servus has left IRC (lem.freenode.net irc.freenode.net)
[09:12:37] --> servus has joined #nuvie
[10:35:33] <Yuv422> back
[10:43:17] <Yuv422> CoD2?
[10:43:27] <Yuv422> call of duty?
[11:11:57] <SB-X> oops, wb
[11:12:01] <SB-X> Yuv422
[11:12:02] <SB-X> yes
[11:12:09] <SB-X> the map editor kept crashing *shrugs*
[11:13:34] <Yuv422> ah k
[11:14:15] <Yuv422> I'm trying to make an XCode build environment for dosbox
[11:14:17] <Yuv422> quickly
[11:14:21] <Yuv422> ;-)
[11:18:26] <SB-X> i see
[11:18:40] <SB-X> yes I read that you were succesfull in stepping through code from idea
[11:18:42] <SB-X> IDA*
[11:18:45] <SB-X> congratulations
[11:19:09] <Yuv422> thanks
[11:20:38] <SB-X> is there anything to improve in it?
[11:21:21] <SB-X> or how much more do you still have to work on to get the plugin working completely without problems
[11:21:21] <SB-X> ?
[11:24:21] <Yuv422> hmm
[11:24:30] <Yuv422> it is quite unstable at the moment
[11:24:43] <Yuv422> you can't step over intterupt calls for example
[11:24:52] <Yuv422> the IP goes haywire
[11:25:13] <Yuv422> and you can't activate two breakpoints in a row
[11:25:21] <Yuv422> it goes into an endless loop
[11:25:38] <Yuv422> but you can step and set breaks
[11:25:45] <Yuv422> and continue to a breakpoint
[11:25:49] <Yuv422> (once) ;-)
[11:26:05] <Yuv422> you can also observe memory
[11:26:39] <Yuv422> I'm using a very simple hello world application at the moment
[11:26:47] <Yuv422> with three segments
[11:27:05] <SB-X> i havn't a clue why that would be
[11:27:40] <SB-X> not being able to step over interrupt requests
[11:28:00] <Yuv422> yeah probably due to the way dosbox handles a single step
[11:28:07] <Yuv422> it is a bit kludgy
[11:28:17] <Yuv422> I think the debugger was a bit of an afterthought
[11:28:28] <SB-X> in dosbox?
[11:28:31] <Yuv422> yes
[11:28:39] <SB-X> ah, could be :)
[11:29:10] <Yuv422> how do you take a screenshot in XP?
[11:29:12] <SB-X> i figure they must get a lot of use out of it though, since I've seen it being discussed on the forums quite a bit
[11:29:21] <SB-X> the printscreen key
[11:29:27] <Yuv422> hehe
[11:29:34] <Yuv422> I don't have one of those
[11:29:38] <SB-X> lol
[11:29:56] <SB-X> i wouldnt know then, you probably need a graphics viewer that does it
[11:29:58] <Yuv422> I wonder if I can just capture my mac screen
[11:30:11] <SB-X> the gimp will get a screenshot for you
[11:30:12] <Yuv422> I'll try to take a screen cap
[11:30:35] <Yuv422> I have dos box runnning on my mac
[11:30:48] <Yuv422> with IDA running on my XP machine
[11:31:04] <Yuv422> and I'm using my XP machine via RDC on my mac. :-)
[11:31:41] <Yuv422> simple
[11:34:10] <SB-X> RDC?
[11:35:36] <Yuv422> remote desktop
[11:35:46] <SB-X> oh, ok
[11:35:53] <SB-X> i know what you mean
[11:36:21] <SB-X> just didn't know what RCD meant :)
[11:36:55] <Yuv422> hehe
[11:38:23] <Yuv422> ok got my screenshot
[11:40:16] <Yuv422> http://nuvie.sourceforge.net/temp/ida_dosbox.png
[11:41:28] <Yuv422> the ESP view should be looking at the program stack
[11:41:34] <Yuv422> but I haven't fixed that yet
[11:41:43] <Yuv422> in that screenshot it is pointing to the PSP
[11:41:48] <Yuv422> for the EXE
[11:44:50] <SB-X> PSP?
[11:46:12] <Yuv422> program segment prefix
[11:47:14] <Yuv422> I think it might be a bit before that in my screenshot
[11:47:23] <Yuv422> in the environment variables
[11:47:27] <SB-X> i dont remember what that is
[11:47:38] <Yuv422> http://users.easystreet.com/jkirwan/new/x86lrn06.html
[11:48:19] <SB-X> CP/M?
[11:48:38] <Yuv422> hehe precursor to DOS
[11:49:09] <Yuv422> http://en.wikipedia.org/wiki/CP/M
[11:49:39] <SB-X> I am surprised wikipedia names can have slashes in them.
[11:49:47] <Yuv422> yeah
[11:49:51] <Yuv422> I thought that too
[11:50:45] <Yuv422> my dosbox debugger wasn't working because I was passing a 16 bit IP register
[11:50:56] <Yuv422> not the EIP 32bit reg IDA was looking for
[11:51:09] <Yuv422> so IDA was trying to load my program from 0x0
[11:51:22] <Yuv422> instead of 1a7:0
[11:51:24] <Yuv422> CS:IP
[11:51:44] <Yuv422> so now I just pass EIP as CS * 0x10 + IP
[11:51:55] <Yuv422> and it works a treat
[11:51:57] <SB-X> that sounds like an annoyingly simple fix
[11:52:07] <Yuv422> yes
[11:52:17] <Yuv422> I spent all weekend tinkering with it
[11:52:23] <Yuv422> :-(
[11:52:37] <SB-X> why CS*10?
[11:52:41] <Yuv422> too many things that could change
[11:52:48] <Yuv422> 16
[11:52:54] <Yuv422> segmented memory
[11:53:04] <SB-X> oh, yeah
[11:53:09] <Yuv422> :-)
[11:53:11] <SB-X> ah k
[11:53:16] <SB-X> And eric is an ABBA fan?
[11:53:23] <SB-X> or what?
[11:53:23] <Yuv422> hehe no
[11:53:26] <SB-X> lol
[11:53:31] <Yuv422> I was just playing with dw
[11:53:35] <SB-X> ok np :)
[11:53:37] <SB-X> just wondering what that was for
[11:53:42] <Yuv422> and needed something recognisable
[11:53:51] <Yuv422> it is fefe
[11:54:00] <Yuv422> in the exe
[11:54:02] <SB-X> fefe?
[11:54:08] <Yuv422> you're looking at it after it gets set to abba
[11:54:14] <SB-X> oh
[11:54:25] <Yuv422> hey, I was working on this all weekend remember. ;-)
[11:54:37] <Yuv422> I was starting to go crazy!!! ;-)
[11:54:41] <Yuv422> by the end
[11:54:54] <SB-X> ms visual studio sets initialized memory to 0xc0c0c0c0
[11:55:03] <Yuv422> deadbeef
[11:55:07] <SB-X> i guess that's too be recognizable too
[11:55:08] <SB-X> to be*
[11:55:16] <SB-X> hehe
[11:55:23] <Yuv422> yeah
[11:55:41] <Yuv422> I'm looking forward to trying this out on GAME.EXE
[11:55:45] <SB-X> 1337
[11:55:49] <SB-X> yeah
[11:55:51] <Yuv422> when I've got a few more kinks ironed out
[11:55:53] <SB-X> me too
[11:56:14] <Yuv422> it should make reversing the data a snap
[11:56:23] <Yuv422> the data in GAME.EXE that is
[11:56:40] <Yuv422> I think IDA supports tracing and memory watchpoints too
[11:56:52] <Yuv422> well I hope it does
[11:57:07] <SB-X> darn, i was hoping to see what kinds of unrelated windows you had open in the background behind ida, but it looks like nothing besides a folder
[11:57:10] <Yuv422> I might not be able to release this plugin though
[11:57:21] <Yuv422> hehe
[11:57:34] <Yuv422> I don't use my XP machine for anything other than IDA
[11:57:40] <Yuv422> and file storage
[11:58:13] <SB-X> oh, i'll just have to wait for your next osx screen then
[11:58:15] <SB-X> ;)
[11:58:18] <SB-X> why cant you release the plugin?
[11:58:37] <Yuv422> It uses code from the IDA SDK
[11:58:53] <Yuv422> embedded into dosbox
[11:59:02] <Yuv422> and I'd need to release my changes to dosbox
[11:59:19] <Yuv422> I guess I could just leave out the SDK bits
[11:59:35] <Yuv422> and registered IDA users could add them back in a build
[11:59:45] <Yuv422> a = and
[12:00:18] <Yuv422> and my modded dosbox is a cvs version and it only runs on unix at the moment
[12:00:26] <Yuv422> I need to fix the windows tcp/ip code
[12:00:50] <Yuv422> as most people wouldn't want to run two machines to debug a dos app
[12:00:57] <Yuv422> as IDA needs windows
[12:01:44] <Yuv422> I don't know if anyone would be interested in it any way
[12:01:58] <Yuv422> so it might not be worth polishing it up for public release.
[12:02:26] <SB-X> yeah that doesnt sound very releasable right now
[12:02:41] <Yuv422> yeah far from it
[12:02:56] <SB-X> i'll still try it
[12:03:03] <SB-X> playing with it :)
[12:03:05] <Yuv422> It's more a proof of concept at the moment
[12:03:26] <Yuv422> I'll clean it up once I get it working properly
[12:05:59] <SB-X> do windows PE's have a PSP?
[12:06:19] <SB-X> as something left over or to allow running them in dos
[12:07:20] <SB-X> i read about the pe format before when trying to modify exe's and dont remember this PSP at all :)
[12:07:32] <Yuv422> they might have something similar
[12:07:41] <Yuv422> the PSP is an operating system construct
[12:07:47] <Yuv422> it's only created in memory
[12:07:52] <Yuv422> not stored in the EXE
[12:08:21] <SB-X> ah k
[12:08:53] <Yuv422> I'm enjoying learning all the old DOS internals again
[12:08:58] <Yuv422> and ASM
[12:13:01] <SB-X> yes that looks like a helpful site, thanks for linking to it
[12:13:33] <Yuv422> I've got some more nuvie code to comit too
[12:13:43] <Yuv422> Actor scripting changes
[12:14:00] <Yuv422> I'll do that in the next couple of days
[12:14:44] <SB-X> cool
[12:31:51] <Yuv422> time for bed
[12:31:59] <Yuv422> cya
[12:32:29] <-- Yuv422 has left IRC ()
[12:37:07] <SB-X> oops, cya
[13:59:35] <-- Kirben has left IRC (Read error: 110 (Connection timed out))
[17:57:41] <-- SB-X has left IRC (Read error: 54 (Connection reset by peer))
[18:26:05] <-- servus has left IRC (lem.freenode.net irc.freenode.net)
[18:26:25] --> servus has joined #nuvie
[19:04:09] <-- servus has left IRC (Read error: 110 (Connection timed out))
[19:04:49] --> servus has joined #nuvie
[21:11:22] --> Yuv422 has joined #nuvie
[21:11:24] <-- Yuv422 has left IRC (Remote closed the connection)
[21:55:41] --> Kirben has joined #nuvie