Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Productions > Cross-Development
2002-05-18 19:11
Eyeth
Account closed

Registered: Apr 2002
Posts: 98
Cross-Development

Hello.

I'd like to use my PC for cross-developing for the C64/128 line of computers.

What assembler do you coders reccommend on the PC side? I need an assembler that can support temporary labels like +, -, 10$:, etc. It needs to support relative assembly where I would assemble code that runs at $xxxx or intended for drive code but is at somewhere else. (The program would move such code at runtime to $xxxx or the disk drive, etc.) It needs to assemble into PRG's with the lo/hi load byte header and as well as PRG's without this lo/hi byte load header such as datafiles. Of course, it needs to support labels.

What else should I take a look at? I already know about PuCrunch by Pasi Ojala. Are there any PC tools out there that easily aids cross-development for the c64?

Before anyone should criticize cross-developing, I am into this to save time and have fun doing it and as well as releasing some C64/128 software. A PC running at 1GHz, etc. all makes developing for the c64/128 painlessly and fun. :)

Thanks,
-Todd Elliott
2002-05-18 22:24
Moloch

Registered: Jan 2002
Posts: 2924
Todd -

Give this website a look-see - plenty of cross development tools and projects made with the tools.

Covert Bitops
http://www.student.oulu.fi/~loorni/covert/
2002-05-19 03:53
Stryyker

Registered: Dec 2001
Posts: 468
I doubt you will find the needed assembler, I have not found any cross assembler using your needed style of local labels etc. Most do support other formats though. I use ACME, many use Turbo Assembler, DASM or XA.
2002-05-19 18:10
yago

Registered: May 2002
Posts: 333
Besides the Assemblers which stryyker mentioned, you might also take a look at luna (assembler for lunix) and ca65 (assembler which gets the food from the c-compiler cc65).

Its also nice to get some converting done between the different formats, i am using most of the Time SED for this.

Thinking of it, the + - 10$ might work with luna.

Have Fun,
Zed Yago
2002-06-01 17:22
chatGPZ

Registered: Dec 2001
Posts: 11350
ca65 can do all you want (and loads more ;=P) ... its just a little "different" to what you might be used to.
2002-06-11 21:16
6R6

Registered: Feb 2002
Posts: 245
Tass6502 from Taboo works nicely.
I'm using it together with vice and ultraedit.

2002-06-12 00:31
Stryyker

Registered: Dec 2001
Posts: 468
Too bad Turbo Assembler source isn't released that assembles ok with GCC or something so it can enjoy long filenames etc., same for their Level Crusher (which I use). someone? :)
2002-08-25 18:58
Metal Maniac

Registered: Aug 2002
Posts: 12
I use the same one as GRG, Tass6502 from Taboo. And it works fine for me, very similair to the C64 Turbo Assembler.

and, when it comes to tools. There are a Sprite Editor (Sprite Editor 1.35 or something) which can be used to draw sprites.
Vodka / FLT also has made a pixel editor for drawing pictures, called ElitePaint.

And, I know Creeper/Dual Crew is working on a c64 pixelpainting tool on PC aswell...

/M
2002-08-25 22:04
CyberBrain
Administrator

Posts: 392
I've also used "6502 TurboAssembler" from Taboo since i started x-developing, but i've recently discovered that CA65 (<- part of the "CC65" package. Check it in CSDb) is *MUCH* better (much more and better features than in 6502tass).

A lame thing with CA65 is that it doesn't support normal tass-syntax, unless you write 2 lines on top of your code... But just write those 2 lines and it's the BEST assembler ever.

So i would recommend you all to go for CA65!

(needs some time to learn how to set up, though. You have to run the assembler first, and then the linker afterwards. But there are docs.)
2002-08-25 22:08
CyberBrain
Administrator

Posts: 392
...Btw: CA65 supports those "+"/"-" labels you talk about, and you can also assemble code that should run at $xxxx to $yyyy, so you can move it to $xxxx at run-time, the way you describe. And it doesn't automatically put the 2-byte startadress into the PRG.
2002-08-26 00:27
Stryyker

Registered: Dec 2001
Posts: 468
I also noticed Bigfoot/Breeze has ANSI C source of Taboo DOS version of Turbo Assembler, now I need Level Crusher :)
2003-03-11 03:42
Eyeth
Account closed

