DSPRelated.com
Forums

Urgent: Assembler/Linker for Motorola DSP56K (e.g. 56002) under Windows XP (DOS shell)

Started by Gh August 10, 2004
i need to compile/link  old motorola dsp 56002 assembly code on my pc. the
tools worked well unter win98/win nt, but with win xp nothing works (the
assembler does not run properly and does not even return an error message).
i am using the standard motorola asm56000.exe and dsplnk.exe.

any hints? thank you!

regards
ghazanfari

manuchehr.ghazanfari@siemens.com


Gh wrote:

> i need to compile/link old motorola dsp 56002 assembly code on my pc. the > tools worked well unter win98/win nt, but with win xp nothing works (the > assembler does not run properly and does not even return an error message). > i am using the standard motorola asm56000.exe and dsplnk.exe. >
Quick and dirty solution: you need to either get hold of an old PC and install Windows 98 on it or alternatively you could use a product like Virtual PC for Windows which lets you have a Virtusl PC on your XP box running Windows 98. Holistic long-term solution: get away from Windows completely. Paul
On 2004-08-10 19:54:34 +0200, Paul Russell <prussell@sonic.net> said:

> Quick and dirty solution: you need to either get hold of an old PC and > install Windows 98 on it or alternatively you could use a product like > Virtual PC for Windows which lets you have a Virtusl PC on your XP box > running Windows 98.
A PC emulation on a PC? Now that's weird!! Just to cope with the sh#### M$ software you're installing a Windows 98 emulator on a Windows XP machine... ROTFL!!
> Holistic long-term solution: get away from Windows completely.
Yes, that would be prudent. -- Stephan M. Bernsee http://www.dspdimension.com
"Gh" <mghaz62@hotmail.com> schrieb im Newsbeitrag
news:cfatbt$55b$1@news.siemens.at...
> i need to compile/link old motorola dsp 56002 assembly code on my pc. the > tools worked well unter win98/win nt, but with win xp nothing works (the > assembler does not run properly and does not even return an error
message).
> i am using the standard motorola asm56000.exe and dsplnk.exe. > > any hints? thank you! >
Hello ghazanfari, I tried it on XP successfully a few minutes ago. After that, I don't think that your problem is caused by XP in general. 1. Open a DOS-Box cmd 2. cd ... Change the directory path to the path of the bin-directory where asm56000.exe and the source file(e.g. sqrt3.asm) is located. asm56000.exe -a -b -l sqrt3.asm Generates sqrt3.cld und sqrt3.lst Best regards, Helmut PS: Ok, normally you have your source files in a seperate directory, but for a quick test you should try it exactly as written above.
Stephan M. Bernsee wrote:

> > A PC emulation on a PC? Now that's weird!! Just to cope with the sh#### > M$ software you're installing a Windows 98 emulator on a Windows XP > machine... ROTFL!! >
The fact there is a sustainable market for such a product speaks volumes about the quality of the slime that oozes out of Redmond. ;-) Paul
Hello Helmut,
thanks for the hint. Meanwhile, I have found out, that the assembler causes
a memory violation in the DOS shell and crashes, so that the assembly does
not work properly. The bad thing ist that no error message ist returned, so
that I have to check the generated listing each time. Now that would not be
much of a problem, if I did have to compile ca. 100 files.
So I just keep on trying.
Regards
Manuch


"Helmut Sennewald" <helmutsennewald@t-online.de> wrote in message
news:cfb494$tjr$03$1@news.t-online.com...
> "Gh" <mghaz62@hotmail.com> schrieb im Newsbeitrag > news:cfatbt$55b$1@news.siemens.at... > > i need to compile/link old motorola dsp 56002 assembly code on my pc.
the
> > tools worked well unter win98/win nt, but with win xp nothing works (the > > assembler does not run properly and does not even return an error > message). > > i am using the standard motorola asm56000.exe and dsplnk.exe. > > > > any hints? thank you! > > > > Hello ghazanfari, > I tried it on XP successfully a few minutes ago. > After that, I don't think that your problem is caused by XP in general. > > 1. Open a DOS-Box cmd > > 2. cd ... > Change the directory path to the path of the bin-directory where > asm56000.exe > and the source file(e.g. sqrt3.asm) is located. > > asm56000.exe -a -b -l sqrt3.asm > > Generates sqrt3.cld und sqrt3.lst > > Best regards, > Helmut > > PS: > Ok, normally you have your source files in a seperate directory, > but for a quick test you should try it exactly as written above. > > >
"Gh" <mghaz62@hotmail.com> schrieb im Newsbeitrag
news:cff5km$knq$1@news.siemens.at...
> Hello Helmut, > thanks for the hint. Meanwhile, I have found out, that the assembler
causes
> a memory violation in the DOS shell and crashes, so that the assembly does > not work properly. The bad thing ist that no error message ist returned,
so
> that I have to check the generated listing each time. Now that would not
be
> much of a problem, if I did have to compile ca. 100 files. > So I just keep on trying. > Regards > Manuch
Hello Manuch, this is the only source for the last 56k assembler version. I have found it with Google. The File win56000.exe(50MB) contains the collection of all 56k-tools plus documentation. I think it was originally distributed by Metrowerks after Motorola has outsourced its software. http://people.arcada.fi/~minderma/ Win56000.exe Best regards, Helmut
Gh wrote:
> Hello Helmut, > thanks for the hint. Meanwhile, I have found out, that the assembler causes > a memory violation in the DOS shell and crashes, so that the assembly does > not work properly. The bad thing ist that no error message ist returned, so > that I have to check the generated listing each time. Now that would not be > much of a problem, if I did have to compile ca. 100 files. > So I just keep on trying. > Regards > Manuch > > > "Helmut Sennewald" <helmutsennewald@t-online.de> wrote in message > news:cfb494$tjr$03$1@news.t-online.com... > >>"Gh" <mghaz62@hotmail.com> schrieb im Newsbeitrag >>news:cfatbt$55b$1@news.siemens.at... >> >>>i need to compile/link old motorola dsp 56002 assembly code on my pc. > > the > >>>tools worked well unter win98/win nt, but with win xp nothing works (the >>>assembler does not run properly and does not even return an error >> >>message). >> >>>i am using the standard motorola asm56000.exe and dsplnk.exe. >>> >>>any hints? thank you! >>> >> >>Hello ghazanfari, >>I tried it on XP successfully a few minutes ago. >>After that, I don't think that your problem is caused by XP in general. >> >>1. Open a DOS-Box cmd >> >>2. cd ... >>Change the directory path to the path of the bin-directory where >>asm56000.exe >>and the source file(e.g. sqrt3.asm) is located. >> >>asm56000.exe -a -b -l sqrt3.asm >> >>Generates sqrt3.cld und sqrt3.lst >> >>Best regards, >>Helmut >> >>PS: >>Ok, normally you have your source files in a seperate directory, >>but for a quick test you should try it exactly as written above. >> >> >> > > >
You can change the amount of memory allocated to a DOS shell. Micro$oft moves things around in every version of Window$, so you'll have to figure out how to increase it yourself, but this might be something to try. -- Tim Wescott Wescott Design Services http://www.wescottdesign.com
Hi guys,

