[fpc-pascal]interrupt 13h

BigMatt19 at aol.com BigMatt19 at aol.com
Mon Mar 4 20:08:05 CET 2002

Best as I can explain it... since fpc is a 32bit compilier when you are using assembler type stuff (eg. registers) you need to use 32bit registers.  ax, bx, cx, etc are all 16 bit registers.  It is pretty processor independant (meaning it doesn't matter if you have a 286 or a Pentium 20) the processors still understand 16 bit code.  BUT since this is a 32 bit compilier it requires that you come out of the 286 days and start using stuff made when the 386 was introduced (32 bit registers).  Well, this could make no sense... and if it does... sorry.  I am tired.  But I hope that helped a little..

 - Matt

>                     r.bx:=ofs(buffer);
>  the fpc 1.0.4 compile ok.
>  but I when run the program don't  read  the sector.
>  I use the unit DOS, the target compile is Win32 and my Operating system is
> Windows Me.
> I compile the program with TP 6.0, and it run ok.
> Can you help me?

More information about the fpc-pascal mailing list