Jump to content
Gury

Mad-Assembler (MADS)

Recommended Posts

@Tebe, this is cool, I missed this post last month for english docs. I am looking into changing over to MADS assembler, I have been using X-ASM in most recent years.. :)

 

EDIT> there doesn't seem to be any MADS specific info on there?

Edited by Tezz

Share this post


Link to post
Share on other sites

MADS is a great assembler, with many more features than XASM, and I really recommend it for larger projects.

For me, two things make a HUGE difference: .LOCAL and .MACRO.

Unfortunately for non-polish people, the documentation for MADS-specific features (that made me change to it) is not available in english.

Perhaps someone from Poland could do that? And don't look at me, I'm busy with other Atari stuff :)

Share this post


Link to post
Share on other sites
MADS is a great assembler, with many more features than XASM, and I really recommend it for larger projects. For me, two things make a HUGE difference: .LOCAL and .MACRO.
Yes, it sounded like a more featured assembler with the inclusion of macro. I'd really like to get to use it.

 

Unfortunately for non-polish people, the documentation for MADS-specific features (that made me change to it) is not available in english. Perhaps someone from Poland could do that?
That would be great. Are there any Polish guys out there who would translate the docs? Where's Dracon at these days? Dracon & Miker did a good job translating G2f docs for Tebe's program.

 

....don't look at me, I'm busy with other Atari stuff :)
That's always good to hear ;)

Share this post


Link to post
Share on other sites
New version of MADS released, 1.8.4 more specifically.

 

Enjoy!

Bumping an old topic, but has anyone made progress with this documentation? The VBXE2 source code examples were done with MADS 1.8.4 so I will be learning to use it.

 

Stephen Anderson

Share this post


Link to post
Share on other sites

Bumping again: I'd like to use MADS too, especially now that the new version of WUDSN is going to work with it. The example code supplied with MADS is superb and extensive: unfortunately it's hard for us English speaking coders to follow the more advanced features of the assembler. So - any chance of an English version of the docs?

Share this post


Link to post
Share on other sites

Version 1.8.8 released

 

What's inside:

 

- uptated software-sprite routine for use with 8x24 sprites

- default file extension for ICL command is .ASM (when parameter is not given) so MADS tries to include filename.asm in this case

- comments /* */ in .MACRO and .REPT are working OK now

- removed bug in assembling #IF and #WHILE for statements with .OR and .AND

- command line switches are now preceded with - (dash) instead of slash (encountered some problems with adding slash character on MacOS X)

- corrected .USING directive for the actual name-range and the following names in this range

Share this post


Link to post
Share on other sites
Coolio... as I have Freepascal installed on OSX I can compile my own version.... ;)

 

 

Yipee !!! (Only joking ;) )

 

Is this the same version as I posted a couple of days ago or have further fixes been added?

Share this post


Link to post
Share on other sites

I think I might have to make the change... ATAsm is pissing me off.

 

It seems to put the messages indicating the segments just anywhere in the output listing.

You use ".INCBIN <file>" assuming it'll just add the binary segments in the file, but it just assembles the entire data inline.

It just quits at the first error, so if you've got missing labels it takes forever to discover them all.

 

It would probably actually be faster to just use Mac-65 in turbo mode.

Share this post


Link to post
Share on other sites
This looks great, but English docs would be nice.

yes! :)

inclusive a list with all commands grouped by type (macros, arrays, structs..) could be useful..

 

one question.. (I don't know if is the best place, but..)

 

in previous versions (1.7.5) I was able to compile macros like this:

 

.macro Test1
lda $FFFF
beq EndMark

EndMark1
.endm

.macro Test2
jmp EndMark

EndMark2
.endm

 

but in the last versions I get an error "Missing .ENDM" .. is there a new way to do this or just a bug?

 

thanks!

 

NRV

Share this post


Link to post
Share on other sites
I think I might have to make the change... ATAsm is pissing me off.

It seems to put the messages indicating the segments just anywhere in the output listing.

You use ".INCBIN <file>" assuming it'll just add the binary segments in the file, but it just assembles the entire data inline.

 

Hi Rybags,

 

Yes, "INCBIN" is a binary (inline) include by default.

You can give it a new start address using "*". This will cause a new segment in case the result is not a single continous block of bytes. ATASM minimizes the number of segments be default.

 

// Will be one segment
*  = $2000
start  jmp start
.incbin "example.bin"

 

 

// Will be two segments
*  = $2000
start  jmp start

* = $2800
.incbin "example.bin"

 

and you can also force a new segment by using the ".bank" directive.

 

// Will be two segments
*  = $2000
start  jmp start

.bank
* = $2003
.incbin "example.bin"

 

regarding the error reporting you might want to check out WUDSN IDE. The lastest version includes automatic positioning to the error (also for MADS of course ;-) )

Share this post


Link to post
Share on other sites

Hi Tebe,

 

For my latest project I had to switch from ATASM to MADS because the only useable MPT replayer was in MADS format. I was really afraid that the switch will delay the whole project, especially because I had not useable English manual at first. Now, after three weeks I simply have to say:

 

Thank you TeBe! MADS is the fucking best assembler one can think of.

 

With the nested names features of .local and .proc, the whole project whould have died two weeks ago. Instead has has become the most complex and yet most readable source I ever created.

 

post-17404-129045555493_thumb.png

Share this post


Link to post
Share on other sites

That picture looks good Peter... It almost looks like a structure definition, but without using .STRUCT...

 

EDIT: I just tried to expand a STRUCT using the outline viewer, and it doesn't work (the three structure entries are greyed out).

 

Anyway: I concur. MADS is superb, and the source code can be very readable.

Edited by flashjazzcat

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...