Page 1 of 1
Writing kernel with TASM - please help!!!
Posted: Tue Nov 05, 2002 9:03 am
by Tomzdrake
How can I write kernel, only in Turbo Assembler (using only TASM and TLINK). I have al
ready boot.asm on my floppy. My question is. What I must write in command line. When I
wrote kernel in NASM i type: nasm -f coff kernel.asm then, ld -Ttext 0xFF800000 --oformat binary -o kernel.bin kernel.o kernel_c.o
and I copy kernel.bin on floppy. How can I done the same thing, but with TASM and TLINK.
Please help.
Re:Writing kernel with TASM - please help!!!
Posted: Tue Nov 05, 2002 9:43 am
by Tom
well...doesn't borland copyright TASM and TLINK so you can only program with those compilers/linkers for personal use? That's why I gave up my TASM.
Re:Writing kernel with TASM - please help!!!
Posted: Tue Nov 05, 2002 11:38 am
by Tomzdrake
??? So, where can I find NASM tutorial (for beginners)
Re:Writing kernel with TASM - please help!!!
Posted: Tue Nov 05, 2002 12:46 pm
by Tom
[attachment deleted by admin]
Re:Writing kernel with TASM - please help!!!
Posted: Wed Nov 06, 2002 8:56 pm
by Tom
So...how is the tutorial going?
Re:Writing kernel with TASM - please help!!!
Posted: Thu Nov 07, 2002 3:25 pm
by Tomzdrake
TASM was easier
, I really don't think I could write some good OS.
Re:Writing kernel with TASM - please help!!!
Posted: Thu Nov 07, 2002 3:50 pm
by Tom
It might...but with time you can make a OS.
It is not that hard....just takes time....in 5 months you could have a C kernel...and the more time you've worked on it, the faster you'll code.
Re:Writing kernel with TASM - please help!!!
Posted: Thu Nov 07, 2002 5:49 pm
by Tom
you need to open up the file I gave you with word pad.
Notepad doesn't open linux files right.
Re:Writing kernel with TASM - please help!!!
Posted: Thu Nov 07, 2002 8:34 pm
by grey wolf
Tom wrote:Notepad doesn't open linux files right.
NoteTab does.
Re:Writing kernel with TASM - please help!!!
Posted: Sun Nov 10, 2002 7:10 am
by Turdus
I'm writing an OS in asm and compiling it with TASM. If interested, drop me an email, and I'll send the make.bat I use for ya.
Re:Writing kernel with TASM - please help!!!
Posted: Sun Nov 10, 2002 7:13 am
by Tom
but...I thought borland put copyrights on old TASM for only personal use ???
Re:Writing kernel with TASM - please help!!!
Posted: Sun Nov 10, 2002 7:16 am
by Tom
If you think NASM is hard...please OPen up the nasmBoot.txt I have you with word pad.
NASM's syntax is so much like TASM's.
How is it harder, Tomzdrake?
Open up that NASM bootsector file I gave you with wordpad...and then tell me...
Re:Writing kernel with TASM - please help!!!
Posted: Sun Nov 10, 2002 3:23 pm
by Schol-R-LEA
If you already know how to use Emacs, there are excellent Windows ports of both GNU Emacs and XEmacs, and the NASM mode for it isn't bad (though it could use some improvement, I think). Combining NASM and BOCHS with a bit of ELISP code, and it should be possible to do all of you development from the EMACS window.
If you don't know Emacs (or if you don't like it - no problem if you don't,
de gustibus non disputandum), you might want to try using
NasmEdit. It is a fully graphical editor written in Java and works better than NASM-IDE does, IMHO. Also, like with Emacs, it works on both Windows and Linux (or it's supposed to, at least). Version 1.0 has some serious rough spots, however, especially when opening files, and the rather limited options selection is a bit of a pain (in particular, you can't have it to create listing files automatically, which is a serious failing IMO).
Re:Writing kernel with TASM - please help!!!
Posted: Mon Nov 11, 2002 8:02 pm
by Tom
So, did you give up on your OS dev? Hopefully not
Re:Writing kernel with TASM - please help!!!
Posted: Thu Nov 14, 2002 3:49 am
by Turdus
Borland supports TASM no more. It's written in their homepage, that after 3 years of last release the product's lifecycle is over, so it's absolute free to use.
By the way, if interested about compiling with tasm yet, here's the make.bat I use:
@echo off
tasm bootimg /t/w0/ml/m2
tlink /x /3 bootimg
del bootimg.obj
I use org directive, because there are more than one segments in my code beginning at special address.