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 > TASS - Source too big?
2012-04-19 01:57
Mindcooler

Registered: Nov 2006
Posts: 28
TASS - Source too big?

How large source can TASS handle? The one in the Retro Replay i'm using can't seem to load my 30-block source any longer. Is there some version of TASS that I can use to continue working in, or at least export the code? I tried TMPview on my largest=latest sources but it couldn't parse it either, so perhaps my TASS didn't even save them correctly. Looking at the difference between the last good one and a larger one shows a huge difference.

I was planning on trying out crossdev after this thing I'm making, but it seems I need to accelerate my plans :P
2012-04-19 04:53
Moloch

Registered: Jan 2002
Posts: 2928
I'm using TMP w/REU through VICE daily and working with large source files without an issue. The REU functionality certainly helped me to keep using a native assembler.

http://turbo.style64.org/index.php

Of course, going crossdev is probably the best route.
2012-04-19 06:31
Oswald

Registered: Apr 2002
Posts: 5094
30 blocks must work. Either the retro replay version is buggy or your source file is trashed.
2012-04-19 08:12
Graham
Account closed

Registered: Dec 2002
Posts: 990
Sometimes TASS complains because it stored too many labels. TASS remembers every label you ever entered, even if you don't use it anymore. A way to solve it is: Save as PETSCII, then start with an empty source and load the PETSCII source again. (<-W + <-E)
2012-04-19 13:59
Skate

Registered: Jul 2003
Posts: 494
once my TASS source was messed up (>10 years ago). many labels were replaced by random petscii characters. it was still compiling correctly but when i try to change the code in any way it was being completely trashed. at this stage i've rescued my source codes using seq file saving/loading just like Graham adviced. but if you are unable to load the source file at all, it will be much harder to save your source code.
2012-04-19 14:14
chatGPZ

Registered: Dec 2001
Posts: 11386
latest TMP should have some of the limits increased which exist in the original version (and the one in RR). however the usual fix for this problem is what graham said :)
2012-04-19 15:31
Mindcooler

Registered: Nov 2006
Posts: 28
When I exported and imported the last good source, it went from 30 blocks to 26. I noticed that the source bottom is around $8000. Should I be able to go beyond the 4k from ~$9000 to $8000 without problems? Perhaps there is some banking problem below $8000?

I copied some sinus tables to the end of the source so that bottom got to $7a61 at 32 blocks, and there doesn't seem to be any problems.

Perhaps I saved the source with a crashed TASS? I _was_ testing out zeropage locations, as there was something that inserted inverted @ into my code. It might have been $c6.
2012-04-20 00:50
Mindcooler

Registered: Nov 2006
Posts: 28
Yes, $c6 was definitely not a good location. I'll add it to my "Do Not Use" list together with $d4 and $d8. It screwed with TASS, my source and my data. It probably broke the save routine after I used some new zp addresses.

Are there any other zp locations I should stay away from, except the obvious $00/$01?
2012-04-20 08:19
Graham
Account closed

Registered: Dec 2002
Posts: 990
That's why I always copied the entire zeropage to some other location when running my own code, and copied it back when jumping back into TASS :)
2012-04-20 13:15
Mindcooler

Registered: Nov 2006
Posts: 28
I thought about restoring zp at NMI, but most locations doesn't seem to do mind being altered. I'm down to ~$c1 from $ff and found only three.
2012-04-20 13:25
chatGPZ

Registered: Dec 2001
Posts: 11386
try "zeropage fuckasm" from coders orgasm disk =)
 
... 3 posts hidden. Click here to view all posts....
 
Previous - 1 | 2 - Next
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
E$G/HF ⭐ 7
Moderators/CSDb Staff
cba
cobbpg
Guests online: 113
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 NTSC-Fixers
1 Pudwerx  (10)
2 Booze  (9.7)
3 Stormbringer  (9.7)
4 Fungus  (9.6)
5 Grim Reaper  (9.3)

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