| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
turbo assembler sourcecode fileformat details
so, i eventually tried to convert a bunch of sources using tmpview, and found out it is buggy and doesnt work properly ... and since the source seems to be unavailable i might end up writing a similar tool :) so the question is, is there any documentation on the fileformat around? |
|
| |
Moloch
Registered: Jan 2002 Posts: 2928 |
I've used V1 in the past and it has worked. Just tested it here now on a few random .prg source files and appears to work.
I'm having issues getting V1.1 to execute at all.
|
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
"and appears to work."
yes, it does. just tried v1 also, it also messes up the labels (compare with what you get from loading and exporting in tass manually) unfortunately. in the tmpview output labels are either mixed up (which at the end still "works"), or sometimes are completely missing (0 byte in the output instead) which obviously breaks it :) |
| |
Moloch
Registered: Jan 2002 Posts: 2928 |
Hmm, really strange... I seriously doubt Elwix would release something that didn't work.
Did you try looking at the source included to see if there was some differences from other versions of TA source? |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
what included source?
i am trying to convert the sources of the lorenz testsuite btw, which has been written using the plain old original tass-mac.
|
| |
Moloch
Registered: Jan 2002 Posts: 2928 |
Both packages include a sample source file for conversion that converts just fine.
|
| |
Sorex Account closed
Registered: Nov 2003 Posts: 43 |
there is no need for such tool.
just open the source in Turbo Assembler on c64/emu and save it again to a SEQ file with the <- w command.
The file can be opened on PC without the need of any petscii > ascii convertion (unless you use upper case chars in a .text "" statement).
Edit: sorry, just noticed TMP that's Turbo Macro Pro ? Don't know if that one has the write feature. |
| |
Moloch
Registered: Jan 2002 Posts: 2928 |
TMP does have the write/enter features. In fact, I always save as SEQ after some issues years ago with corrupted labels table in PRG source files.
... and yes, any uppercase in the source files is fucked if loaded in a PC text editor.
|
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
Quote:there is no need for such tool.
if you want to convert a single file, then yes, maybe. ofcourse i know how to do that and it works just fine.
but if you were, for example, trying to convert the ~200 sourcefiles of the lorenz testsuite, then <-L/<-W becomes boring very quickly =P |
| |
iAN CooG
Registered: May 2002 Posts: 3194 |
Back when Turrican 3 sources were released, I did a tasm converter that uses 3 different original Turbo Assembler versions and VICE, and automates the process of converting the tasm sources from prg (you have to extract them from d64 before) to pc ASCII.
iancoog.altervista.org/C/tasmconv_14.rar
The original packed source is loaded into tass (modified to load and save automatically), saved as seq, extracted from d64 and converted from petscii to ascii. You only have to quit vice manually, can't be done in software =)
See if it suits your needs. |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
i actually just got an updated and supposedly fixed TMPview in mail.... thanks anyway, will try :) |
... 4 posts hidden. Click here to view all posts.... |
Previous - 1 | 2 - Next |