I have a program with the COM format (One Code segment). I do have the ORG 100h at the beginning of the file. The program is being assembled by TASM and linked by TLINK. TASM is able to assemble the source file but I get the following error from TLINK:

C:\TASM>tlink /t a
Turbo Link  Version 5.1 Copyright (c) 1992 Borland International
Fatal: Cannot generate COM file : data below initial CS:IP defined


So if anybody could tell me what I must have done wrong, I would appreciate it. The other problem that I have is on how to make this program a TSR. I have read a little bit about it and unfortunately, I don't have time to read tons of pages of information. So if anybody could give me a simple example on how to calculate the number of paragraphs for the TSR to leave in the memory, where the beginning of the resident area is and perhaps other stuff, I would really appreciate it.

Edit (on Tuesday, November 06, 2007 at 8:32:10 PM): I found the solution. Thanks guys.
Posted on 2007-11-06 11:11:49 by XCHG