Help me test RadASM 2.1.0.9

Get it here:
http://radasm.visualassembler.com/Upload/RadASM2109.zip

IMPORTANT:
You must previously have 2.1.0.8 installed.

Whats new:
o Option to set comments back color.
o Several improvements on Find Declare (F2).
- Speed optimized.
- Finds local variables and labels.
o Fixed some fasm parsing problems.
o Fixed some hla parsing and code block problems.
o Fixed a bug where the parser was a bit eager to exclude comment blocks.
o RadASM goes MUI. Included language development pack.
o Possible to shrink / magnify dialogs.
o Possible to set the font used on dialogs.
o Added option to select language / magnify.
o Updated RadToolBar addin to support unicode.
o Added AutoScrpll propertu to combobox
o Added MultiLine property to button, checkbox and radiobutton
o Added posibility to get style bit description from RadASM.ini.

Following must be changed in hla.ini
[ code]
Code={C},procedure $
Const={C},$ =
Data={C},$ dword,$ string,$ word,$ byte
Macro=#endmacro,#macro $
Struct=endrecord,$ record


1=begin,end,,,6
2=if,endif,elseif,else,0
3=$ record,endrecord,,,6
4=#macro,#endmacro,,,6

Following must be added to section in RadASM.ini

;Font to use on dialogs (FontName,Size,Italic,Weight,Character set
Font=Tahoma,-12,0,400,0
;Magnify 32 equals x 1, 40 equals x 1.25
Magnify=40
;Language file to use (if any)
Language=RadXXX.lng

Following section can be added to RadASM.ini to support style bits description

;Dialog
0=DS_ABSALIGN,DS_SYSMODAL,DS_3DLOOK,DS_FIXEDSYS,DS_NOFAILCREATE,DS_LOCALEDIT,DS_SETFONT,DS_MODALFRAME,DS_NOIDLEMSG,DS_SETFOREGROUND,DS_CONTROL,DS_CENTER,DS_CENTERMOUSE,DS_CONTEXTHELP
;Edit
1=ES_CENTER,ES_RIGHT,ES_MULTILINE,ES_UPPERCASE,ES_LOWERCASE,ES_PASSWORD,ES_AUTOVSCROLL,ES_AUTOHSCROLL,ES_NOHIDESEL,,ES_OEMCONVERT,ES_READONLY,ES_WANTRETURN,ES_NUMBER,ES_SUNKEN
;Static
2=,,,,,,,SS_NOPREFIX,SS_NOTIFY,SS_CENTERIMAGE,SS_RIGHTJUST,SS_REALSIZEIMAGE,SS_SUNKEN,,SS_ENDELLIPSIS,SS_PATHELLIPSIS

RadLNG.exe is the language development package.
RadENG.lng is the English language file.
RadNOR.lng is the Norwegian language file.
RadCHN.lng is the Chinese language file.

You will need NT/2000/XP to use the language pack (unicode).

KetilO
Posted on 2005-03-02 14:59:48 by KetilO
Hi all

New upload:
o Fixed a bug where the parser was a bit eager to exclude comment blocks.

KetilO
Posted on 2005-03-03 03:48:24 by KetilO
thanks i like masm, i like you for your hard work
Posted on 2005-03-04 07:15:13 by jndk
Thanks a lot for your nice work, KetilO!
Now HLA parsing is much more precise.
But on Ctrl-Shift-Space combination there is no drop-down list with local vars and parameters. :-(
Posted on 2005-03-04 10:06:05 by Elohim Meth
Thanks KetilO, your program works great on Fasm sources.

There are some sections on fasm.ini that could be completed with some useful syntax constructs:



[ code]
Code=endp,proc $
Const={C},$ =,$ equ
Data={C},$ db,$ dw,$ dd,$ dp,$ dq,$ dt,$ du,$ rb,$ rw,$ rd,$ rp,$ rq,$ rt
Macro=},macro $
Struct=},struc $
Label={C},$ :
Local={C},$ db,$ dw,$ dd,$ dq,$ rb

[CodeBlock]
1=proc $,endp,,,14
2=if,endif,elseif,else,0
3=virtual,end virtual,,,14
4=macro $,},,,6
5=struc $,},,,6
6=section,,,,16

