On 20 mrt 2004, at 03:21, Harald Houppermans wrote:
I read at some sites, set test 8086 to zero, some other sites say set
8086
to one.
The documention of TP says: zero is for 8086, one is for 80286, and
two is
for 80386.
A 286 is in fact a 32 bit cpu... limited to 32 mb ram.
No, the 286 is a
- Original Message -
From: Jonas Maebe [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, March 20, 2004 2:30 PM
Subject: Re: [fpc-pascal]Modifying cpu registers while in turbo pascal
interrupt routine ?
On 20 mrt 2004, at 03:21, Harald Houppermans wrote:
I read at some sites
A 286 is in fact a 32 bit cpu... limited to 32 mb ram.
No, the 286 is a 16 bit cpu with a 24 bit address bus (so it can
address 16MB ram, not 32MB). The width of the address bus is
independent of the size of the registers of a cpu.
Hmm indeed I was put off by masm's tutorial. It
Hi,
Friday, 19 March, 2004, 14:10:02, Klaus Hartnegg wrote:
[...]
No, programs compiled with Turbo-Pascal 7 with the $G+ option will
use 32 bit registers for longint arithmetic if the program runs on a
386 cpu or higher. They test the cpu-type on startup and store the
Ok, I've found you are
Turbo pascal 7 has the 'interrupt' directive which can be placed behind a
procedure name to turn it into a interrupt handler.
forget it, it's a bug
it doesn't save all registers (so your program will crash if it uses longint)
and it doesn't provide a stack (so your programm will crash even it
- Original Message -
From: Klaus Hartnegg [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 18, 2004 9:02 AM
Subject: Re: [fpc-pascal]Modifying cpu registers while in turbo pascal
interrupt routine ?
Turbo pascal 7 has the 'interrupt' directive which can be placed behind
Hi,
Thursday, 18 March, 2004, 18:26:04, Harald Houppermans wrote:
[...]
forget it, it's a bug
it doesn't save all registers (so your program will crash if it uses
longint)
Yes I read this somewhere else... It doesn't store the high word of the 32
bit registers like eax, ebx, etc.
TP7 only
- Original Message -
From: Nikolai Zhubr [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 19, 2004 12:07 AM
Subject: Re: [fpc-pascal]Modifying cpu registers while in turbo pascal
interrupt routine ?
Hi,
Thursday, 18 March, 2004, 18:26:04, Harald Houppermans wrote
Hi,
Maybe you guys know something about good old turbo pascal :D
Turbo pascal 7 has the 'interrupt' directive which can be placed behind a
procedure name to turn it into a interrupt handler.
procedure interrupt_handler(Flags, CS, IP, AX, BX, CX, DX, SI, DI, DS, ES,
BP: Word); interrupt;
begin
Actually it is for a packet driver in dos.
Maybe I have to manually set the interrupt routine in the interrupt vector
table or will the packet driver do that ?
___
fpc-pascal maillist - [EMAIL PROTECTED]
Nope...
It seems the problem was with setting the ethernet card address.
The test program was setting the ethernet address of the network card to
decimal:
10:20:30:40:50:60
Just to test it for fun...
Somehow that prevented the network card from receiving any packets.
Hmmm
Now I am not sure anymore... I re-enabled the set address and it still
works...
Maybe it is now working because I did a reboot :)
Maybe the old dummy receiver or so fucked something up I dont know.
Maybe constantly changing packet driver settings is not a good idea...
Maybe the packet
Ok,
I think I have found the culprit...
The test program calls: 'reset interface' function.
This function is not working properly anyway... (it does not clear multicast
list and does not re-fetch address from rom)
Disabling this function from the test program makes it work and receive
packets
Hi,
Thursday, 18 March, 2004, 2:51:36, Harald Houppermans wrote:
Actually it is for a packet driver in dos.
Maybe I have to manually set the interrupt routine in the interrupt vector
table or will the packet driver do that ?
I have no idea what the packet driver does but to your
original
Man... great... :)
It says so in the specification lol:
Resets the interface associated with handle to a known state,
aborting any transmits in process and reinitializing the - receiver -
Ofcourse I didn't know what that ment ? reinitializing
Could mean anything :)
Apperently it just
Thanks for your quick reply but I already solved the problem :)
___
fpc-pascal maillist - [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
It would be interesting to see how hard it would be to use free pascal and
16 bit packet drivers...
( Holyshit... my monitor just did weird... probably a power source... that
never happens wow, or maybe the monitor
is about to die hehehehe it's quite old :) 5 to 6 years or so... (Liyama
vision
17 matches
Mail list logo