flat assembler
Message board for the users of flat assembler.

Index > OS Construction > Porting fasm to Gramado Operating System.

Author
Thread Post new topic Reply to topic
frednora



Joined: 09 Dec 2018
Posts: 3
frednora 10 Dec 2018, 00:06
Gramado is a 32bit operating system running apps in user mode. It has a libc and an API in C.

Now i'm creating an assembly lib for Gramado to port the fasm for it.

In C i can read and write files. I can allocate buffers for user mode too.

May someone help me to port fasm ?

https://github.com/frednora/animal/tree/master/lib


Last edited by frednora on 02 Apr 2020, 00:28; edited 1 time in total
Post 10 Dec 2018, 00:06
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8351
Location: Kraków, Poland
Tomasz Grysztar 10 Dec 2018, 12:02
If it has libc, you should be able to use the libc-based version of fasm (which is provided in ELF format). Same goes for fasmg.
Post 10 Dec 2018, 12:02
View user's profile Send private message Visit poster's website Reply with quote
frednora



Joined: 09 Dec 2018
Posts: 3
frednora 12 Dec 2018, 23:36
Tomasz Grysztar wrote:
If it has libc, you should be able to use the libc-based version of fasm (which is provided in ELF format). Same goes for fasmg.


Im trying the /SOURCE/LIBC interface ...

The libc interface looks easier ...

In both cases i got some of the functions working very well ...

here is the repository where im working on fasm.

https://github.com/frednora/animal

This is the way im linking the fasm.o agains a c application.


Description:
Filesize: 127.21 KB
Viewed: 4450 Time(s)

fasm-gramado.png


Description:
Filesize: 10.77 KB
Viewed: 5927 Time(s)

verbose.png


Post 12 Dec 2018, 23:36
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.