flat assembler
Message board for the users of flat assembler.
Index
> Unix > FASM for BeOS |
Author |
|
crc 28 Jun 2004, 00:13
Hello everyone!
This is a version of FASM that can be used with BeOS. It's now at version 1.56. The icon that theuserbl contributed can optionally be added to the binary. I've tested this under BeOS R5 Pro; reports on using it with Haiku or Zeta would be appreciated as well. To build and install it, run make. This should work under GCC 2.9x and 3.x, but I haven't tried it under the 3.x versions yet. If you want the icon to be added to the binary, also run make icon before installing it. I'll try not to take as long between updates in the future.
Last edited by crc on 07 Jan 2005, 11:32; edited 2 times in total |
|||||||||||
28 Jun 2004, 00:13 |
|
crc 28 Jun 2004, 00:30
The latest version can now be found at BeBits! See http://www.bebits.com/app/3917 for the BeBits page on FASM
|
|||
28 Jun 2004, 00:30 |
|
crc 02 Jul 2004, 07:50
I'm making headway with the exit routine, but it's not quite there yet. Is there an easy way for me to print the exit code BEFORE exiting, so I can isolate the problem more easily?
|
|||
02 Jul 2004, 07:50 |
|
crc 18 Sep 2004, 11:44
I updated the attachment in the first post to version 1.55. There are a few additional improvements to the build process as well. See the updated text for details.
|
|||
18 Sep 2004, 11:44 |
|
stanks 19 Dec 2004, 13:16
Hi
I build fasm from source for BeOS, but when i run it i receive error "fasm has encountered an error which prevents it from continuing. The BeOS will terminate the application and clean up". Details shows this: " Thread Name: fasm Error: segment violation Team ID: 597 Thread ID: 3440 EIP: 0x80005f1f " What should i do? Thanks stanks |
|||
19 Dec 2004, 13:16 |
|
crc 19 Dec 2004, 13:27
What version of BeOS are you using?
|
|||
19 Dec 2004, 13:27 |
|
stanks 19 Dec 2004, 13:58
BeOS R5 MaxEdition v3.1
|
|||
19 Dec 2004, 13:58 |
|
stanks 19 Dec 2004, 14:01
gcc v2.9
|
|||
19 Dec 2004, 14:01 |
|
crc 19 Dec 2004, 20:58
Try this:
In source/BeOS/system.inc change: Code: exit_program: ccall free,[additional_memory] mov esp,[stack_frame] pop ebp cmp eax, 8 jnz .a mov eax, 0 .a: push dword eax call exit ret to: Code: exit_program: push dword 0 call exit ret Recompile and the new binary should work properly. I'll see about fixing the exit function when I start on the port of FASM 1.56 for BeOS in a week or so. |
|||
19 Dec 2004, 20:58 |
|
stanks 20 Dec 2004, 19:11
Still same problem.
|
|||
20 Dec 2004, 19:11 |
|
crc 21 Dec 2004, 01:24
Now I'm very confused. That *should* have worked
|
|||
21 Dec 2004, 01:24 |
|
stanks 21 Dec 2004, 05:04
Maybe the problem is with my BeOS installation. I don't know either.
|
|||
21 Dec 2004, 05:04 |
|
stanks 21 Dec 2004, 05:32
This is happening (probably) when fasm have to show usage info. Maybe i can help? How to debug it under BeOS?
|
|||
21 Dec 2004, 05:32 |
|
crc 07 Jan 2005, 01:50
Try this: http://www.retroforth.org/dev/fasm156-crc.tar.gz
If it fully rebuilds, you'll have a working copy of Fasm 1.56 for BeOS. |
|||
07 Jan 2005, 01:50 |
|
stanks 07 Jan 2005, 08:32
New fresh installation of BeOS but same problem. np ... v1.53 works ok.
stanks |
|||
07 Jan 2005, 08:32 |
|
hamoz 21 Feb 2007, 01:23
hello,
ANYONE can you tell me exactly how to make fasm executable to run on BeOS....... thanks newbie |
|||
21 Feb 2007, 01:23 |
|
crc 11 Mar 2007, 20:28
hamoz, try this in a Terminal:
Code: wget http://flatassembler.net/fasm-1.67.tar.gz tar xzvf fasm-1.67.tar.gz cd fasm gcc fasm.o -o fasm That should create a FASM binary that you can use. I'll revive my build farm in a few weeks; then I should be able to provide current FASM binaries for BSD and BeOS users. (My current contract job is nearly done; it's tied me up for the last few months) |
|||
11 Mar 2007, 20:28 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.