flat assembler
Message board for the users of flat assembler.

Index > DOS > FASM on 8086/8088 ?? (was "Processor Needed")

Author
Thread Post new topic Reply to topic
nathanpc



Joined: 23 Aug 2009
Posts: 40
Location: Brazil
nathanpc 02 Mar 2010, 23:06
Hello,
I want to run Flat Assembler on a emulated IBM PC/XT(Intel 8088 processor running at 4.77 Mhz), but I want to know if I can use fasm on it, because some programs only run on 386.

Best Regards,
Nathan Paulino Campos

EDIT by DOS386 : corrected subject

_________________
Developer: C++, Java, C/C++, Java ME, Java EE, Pascal, Assembly(8086, 6502, z80, ARM and MIPS), Delphi, Visual Basic, Pascal, Ruby and Perl
Post 02 Mar 2010, 23:06
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20356
Location: In your JS exploiting you and your system
revolution 03 Mar 2010, 01:17
fasm requires a 32bit capable CPU as a minimum.
Post 03 Mar 2010, 01:17
View user's profile Send private message Visit poster's website Reply with quote
nathanpc



Joined: 23 Aug 2009
Posts: 40
Location: Brazil
nathanpc 03 Mar 2010, 01:26
Even the DOS version?
Post 03 Mar 2010, 01:26
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number Reply with quote
nathanpc



Joined: 23 Aug 2009
Posts: 40
Location: Brazil
nathanpc 03 Mar 2010, 01:30
Ok, I saw this on the descriptions, but now I have a simple question: Did you know another Assembler that I can run on that emulator?
Post 03 Mar 2010, 01:30
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4624
Location: Argentina
LocoDelAssembly 03 Mar 2010, 01:49
Probably some versions of TASM for DOS (if not all).
Post 03 Mar 2010, 01:49
View user's profile Send private message Reply with quote
bitRAKE



Joined: 21 Jul 2003
Posts: 4046
Location: vpcmpistri
bitRAKE 03 Mar 2010, 02:02
Could use DEBUG with batch files - not easy, but I have done it on a 286. Very Happy Just redirect file to input of DEBUG and use the "A" command to assemble your .COM.

Does A86 work on 8086?
(worth a try, imho)
Post 03 Mar 2010, 02:02
View user's profile Send private message Visit poster's website Reply with quote
cthug



Joined: 03 Apr 2009
Posts: 36
Location: /home/Australia
cthug 03 Mar 2010, 02:38
Since you are emulating it, can't you just develop your program on the machine with the emulator. Fasm can produce 16bit code.
Post 03 Mar 2010, 02:38
View user's profile Send private message Visit poster's website Reply with quote
Japheth



Joined: 26 Oct 2004
Posts: 151
Japheth 03 Mar 2010, 10:05
Post 03 Mar 2010, 10:05
View user's profile Send private message Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1903
DOS386 17 Mar 2010, 07:00
> Even the DOS version?

YES, even the DOS version of FASM needs at least 80386 at the host side, and it always did.

But FASM can brew 8086 code as target of course.

If you need to run on an 8086 host, you can:

- Port FASM to 8086 (possibly much work)

- Use some other assembler having a 8086-hosted version, like NASM 0.98.39 or JWASM (+ some toys and some old payware).
Post 17 Mar 2010, 07:00
View user's profile Send private message Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo 28 Mar 2010, 18:37
Old NASM 0.98.39 had a 16-bit compile, but everything since has been 32-bit only. AFAICT, yes you can use old TASM (most definitely not TASM32 5.3, latest / last). ArrowASM 2.00c or Wolfware / WASM 2.23 or JWASMR or OpenWatcom's (weaker) WASMR. Old MASM (v5?) might work too, dunno. Lemme find some links for you ....



Personally, I would use NASM or JWASMR or WASM or ARROW, in that order.

EDIT: I forget how to correctly quote / fix that URL in BBcode, oh well. :-/
edit2: I fixed it for you. revolution
Post 28 Mar 2010, 18:37
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 29 Mar 2010, 14:39
Maybe you could recompile some 80386 emulator for 8088, run it inside your emulated 8088, and run FASM inside it. You know, Turing-completenes...

(sorry, just joking)
Post 29 Mar 2010, 14:39
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo 30 Mar 2010, 04:42
Quote:

em3134b1.zip UTILMISC EMU386 v1.34 Beta 1 - 386 capabilities emulator for 286s, 19,060 bytes


... about as close as we'll ever get (real mode 386 only, old shareware circa 1998). Wink
Post 30 Mar 2010, 04:42
View user's profile Send private message Visit poster's website Reply with quote
Tyler



Joined: 19 Nov 2009
Posts: 1216
Location: NC, USA
Tyler 04 Apr 2010, 01:04
If your still looking for an assembler to run on old(16 bit) systems, look on vetusware.com. You do have to sign up, but it's not like most sites that get your email and then suddenly all their good content disappears. And, AFAIK, it's legal, the stuff is mostly too old to sell.

Here's an assembler dated 1986 on their site, surly it'll be 16 bit.
Post 04 Apr 2010, 01:04
View user's profile Send private message Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo 11 Apr 2010, 06:10
Tyler wrote:
And, AFAIK, it's legal, the stuff is mostly too old to sell.


Maybe legal in Russia (no offense, shoorick), but not in most other places.

Tyler wrote:

Here's an assembler dated 1986 on their site, surly it'll be 16 bit.


That's Arrowsoft ASM 1.00d, older than the 2.00d version I pointed you to! And both are freeware anyways. (286 max. target processor, MASM 3.0 compatible, .OBJ/OMF output only.)
Post 11 Apr 2010, 06:10
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< 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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.