Registered: Apr 2002
Posts: 98
Hello, CSDb'ers-

So far, I've been using the cc65 programming suite for the bulk of my cross-development work. [www.cc65.org] The ca65 assembler is pretty powerful and flexible for my needs. In addition, GEOS support is nearly complete.

However, the cc65 programming suite didn't come with a text editor and I want to use a text editor while in Red Hat Linux 8.0. I've asked this question on the cc65 mailing list, but I figure maybe I can get more leads by posting here.

Specifically, I want a text editor that has syntax highlighting capabilities. I've tried the Bluefish editor that is optimized for web development and I was impressed. Syntax highlighting made the source code a whole lot easier to read and debug. I want the same thing for 6502 development, where opcodes, data statements, comments and directives (psuedo-ops) are highlighted, etc.

Don't suggest vi or emacs. Both are too hard to use. I've heard of GUI versions of those programs, but I'm too lazy to figure out these GUI versions, much less download them and compile them.

Thanks,
-Todd Elliott
2003-03-11 07:41
Puterman
Account closed

Registered: Jan 2002
Posts: 188
A friend of mine claims that sooner or later, every programmer has to write his own text editor. If you can't be bothered to learn to use a real editor, maybe you should write your own.
2003-03-11 13:34
Nightlord
Account closed

Registered: Jan 2003
Posts: 131
actually emacs is just like having your own written text editor. i highly suggest everyone to invest just a month for the learning curve for emacs and e-lisp language(which most of emacs is written in) then you will never change your editor again... if you want a certain feature you go ahead and put it in fairly easily.

i spent the mentioned month about a year ago and am now a happy man to use my favorite editor in any platform for free...:)

i personally have been using acme assembler since i returned to the scene 2 months ago. it is fast and comfortable. but it seems to have problems on win98 platform. i use it on winxp with no problems...
2003-03-11 17:13
QuasaR

Registered: Dec 2001
Posts: 145
I think DocBacci had setup a IDE-like system for Linux. Try www.the-dreams.de ...
2003-03-11 17:13
CyberBrain
Administrator

Posts: 392
If you don't like the long learning courve of emacs, and you're using windows, you could check textpad at www.textpad.org. Easy and powerful text-editor.
2003-04-24 10:34
Testicle
Account closed

Registered: Sep 2002
Posts: 131
hi to all,

i'm currently working on a windows-based text-editor, which is especially optimized for c64-asm-programming.

beside many useful text-editor-features, it also contains useful functions for asm-coding, source-codemanagement etc.

you can define up to three different emulators and up to three different cross-assembler (like ACME, DAsm, CA65, C64Asm etc.). syntax-highlighting is included. you can define own shortcuts for every single function.

if the setup is done (i.e. emulator and x-assembler are set), you can compile the source, run the emulator and execute your program just by pressing one key!

the program is at beta-status. that means: currently ACME is completely supported, DAsm is supported as well, but the syntax-highlighting is not 100% working now. C64asm and Ca65 sources can be compiled, but the syntax-highlighting is not implemented properly yet.

another thing: the program is only in german language. but if the full release is ready, i will also offer an english-languaged version.

for those, who understand german and want to test the program, get it here:

http://www.schergentoni.de/pg/xasm.zip (about 440kb)

i also recommand downloading the sample, as it explains the most important functions and the usage of the program:

http://www.schergentoni.de/pg/xasm-sample.zip (about 60kb)


feel free to send feedback, suggestions and so on to me:
daniel [at] popelgand [dot] de


thanks for your attention! :-)
2003-04-24 10:36
Testicle
Account closed

Registered: Sep 2002
Posts: 131
sorry, my mail-adress is:

daniel [at] popelganda [dot] de

there's an "a" missing in the post above...
2003-04-24 10:48
WVL

Registered: Mar 2002
Posts: 895
I'm using ConText for editing and 6502 Tass by taboo.. I made some .bat files to compile everything and 1541.exe (from ViCe) to make the .d64's. I use exomizer for crunching. Everything I need happens in one and the same .bat file. Hope it helps.. (btw, ConText is free, and so are the rest of the tools!)
2003-04-25 01:07
ccr

