Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2002-06

Kernal modules

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Chuck welch

Hello,

Is it possible to write a kernal module with fpc or a mix of fpc and assembly?

Thanks

Chuck

Michael Van Canneyt
to Chuck welch
Chuck welch wrote
Hello, Is it possible to write a kernal module with fpc or a mix of fpc and assembly?

In principle, yes. But you would have to rewrite the system unit for that:
- No file handling, except through kernel messages.
- Memory management must go through kernel routines.
- Disable exceptions.
And probably 100 other things as well.

Michael.