Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user Sepa ! (Registered 2024-05-13) You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > crossassembling
2007-01-02 07:17
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....
 
2007-01-02 22:20
Devia

Registered: Oct 2004
Posts: 401
oh for crying out loud... screw that relaunch and fancy editor stuff until you know wtf you're doing. Notepad, write code, save code, start cmd.exe, assemble by hand with the assembler of your choice, THEN start Vice and load the assembled prg MANUALLY. When THAT works, THEN try to cut corners with fancy editors, makefiles and whatnots.

If I was to start all over again, I'd use TMP on the real shit. You won't need the comfy xdev environment until much much later ;-)

2007-01-02 23:00
Marauder/GSS
Account closed

Registered: Jul 2006
Posts: 224
Quote: If your using ACME have you defined your output filename with !TO "filename.prg",cbm ?

no, on my test I haven't used the !TO "filename.prg",cbm option in the source-code, as Relaunch automaticly uses the name of source-code file + changing extension to .prg then I think...

btw, I'm not using ACME, so I'm not an expert in that... I've just executed acme.exe direcly to find out the parameters (as it didn't work with the default params provided by that Relaunch-thingy) and then just used them in Relaunch-settings for the test...

my current setup for VICE is simple:

- drive#8 for attaching d64-images
- drive#9 for attaching a directory on my hdd
- using my old SpeedDos C64 ROM for having extended functions like f-keys (showing dir, switching drive 8/9, realtime monitor for dumping memory) and hex-number support like "print $1103", @$ for dir, etc.
- TURBO ASSEMBLER (v5.5) - what else? (c;
- (or Turbo Macro Pro maybe, hehe)

2007-01-03 01:38
null
Account closed

Registered: Jun 2006
Posts: 645
Ok, I've tried about everything here, but VICE still doesn't load my program... and I know why...(I think)

Every I press the "Assamble and Run" button in Relaunch64, a command-prompt window pops up for about a second (which is probably ACME running or something), and just now, in a short flash, I saw something like "error" and more blabla...o.o


Also, I already used Turbo Assambler, but crossassambling seems nice...
2007-01-03 06:45
Raf

Registered: Nov 2003
Posts: 343
then invoke acme from commandline by hand , not from relaunch - to ensure what u'r doing wrong ;p

www.vulture.c64.org
2007-01-03 07:01
Marauder/GSS
Account closed

Registered: Jul 2006
Posts: 224
Quote: Ok, I've tried about everything here, but VICE still doesn't load my program... and I know why...(I think)

Every I press the "Assamble and Run" button in Relaunch64, a command-prompt window pops up for about a second (which is probably ACME running or something), and just now, in a short flash, I saw something like "error" and more blabla...o.o


Also, I already used Turbo Assambler, but crossassambling seems nice...


well Knoeki, like I've already mentioned it a few posts before, I had this also on my test with those programs.

And that's why I've compiled the source with ACME in dos-box first... and then I've used these params and just changed compiler-settings for ACME in Relaunch to: -f CBM -o OUTPUT INPUT

and then it works for me that it loads the compiled program in vice also...
2007-01-04 12:13
null
Account closed

Registered: Jun 2006
Posts: 645
Well, thanks to Mace everything works now. thanks!

*goes back to coding*
2007-01-04 15:27
Frantic

Registered: Mar 2003
Posts: 1628
...and what was the problem? Got curious.. :)
2007-01-04 15:28
Scout

Registered: Dec 2002
Posts: 1568
Quote: ...and what was the problem? Got curious.. :)

The problem was solved using Editplus + 64Tass.
We have a happy Knoeki now.
2007-01-04 16:39
Cruzer

Registered: Dec 2001
Posts: 1048
@Knoeki: Always nice to see new people taking up C64 coding. Looking forward to your 1st machine code demo, although it might take a while. It took almost 2 years from I started machine code coding until I released my first demo. So have patience. :)
2007-01-04 17:14
Marauder/GSS
Account closed

Registered: Jul 2006
Posts: 224
Quote: ...and what was the problem? Got curious.. :)

I guess the problem was that ACME didn't compile the source due to wrong commandline-parameters in Relaunch, hence there was no file created and that's why Vice didn't load anything...

I have tested it out and got the same behaviour, but just after changing the parameters in Relaunch all worked fine, like mentioned in my previous posts... ;)

anyway, good luck Knoeki... looking forward to see first demo! (c;
Previous - 1 | 2 | 3 | 4 | 5 - Next
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
Icecube/Light
zscs
Kakka/Extend, Damone..
kbs/Pht/Lxt
Visage/Lethargy
Clayboy
mutetus/Ald ^ Ons
lft
cg/Censor Design
Sepa
Mibri/ATL^MSL^PRX
Ghost/Quantum
encore
Guests online: 116
Top Demos
1 13:37  (9.8)
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 Uncensored  (9.6)
8 No Bounds  (9.6)
9 Wonderland XIV  (9.6)
10 Bromance  (9.5)
Top onefile Demos
1 Party Elk 2  (9.7)
2 It's More Fun to Com..  (9.6)
3 Cubic Dream  (9.6)
4 Layers  (9.6)
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 NTSC-Fixers
1 Pudwerx  (10)
2 Booze  (9.7)
3 Stormbringer  (9.7)
4 Fungus  (9.6)
5 Grim Reaper  (9.3)

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