thank's for the hint. I could now fix unit cpu.pp
The problem was the calling convention
(all assambly routines assumed parameters on the stack - but now they
are in registers in fact)
But {$calling oldfpccall} didn't work (neither on top of the unit nor in
interface or implementation)
I had
target go32v2
compiler fpc1.0.6
This sequence succeeds
begin
...
exec( 'aTSR.EXE', '');
// execute an external programm aTSR;
// aTSR.EXE will hook an interrupt, terminate and stay resident
...
rm := global_dos_alloc( aSize);
rmSelector := word( rm);
rmSegment:= word( rm shr 16)
compiler: 1.0.6
target: go32v2
OS: a) DOS 6.22; b) Win98SE
I've got serious problems running graphix with a NVIDIA GeForce4 440 Go
64MB graphics adapter on my notebook.
Has anybody some hints??
Regards Peter
___
fpc-pascal maillist - [EMAIL PROTECTED
compiler: 1.0.6
target: go32v2
OS: a) DOS 6.22; b) Win98SE
I've got serious problems running graphix with a NVIDIA GeForce4 440 Go
64MB graphics adapter on my notebook.
Has anybody some hints??
Regards Peter
___
fpc-pascal maillist - [EMAIL PROTECTED