| |
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 |
|
| |
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.
|
| |
Oswald
Registered: Apr 2002 Posts: 5094 |
30 blocks must work. Either the retro replay version is buggy or your source file is trashed. |
| |
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)
|
| |
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. |
| |
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 :) |
| |
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. |
| |
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? |
| |
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 :) |
| |
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. |
| |
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 |