Sorry that I missed the start of this discussion.

What's wrong with the current versions of the suite56 tools?  They 
are fine, simple Win32 console applications.  They work fine under 
  XP and fine under Wine.  No nasty DOS extenders in sight.

Yes, sure, they're labelled for the 56300-series, but the opcodes 
for the compatible subset of instructions are all the same.  You 
might have to take the cycle counts in the listings---and some of 
the hazzard warnings---with a grain of salt, but I'm pretty sure 
that the resulting object files will be A-OK.  Hey, there might 
even be a switch to select architectures (never tried that, myself.)

Cheers,

Andrew

Helmut Sennewald wrote:
> "Gh" <mghaz62@hotmail.com> schrieb im Newsbeitrag > news:cff5km$knq$1@news.siemens.at... > >>Hello Helmut, >>thanks for the hint. Meanwhile, I have found out, that the assembler > > causes > >>a memory violation in the DOS shell and crashes, so that the assembly does >>not work properly. The bad thing ist that no error message ist returned, > > so > >>that I have to check the generated listing each time. Now that would not > > be > >>much of a problem, if I did have to compile ca. 100 files. >>So I just keep on trying. >>Regards >>Manuch > > > Hello Manuch, > this is the only source for the last 56k assembler version. > I have found it with Google. The File win56000.exe(50MB) > contains the collection of all 56k-tools plus documentation. > I think it was originally distributed by Metrowerks after > Motorola has outsourced its software. > > http://people.arcada.fi/~minderma/ > Win56000.exe > > > Best regards, > Helmut > >
-- Andrew
"Andrew Reilly" <areilly-newspost@areilly.bpc-users.org> schrieb im
Newsbeitrag news:2o2d1eF696doU1@uni-berlin.de...
> Hi guys, > > Sorry that I missed the start of this discussion. > > What's wrong with the current versions of the suite56 tools? They > are fine, simple Win32 console applications. They work fine under > XP and fine under Wine. No nasty DOS extenders in sight. > > Yes, sure, they're labelled for the 56300-series, but the opcodes > for the compatible subset of instructions are all the same. You > might have to take the cycle counts in the listings---and some of > the hazzard warnings---with a grain of salt, but I'm pretty sure > that the resulting object files will be A-OK. Hey, there might > even be a switch to select architectures (never tried that, myself.)
Hello Andrew, I was curious about the compatibility you considered and tried two projects. One of them was an old project of myself and the other has been from the internet. Both projects have reasonable size. http://www.qsl.net/zl1bpu/MT63/Software.html mt63asc.zip The projects have been assembled without any warning with the asm56000.exe assembler, but both failed with many phasing errors and warnings with the asm56300.exe assembler. The worst thing is the "phasing error". It's sometimes really hard from my experience to find the reason if you have a large project. --------------------------------------------------------------------- I can say with confidence: Forget this idea using the 56300 assembler for any 56002 project. It will fail without rework. There is not any reason to do that, because there is a mature assembler available since years, asm56000.exe V6.3.0 . The same may apply for the other tools like the linker. --------------------------------------------------------------------- Best regards, Helmut Some of the error messages and warnings. **** 1346 [bios.asm 758]: ERROR --- Phasing error: scixe **** 967 [bios.asm 398]: WARNING --- Instruction cannot appear in interrupt vector locations (Opcode field) **** 972 [bios.asm 403]: ERROR --- I/O short addressing must be used for either source or destination (X data move field) **** 1331 [bios.asm 743]: ERROR --- I/O short addressing must be used for destination operand (X data move field) Motorola DSP56300 Assembler Version 6.3.22 04-08-13 15:34:52 bios.asm Page 8