The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: thomas_remkus on June 10, 2005, 02:10:17 PM

Title: console development environment
Post by: thomas_remkus on June 10, 2005, 02:10:17 PM
I'm doing all of my development in the console. I am trying to not let anything get in the way with understanding and knowing how this works. I feel that the windows editor to create my projects that comes with MASM is too much for me right now and I just want to stick with the console. Saying that, I have been learning much from creating my own "makeit.bat" and having it do the things I need. However, using "edit.exe" is just horrible. I have installed cygwin and am using "mcedit" but it's not too much better.

Can anyone recommend a console editor that maybe has some syntax coloring, a ctrl+c and ctrl+v copy/paste system, and is free. Google just goes nuts when I ask it for this.

thomas
Title: Re: console development environment
Post by: tekhead009 on June 10, 2005, 03:07:12 PM
I'd reccomend not torturing yourself by devoloping entirely through a DOS Console. RadASM is an excellent win editor, if you're not using some kind of learning package (Kip Irvings package, for example, is difficult to get working through Rad, I don't know about the HLA stuff from AoA). Batch files are, even now, very useful, and learning to navigate DOS is critical in my opinion; but it really slowed down my learning. I spent way too much time copying files as backups, compile, link, test, erase write a batch to do it, change the batch for every project, etc..
Title: Re: console development environment
Post by: dsouza123 on June 10, 2005, 04:06:12 PM
Setedit should fill the requirements.

http://setedit.sourceforge.net/
Title: Re: console development environment
Post by: Mark Jones on June 10, 2005, 07:15:24 PM
Or see what the WinASM IDE can look like:

http://heliosstudios.net/temp/winasm.png

It is possible to do everything from a command prompt... but it's so much more convenient with a nice IDE. :)
Title: Re: console development environment
Post by: thomas_remkus on June 10, 2005, 07:49:35 PM
You sold me. I just downloaded and am now using WinASM. Thanks!
Title: Re: console development environment
Post by: Faiseur on June 10, 2005, 07:48:32 PM
WinASm and RadAsm is excellent integrated IDE. EasyCode is good, but I do not think that it is what you seek. The most advanced IDE is in my opinion RadASM by KetilO

http://radasm.visualassembler.com/


You find support for certain IDE (WinAsm, RadAsm, EasyCode and WinAsm) here:

http://www.masmforum.com/simple/index.php?board=10.0


Title: Re: console development environment
Post by: Jeff on June 10, 2005, 07:49:41 PM
Quote from: Mark Jones on June 10, 2005, 07:15:24 PM
Or see what the WinASM IDE can look like:

http://heliosstudios.net/temp/winasm.png

It is possible to do everything from a command prompt... but it's so much more convenient with a nice IDE. :)
wow thats pretty, lots of useful stuff (especially the "code library").  i just might make the transition.  :)

OT: in your screenie, there was a NOP with a comment "for debugging".  how does having that there help with debugging?

[edit]
any screenies of the radasm environment?
Title: Re: console development environment
Post by: tekhead009 on June 11, 2005, 12:19:05 AM
Here's (http://home.comcast.net/~simeone8/RadASM.JPG) one of RadASM

I haven't tried WinASM myself yet. RadASM doesn't look as pretty, but I'm no aesthetic.
It's updated often too, seems they come out with a new minor version every month or two; everytime I remember to check. It's got all kinds of bells and whistles as far as functionality goes.
Title: Re: console development environment
Post by: Mark Jones on June 11, 2005, 12:50:30 AM
I haven't tried RadASM yet, but those that use it think very highly of it. :)

Jeff, the code library is a plugin for WinASM which initally comes blank. You can highlight code and put it in the library very easily, and vice-versa. (Also note the default color scheme looks a bit like RadASM's, you have to tweak it to get the colors you like. :) As for debugging, the NOP is my way to do a "recoverable" INT3. Open the .exe in OllyDbg (Ctrl-F9 in WinASM) then search for NOP, set a breakpoint there, then run the app. Execution stops at the NOP, then you can step through the following code and watch the registers & memory. :)

Thomas, the WinASM forums URL is http://www.winasm.net/forum if you didn't already find it. Installation can be a bit tricky I found. Be sure to look in the forums for newer components.

Faiseur, I thought for sure that EasyCode was going to skyrocket right up there with RadASM and WinASM, but it has been very quiet lately. Ramon is such a great guy and such a capable programmer, maybe he has been busy. :'(
Title: Re: console development environment
Post by: Faiseur on June 11, 2005, 01:14:36 AM
Custom Controls with RadAsm is very good...

Examples:

RaFile custom control in RadAsm in one of my projects:  http://uk.trojanfrance.com/cc2.jpg

in action: http://uk.trojanfrance.com/cc5.jpg

WebBrowser custom control in RadAsm: http://uk.trojanfrance.com/cc4.jpg

Hyperlink custom control in RadAsm: http://uk.trojanfrance.com/cc1.jpg

and soon DrawProgress in RadAsm: http://uk.trojanfrance.com/cc3.jpg :-)

etc...


Title: Re: console development environment
Post by: tekhead009 on June 11, 2005, 01:20:19 AM
Did I hear preset keyboard shortcut straight to OllyDebug? You've sold me on the idea of at least giving WinASM a downlod and compare to Rad. That's a good idea using NOP as a breakpoint too; I'm definately going to use that.
Title: Re: console development environment
Post by: Faiseur on June 11, 2005, 02:11:58 AM
QuoteFaiseur, I thought for sure that EasyCode was going to skyrocket right up there with RadASM and WinASM, but it has been very quiet lately. Ramon is such a great guy and such a capable programmer, maybe he has been busy.

Yes, I hope that Ramon is well and will continue its work.  I work with RadAsm but I appreciated EasyCode which made me understand several things in programming.

Title: Re: console development environment
Post by: donkey on June 11, 2005, 03:39:39 AM
Quote from: tekhead009 on June 11, 2005, 01:20:19 AM
Did I hear preset keyboard shortcut straight to OllyDebug? You've sold me on the idea of at least giving WinASM a downlod and compare to Rad. That's a good idea using NOP as a breakpoint too; I'm definately going to use that.

RadASM also has a KB shortcut to run your app in Olly (or any other debugger you choose) CTRL-D will start the process in a debugger, it also has integrated debugging and breakpoints as well as VKim's debug library, which I find a little more useful for normal day to day coding.

WinAsm is an excellent package, I have tried it and found that it was extremely powerful however I prefer RadASM, it is a much more mature IDE and has several key features that I was looking for when trying out IDEs. But then neither WinAsm nor EasyCode existed when I was choosing an IDE. In the end you should try a few and pick the one that is right for you, all of them allow you to plug in and modify them to better suit your needs.
Title: Re: console development environment
Post by: tekhead009 on June 11, 2005, 05:01:48 AM
I gave it a try and I think I'll stick to RadASM.

Errors don't automatically go to the line that they occured on (or at least the general area), and more importantly structures don't intellisence!
I like the way it works and looks: the intellisence, functionally, works much better, and the interface seems more logical and simplified in WinASM.

Unless there are options to correct these things..

edit: My mistake, structs do intellisence; the one I was using wasn't registered to work yet I guess.
Title: Re: console development environment
Post by: donkey on June 11, 2005, 05:13:23 AM
Haven't really played around with the Intellisense feature of either RadASM or WinAsm, as a matter of fact I tend to shut off those kind of things, can't stand having my IDE making suggestions to me. The most used features of RadASM for me is the MSDN library availability through the F1 key, pretty much a feature I added to Qweerty's help addin. Structures should be properly displayed and the hints should appear in RadASM, not sure what you mean there. RadASM is extremely configurable, and unfortunately "the number of necessary settings rises exponentially in relation to the number of configurable features" (Donkey's Law #1) so the I/F is choppy in places but overall it is smooth, consistent and unintrusive. It pretty much exceeds any requirements I have ever had, and in places where I found it lacking I just write an addin to do what I need, most are project specific but those that are general purpose I post with source.
Title: Re: console development environment
Post by: Mark Jones on June 11, 2005, 04:50:36 PM
Cool, I'm checking out RadASM now. I'll try anything once. :)

If anyone wants to try my dark color scheme, stick one of these in the RadASM.ini under [color]: (Looks like this (http://heliosstudios.net/temp/RadASM.png). :bg)

X=Helios_Black,2039583,12632256,8388608,16777215,5395026,12644544,6052956,14595710,8421504,16777215,12049919,0,0,16775930,0,16448255,0,39093589,16777215,8421504,12632256,4227327,255,9115647,12615935,14287071,11141277,13802962,16737380,16737380,16763594,268697750,13882111,15138785,5094090,16752543
Title: Re: console development environment
Post by: RuiLoureiro on June 11, 2005, 06:14:41 PM
Hi Mark,

Quote from: Mark Jones on June 11, 2005, 04:50:36 PM
If anyone wants to try my dark color scheme ...

         I like your color sheme.

Rui