flat assembler
Message board for the users of flat assembler.

Index > OS Construction > TASM? or FASM?

Goto page 1, 2  Next
Author
Thread Post new topic Reply to topic
Redragon



Joined: 27 Nov 2004
Posts: 101
Location: U.S.
Redragon
which one is better, TASM or FASM? also, ive been working with TASM some, and i know how to write a dos program in it, but is it possible to write an OS, that boots from a floppy? if someone could provide a "hello world" OS, or a small OS in TASM it would be greatly appreciated!! thanks
Post 10 Dec 2004, 22:49
View user's profile Send private message Reply with quote
Gilles



Joined: 25 Oct 2004
Posts: 24
Gilles
Hi, take a look at www.rdos.net
Post 11 Dec 2004, 00:29
View user's profile Send private message Visit poster's website Reply with quote
bogdanontanu



Joined: 07 Jan 2004
Posts: 403
Location: Sol. Earth. Europe. Romania. Bucuresti
bogdanontanu
Older versions of SOLAR OS might serve that purpose (a small demo OS)
All Solar OS is written in TASM... If you need any help with using TASM for writting an OS you can asm me questions and i will guide you.

Latest versions of SOLAR OS can be found here:
http://www.hostileencounter.com/os_main.html

However I plan to finish writting my own TASM replacement in the future Very Happy
(i allready have a somehow working SOL_ASM version)

However you have the sources of FASM and FASM is much more updated than TASM.

I think Pelaillo has already ported FASM on SOLAR OS Wink
here: http://as.modshack.co.uk/en/index.html
Post 11 Dec 2004, 00:55
View user's profile Send private message Visit poster's website Reply with quote
drocon



Joined: 14 Nov 2004
Posts: 8
drocon
TASM is more conventional, and - contrary to popular belief - _is_ updated with every new version of borland c++ builder (you can fetch/update your TASM 5.2 to 5.3, which was released in the newest borland c++ bundle, it fixes some bug fixes and issues). it's a lot cleaner and versatile for other things, but for things like OS, it'll probably save you _some_ trouble using NASM/FASM (you won't have to rip out the binary from the .com/.exes and whatnot - if that's what people do these days...)
Post 13 Dec 2004, 23:43
View user's profile Send private message Reply with quote
rea



Joined: 14 Nov 2004
Posts: 92
rea
Why not try yasm Smile
Post 14 Dec 2004, 02:06
View user's profile Send private message Reply with quote
bogdanontanu



Joined: 07 Jan 2004
Posts: 403
Location: Sol. Earth. Europe. Romania. Bucuresti
bogdanontanu
I am not extracting binary from .com or .exe

Instead i do link .OBJ files generated by TASM with JLOC linker Wink
It generates an absolute address located binary.
Post 14 Dec 2004, 08:09
View user's profile Send private message Visit poster's website Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
as i see it, tasm wasn't meant to generate 32bit binaries, it predicts that you use segments, memory models etc. which you must workaround to get desired result. Unlike FASM where you write what you want. Maybe I'm wrong, i wasn't using TASM that much.
Post 17 Dec 2004, 17:09
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
bogdanontanu



Joined: 07 Jan 2004
Posts: 403
Location: Sol. Earth. Europe. Romania. Bucuresti
bogdanontanu
TASM is able and designed to generate 32 bit windows applications just like MASM is.

His only problem is that it can not directly generate a flat binary to be used for OS development. But I use JLOC linker to solve this problem.
Post 18 Dec 2004, 09:36
View user's profile Send private message Visit poster's website Reply with quote
bubach



Joined: 17 Sep 2004
Posts: 340
Location: Trollhättan, Sweden
bubach
Ehh, i am almost 100% sure that i have produced flat binarys with TASM (without JLOC)..
Anyway, why have a discussion about TASM on a fasm board?
Post 18 Dec 2004, 11:06
View user's profile Send private message Reply with quote
bogdanontanu



Joined: 07 Jan 2004
Posts: 403
Location: Sol. Earth. Europe. Romania. Bucuresti
bogdanontanu
True, however i am interested ...
-How have you produced flat binary output files with TASM?
Post 18 Dec 2004, 14:47
View user's profile Send private message Visit poster's website Reply with quote
rea



Joined: 14 Nov 2004
Posts: 92
rea
Becaus there is no board for tasm? I not consider the sf board a decent board for nasm users Wink, dont know exactly for yasm, there are a lot of assemblers (some goods) that dosent have a board Very Happy.
Post 18 Dec 2004, 18:23
View user's profile Send private message Reply with quote
bubach



Joined: 17 Sep 2004
Posts: 340
Location: Trollhättan, Sweden
bubach
can't remember right now, i'll dig up my old tasm sources and check.. i'll be back..


Last edited by bubach on 13 Feb 2012, 15:17; edited 1 time in total
Post 19 Dec 2004, 19:40
View user's profile Send private message Reply with quote
pelaillo
Missing in inaction


Joined: 19 Jun 2003
Posts: 878
Location: Colombia
pelaillo
bubach wrote:
Anyway, why have a discussion about TASM on a fasm board?

Because is in the common interest. We are all for assembly programming so we can help each other regardless of personal preferences.
Wink
Post 20 Dec 2004, 13:00
View user's profile Send private message Yahoo Messenger Reply with quote
joachim_neu



Joined: 22 Dec 2003
Posts: 139
joachim_neu
i use NASM mainly, but I use the FASM-Editor because of the highlighting. i use NASM, because most of the OS-Dev code is in NASM i think. but this board is still interessting for me. here's most time someone who can help me, give ideas or discuse about OS-Dev and the different methods. so i think it's not important which ASM you use. only if you use it, and how.
Post 20 Dec 2004, 13:26
View user's profile Send private message Visit poster's website Reply with quote
bubach



Joined: 17 Sep 2004
Posts: 340
Location: Trollhättan, Sweden
bubach
ok then.. Wink
Post 21 Dec 2004, 18:42
View user's profile Send private message Reply with quote
kidscracker



Joined: 29 Oct 2004
Posts: 46
Location: Peru
kidscracker
Here is a part of my old OS, maybe it will help you. It is a boot loader, and a Loader, both are very reusable, and portable, even it use a ini file for the configuration. : Cool
Post 21 Dec 2004, 21:59
View user's profile Send private message MSN Messenger ICQ Number Reply with quote
rea



Joined: 14 Nov 2004
Posts: 92
rea
I dont know wich of the three to download Wink.
Post 21 Dec 2004, 23:06
View user's profile Send private message Reply with quote
kidscracker



Joined: 29 Oct 2004
Posts: 46
Location: Peru
kidscracker
Any of them Cool
Post 22 Dec 2004, 16:39
View user's profile Send private message MSN Messenger ICQ Number Reply with quote
Redragon



Joined: 27 Nov 2004
Posts: 101
Location: U.S.
Redragon
bubach, did you find those sources on how to produce a binary without needing jloc?
Post 27 May 2005, 14:29
View user's profile Send private message Reply with quote
dasyar



Joined: 27 Feb 2005
Posts: 33
dasyar
I have worked with TASM somewhile back. What I have read is that .com file is basically a binary file, which means is that you can rename it to a .bin file. I have done this with a few progs, and it worked as expected. The problem with TASM in 16 bit mode, is that you will run into file size problems on compilation, due to the .com file restraints. One of the reasons that I stopped using TASM is because of that problem, and the added headache when you have to start adding steps to get a binary file out of an .exe file. My philosophy is, the more steps you have added the bigger the headache gets when you have find a bug.
Post 27 May 2005, 21:45
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page 1, 2  Next

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.