WinAsm Studio, The Assembly IDE - Free Downloads, Source Code
Sponsors
Articles
Programming Quick Start
32-bit Assembler is Easy
Porting Iczelion tutorials
What is FASM
Hard Drive Recovery
Wiring your own LAN
Personal menu
Welcome Guest
User:
Pass:
Register!
Resend Validation Email
 
Forum
 

Problem linking 16-bit DOS assembler programs, What linker should i use ?

JimG
Quote Post


Extremely Active Member
******

Group: Moderators
Posts: 725
Member No.: 11
Joined: 16-May 04


Ok, I've seen this problem several times in various forums, but never had tried it myself.

Now I'm checking out all the samples and templates included with the full version of WinAsm Studio, and I can't get templates for DOS to work (\WinAsm\Templates\Dos\DosExe\DosExe.wap).

I renamed my old link.exe (version 3.69) to link16.exe and put it in the masm32\bin folder.
I tested it using the batch file included in the template, and it worked.

I'm sure this is something simple and I'm going to feel real dumb when we figure it out, but that's a good thing for documenting purposes... rolleyes.gif

The problem only occurs when I try to create the executable from within WinAsm Studio.
I tried to do a "Go All" and also tried separate Assemble and Link commands. There is no Output window errors, but no .exe file is created.
The .obj file is produced, but no .exe...

I manually opened the output window after linking, and this is what was there:
CODE
H:\Masm32\Bin\ML /c /I"H:\Masm32\Include" "H:\WinAsm\Templates\DOS\DosExe\DosExe.asm"

Microsoft (R) Macro Assembler Version 6.14.8444
Copyright (C) Microsoft Corp 1981-1997.  All rights reserved.

Assembling: H:\WinAsm\Templates\DOS\DosExe\DosExe.asm

H:\Masm32\Bin\Link16 @"H:\WinAsm\Templates\DOS\DosExe\link.war"


Make finished. 0 error(s) occured


So.... what's the secret of making this work? unsure.gif

I've attached the full project so there's no doubt about what I'm using...

Attached File ( Number of downloads: 28 )
 Login or Register to download

PMEmail Poster
Top
akyprian
Quote Post


Administrator
******

Group: Admins
Posts: 2307
Member No.: 1
Joined: 12-May 04


Your problem doesn't look similar to any other DOS related question/problem I have seen.
QUOTE
I renamed my old link.exe (version 3.69 to link16.exe) and put it in the masm32\bin folder.
I tested it using the batch file included in the template and it worked

I use Microsoft ® Segmented Executable Linker version 5.60.339 Dec 5 1994.

Can you please get it from Iczelion's site, and let me know if it is of any help?

Regards,

Antonis
PMEmail PosterUsers Website
Top
JimG
Quote Post


Extremely Active Member
******

Group: Moderators
Posts: 725
Member No.: 11
Joined: 16-May 04


That worked.
I'll document the link to that linker. biggrin.gif
PMEmail Poster
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll

 

Sponsors
Computer Science

Internet
C/C++
Hardware & PC maintenance

HiEditor

General Discussions
Suggestions/Bug Reports
WinAsm Studio

General Discussions
Suggestions/Bug Reports
WinAsm Studio FAQ
Multilingual User Interface
Add-Ins
Assembly Programming

Main
Newbies
Projects
Custom Controls
Snippets
Announcements & Rules

Announcements

General

Online Degrees - Distance Learning
The Heap
Russian
Google