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 > CSDb Discussions > Looking for resources
2010-09-19 14:26
MC
Account closed

Registered: Jul 2009
Posts: 71
Looking for resources

Lads, as its been 20 years since I've last seen a working C64 let alone coding on one... I am in need of resources.

I already found a good set of pdf copies of machine language coding books here: http://www.bombjack.org/commodore/books.htm#MACHINE_LANGUAGE_an..

The programmers reference manual (and other manuals) here: http://www.bombjack.org/commodore/commodore/

And the C64 memory map here: http://www.scribd.com/doc/40443/Commodore-64-Memory-Maps-variou..

What I am still looking for is a good version of Tasm with (if possible) a manual and some source codes to get me back in touch with 8bit code.

After leaving the C64 I taught myself 68000, and later Intel 386 coding (flat memory model, based on a dos extender). I forgot most of the 6502/6510 instructions :(

None of the original dutch usa-team source codes have been kept, I lost everything including the sources of music assembler.

Any good linkage is welcome.

Cheers, Marco

P.S. Strangely I do still remember addresses like $0314/0315, $d012 and the $d400 range (Who would forget SID eh?)... The brain is an odd thing indeed.
 
... 5 posts hidden. Click here to view all posts....
 
2010-09-19 17:33
MC
Account closed

Registered: Jul 2009
Posts: 71
Aart wrote a MOS Technology 6510 cross-assembler, which converts an assembler source file into a target file that can be executed by one of the emulators or, with some effort, uploaded to a real Commodore 64.

Aart Bik is a smartass ;) http://www.aartbik.com/MISC/c64.html

This whole C64 thing started last thursday when I picked up three of em. Now my mind is all creative and stuff and I'm loving it.

There will be new MC stuff. Music and most probably also code.

I have this new concept in mind for music editing (I could never get along with tracker style editing) and manipulating the SID. Let's not jump to conclusions and call it music-assembler 2 yet. But you never know do you...

But first things first, let's testdrive these cross assemblers.
2010-09-19 20:07
MC
Account closed

Registered: Jul 2009
Posts: 71
Owkay. I chose DASM in combination with Crimson Editor.

DASM because it allows INCBIN and CE because there doesn't seem to be any proper IDE for DASM (CE is already setup to assemble my stuff into a .PRG file when I hit ctrl+shift+A).

Works like a charm! I already managed to play a music-assembler tune and have a little scroller running. Apparently my memory isn't as shite as I like to make people believe. ;)

Thanks everyone I think I have all that I need for the moment.

Cheers, Marco
2010-09-19 20:20
Frantic

Registered: Mar 2003
Posts: 1646
All of the assemblers that has been mentioned here (possibly apart from the one I didn't know about) supports inclusion of binary files. It is a standard feature in these days. Not saying that DASM is necessarily a bad choice or so, but what you said is not in itself really a valid argument for choosing DASM specifically. :)
2010-09-19 20:45
MC
Account closed

Registered: Jul 2009
Posts: 71
Well then the fact I didn't see anything about it in the ACME docs is...

LOL

DASM does the job, it assembles stuff and allows me to use the extra bits I like (incbins, macros). Am toying with it while keeping an eye on the forum atm... This is good stuff for an old fart like moi.
2010-09-19 20:53
Frantic

Registered: Mar 2003
Posts: 1646
In ACME, it is "!binary" (or the alias "!bin"):

Examples:
!binary <Own/menudata.b> ; insert ibrary file
!bin "asc2pet.b", 256, 2 ; insert 256 bytes from file offset 2.
!bin "table", 2, 9 ; insert 2 bytes from offset 9
!bin "list",, 9 ; insert from offset 9 to EOF

(From the ACME manual...)

Anyway, DASM will most likely do the job. There are different versions around. Some of them with better error reporting than others. I think the version available on the following page is the one with better error handling:

http://cadaver.homeftp.net/tools.htm
2010-09-20 07:37
Devia

Registered: Oct 2004
Posts: 401
DASM is a lot like DevPac syntax wise, so it's a quick transition to the C64 if you remember DevPac.

Local .label labels, DC.B/DS.B and stuff like that. It's really rather irellevant, but helps one to quickly get familiar with C64 code again.

Personally I moved from Amiga DevPac to Amiga DASM to PC DASM and later on to ca65 from the cc65 package.
Learning to fully exploit the possibilities of ca65/ld65 is a bit of work though, but it IS worth it imo.


2010-09-20 08:05
cba

Registered: Apr 2002
Posts: 935
Use Exomizer V2.0 Beta 7 to crunch, further do check out Kick Assembler V3.13
2010-09-20 12:29
Perplex

Registered: Feb 2009
Posts: 255
Quoting Devia
Learning to fully exploit the possibilities of ca65/ld65 is a bit of work though, but it IS worth it imo.


Seconded! The CC65 suite is also well-documented, well-maintained and there is an active mailing list for support.
2010-09-20 13:02
Oswald

Registered: Apr 2002
Posts: 5086
if you prefer something simple&easy with the same syntax as the native turbo ass try this:

64TASS V1.45

(incbin, macros, are in there + more)
2010-09-20 15:10
MC
Account closed

Registered: Jul 2009
Posts: 71
I'll look at cc65, exomizer and 64tasm when I get home lads. Thanks for the linkage.
Previous - 1 | 2 - 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
v3nt0r/ibex-crew
Dr. Doom/RAD
Guests online: 109
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 Graphicians
1 Mirage  (9.7)
2 Archmage  (9.7)
3 Mikael  (9.6)
4 Carrion  (9.6)
5 Sulevi  (9.6)

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