#nuvie@irc.freenode.net logs for 20 Nov 2005 (GMT)

Archive Today Yesterday Tomorrow
Nuvie homepage


[04:18:20] <-- Yuv422 has left IRC ()
[05:12:11] --> SB-X has joined #nuvie
[07:13:48] <-- SB-X has left IRC ()
[08:03:37] --> Yuv422 has joined #nuvie
[08:08:16] <-- Yuv422 has left IRC (Client Quit)
[11:03:36] --> SB-X has joined #nuvie
[12:58:58] --> Yuv422 has joined #nuvie
[12:59:10] <Yuv422> hello
[13:00:25] <SB-X> yo
[13:01:16] <SB-X> are you at work or at home?
[13:01:31] <Yuv422> home
[13:01:34] <Yuv422> :)
[13:01:49] <SB-X> ah k
[13:03:29] <SB-X> do you know of a free assembler to assemble IDA output?
[13:03:46] <SB-X> or if a file can be edited in IDA (it has its own assembler)
[13:04:09] <Yuv422> can't just hit the make exe button
[13:04:16] <Yuv422> or use nasm
[13:04:27] <SB-X> ah? will nasm work then? I hadn't tried it yet
[13:04:42] <Yuv422> my asm output files from IDA had bits missing
[13:04:48] <SB-X> you can produce EXE from IDA but I want to edit it
[13:04:49] <Yuv422> where it had collapsed the view
[13:04:57] <SB-X> heh, that's wierd
[13:05:02] <Yuv422> can't you edit from IDA?
[13:05:07] <SB-X> I don't see how.
[13:05:25] <Yuv422> yeah I was having trouble trying to get that working too.
[13:05:32] <SB-X> There is a "Manual..." option for operands but that just changes how they are displayed.
[13:05:39] <SB-X> Took my a while to realize that. :p
[13:05:40] <SB-X> me*
[13:06:40] <SB-X> I found the scroll_printf subroutine and wanted to change what was printed.
[13:07:20] <Yuv422> cool
[13:07:53] <SB-X> sub_7C83 btw
[13:08:19] * Yuv422 writes that down
[13:08:33] <SB-X> good idea, I hadn't even done that :)
[13:09:04] <SB-X> takes segment and offset of string
[13:10:04] <SB-X> appears to return two values that are usually never used
[13:11:42] <Yuv422> what datatypes?
[13:12:56] <SB-X> words
[13:13:40] <SB-X> did you say you had a win32 binary of dosbox with debugging support compiled in?
[13:15:39] <Yuv422> nah
[13:15:45] <Yuv422> I was looking for one. :)
[13:16:31] <-- Kirben has left IRC (Read error: 110 (Connection timed out))
[13:22:01] <SB-X> nasm doesnt assemble it out of the box, any command line switches I should be using?
[13:22:29] <SB-X> IDAPro website recomments TASM (commercial software) to assemble it's output.
[13:23:11] <Yuv422> I haven't used nasm before
[13:23:20] <SB-X> :\
[13:25:28] <Yuv422> you'll need to get it to build 80286 real mode code
[13:25:52] <SB-X> TASM?
[13:26:07] <Yuv422> nasm
[13:26:39] <SB-X> well good thing I have it then :)
[13:26:48] <SB-X> I have the linux version too.
[13:27:32] <Yuv422> can you go to the nasm webapge at the moment?
[13:28:06] <SB-X> no, couldn't earlier either when I tried to get nasm
[13:28:13] <SB-X> but I got it from sf.net/projects/nasm
[13:30:09] <Yuv422> how do you pick your initial software entry point
[13:30:10] <Yuv422> ?
[13:30:24] <Yuv422> the place where you start tracing the code out?
[13:30:34] <Yuv422> reference to a db string?
[13:31:24] <SB-X> in the previous case of looking for string printing, that's what I tried to do
[13:31:29] <SB-X> alt-t text search
[13:31:34] <SB-X> then 121h
[13:32:00] <SB-X> and I think it was with "Identifier" checked
[13:32:08] <SB-X> fortunately there aren't as many results as you'd think
[13:32:16] <Yuv422> Identifier?
[13:32:40] <SB-X> yeah, though I don't think it made a difference
[13:33:54] <SB-X> when looking at the code, I confirmed it was the correct because it pushed seg067 first
[13:34:02] <SB-X> the correct reference*
[13:34:32] <SB-X> although I guessed it had to be correct because there weren't many references to 121h
[13:34:49] <Yuv422> is 121 the data offset?
[13:35:48] <SB-X> yeah from start of segment
[13:35:52] <SB-X> it's the location in the strings window
[13:37:55] <SB-X> hmm, directly editing the exe doesnt exactly work
[13:38:36] <SB-X> changing 121 to 47b makes it print some of the expected string and some of another string
[13:39:24] <SB-X> ah... probably because 47b has a format specifier in it
[13:42:10] <Yuv422> -t assemble in SciTech TASM compatible mode
[13:44:11] <SB-X> thanks... that's not surprising :)
[13:44:57] <SB-X> it still doesn't understand the asm file
[13:45:16] <SB-X> maybe I need to produce output without so much extra information in it
[13:47:23] <Yuv422> isn't the extra info just comments?
[13:47:28] <Yuv422> what does it say?
[13:47:39] <Yuv422> what output format are you using?
[13:48:00] <Yuv422> you might need to make an intermediate obj file then link it into an exe?
[13:48:03] <SB-X> it doesn't understand the directives
[13:48:14] <SB-X> mostly parse errors on assume, segment, unicode
[13:50:39] <SB-X> or public and several others
[13:51:02] <SB-X> would making an obj file change it if it's not able to parse the input file?
[13:51:20] <Yuv422> I was thinking of the exe gen part.
[13:52:34] <SB-X> havn't gotten that far :)
[13:52:38] <SB-X> I'm not sure why IDA can't edit it.
[13:53:32] <Yuv422> maybe that's a limitation of the free version?
[13:58:23] <SB-X> I don't know.
[14:04:56] <Yuv422> time for bed
[14:05:22] <SB-X> ok
[14:05:23] <SB-X> cya
[14:05:37] <Yuv422> cya
[14:05:54] <-- Yuv422 has left IRC ()
[15:31:01] <-- SB-X has left IRC (Read error: 104 (Connection reset by peer))
[16:00:27] --> SB-X has joined #nuvie
[16:47:48] <-- SB-X has left IRC ()
[16:54:28] --> SB-X has joined #nuvie
[19:32:20] <-- ChanServ has left IRC (calvino.freenode.net irc.freenode.net)
[19:50:44] --> ChanServ has joined #nuvie
[21:05:22] --> Kirben has joined #nuvie
[21:56:50] <-- SB-X has left IRC (Remote closed the connection)
[22:15:37] <-- exultbot has left IRC (ping timeout: 15 minutes)
[22:17:14] --> exultbot_ has joined #nuvie
[22:17:14] --- Topic for #nuvie is: Nuvie - New Ultima VI Engine (http://nuvie.sf.net)
[22:17:14] --- Topic for #nuvie set by ChanServ at Wed Aug 31 04:00:22 2005
[22:19:30] <-- exultbot has left IRC (Read error: 110 (Connection timed out))