Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > turbo assembler sourcecode fileformat details
2011-12-08 22:12
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?
2011-12-08 22:38
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.
2011-12-08 23:13
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 :)
2011-12-09 03:19
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?
2011-12-09 15:02
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.
2011-12-09 18:39
Moloch

Registered: Jan 2002
Posts: 2928
Both packages include a sample source file for conversion that converts just fine.
2011-12-09 19:59
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.
2011-12-09 21:13
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.
2011-12-10 17:42
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
2011-12-10 17:51
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.
2011-12-10 18:09
chatGPZ

Registered: Dec 2001
Posts: 11386
i actually just got an updated and supposedly fixed TMPview in mail.... thanks anyway, will try :)
2011-12-10 18:33
Ventura
Account closed

Registered: Jan 2006
Posts: 67
Really Groepaz?, mind sharing if it works?
2011-12-10 18:37
chatGPZ

Registered: Dec 2001
Posts: 11386
elwix will release it some day, i guess.
2011-12-20 05:09
THE WIZ
Account closed

Registered: Jan 2007
Posts: 15
Elwix is adding a small feature.
The plan is to release it early next year.
2012-02-04 06:02
THE WIZ
Account closed

Registered: Jan 2007
Posts: 15
We finally released the TMPView 1.2. Just a bunch of minor bug fixes including the fix for the issue Groepaz reported.
http://style64.org/release/tmpview-v1.2-style
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Case/Padua
MCM/ONSLAUGHT
Epyx/TSA
Andy/AEG
Stone/Prosonix/Offence
rikib80
Chesser/Blazon
rexbeng
Guests online: 117
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 No Listen  (9.6)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 Dawnfall V1.1  (9.5)
7 Rainbow Connection  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Triad  (9.3)
5 Censor Design  (9.3)
Top Logo Graphicians
1 t0m3000  (10)
2 Sander  (9.8)
3 Mermaid  (9.5)
4 Facet  (9.4)
5 Shine  (9.4)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.059 sec.