need naked functions

General FreeBASIC programming questions.
Post Reply
darkinsanity
Posts: 12
Joined: Feb 18, 2009 11:39
Location: /dev/sda1
Contact:

need naked functions

Post by darkinsanity »

Hi,
I´m writting a kernel in FreeBASIC (http://sourceforge.net/projects/frostkernel).
To write the interrupt functions in FB, I need naked functions. Searching this forum, I found a post that naked functions support has been added to fbc. Which version do I need (it doesn´t work with fbc 0.20)? Has someone a linux-executable (that supports naked functions) for me?

greeting,
darkinsanity
VonGodric
Posts: 997
Joined: May 27, 2005 9:06
Location: London
Contact:

Post by VonGodric »

I think you need latest version from svn
darkinsanity
Posts: 12
Joined: Feb 18, 2009 11:39
Location: /dev/sda1
Contact:

Post by darkinsanity »

ok, but I don´t know where to get this and how to build the compiler.
vdecampo
Posts: 2992
Joined: Aug 07, 2007 23:20
Location: Maryland, USA
Contact:

Post by vdecampo »

darkinsanity wrote:ok, but I don´t know where to get this and how to build the compiler.
It's already been built for you, thanks to some of your fellow users....

FB WIN32 SVN compile from 02-10-09

-Vince
darkinsanity
Posts: 12
Joined: Feb 18, 2009 11:39
Location: /dev/sda1
Contact:

Post by darkinsanity »

thanks, but, as i wrote in my post, I need the linux-version...
Imortis
Moderator
Posts: 1966
Joined: Jun 02, 2005 15:10
Location: USA
Contact:

Post by Imortis »

I was going to try to set up a linux version as well, but never go around to it. It would involve me installing linux on my already overburdened hard drives. Sorry. I might try with andLinux later, but I have no idea how well it will work on other systems.
MichaelW
Posts: 3500
Joined: May 16, 2006 22:34
Location: USA

Post by MichaelW »

darkinsanity,

Have you considered just coding the necessary functions in a separate assembly module and linking it into your FB executable? This would allow you to control ever detail of the code.
dkl
Site Admin
Posts: 3235
Joined: Jul 28, 2005 14:45
Location: Germany

Post by dkl »

Post Reply