http://www.gnu-pascal.de/binary/mingw32/
http://www.gnu-pascal.de/binary/msys/
It's not very hard to see..

Here is a Cygwin version: http://www.gnu-pascal.de/binary/cygwin/

From the site, Apparently it's a Free 32/64-bit Pascal Compiler!
Do you honestly think any of those things (sound, video, file I/O, etc) will work without DOS/Windows running in the background? It's not like you're writing an application - normally for high level languages you need to rewrite most of the libraries yourself to suit the OS....inflater wrote:But, I dont want to download GP, because of... for example: CRT unit. There is nothing better than a patched unit from Pedt Scragg (RE 200) and not a other unit... The GP unit may not have functions like Sound, Window and so on.
inflater wrote:I need ONLY, and ONLY, and absolutely ONLY THE SOURCE code[[/u of add_irq function, EVEN IN C, but please, REAL MODE.
Code: Select all
Procedure SetIntVec(Vec:integer;VAddr:pointer);
begin
pointer(meml[0:vec*4]) := vaddr;
end;
Look at it like this - if you went to a professional builder and said "I want to build a sky-scraper out of cotton wool balls, but I need help with the second and third cotton wool ball, can you help?", then what would you expect the builder to say? If he's a really mean builder, he might (really politely) explain how to glue the cotton wool balls together and then laugh at you while you're wasting years trying to build a sky-scraper that blows away when there's a light breeze. If he's a very kind builder, then perhaps he'd suggest using concrete. If several builders all said "use concrete instead", would you get annoyed at the builders?inflater wrote:7.You are getting sick of it, arent you? And here we go again; like a broken record. And someone saids this: "Have you tried this? And this? There is blah blah, and it is a 32 BIT, for Win32 (MingW) No problem !".
8.You know how you feel, dont you ??? !!!![]()
Well, maybe yes. It is a simple 'explosion' in your brain, when you have it too much. Not just OS dev.Forgive me if I'm wrong, but didn't you already have the code for this?
Code: Select all
uses Crt, Dos;
{**********************************************}
Procedure ResetMouse;
var regs : registers;
Begin
FillChar (regs, SizeOf(regs), 0);
regs.ax := $0000;
Intr ($33, regs);
if regs.ax <> $FFFF then begin
writeln ('hardware/driver not installed');
halt;
end;
end; (* ResetMouse *)
{**********************************************}
Procedure ShowMouseCursor;
var regs : registers;
begin
FillChar (regs, SizeOf(regs), 0);
regs.ax := $0001;
Intr ($33, regs);
end; (* ShowMouseCursor *)
{**********************************************}
procedure HideMouseCursor;
var regs : registers;
begin
FillChar (regs, SizeOf(regs), 0);
regs.ax := $0002;
Intr ($33, regs);
end; (* HideMouseCursor *)
{**********************************************}
Procedure GetMouseCursor (var row, column, button : word);
var Regs : Registers;
Begin
FillChar (Regs, SizeOf(Regs), 0);
Regs.ax := $0003;
Intr ($33, Regs);
Row := Regs.dx Div 8;
Column := Regs.cx Div 8;
Button := Regs.bx;
End; (* GetMouseCursor *)
{**********************************************}
Procedure PutMouseCursor (Row, Column : word);
var Regs : Registers;
Begin
FillChar (Regs, SizeOf(Regs), 0);
Regs.ax := $0004;
Regs.dx := 8 * row;
Regs.cx := 8 * column;
Intr ($33, regs);
End; (* PutMouseCursor *)
{**********************************************}
procedure TEST;
var Row, Col, But : word;
begin
Clrscr;
repeat
GotoXY(1,1);
GetMouseCursor (Row, Col, But);
TextColor(LightRed+Blink);
write (' row=', row:4, ', col=', col:4, ', but=', but:2);
until KeyPressed;
end;
{**********************************************}
Begin
ResetMouse;
ShowMouseCursor;
PutMouseCursor (12, 39);
TEST;
HideMouseCursor;
end.
Pascal was designed in 1970, Your not using Classic pascal..inflater wrote:....I choosed pascal, classic pascal and not any derivates or clones....
inflater