Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user tubesockor ! (Registered 2024-05-12) 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: 2896
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: 5025
<- + 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
Brataccas/HF
d4ng3r
DjS/Silicon Ltd
hedning/G★P
iAN CooG/HVSC
grasstust/Hoaxers
Jammer
A3/AFL
Isildur/Samar
redcrab/G★P
Iapetus/Algar../Cosine
Guests online: 133
Top Demos
1 13:37  (9.9)
2 Next Level  (9.8)
3 Mojo  (9.7)
4 Coma Light 13  (9.7)
5 Edge of Disgrace  (9.6)
6 Comaland 100%  (9.6)
7 No Bounds  (9.6)
8 Uncensored  (9.6)
9 Wonderland XIV  (9.6)
10 Multiverse 100%  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.7)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Layers  (9.5)
5 Copper Booze  (9.5)
6 TRSAC, Gabber & Pebe..  (9.5)
7 Rainbow Connection  (9.5)
8 Dawnfall V1.1  (9.5)
9 Quadrants  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Booze Design  (9.3)
3 Nostalgia  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Webmasters
1 Slaygon  (9.7)
2 Perff  (9.6)
3 Morpheus  (9.5)
4 Sabbi  (9.5)
5 CreaMD  (9.1)

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