|
Post by expertsetup on Oct 28, 2006 19:13:00 GMT -5
Hello, I have hacked away at the good ole c=64 for years in ML. I have basically only used ML monitors as my development IDE, a less than optimal approach I know. I have done a itty bitty bit of ASM with DSAM on my PC but only from C=Hacking 20 examples about Digi music (Thanks Robin and others that worked on the article). Quite interesting Code but not an ideal tutorial for Assembler functions. Is there a good resource out there that would help to enlighten me as to the features of Assembler applications? I was really looking for info on data types, syntax & 'Macros' !?! I am looking to take advantage of the power to take my coding to a new level. DASM is the assembler I plan to use but if there are generic functions that are common to assemblers that might be a good starting place? I do have Jim Butterfield's 'Machine Language for the Commodore 64, 128 and other computers, revised and expanded' it's quite a resource for me and is one of the best , however not for explaining Assembler features. I have this book that I won on Ebay, it's called: Commodore 128 Assembly Language Programming by Mark Andrews. It's a SAMS (have to love that) book and covers Merlin 128, Commodore 64 Macro Assembler, TSDS Assembler & C-128 monitor. Now I think this book should do the trick for me, thoughts anyone? Are these assemblers similar to what we have today on the PC feature wise?I feel this will be fine but any guidance or supplemental information is quite appreciated.
|
|
TMR
Newbie
Posts: 38
|
Post by TMR on Oct 28, 2006 19:56:06 GMT -5
If there's any one assembler that the current crop of cross assemblers are based on, it has to be Turbo Assembler; in fact, a lot of them even share assembler directives with Turbo.
i've never used macros m'self so i can't comment on those to be honest, but i doubt a book on Commodore or Merlin'll cover what the current tools are able to do or how they do it either. Check Kick Assembler though, that's meant to be really nice to use (i'm a C64Asm bunny, although i'm aware it's not the most powerful tool out there it does the job and when i first selected it there was only Dasm as an alternative and i really don't like Dasm).
|
|
|
Post by expertsetup on Oct 31, 2006 13:11:52 GMT -5
Well thanks for the info, I guess I am reading the 128 Assembler book anyways as it is still a starting point. I think it should shed some light on the subject and resolve a lot of my questions. I will give a review of the book after I am done.
Should take a few weeks I am sure.
|
|
|
Post by mrloadstar on Feb 1, 2007 10:13:41 GMT -5
I use BASSEM, which was published by Compute! Gazette in 1990 -- their swan song. Basic environment -- line numbers -- two-pass assembler. Works for me.
Dave
|
|
|
Post by Golan Klinger on Feb 1, 2007 22:52:35 GMT -5
BASSEM sounds interesting and I would like to try it. Do you know where I might find a copy?
|
|
|
Post by mrloadstar on Feb 2, 2007 2:39:18 GMT -5
Golan, Sure. I have put LOADSTAR issue 242 (D81) at c64.eloadstar.com/ssocc/Complete docs are on the issue. [ftp]http://server.revdave6.dyndns.info/ssocc/[/ftp] (not sure about doing the ftp link, so you have it both ways. The only thing BASSEM does not do is LDA#<addr LDX#>addr but I get around it with 20 deffnh(x)=int(x/256) 21 deffnl(x)=x-fnh(x)*256 Then in the assembly code: LDA#FNL(addr) LDX#FNH(addr) Hope this works for you. Dave
|
|
|
Post by Golan Klinger on Feb 2, 2007 3:56:11 GMT -5
Thanks. I grabbed it and am looking forward to seeing how this thing works. New things are always fun and interesting.
|
|