
|
84782 packages online
|
|
 |
|
dev/e/fakestack.lha |
|
No screenshot available
|
|
Programs compiled with AmigaE do not use the stack given by system, but
instead they create their own. Unfortunately, this is done in non
system-friendly way, so SPLower and SPUpper pointers in task structure keep
old values. It cause wrong behaviour of all programs which check the
stack (StackMon, StackCheck, MCC NList).
This AmigaE module fixes the problem. It fakes the SPLower and SPUpper
values.
How to use it:
At the beginning of the program add following line:
x:=fakestack() -> Fakes stack pointers' values
At the end type:
fakestack(x) -> Restore old values
Example:
----------------------
MODULE 'fakestack'
PROC main()
DEF stack
stack:=fakestack()
-> Here's your program
fakestack(stack)
ENDPROC
----------------------
WARNING: This is a hack. It has been tested with registered version of
AmigaE 3.2e. I don't know how it works with other versions of E.
If you want to contact me, write to:
Piotr Pawlow
ul. Lewartowskiego 12 m 46
00-185 Warszawa
Poland
EMail: pp@cs.com.pl
|
Contents of dev/e/fakestack.lha
PERMSSN UID GID PACKED SIZE RATIO CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic] 280 594 47.1% -lh5- 6560 Mar 22 1997 fakestack.e
[generic] 251 354 70.9% -lh5- 6c6a Mar 22 1997 fakestack.m
[generic] 648 1171 55.3% -lh5- e2e0 Mar 21 1997 fakestack.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
Total 3 files 1179 2119 55.6% Mar 22 1997
|
|
|
 |
Page generated in 0.02 seconds |
Aminet © 1992-2024 Urban
Müller and the Aminet team.
Aminet contact address: <aminet aminet net> |