flat assembler
Message board for the users of flat assembler.
 Home   FAQ   Search   Register 
 Profile   Log in to check your private messages   Log in 
flat assembler > DOS > Cannot run fasm on HP200LX?

Author
Thread Post new topic Reply to topic
badc0de02



Joined: 25 Nov 2013
Posts: 210
Location: %x
Cannot run fasm on HP200LX?
Hello, i have recently owned a HP200LX

The HP200LX is a PDA running DOS on a 80286 chip.

I tried to execute FASMD.EXE/FASM.EXE

a error apears: cannon execute FASM.EXE

whats wrong?
Post 25 Jun 2016, 15:39
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 14507
Location: WTC Building 7
fasm requires a 386 class CPU or higher.
Post 25 Jun 2016, 16:07
View user's profile Send private message Visit poster's website Reply with quote
badc0de02



Joined: 25 Nov 2013
Posts: 210
Location: %x
why does this need freaking 32 bit
cant they make a version of 16bit?
its sad for vintage stuff
Post 25 Jun 2016, 16:12
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 14507
Location: WTC Building 7

badc0de02 wrote:
cant they make a version of 16bit?

"they" is actually Tomasz Grysztar

badc0de02 wrote:
its sad for vintage stuff

You can write code for the 80286, with some caveats.
Post 25 Jun 2016, 16:17
View user's profile Send private message Visit poster's website Reply with quote
badc0de02



Joined: 25 Nov 2013
Posts: 210
Location: %x
i would like to develop my stuff with my vintage device

and not only for it.
Post 25 Jun 2016, 16:29
View user's profile Send private message Reply with quote
patulinu



Joined: 21 Jun 2016
Posts: 15

badc0de02 wrote:
i would like to develop my stuff with my vintage device
and not only for it.


Go WASM (Wolfware Assembler, by Eric Tauck).

WASM v1.0 (a 19kb COM program):
ftp://ftp.chatnfiles.com/BBS-Shareware/Shareware/ROM-1/ROM38/WASM.ZIP

WASM v2.01 (a 26kb COM program):
ftp://ftp.chatnfiles.com/BBS-Shareware/Shareware/ROM-1/ROM38/WASM201.ZIP

WASM v2.23 (a 27kb COM program):
ftp://ftp.lyx.org/pub/freedos/files/devel/asm/wasm/wasm223.zip

In case you have problems downloading it from the sites above, just let me know.
Post 25 Jun 2016, 20:35
View user's profile Send private message Reply with quote
badc0de02



Joined: 25 Nov 2013
Posts: 210
Location: %x
thanks for the Reply patulinu

i will try this
Post 26 Jun 2016, 09:55
View user's profile Send private message Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 6201
Location: Kraków, Poland
I thought about recommending TMA as a replacement for fasmd (it is an assembler with built-in IDE that I remembered as a source of inspiration when creating fasmd), but then I found out that it also requires 386. I did not remember that detail.

So you are probably left with much older tools only. Note that when I was writing the initial version of fasm, 80386 was already more that ten years old.

On the other hand, when I started the fasm g project and was choosing whether to make it x64-only right from the start, I decided to stick to 386 instruction set. Even though it does not make that much sense when everything is implemented in form of macros that take ages to assemble unless you have a relatively new machine. But I kept in mind that I might want to make fasm 2 out of it.
Post 29 Jun 2016, 06:58
View user's profile Send private message Visit poster's website Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2079
Location: Usono (aka, USA)

badc0de02 wrote:
i would like to develop my stuff with my vintage device and not only for it.


Are you aware of Free Pascal 3.0.0 (which also supports inline asm), which now officially supports an i8086-msdos target? I think they also tested (somewhat) on an HP200LX. (This uses NASM and OpenWatcom's WLINK + WLIB, but those aren't necessary for trunk anymore.)

* ftp://ftp.freepascal.org/pub/fpc/dist/3.0.0/i8086-msdos/fpc-3.0.0.i386-win32.cross.i8086-msdos.exe
* ftp://ftp.freepascal.org/pub/fpc/dist/3.0.0/i386-linux/fpc-3.0.0.i386-linux.cross.i8086-msdos.tar.xz

But anyways, here's NASM 0.98.39, the last one to have an official 16-bit DOS binary (though not built supporting all output formats, of course):

* https://sourceforge.net/projects/nasm/files/DOS%2016-bit%20binaries%20%28OBSOLETE%29/0.98.39/nsm09839.zip/download

EDIT: I forgot about JWasmR, which is the real-mode DOS version of JWasm, a MASM v6 clone:

http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/devel/asm/jwasm/
Post 29 Jun 2016, 20:59
View user's profile Send private message Visit poster's website Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1907
> i would like to develop my stuff with my vintage device

A86: http://www.eji.com/a86/index.htm

There are 16-bit binaries of NASM: http://ibiblio.org/pub/micro/pc-stuff/freedos/files/devel/asm/nasm/0.98.39

> you aware of Free Pascal 3.0.0 (which also supports inline asm), which now officially supports an i8086-m$do$

FPC reportedly supports 8086 ... but only as target AFAIK ... I have no clue how far it still works on 80386 at host side.

_________________
Bug Nr.: 12345

Title: Hello World program compiles to 100 KB !!!

Status: Closed: NOT a Bug
Post 06 Jul 2016, 09:07
View user's profile Send private message Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2079
Location: Usono (aka, USA)

DOS386 wrote:
> i would like to develop my stuff with my vintage device
> you aware of Free Pascal 3.0.0 (which also supports inline asm), which now officially supports an i8086-m$do$

FPC reportedly supports 8086 ... but only as target AFAIK ... I have no clue how far it still works on 80386 at host side.


I assume you already knew this, but ....

I'm still occasionally running 3.1.1 (Win32-hosted) FPC snapshots under HX in DOS since they have yet to make it officially DOS-hosted via GO32v2. I honestly don't know what the hangup is. Of course, that's not on an actual "386" machine, so I too don't know if it is compatible with such "classic" hardware.
Post 07 Jul 2016, 22:08
View user's profile Send private message Visit poster's website Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2079
Location: Usono (aka, USA)
There's also an assembler (DOS, 8086, only 8 kb, by Venkat Iyer) that can bootstrap itself:

https://code.google.com/archive/p/x86-s/
Post 09 Sep 2016, 03:01
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


Powered by phpBB © 2001-2005 phpBB Group.

Main index   Download   Documentation   Examples   Message board
Copyright © 2004-2016, Tomasz Grysztar.