[CodeMacro]
1=if,{T},{C}{I}end if
2=else,{T},
3=else if,{T},
4=virtual at,{T},{C}{I}end virtual
5=macro,{I}{S}{{C}{I}{T},{C}{I}{S}}{C}
6=proc,{I}{T}begin{C}{I}{T},{C}{I}{T}return{C}{I}{T}endp{C}
7=struc,{I}{S}{{C}{I}{T},{C}{I}{S}}{C}

Posted on 2005-03-04 13:31:16 by pelaillo
Hi Elohim Meth

Unfortunatly the hla syntax is such that it does not fit into any of the existing methods. I will look into it but no promises.

KetilO
Posted on 2005-03-06 15:15:39 by KetilO
Thanks pelaillo, I will use it in my next release.

Ketilo
Posted on 2005-03-06 15:17:00 by KetilO
Hi Ketil,

The next release of GoAsm will contain support for Unions. I guess when you are making the changes you should also add the following to the GoAsm.ini file...

[CodeBlock]

1=$ frame,? endf,,,6
2=$ struct,? ends,,,6
3=usedata,endu,,,6
4=#IFDEF,#ENDIF,#ELSE,0
5=$ union,? ends,,,6
;5=#if,#endif,#else,#elseif,0
6=$ section,,,,16
7=.code,,,,16
8=.const,,,,16
9=.data,,,,16

[CodeMacro]
1=$ FRAME,{T}{C}{I}{T},{C}{I}{T}RET{C}{I}ENDF
2=$ STRUCT,{T},{C}{I}ENDS
3=USEDATA,{T}{C}{I}{T},{C}{I}{T}RET{C}{I}ENDU
4=#IF,{C}{I}#ENDIF
5=#IFDEF,{C}{I}#ENDIF
6=$ UNION,{T},{C}{I}ENDS


And add UNION to the C10 .

BTW is there support for more than 9 CodeBlock entries, haven't tried but it would be nice to still have the #if etc...
Posted on 2005-03-06 23:02:53 by donkey
Thanks Donkey, I will update the ini.

There is support for max 16 CodeBlock entries.

KetilO
Posted on 2005-03-07 02:36:01 by KetilO
New upload

- Added dialog to select language and magnify.

KetilO
Posted on 2005-03-13 16:20:29 by KetilO
Hi all

RadASM is now ready for translation into any language.
It is done by creating a language file using the English language file as a template.

Are you willing to help?

It should be possible to do the translation in an evening or two.
You will need to have Windows NT, 2000 or XP to do the translation (unicode).

KetilO
Posted on 2005-03-15 06:21:01 by KetilO
hello KetilO
My chinese isn't good, My english is poor, My Win32asm is guly, but my heart is goodwill enough.
could you think I can do that ( translate RadENG.lng into RadCHN.lng. )?

regards

Posted on 2005-03-15 06:59:45 by dcskm4200
ketilO,
i'll help ya make a lng file, just add unicode/western fonts..etc
cuz i get gibrish.
Posted on 2005-03-15 07:45:42 by wizzra
Hi dcskm4200

Shure, all you need is RadLNG.exe (download from the above link) or an editor capable of handling unicode.

KetilO
Posted on 2005-03-15 08:08:13 by KetilO
Hi wizzra

Please state the language you will translate to.

Are you having problems with RadASM or the RadLNG tool?
You can use Notepad as the editor if the version of Notepad you have handles unicode.

I have not tested yet if it will work with 95, 98 or Me and mslu.

KetilO
Posted on 2005-03-15 08:12:13 by KetilO
Hi Ketilo!
I have found something that seems to be an old bug...
When I selected the border style Boader on a static control, its is drawn correctly on the dialog editor but the compiled version shows an sunken edged control. Any idea whats going on?

Regards,

Biterider
Posted on 2005-03-15 09:48:50 by Biterider
Hi Biterider

Unfortunatly this is not a bug. Windows takes the WS_BOARDER style and converts it into WS_EX_CLIENTEDGE on dialogs.

KetilO
Posted on 2005-03-15 12:44:52 by KetilO
OK, I see... Thanks anyway!

Regards,
Biterider
Posted on 2005-03-16 00:50:40 by Biterider
KetilO,

the RadLng program won't read fonts, how about adding a font selecting option?
pasting from notepad->radlng works, but the preview still shows gibrish (weird chars) and not my desired font.
Posted on 2005-03-16 01:37:47 by wizzra
Hi all

New upload.

Whats new in RadLNG:

- Added font selection
- Added magnify selection
- Moved toolbars to its own dialog (testing tooltips)

KetilO
Posted on 2005-03-16 04:07:23 by KetilO