Has anyone got any tips on converting #TASM and #MASM code to a more modern assembler like #NASM? Even just between TASM and MASM would be helpful.

I've got a few old bits of #Psion 8086 assembly that I'd like to use with NASM. My aim is to remove as many proprietary tools as possible.

I guess I'm looking for some sort of Rosetta stone for 8086 Small Memory Model assembly.

Books, web pages and video suggestions welcome.

#x86 #Borland #RetroComputing

Features added to #ctran in the past couple of days:

- Generate .LIS files: Basic class iist showing ancestors and children (not all descendants)
- Generate .ASM files: Class files for TASM (less buggy than classic #Psion CTRAN!)

To come:
- Generate .ING files: Class include files for #TASM
- Sub-category file handling
- Classes that only have DEFERred methods (I want to call them "shadow classes") should be skipped
- Generate skeleton .c files for classes

Then... release time!

New #DOS fun with GNU Make, this time using #MASM (ML) 6.11.

Looks like another DPMI runtime conflict - GNU Make is 32-bit, ML is 16-bit, and their respective runtimes won't run the other one.

I can manually run ML for each .ASM file, but it defeats the point of using Make.

I could convert the .ASM files to another DOS assembler. #TASM and #NASM both work with GNU Make.

NASM would make it easy to port the toolchain to other OSes, although it doesn't understand memory models.

Thought I'd have a quick look at converting the #TASM code in #EDisAsm to #TopSpeed #assembler. It would get rid of a dependency, which can't be a bad thing. And it can't be that hard, right?

Nope! Much harder than I thought! 😂

Here's a link to an excerpt from the TopSpeed Advanced Programmer's Guide (I can't find the whole thing). It has thoroughly confused me and made me realise I should just go back to my main quest.

https://clarionhub.com/t/unfinished-text-with-some-information-about-the-topspeed-assembler/517

#assembly #x86 #psion #RetroComputing #RetroDev

Unfinished text with some information about the TopSpeed assembler

and one more from the newsgroups! Re: Clarion Assembler documents? Overview Invoking the assembler Program layout Segments Tokens Generic tokens Keywords Operators Syntax Assembly language considerations The symbol table Operand sizes Jump and calls Strings References Variables and Data File inclusion Conditional assembly Predefined identifiers Memory models and predefined identifiers Miscellaneous points Smart linking TSA error messages 2. Calling conventions 3. Usin...

ClarionHub

Now that the TopSpeed TechKit with its #assembler is out in the world, I'm considering porting the #TASM and #MASM code in one or two of the open source #EPOC16 apps over to TSASM.

Hardly an urgent project, but it would mean that the apps could be built with one #compiler ecosystem with a single project file.

Of course, the code would still be restricted to the #16bit #DOS world, but it's no worse off than we already are in #Psion land.

#DOSBox #RetroDev #RetroComputing

Also, if anyone has any tips on converting #TASM and #MASM code to a more modern assembler (#NASM or #YASM?), then please do let me know!

#RetroComputing #RetroDev #x86 #16bit #ia16

I'm hoping this little bit of code that I'm going to throw into #EDisAsm is going to give me the value of IO port 0x02 on an ASIC9-based Psion. #TASM 4.1 doesn't hate it, so I just need to try running it on a real machine. But that's a tomorrow problem.

#RetroComputing #Psion #Series3a #Series3c #Series3mx #NECV30 #16bit #x86asm #assembly #oldtech #RetroDev #borland

I made significant progress in porting Ranish Partition Manager from #Borland #C and #TASM to #Watcom C and #NASM.

All the C files and about half the assembler files are translated. The Watcom built executable is running and a few quick tests revealed no unexpected behaviour. Thoroughly testing has still to be done after the remaining files are translated.

https://codeberg.org/boeckmann/ranish

ranish

fork of the last public domain version of Ranish Partition Manager

Codeberg.org

OK, I gave myself a deadline:
I want to have a version of m200.def to distribute by Jan 3, 2022.

This wants to be *the* master include file (& ROM entry point documentation) for Tandy 200 assembly using ASM80, ZMAC, TASM (telemark, not turbo), and ASxxxx.

It will be completely untested, as I do not (yet) have a Tandy 200. :-(

#assembly #m100 #m200#t200 #ModelT #8085 #Asm80 #ZMac #TAsm #ASX