| |
Trooper
Registered: Sep 2002 Posts: 39 |
Relaunch64
Anybody got a fully setup and configured Relaunch64 using KickAss assembler?
I'm trying to compile some old source, with the least changing as possible, just to see.....
I original has COL = $D800
so I had to change it too .var COL = $D800, that was one of the changes, but I thought, lets compile, see what errors I get as I go along....
I get an error
.val COL = $D800
^
Error: Illegal character '$'
and yet the previous line .var CHARS = $3000 doesn't produce an error?
I'm confused?
Can anybody help?
|
|
| |
Conjuror
Registered: Aug 2004 Posts: 168 |
Lower case for your hex numbers. Same for asm commands.
Steve
Conjuror/TF |
| |
Trooper
Registered: Sep 2002 Posts: 39 |
barcol .fill 3,0
tabpos .fill 3,0
xpos .byte 0
xpos2 .byte 0
xpos3 .byte 0
Throws up an error on 'tabpos' not 'barcol'? and error on 'xpos2' and not 'xpos'?
I'm confused, I'm defo doing somat wrong.....
{Edit 090608 @ 1949}
Doh, just realised, they need : at the end of the labels.....
Now, I've got the output window there, no apparant output, and no relaunch_dummy.prg file??? |
| |
Conjuror
Registered: Aug 2004 Posts: 168 |
I don't use relaunch, I use Eclipse with an asm plug-in and a batch file to compile and start the emulator so cant help with your specific problem. But this my batch file, hope it is of some use:
run.bat (this file is at the top of my project directory)
projectName
/build
/src
run.bat
java -classpath ../../kickAssembler/KickAss.jar -jar ../../kickAssembler/KickAss.jar -libdir src/ -time -showmem -o build/%1.prg -execute x64.exe src/%1.asm
So use as:
run Main
Compiles and executes the Main.asm file.
Steve
Conjuror/TF |
| |
Cruzer
Registered: Dec 2001 Posts: 1048 |
KickAss error messages are not its greatest asset. I think Slammer said it would be better in version 3.
|
| |
Slammer
Registered: Feb 2004 Posts: 416 |
Conjuror: In eclipe, you can also run Kick Assembler with a normal run configuration. Just use cml.kickass.KickAssembler as main class.
Cruzer: I think you said you would send some error examples ;-) |
| |
Conjuror
Registered: Aug 2004 Posts: 168 |
Slammer,
Cheers for that. I am aware of that (but not the specifics you mentioned - will check it out though)
So do you use a totally over top IDE for c64 dev too?
I actually prefer to run from the command line, I even do this at work for my Java programming as I like to keep things separate so that I can quickly swap with alt-tab.
Steve
Conjuror/TF |