| |
null Account closed
Registered: Jun 2006 Posts: 645 |
crossassembling
Since I have a laptop running Win2k now, I was looking for a crossassembler... but all I can find are tools to convert a .txt file to a c64 understandable format...(atleast, that's what I think they do...o.O)
Isn't there some kind of complete package running under Win2k, like you have Turbo Assambler on the c64?
and if there isn't... START CODING!!! =P
...nah, just kidding... in that case, I'd like to hear an easy solution for coding on a PC.
Cheers,
Knoeki. |
|
... 35 posts hidden. Click here to view all posts.... |
| |
Devia
Registered: Oct 2004 Posts: 401 |
x64.exe -autostart kickassdemo.prg
that will load the kickassdemo.prg and do a RUN, so you'd need that basic header or just ALT+R and then SYS4096 or whatever after loading.
..you "might" need to be in the directory of kickassdemo.prg.. can't remember if Vice handles paths properly or if that was some other emul that fucked that up. |
| |
null Account closed
Registered: Jun 2006 Posts: 645 |
Quote: x64.exe -autostart kickassdemo.prg
that will load the kickassdemo.prg and do a RUN, so you'd need that basic header or just ALT+R and then SYS4096 or whatever after loading.
..you "might" need to be in the directory of kickassdemo.prg.. can't remember if Vice handles paths properly or if that was some other emul that fucked that up.
well, in relaunch64 I alredy configured VICE to have -autostart (that happens automaticly)... It's just that VICE doesn't load the code...o.O
/knoeki |
| |
Frantic
Registered: Mar 2003 Posts: 1648 |
perhaps the cross assembler you use doesn't apply a 2 byte load adress to the start of the file? ...but you said DASM, right? I think that one does..
You may need to switch cartridges off in VICE to get it working automatically. Otherwise you'll have to press F1 or so, if it's action replay.. ...and if you don't do it relatively fast, VICE won't go on with the autoload, eh.
(BTW, if you have RR-Net, I'd suggest using that instead, and transfer the code to the real thing instead of VICE.) |
| |
Oswald
Registered: Apr 2002 Posts: 5094 |
knoeki: enter monitor in vice and check wether it has loaded your prg (most probably it has not). Anyways you should see the emulated c64 telling you:
load"myprogram.prg",8,1
searching for myprogram.prg
loading
ready
run
if you dont see the above only the basic prompt, then vice havent loaded anything up.
in vice: alt+m, and then d1000 in the monitor prompt. if you dont see inc d020 at the 1000 adress then your prg is not loaded, then doublecheck your commandline settings in relaunch64. |
| |
null Account closed
Registered: Jun 2006 Posts: 645 |
Quote: perhaps the cross assembler you use doesn't apply a 2 byte load adress to the start of the file? ...but you said DASM, right? I think that one does..
You may need to switch cartridges off in VICE to get it working automatically. Otherwise you'll have to press F1 or so, if it's action replay.. ...and if you don't do it relatively fast, VICE won't go on with the autoload, eh.
(BTW, if you have RR-Net, I'd suggest using that instead, and transfer the code to the real thing instead of VICE.)
I don't have an RR-net... I wish I had one...
also, I dont use any carts in VICE...
...strange...o.O; |
| |
Raf
Registered: Nov 2003 Posts: 343 |
Quote: step 1)
Download and install EditPlus.
step 2)
Download 64TASS. Put the files in a subfolder of the EditPlus directory.
step 3)
Configure EditPlus so that CTRL+1 compiles your code using 64TASS.
step 4)
Code 'macro assembly' in EditPlus and compile with 64TASS.
currently I'm using textpad (http://www.textpad.com) with DASM 2.20 by IaN Coog + I have 6502 syntax highlight too (also at textpad.com)
and... I setup it so ctrl+1 assembles too ;p
www.vulture.c64.org |
| |
null Account closed
Registered: Jun 2006 Posts: 645 |
Quote: knoeki: enter monitor in vice and check wether it has loaded your prg (most probably it has not). Anyways you should see the emulated c64 telling you:
load"myprogram.prg",8,1
searching for myprogram.prg
loading
ready
run
if you dont see the above only the basic prompt, then vice havent loaded anything up.
in vice: alt+m, and then d1000 in the monitor prompt. if you dont see inc d020 at the 1000 adress then your prg is not loaded, then doublecheck your commandline settings in relaunch64.
well, this all doesn't work...o.O
and also, I was mistaken... I'm not using DASM, but ACME... sorry for the confusion...o.o; |
| |
hollowman
Registered: Dec 2001 Posts: 474 |
If I was to begin learning to code assembler on c64 I would start with turbo assembler on the c64, or run it under vice. Sure its nice to have all the memory available and not have to worry about crashing the c64 and trashing the source code in memory, but for trying out stuff its quicker and easier to use turbo assembler than setting up a crossdevelopment enviroment as the first step. |
| |
Oswald
Registered: Apr 2002 Posts: 5094 |
why would you worry about loosing source using vice ? loadstate / savestate is ther. (and actually thats how I used to code, since I cannot tear out my tasm roots) |
| |
cadaver
Registered: Feb 2002 Posts: 1160 |
To be honest I wouldn't trust an IDE, just make some one-letter bat files, one for running the editor and other for compiling+launching the emulator. Then hone your Alt+W reflex and I don't think the speed difference to using tasm is that much. Plus that way you can't screw up when you save a state instead of load. |
Previous - 1 | 2 | 3 | 4 | 5 - Next |