News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

RadASM 3.0 bugtest

Started by KetilO, May 31, 2010, 12:28:11 PM

Previous topic - Next topic

KetilO

Hi cookj, good to have you back in one piece.

The fonts weight was not saved to ini file. It has been fixed in the new upload.
Color themes in RadASM 2 in not compatible with RadASM 3

KetilO

KetilO

Hi obj2010 / donkey.

There are no menu item for the toolbar creator. Just add a .tbr file to your project.

Here is the new help file for the toolbar creator addin.

This addin creates toolbars.

How to open toolbar creator:
----------------------------
Open or add a .tbr file to your project. This will open a toolbar creator window in RadASM.

How to select a toolbar bitmap:
-------------------------------
1. Browse for the Bitmap File. Leave it blank if you are using the standard windows bitmap.
2. Type in a Bitmap Name. Use IDB_STD_SMALL_COLOR for windows standard bitmap.
3. Select the Button Size to fit the bitmap.

How to set toolbar styles:
--------------------------
1. Select the Toolbar Styles.

How to add or insert a button:
-----------------------------
1. Click Add Btn. or Ins. Btn.
2. Type in a Button Name.
3. Type in an ID. Set it to 0 if the ID is defined elsewhere in your code.
4. Select an image for your button.
5. Select Button Style (Check and / or Group).

How to add or insert a separator:
---------------------------------
1. Click Add Sep. or Ins. Sep.
2. Button Name should be a -. Set the ID to 0.

How to delete a button or separator;
------------------------------------
1. Select the item you want to delete from the list.
2. Click Delete.

How to edit Button Name or ID:
------------------------------
1. Select the button from the list or click on the toolbar button.
2. Change the name and / or the ID.

How to export the generated code:
---------------------------------
1. Click on Export and the generated code will show in RadASM's Output window.
   Currently only masm syntax is supported.

How to save your toolbar:
-------------------------
1. Click on RadASM's save button.

KetilO

Ficko

Hi KetilO!

Thanks for the hard work the IDE is getting better and better each day. :clap:

I just have a Q.

I like to use "Modules" so I added a new project group and called it "modules" and put in some files.
However the "Make" -> "Assemble Modules" is still blanked out - can't click it -

I did find in the "Help" this:

Quote
$M Modules. When linking, and your project has modules, a Mod.txt command file is created and added to the command line.

Can you elaborate please what this meant ?

Thanks,
Ficko

KetilO

hI Ficko

The files must be modules for it to work. Select Make / Toggle Current as Module when a module file is open and selected.

KetilO

Ficko

Thanks just found it too.  :U

Ficko

But it seems to be a little inconvenience there. :wink

If I mark the files as modules the "assemble" icon is disabled.

In the previous version I was able to compile the modules at once or as single source.



obj2010

Thanks KetilO  :wink

I tried to follow the steps but I ran into some problems:
1) adding a file Toolbar.tbr opens the Toolbar Creator but there is no default icon displayed
2) adding the buttons is always displayed the symbol CUT
3) I tried to load a custom bitmap but that does not appear
4) in the code created by EXPORT seem to lack the definitions of the buttons

I did some tests following the tutorial http://members.a1.net/ranmasaotome/tut3.html knowing that was created with the previous version, I made some changes but do not seem to work.
Surely I have done something wrong, but I'm new to programming and even RadASM.  :red

Regards.  :U

Ficko

Ok KetilO,

I think I am starting to understand what you are intended to do how modules should work.

Tell me if I am wrong. :P

You have to select a "main" file and you have to select the "modules".
Then you can assemble all of the "modules" except the "main" file with "Assemble Modules" and you can assemble the "main" file with "Assemble".

It is fine but don't work very well for library projects. ::)
You often modify just one module in a library and you like to assemble just that one than build the library from the object files.
Currently I don't see you can do that.
In the previous version you was able to assemble the file in the IDE focus on.

Additionally there is maybe a bug with the "Mod.txt" generation.
I suppose the library maker try to open it before it is created fully.

I get an error in the IDE output window for:

Quote
tlib MyLib.lib /u @Mod.txt
System reported error: Bad file number
TLIB 6.2 Copyright (c) 1987-2010 Embarcadero Technologies, Inc.
opening 'Mod.txt'
Error(s) occured.

but

Quote
tlib MyLib.lib /u @Mod.txt

works fine on CMD window.




donkey

#173
Rule number 1: Always preserve the registers required by the ABI.

I changed the way the addin got descriptions for RadAsm 3.x and used scasb to scan for commas, unfortunately I did not preserve the EDI register and that caused the delete function to fail. I did not notice it until I went to delete a favorite today. Here's the fixed addin, sorry about that, I should know better...

Edgar
"Ahhh, what an awful dream. Ones and zeroes everywhere...[shudder] and I thought I saw a two." -- Bender
"It was just a dream, Bender. There's no such thing as two". -- Fry
-- Futurama

Donkey's Stable

Ficko

Hi KetilO,

I just realized that I wrote previously only what bothers me but I didn't give you any possible solution. :red

I think this is is how it should work.:

We need a check box in project settings for something like "don't have a main" or "library project" or something simille.

By checking it would change the behavior of the IDE slightly.
1.) The "Assemble all" would be enabled and it would assemble all modules.
2.) The "Assemble" button would assemble the file in the IDE the focus is on.
3.) Incremental build would apply to every module.

I think that would be optimal. ::) :bg

KetilO

Hi obj2010

Toolbar creator works as it should here.
What OS are you using?

KetilO

KetilO

Thanks Edgar

The download has been updated.

Version 3.0.0.7g 2010-11-08
---------------------------
o Updated donkey's Favourites addin.
o RadASM should now handle library projects with modules only (no main file).

KetilO

KetilO

Thanks Ficko

Your suggestion is good exept there is no need for a checkbox. A project without a mainfile indicates this case.

Assemble: Assembles current open module file.
Assemble Modules: Assembles all module files, one by one.
Link: Links all module .obj files into a library
Build: Assembles current open module file and links all module .obj files into a library.

The download has been updated.

Version 3.0.0.7g 2010-11-08
---------------------------
o Updated donkey's Favourites addin.
o RadASM should now handle library projects with modules only (no main file).

KetilO

jcfuller

Ketil,
  I just updated to "g" and the assemble icon is grayed.
The assemble menu item is active and works (F5) just no active assemble toolbar icon.

James

KetilO

Hi jcfuller

Works here.
What programming language?
Do you have a project open?

KetilO