TIP: Click on subject to list as thread! ANSI
echo: alt_dos
to: All
from: Arkady V.Belousov
date: 2003-12-09 07:18:24
subject: RE: DR Dos on a P4

From: "Arkady V.Belousov" 

Hi!

8-δΕΛ-2003 16:46 _Jacob.Brewer{at}oasisgamingusa.com (Jacob Brewer) wrote to
"'opendos{at}delorie.com'" :

JB> Please bear with me, this is my first pure assembler program (and hopefully
JB> my last!)
JB> now I am running the commands as follows:
JB> bin\ml /AT /coff /c clrvdisk.asm
----------------^^^^
JB> link -subsystem:console /entry:START  -out:clrvdisk.com clrvdisk.obj
----------^^^^^^^^^^^^^^^^^

     This should make Win32-related program, whereas clrvdisk.asm is a .com
file 16-bit for 16-bit DOS mode. I don't know option of MASM, nor MS LINK,
because myself use TASM/TLINK. Instead changing (adapring for MASM) source,
you may download (free, GPL), NASM - http://nasm.sf.net/.

JB> and receiving the folowing output
JB> C:\COPYOF~1>link -subsystem:console /entry:START
-out:clrvdisk.com clrvdisk.obj
JB> Microsoft (R) Incremental Linker Version 6.00.8447
JB> Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
JB> LINK : error LNK2001: unresolved external symbol _START
JB> clrvdisk.com : fatal error LNK1120: 1 unresolved externals

     In MASM/TASM main program module should be ended by END directive with
following starting name. In source, which was present, there was no END with
following name (especially "START", as you point for linker). This is
because NASM for .COM programs assumes starting point at ORG 100h without
extra lables. Again: change source or use NASM.





--- Internet Rex 2.29
* Origin: The gateway at Capitol City Online (1:2320/105.999)
SEEN-BY: 633/267 270
@PATH: 2320/105 261/38 123/500 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.