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 save as PRG?
2007-05-17 00:32
parisgraphics
Account closed

Registered: Mar 2007
Posts: 6
TASS save as PRG?

Hello again - yesterday i was doing sprites in BASIC and today I've decided to make the jump to assembly. I'm traveling and so not using my real c64. I'm using Vice under Windows, and Tass. Sample code is working but I'd like to save as a PRG so I can run it later. I read here:
http://www.fairlight.to/docs/text/tass_docs.html
that "left-arrow" followed by s saves a PRG.
However, what i get instead is filename.P00

What am I doing wrong? and how should this be done correctly?

Thanks much!
p
2007-05-17 00:35
Moloch

Registered: Jan 2002
Posts: 2928
In Vice you should attach a D64 image to Drive 8.
2007-05-17 01:09
parisgraphics
Account closed

Registered: Mar 2007
Posts: 6
Thanks Moloch,

I tried your suggestion
then i do a
LOAD "$",8
and then LIST
and I see a filename with a bunch of non alphanumeric characters.
tried LOAD "$",8,1
but same thing.

2007-05-17 03:22
parisgraphics
Account closed

Registered: Mar 2007
Posts: 6
whew... thanks again.

for some reason the files names are saved now.

just one stupid question.

i load the file with
LOAD "BT2"

which is the first example in this tutorial:

http://user.tninet.se/~uxm165t/demo_programming/demo_prog/demo_..


* = $1000

loop: inc $d020 ; increment $d020
jmp loop ; jump to label loop


i can run it if i open a monitor in VICE and type
g 1000

but how would i run it on real 64?

sorry for the stupid NOOB question!

thanks,
p
2007-05-17 05:38
Style

Registered: Jun 2004
Posts: 498
You can load it on a real c64 and

sys4096

or you could crunch it, giving $1000 as the start address, which would add a basic start line to the beginning of your program so you could just 'run' it.

2007-05-17 06:59
Oswald

Registered: Apr 2002
Posts: 5094
<- + S saves the source file as prg
<- + 5 (IIRC) saves an executabe file as prg

if you use basic to load executables make sure to use load "..",8,1 as ,8 forces to file to be loaded as a basic prg to $0801, and ,8,1 makes it to be loaded to its original place in memory. you might want to attach an action replay cartridge image in vice, and it will make your life much much easyer. (fex. it displays the starting and ending loadadress...)
2007-05-17 13:35
parisgraphics
Account closed

Registered: Mar 2007
Posts: 6
Hey Style and Oswald,

Thanks for the info and tips - excellent!


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
JEZ
Freeze/Blazon
Paulko64
Nordischsound/Hokuto..
Mr. Mouse/XeNTaX/G*P
t0m3000/hf^boom!^ibx
Guests online: 120
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 Webmasters
1 Slaygon  (9.6)
2 Perff  (9.6)
3 Sabbi  (9.5)
4 Morpheus  (9.4)
5 CreaMD  (9.1)

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