flat assembler
Message board for the users of flat assembler.

flat assembler > OS Construction > Porting fasm to Gramado Operating System.

Author
Thread Post new topic Reply to topic
frednora



Joined: 09 Dec 2018
Posts: 3
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/gramado/tree/master/lib
Post 10 Dec 2018, 00:06
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 7369
Location: Kraków, Poland
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
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 and the /SOURCE/WIN32 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/gramado

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

https://github.com/frednora/gramado/blob/master/gramcc/gramac/crt0.asm


----------------------
May you add me on facebook ?? https://www.facebook.com/fredericomartinsnora


Description:
Filesize: 10.77 KB
Viewed: 984 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-2019, Tomasz Grysztar.

Powered by rwasa.