Registered: May 2002
Posts: 26
I currently use the following tools:
- assembler: XA by Andre Fachat (of VICE fame)
- emulator: VICE
- my own tools for gfx (bitmap, sprite, char) conversion, object linking, etc. written in ANSI-C.
- PUCrunch for packing
- joe or vi for editing.
2003-04-25 07:31
Testicle
Account closed

Registered: Sep 2002
Posts: 131
what i missed in almost every texteditor, was a clever function to jump to code-segments. with my text-editor, you can set up to 10 bookmarks, but even better is the function to devide the sourcecode up into different paragraphs. each irq/routine/subroutine/byte-data can be defined, and then you have a drop-down-list, where you can directly jump to any paragraph in the source.

and many other helpful features are included. i hope i can offer an english version of this program, it has lots of helpful features...
2003-04-25 12:52
chatGPZ

Registered: Dec 2001
Posts: 11350
will you do a version that works in any real OS? :o)
2003-04-25 14:15
Testicle
Account closed

Registered: Sep 2002
Posts: 131
i'm sorry, but my c++-compiler is for windows-32bit only, so this tool is just for windows-user...
2003-04-27 18:25
chatGPZ

Registered: Dec 2001
Posts: 11350
mmmh well.... if you would just use some portable library for the gui and other i/o (such as SDL or GTK for example) it would be lots easier (== almost no effort) to port the thing to other major OSs. The compiler you use (i assume VC++, right?) isnt really the problem here.... dont use any non-portable compiler extensions (most arent needed anyway) and take a little care about endianess issues (MACs and Amigas are big endian) and all will be fine on any platform (provided the gui-toolkit you are using is available). dont stick to your windoze "os" dudes :=)
2004-10-21 12:37
jailbird

Registered: Dec 2001
Posts: 1578
Is there any kind of *working* pixel-program or free PS plugin for PC that could emulate multi color pixelling on C64? I know about Vodka's Elite Paint, but it lacks from Save/Import/Export functions, and uses ugly palettes.

I'd really appreciate if someone could help me, as my C64 is very obviously dying, hoverwer, I'm very eager to start pixelling again...
2004-10-21 12:47
Testicle
Account closed

Registered: Sep 2002
Posts: 131
a tool which emulates quite well (but is also very slow) is the koala painter from six/dark lords of chaos (http://www.darklordsofchaos.com).

the site seems to be under construction, but i have a version of that koala painter (freeware), and i can mail it to you, if you like...
2004-10-21 13:06
jailbird

Registered: Dec 2001
Posts: 1578
Testicle: thanks, you could find my E-Mail address on my user-page.
2004-10-21 20:40
Higgie

Registered: Apr 2002
Posts: 116
I would appreciate a copy of that Koala-Tool, too. If you would be so kind to send it to me: mail[at]hergen-oltmann[dot]de
Thanx in advance!
2004-10-22 09:12
Testicle
Account closed

Registered: Sep 2002
Posts: 131
does someone use TASS crossassembler? i've just uploaded the beta2.1 of Relaunch64 and like to know, whether the TASS support of R64 is ok.

if someone likes to test, you can download Relaunch64 at: http://www.popelganda.de

thanks in advance...
2004-10-22 10:37
jailbird

Registered: Dec 2001
Posts: 1578
The tool is awfully slow on my p2/400 slotmachine, sadly I couldn't use it for pixelling... :(
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
Twoflower/ΤRIΛD
Magnar
DeMOSic/MS^LSD^ONS
Guests online: 94
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Mojo  (9.6)
6 Uncensored  (9.6)
7 Wonderland XIV  (9.6)
8 Comaland 100%  (9.6)
9 Fishbomb  (9.6)
10 No Bounds  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Party Elk 2  (9.6)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.6)
5 Libertongo  (9.5)
6 Rainbow Connection  (9.5)
7 Onscreen 5k  (9.5)
8 Morph  (9.5)
9 Dawnfall V1.1  (9.5)
10 It's More Fun to Com..  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Nostalgia  (9.3)
5 Censor Design  (9.3)
Top Webmasters
1 Slaygon  (9.6)
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.093 sec.