Freepascal compiler can compile for 32 bits real mode??
Mailing lists / fpc-pascal / 2004-01
Info about the compiler
7 messages · 3 people · –
- MMarco van de Voort 3
- RRaul Heras 3
- JJames Mills 1
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Freepascal compiler can compile for 32 bits real mode??
Yes
Marco van de Voort wrote> Freepascal compiler can compile for 32 bits real mode?? Yes
I was just thinking about FPC being used to write a small kernel again, I know it's been talked about before in threads in the past but the whole process of doing it is very complicated and I was never able to do it.
Are there better examples or documentation of how it's done now ? Could someone perhaps explain how to do it ?
cheers
James
Freepascal compiler can compile for 32 bits real mode??
I need to compile a EXE for Real Flat Mode without extender How to Make this?
Earlier message 8 lines
I need to compile a EXE for Real Flat Mode without extender How to Make this?
I said it might work earlier, but I misread the REAL mode part.
It is not supported, so you are totally on your own. Probably you want to generate assembler files (.s) with the -a and some -A<assembler type> switches, and then filter and assemble that.
And then you need to create a substitute for the rtl, for whatever OS, Bios or firmware you are using.
FPC is a protected mode compiler, so there are no real mode docs or tutorials.
It's even pretty undocumented how to make a protected mode rtl. The global idea is to take the template (rtl/template or rtl/fakertl), and to start expanding it till it works. (all platform dependant, so up to you).
However I think it is easier to start with an existing rtl (like go32v2) and strip that down, so you get a template that is up to date.
Freepascal compiler can compile for 32 bits real mode??
If i Change to 32 bits real mode, compiler can build a EXE ??
Sorry,my english is bad.
If i Change to 32 bits real mode, compiler can build a EXE ??
No. You must do that all by yourself.
