| |
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 |
|
| |
Moloch
Registered: Jan 2002 Posts: 2928 |
In Vice you should attach a D64 image to Drive 8.
|
| |
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.
|
| |
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 |
| |
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.
|
| |
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...) |
| |
parisgraphics Account closed
Registered: Mar 2007 Posts: 6 |
Hey Style and Oswald,
Thanks for the info and tips - excellent!
|