Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to index page
Thread view  Board view
Rugxulo

Homepage

Usono,
21.04.2009, 20:48
 

TASM conversion (Developers)

Hey guys,
As you probably know, TASM is no longer developed. And even though you can get TASM32 5.3 (from 2000) from the Turbo C++ Explorer 2006 package, that's a whopping 390 MB or so, which is kinda a lot just for one 188k .EXE file. Besides, I think MMX is the most it supports.
Anyways, my concern is more about assembling old sources. I've even found some TASM stuff that 5.3 won't accept (oddly enough). :-| And to be completely honest, from a licensing standpoint, I'd rather use something totally free/libre with sources. And Japheth has made a valid point in mentioning that DOS support [e.g. FASM] is weak without .OBJ. However, even without that, there are other considerations to be made.
So here are the current options for reassembling TASM code (corrections and suggestions welcome):

* TASM32 5.3 (dialup users, have fun grabbing it!)
* LZASM 0.56 (Ideal only, case sensitive)
* upcoming WASM 1.9 (Ideal syntax added by Berth-Olaf)
* YASM 0.8.0 (-ptasm or -fdosexe, no .OBJ support)
* JWasm 1.94c (still a few hidden bugs)
* ArrowASM 2.00c (old, MASM 3.0 only, but good for what it does)
* FASM 1.67.38 (powerful macros and preproc help, in theory)

Examples of apps I would ideally like to convert to something better:

