2 Pascal questions
Posted: Fri Jun 20, 2003 3:24 pm
1. I wrote a simple Pascal program which writes 'Hello world!!!' on the screen.
begin
writeln('Hello world!!!');
end.
Then I compiled it to .EXE version. What I want is to make it .COM program. So I tried to do it with EXE2BIN and EXE2COM, but both of them said that the .EXE file cannot be converted to .COM/.BIN version.
Why not ? If anyone knows how to do this, please tell me.
2. I also want to write a simple real-mode OS using Pascal (and inline assembler). Which compiler is the best for this ?
Best regards !
begin
writeln('Hello world!!!');
end.
Then I compiled it to .EXE version. What I want is to make it .COM program. So I tried to do it with EXE2BIN and EXE2COM, but both of them said that the .EXE file cannot be converted to .COM/.BIN version.
Why not ? If anyone knows how to do this, please tell me.
2. I also want to write a simple real-mode OS using Pascal (and inline assembler). Which compiler is the best for this ?
Best regards !