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.
2010-09-19 14:41
Frantic

Registered: Mar 2003
Posts: 1647
Codebase64 contains a lot of code, showing how to do various things:
http://codebase64.org/

AAY64 is imho THE best reference for looking up registers etc:
http://unusedino.de/ec64/technical/aay/c64/

(The site is quite slow, so a tip is to download it and browse it offline. It is always good to carry around anyway.)

Many versions of TASS:
http://turbo.style64.org/

TASS docs:
http://www.fairlight.to/docs/text/xass33.html

Then again, most coders use cross assemblers in these days...
2010-09-19 16:46
MC
Account closed

Registered: Jul 2009
Posts: 71
Hmmmkay. Cross assemblers - I see the advantage in that.

I downloaded acme, dasm and Aart Bik's cross assembler. Will have a look at those tonight...

Some of them allow macros. Good!

Any of you ever used DEVPAC on the 68000 based platforms? Brilliant IDE for its time...
2010-09-19 16:51
Frantic

Registered: Mar 2003
Posts: 1647
Never even heard of that Aart Bik thingy. Probably useless. :)

ACME, DASM has been used by many (including myself), and other popular ones are KickAssembler and ca65.
2010-09-19 16:57
Yazoo

Registered: Nov 2006
Posts: 227
i am using dreamassembler (i think axis and graham use that one too)... it depends on personal taste i guess. btw - nice to see you back on track ;-)
2010-09-19 17:04
Frantic

Registered: Mar 2003
Posts: 1647
Yeah... I was thinking about mentioning dreamassembler too. It is nice indeed, and I use it too for one project. :) Still I can't remember any real benefits over some of the other assemblers I mentioned, apart perhaps from some functions that are handy when assembling a cartridge image. ...or did I miss something? On the other hand I think it is more or less equivalent in functionality with ACME for example, so why not mention it.. yes..
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: 1647
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: 1647
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
 
... 5 posts hidden. Click here to view all posts....
 
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
Higgie/Kraze/Slackers
serato/Finnish Gold
Rebok/BOOM!/Tropyx
csabanw
Jammer
Guests online: 104
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 The Demo Coder  (9.6)
7 What Is The Matrix 2  (9.6)
8 Uncensored  (9.6)
9 Wonderland XIV  (9.6)
10 Comaland 100%  (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 Triad  (9.2)
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.149 sec.