TASM Assembler for Mesa firmware

More
26 Oct 2022 14:53 #255102 by jrbloom
I just noticed that the Mesa hostmot2 firmware zip doesn't include the TASM assembler needed to build the D16 firmware. Does anyone know if this is available anywhere? Seems strange to supply the assembly source without a way to assemble it.

 

Please Log in or Create an account to join the conversation.

More
26 Oct 2022 19:10 - 26 Oct 2022 19:11 #255123 by PCW
No sure of the legal status of the Telemark assembler so I have not provided it.
(it is available from some sources like ticalc.org)
Last edit: 26 Oct 2022 19:11 by PCW.

Please Log in or Create an account to join the conversation.

More
27 Oct 2022 08:21 #255170 by jrbloom
Hmmn. I tried that first and concluded it was not the correct assembler - It complains about .MACRO being an unrecognized directive and that there are misaligned labels.

Is v3.2 the correct version?

On an slight side-note, etherhm2.asm includes etherhm2.equ which isn't included in the firmware archive. There is an etherhm2.inc, so I've edited the include to point to that instead. Hopefully that's correct. But it won't assemble anyway due to the above issue.

Thanks,

Jon

Please Log in or Create an account to join the conversation.

More
27 Oct 2022 17:42 #255208 by PCW
Not sure what version of TASM is used.
etherhm2.equ is generated from the .inc file

Since Telemark TASM seems to have been present without complaint
at ticalc.org for a long time I will post our version here along with the
other build tools.

 

File Attachment:

File Name: hm2_eth.zip
File Size:172 KB



 
Attachments:

Please Log in or Create an account to join the conversation.

More
27 Oct 2022 17:49 - 27 Oct 2022 17:50 #255211 by jrbloom
Thank you Peter. I'll give this a try tomorrow.

MAKEINC.EXE does the .INC to .EQU conversion?
Last edit: 27 Oct 2022 17:50 by jrbloom.

Please Log in or Create an account to join the conversation.

More
27 Oct 2022 19:34 #255230 by PCW
Take a look at the MAKEE.BAT file

MAKEINC converts the EQU file to an assembly include file
(it can also make Pascal or C includes)
MACRO is a general purpose macro processor

Please Log in or Create an account to join the conversation.

More
28 Oct 2022 11:04 #255295 by jrbloom
Thanks Peter, I now have the tools working nicely.

For anyone else bumping into this thread in the future ... I had to run the tools through 'dosbox' on Linux (Note that they will not run on Windows).

On Fedora:
$ sudo dnf install dosbox
$ cd <path-to-hostmot>/configs/hostmot2/source/etherhm2
$ dosbox -c "mount c ${PWD}" -c "c:" -exit MAKEE.BAT

The MAKEE.BAT script will do all the work and spiut out a new etherhm2.vhd file.
The following user(s) said Thank You: snowgoer540

Please Log in or Create an account to join the conversation.

Moderators: PCWjmelson
Time to create page: 0.327 seconds
Powered by Kunena Forum