* Freemacs (seems easy with JWasm but hidden bugs persist, e.g. "comment \")
* PMODE/DJ (quite easy, at least with LZASM and JWasm)
* CWSDPMI (not too easy but not quite impossible, just tedious)
* TinyPlay (should be easy, I just haven't had the time or energy)

I just mention this because it's a small nuisance having old sources that use lots of TASM-specific stuff (ZRDX = nightmare!). Just wondering if others have any other suggestions (besides the obvious "disassemble it").

ho1459

Homepage E-mail

Germany,
22.04.2009, 12:51

@ Rugxulo
 

TASM conversion

> Hey guys,

Ahoihoi.

> As you probably know, TASM is no longer developed. And even though you
> can get TASM32 5.3 (from 2000) from the Turbo C++ Explorer 2006 package,
> that's a whopping 390 MB or so, which is kinda a lot just for one 188k
> .EXE file. Besides, I think MMX is the most it supports.

If it is no longer developed or supported why not ask
Borland / Inprise whether it is ok to distribute TASM.
Who knows, maybe they won't mind it.

I don't know whether MMX is the latest of the newer instruction sets in TASM.
I personally never had to use any of the new instructions (except for MMX) and
I always try to use 386 instructions.

I have written large programs in assembler, and I always admired the
compilation speed of Borland products. I also liked the IDEAL syntax.

TASM is my favourite .asm compiler, and it probably will be in future.

> * TASM32 5.3 (dialup users, have fun grabbing it!)
> * LZASM 0.56 (Ideal only, case sensitive)
> * upcoming WASM 1.9 (Ideal syntax added by Berth-Olaf)
> * YASM 0.8.0 (-ptasm or -fdosexe, no .OBJ support)
> * JWasm 1.94c (still a few hidden bugs)
> * ArrowASM 2.00c (old, MASM 3.0 only, but good for what it does)
> * FASM 1.67.38 (powerful macros and preproc help, in theory)

Concerning open source compilers, I'd pick the most promising one and add
or improve it's TASM compatibility.

> Examples of apps I would ideally like to convert to something better:

You mean to convert the sources to another compiler syntax?
Without starting a big discussion on this, but the TASM syntax is straight forward
and easy to understand. I am not sure if there's a "better" one. :)

I'd rather prefer using the original compiler or a syntax compatible compiler.
Old but good standards (in general) should be preserved and kept supported.
"DOS ain't dead"!

> * Freemacs (seems easy with JWasm but hidden bugs persist, e.g. "comment
> \")
> * PMODE/DJ (quite easy, at least with LZASM and JWasm)
> * CWSDPMI (not too easy but not quite impossible, just tedious)
> * TinyPlay (should be easy, I just haven't had the time or energy)

"Porting" assembler source code to another compiler is an annoying task and
"dangerous", esp. with bigger asm only projects. I also think that too many
branches of one program / project are equally as annoying.

> I just mention this because it's a small nuisance having old sources that
> use lots of TASM-specific stuff (ZRDX = nightmare!). Just wondering if
> others have any other suggestions (besides the obvious "disassemble it").

Either use TASM directly or have another (open source) compiler doing
the work for you. Don't change the complete project's source code just to
be able to compile it with another compiler.

Hope this helps,
Stefan / AH

rr

Homepage E-mail

Berlin, Germany,
24.04.2009, 20:11

@ ho1459
 

TASM conversion

> If it is no longer developed or supported why not ask
> Borland / Inprise whether it is ok to distribute TASM.
> Who knows, maybe they won't mind it.

GdM's EDIT (TP6 / Pascal)

---
Forum admin

Rugxulo

Homepage

Usono,
24.04.2009, 21:00

@ rr
 

TASM conversion

> > If it is no longer developed or supported why not ask
> > Borland / Inprise whether it is ok to distribute TASM.
> > Who knows, maybe they won't mind it.
>
> GdM's EDIT (TP6 / Pascal)

In short, I did e-mail Embarcadero / CodeGear about this stuff but got no response.

DOS386

26.04.2009, 02:25

@ Rugxulo
 

TASM conversion

> Turbo C++ Explorer 2006 package, that's a whopping 390 MB or so

so I won't download it :-)

> CWSDPMI (not too easy but not quite impossible, just tedious

Is it in ASM at all ? I personally don't need it, sorry :-(

> TinyPlay (should be easy, I just haven't had the time or energy)

What is it supposed to do ?

> ZRDX = nightmare!

Is it useful ?

> Just wondering if others have any other
> suggestions (besides the obvious "disassemble it")

Not use anyway obsolete / non-working stuff ;-) BTW, you forgot VirtualPASCAL :clap:

---
This is a LOGITECH mouse driver, but some software expect here
the following string:*** This is Copyright 1983 Microsoft ***

marcov

26.04.2009, 11:51
(edited by marcov, 26.04.2009, 13:55)

@ Rugxulo
 

TASM conversion

> Hey guys,
> As you probably know, TASM is no longer developed. And even though you
> can get TASM32 5.3 (from 2000) from the Turbo C++ Explorer 2006 package,

Isn't it more with .NET, .NET SDK J# and MSXML etc included ? :-) At least it is that way with Turbo Delphi Explorer. I'd say it is more 480ish.

Turbo Delphi Explorer also comes with TAsm 5.3 btw.

Also I think it depends heavily on what you want to do. If you want to do major new development on these sources it might be worth to port them. I however doubt that, since then you'd only picked one instead of several.

If you just want to be able to do minorly changed build from time to time, just get the relevant TASM, and spend the time you spare by using it on improving the packages rather than the format they come in.

Rugxulo

Homepage

Usono,
27.04.2009, 04:51

@ marcov
 

TASM conversion

> > Hey guys,
> > As you probably know, TASM is no longer developed. And even though
> you
> > can get TASM32 5.3 (from 2000) from the Turbo C++ Explorer 2006
> package,
>
> Isn't it more with .NET, .NET SDK J# and MSXML etc included ? :-) At least
> it is that way with Turbo Delphi Explorer. I'd say it is more 480ish.

It's too big, whatever it is. I have the bandwidth, and I don't even want to bother. (Already did, Vista has .NET runtimes already, wouldn't install anyways. Blech.)

> Turbo Delphi Explorer also comes with TAsm 5.3 btw.
>
> Also I think it depends heavily on what you want to do. If you want to do
> major new development on these sources it might be worth to port them. I
> however doubt that, since then you'd only picked one instead of several.
>
> If you just want to be able to do minorly changed build from time to time,
> just get the relevant TASM, and spend the time you spare by using it on
> improving the packages rather than the format they come in.

I've never really used TASM, and hence I don't really truly appreciate its syntax, so I'm not emotionally (or practically) tied to it. In other words, it has no advantages that I can see over other assemblers, only drawbacks. I'm not saying it's bad or that it isn't useful, just that I don't prefer it. But a lot of DOS code uses it.

marcov

27.04.2009, 10:03

@ Rugxulo
 

TASM conversion

> It's too big, whatever it is. I have the bandwidth, and I don't even want
> to bother.

Well, converting heaps of source are way more work.

>(Already did, Vista has .NET runtimes already, wouldn't install
> anyways. Blech.)

The 2006 series is older and still for .NET 1.1. Vista comes with 2.0, (and W7 with 3.5, but that is backwards compat with 2.0). Also the big chunk is the SDK, not the .NET runtime itself. You need that to get worthless help.

> I've never really used TASM, and hence I don't really truly appreciate its
> syntax, so I'm not emotionally (or practically) tied to it.\\

No you are emotionally tied to small filesizes :-)

> In other words,
> it has no advantages that I can see over other assemblers, only drawbacks.

It _is_ freely available, and of known quality, and supports (OMF only?) .objs.

> I'm not saying it's bad or that it isn't useful, just that I don't prefer
> it. But a lot of DOS code uses it.

Well that is the main point. There already is a lot of use, and it is freely available (albiet a bit big), so simply invest the months converting and validating and just use it.

Don't worry, I use Turbo D for work, so you can always get one from me should the dl disappear :-)

Back to index page
Thread view  Board view
22049 Postings in 2034 Threads, 396 registered users, 260 users online (0 registered, 260 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum