ASM TOOLS

Programming, for all ages and all languages.
User avatar
inflater
Member
Member
Posts: 1309
Joined: Thu Sep 28, 2006 10:32 am
Location: Slovakia
Contact:

Post by inflater »

XCHG wrote:I bet my life right now that you don't write Assembly code in Notepad.
I'm going to disappoint you... ;)

[URL=http://www.imghosting.eu/view.php?img=WinXP.JPG]
Image[/URL]

Also I'm writing pascal code in Notepad too, but sometimes it's better to use some kind of IDE.
When I code in Notepad, I use batch scripts as you can see on the screen, SelfHacking(TM) of the krnl386.bin. :P

Regards
inflater
My web site: http://inflater.wz.cz (Slovak)
Derrick operating system: http://derrick.xf.cz (Slovak and English :P)
User avatar
XCHG
Member
Member
Posts: 416
Joined: Sat Nov 25, 2006 3:55 am
Location: Wisconsin
Contact:

Post by XCHG »

For the first two windows at the back, they are not even indented. That's not a problem. You could had written them in another editor and opened them in Notepad for all we know :P And for the window on top, the whole code is not even 40 lines. That's not what I mean by "writing programs". For example, I write my Operating System's kernel and all of other codes in UltraEdit. I use a lot of indention even after the op-code of each instruction. A simple chunk of the code would look like this in UltraEdit (I always convert tabs to spaces so that the source code would look the same in other editors): Image.

Now if I do the same indention with Tab in Notepad, I will get this hectic view: Image
Last edited by XCHG on Sun Nov 04, 2007 3:51 am, edited 1 time in total.
On the field with sword and shield amidst the din of dying of men's wails. War is waged and the battle will rage until only the righteous prevails.
User avatar
inflater
Member
Member
Posts: 1309
Joined: Thu Sep 28, 2006 10:32 am
Location: Slovakia
Contact:

Post by inflater »

XCHG wrote:And for the window on top, the whole code is not even 40 lines. That's not what I mean by "writing programs"
Okay... :roll:

[URL=http://www.imghosting.eu/view.php?img=WinXP2.JPG]
Image[/URL]

[URL=http://www.imghosting.eu/view.php?img=WinXP3.JPG]
Image[/URL]

(I'm not programming at the moment, I'm just showing the screenshots).

Believe it or not, I *do* write code in Notepad. ;)
And, the "window on the top" isn't a program, neither (almost) all Notepad windows containing the text aren't programs, but they are include files. ;)
Also, for the "weird strings", I use a codepage converter for Slovak language; no need for English.
Last edited by inflater on Sun Nov 04, 2007 3:52 am, edited 1 time in total.
My web site: http://inflater.wz.cz (Slovak)
Derrick operating system: http://derrick.xf.cz (Slovak and English :P)
User avatar
XCHG
Member
Member
Posts: 416
Joined: Sat Nov 25, 2006 3:55 am
Location: Wisconsin
Contact:

Post by XCHG »

I do believe you but I wouldn't code like that really. I need a lot of indention in my code and I want to be able to control how much indention I am getting from the editor/IDE as I think most of us do. For example, in the second screen shot that you have posted, I would rather be dead than coding like that. I have been coding in Delphi since Delphi 2 (the first 32-bit version) and even in my first code, I remember I was using indention. That is not how you are supposed to write programs I believe. Indention, in my opinion, is a "skill" in itself.
On the field with sword and shield amidst the din of dying of men's wails. War is waged and the battle will rage until only the righteous prevails.
User avatar
inflater
Member
Member
Posts: 1309
Joined: Thu Sep 28, 2006 10:32 am
Location: Slovakia
Contact:

Post by inflater »

It's known world-wide that I as myself do like cleanliness, but he is too lazy to clean the code up... :twisted:
XCHG wrote:That is not how you are supposed to write programs I believe.
Why not? :) I can understand what I type in the code, and if I don't, I ask here by posting only the line where I think the error is, not the whole code. And that is one from 1000 reasons why I don't do open source programs. :P
Thank God the compilers of today aren't looking at the cleanliness of your (or my) code :lol:

@XCHG: UltraEdit you use? Hmmm... it looks decent, will try it :)

Regards
inflater
My web site: http://inflater.wz.cz (Slovak)
Derrick operating system: http://derrick.xf.cz (Slovak and English :P)
User avatar
XCHG
Member
Member
Posts: 416
Joined: Sat Nov 25, 2006 3:55 am
Location: Wisconsin
Contact:

Post by XCHG »

Well yeah as long as the coder can understand it, it is fine. Maybe you will need to adjust the tab levels when sharing the source with anyone (if ever). Anyway, UltraEdit is the software that I was using :-? I have a license for the beta version that I am using. It is an old version too.
On the field with sword and shield amidst the din of dying of men's wails. War is waged and the battle will rage until only the righteous prevails.
SpooK
Member
Member
Posts: 260
Joined: Sun Jun 18, 2006 7:21 pm

Post by SpooK »

XCHG wrote:Well yeah as long as the coder can understand it, it is fine. Maybe you will need to adjust the tab levels when sharing the source with anyone (if ever). Anyway, UltraEdit is the software that I was using :-? I have a license for the beta version that I am using. It is an old version too.
Perhaps. Some people like to used a fix amount of spaces instead :shock:
SpooK
Member
Member
Posts: 260
Joined: Sun Jun 18, 2006 7:21 pm

Post by SpooK »

MessiahAndrw wrote:The default Win32 FASM package comes with a nice little IDE with basic synatx highlighting. I use to use it before I switched to C++/NASM.
You might be happy to hear that I am working on an IDE to be released with NASMX. I am also going to have OS development support in mind, e.g. integrated Bochs support :)
earlz
Member
Member
Posts: 1546
Joined: Thu Jul 07, 2005 11:00 pm
Contact:

Post by earlz »

FASM + Codeblocks + A makefile
User avatar
JackScott
Member
Member
Posts: 1031
Joined: Thu Dec 21, 2006 3:03 am
Location: Hobart, Australia
Contact:

Post by JackScott »

FFS! Editor wars anyone? ](*,)

You can write code using UNIX cat if you want to. People have. It doesn't actually matter. It's all personal preference. I like Emacs. You like Vi. So what?
User avatar
Alboin
Member
Member
Posts: 1466
Joined: Thu Jan 04, 2007 3:29 pm
Location: Noricum and Pannonia

Post by Alboin »

Yayyak wrote:FFS! Editor wars anyone? ](*,)

You can write code using UNIX cat if you want to. People have. It doesn't actually matter. It's all personal preference. I like Emacs. You like Vi. So what?
A little over reaction, perhaps? No one's really arguing over editors, per say, but certain features that editors own. Besides recommending their own, that is.
C8H10N4O2 | #446691 | Trust the nodes.
User avatar
JackScott
Member
Member
Posts: 1031
Joined: Thu Dec 21, 2006 3:03 am
Location: Hobart, Australia
Contact:

Post by JackScott »

Very true. I'm sorry. I'm stressed this morning; I have to hand in two folios today, and they form the basis for my assessment for high school. :(
User avatar
os64dev
Member
Member
Posts: 553
Joined: Sat Jan 27, 2007 3:21 pm
Location: Best, Netherlands

Post by os64dev »

@XCHG
With respect to to the indentation:
- Did you ever hear of the option 'replace tabs by spaces?'
Author of COBOS
User avatar
Candy
Member
Member
Posts: 3882
Joined: Tue Oct 17, 2006 11:33 pm
Location: Eindhoven

Post by Candy »

os64dev wrote:@XCHG
With respect to to the indentation:
- Did you ever hear of the option 'replace tabs by spaces?'
Most of the programs should be indented 6 feet downward and covered with dirt.

What's the entire point of a tab? To show intent - to indicate you want a single tabulation width's worth of empty space. What idiot ever thought up to replace that by spaces, which are user-specific?

Above quote for space-using people: Most of the programs should be indented 72 inches downward and covered with dirt.
Last edited by Candy on Mon Nov 05, 2007 6:46 am, edited 1 time in total.
User avatar
os64dev
Member
Member
Posts: 553
Joined: Sat Jan 27, 2007 3:21 pm
Location: Best, Netherlands

Post by os64dev »

Candy wrote:What's the entire point of a tab? To show intent - to indicate you want a single tabulation width's worth of empty space. What idiot ever thought up to replace that by spaces, which are user-specific?
The same idiot that got complaint from other persons that his code did not ident properly on their systems. :wink:
Author of COBOS
Post Reply