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 > coding in tasm on c64/vice with cart
2011-08-21 20:14
Mindcooler

Registered: Nov 2006
Posts: 28
coding in tasm on c64/vice with cart

What kind of setup should I use for coding in tasm? I'm currently using the built-in tasm of retro replay, but I have had some problems with overwriting the tasm code while executing:

My code seems to reside in RAM; I can't overwrite $8000-$9000 and still have my code.

Tasm gets overwritten by my vic stuff when I use vic page 1 so I can't jump back into it at $9000.

Any solutions to these? Can I hardstart vice by jumping to the same address the TAS BASIC command does? Should I use "Turbo Action ROM v1" which claims to keep everything in the cart?
2011-08-21 20:29
raven
Account closed

Registered: Jan 2002
Posts: 137
Hi

I'm not using Retro-Replay, but over the years I got used to doing two things:

1) Always compile to file (unless my code doesnt use TASM's memory area)
2) Save source code + TASM together as one file.

I'm using a PC-based storage system (connected via user port) so loading/saving is very quick.
I have a shortcut in my cartridge that loads the most recent source+TASM file I saved.

Just to give you some ideas :)
2011-08-21 20:33
Mindcooler

Registered: Nov 2006
Posts: 28
Hmm, so you are saying that instead of keeping tasm and my code after execution I should just make a snapshot before running? Sounds like a lite of a chore and plenty of opportunities to snapshot at the wrong time :P
2011-08-21 20:41
raven
Account closed

Registered: Jan 2002
Posts: 137
A small modification to TASM and it will do the snapshot itself ;)
2011-08-22 05:58
chatGPZ

Registered: Dec 2001
Posts: 11386
i would:

a) if everything fits in memory, save tass (its NOT TASM DAMNIT....) together with the source and data as one big 250 blocks file. do that occasionally before running.

b) as soon as the source doesnt fit anymore into memory together with the data and assembled code, move to using a crossassembler. assembling to disk with tass is really a pain, and once your source becomes bigger you will hit other limits of tass aswell.
2011-08-22 06:05
MagerValp

Registered: Dec 2001
Posts: 1078
Yeah, use Turbo Action ROM instead, or use Turbo Macro Pro with an REU. Source and TASM is kept in expansion RAM, leaving all of C64 ram free for your code.
2011-08-22 08:41
Frantic

Registered: Mar 2003
Posts: 1648
On my harddrive I have two Retro Replay ROM files which contain Turbo Macro Pro with REU support (for storing source code outside memory). One version by Devia and one version by Hannenz. Not sure how they differ and which one is best etc, but perhaps that would be useful for you? Both of them are modified versions of the "rr38p" rom.

Then again, if you want to use this solution on your C64, this requires a REU of course, and maybe you don't have that? (If you have a 1541U, there is a "REU" in it.)

Turbo Action ROM by SounDemoN, as suggested by others here, may very well be the simplest/best alternative for you. This contains the standard TASS, rather than Turbo Macro Pro (TMP).
2011-08-22 09:22
WVL

Registered: Mar 2002
Posts: 902
in VICE, it's easier to make a snapshot before compiling (alt+s (iirc)), then compile and run.

When done, load back the old state (alt+l (IIRC)). and you're back in TASS..

(I used to do this when i made Arcanum, but that was using CCS64, i can still remember all those F11/F12 sessions :D)
2011-08-22 22:26
Mindcooler

Registered: Nov 2006
Posts: 28
Magervalp, Frantic: Are they source compatible with the normal tass? How do you jump back into tass? I'd love to try the images, Klegg made a strong case for TMP on LCP :)

I will probably not be doing much developing on my real machine; my RR+RR-net got stolen on some year's BFP.
2011-08-23 05:39
Oswald

Registered: Apr 2002
Posts: 5094
Quote: Magervalp, Frantic: Are they source compatible with the normal tass? How do you jump back into tass? I'd love to try the images, Klegg made a strong case for TMP on LCP :)

I will probably not be doing much developing on my real machine; my RR+RR-net got stolen on some year's BFP.


"I will probably not be doing much developing on my real machine; my RR+RR-net got stolen on some year's BFP."

woah, one would think once we grew up ppl can buy stuff like that.... Shame on you.
2011-08-23 06:03
Mr. SID

Registered: Jan 2003
Posts: 424
Quoting Mindcooler
I will probably not be doing much developing on my real machine; my RR+RR-net got stolen on some year's BFP.


Then why don't you use a cross assembler?
 
... 8 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
Sulevi/Virtual Dreams
MWR/Visdom
Steffan/BOOM!
Barfly/Extend
DJB/Onslaught / Blue..
algorithm
zscs
Guests online: 108
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 Censor Design  (9.3)
5 Triad  (9.3)
Top Original Suppliers
1 Derbyshire Ram  (9.7)
2 Fungus  (9.3)
3 Black Beard  (9.2)
4 Baracuda  (9.2)
5 hedning  (9.1)

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