| Poster | Thread |
Phantom
 |  |
AmigaDOS error under AmigaOS 4.1 Posted on 3-Sep-2010 23:02:26
| | [ #1 ] |
|
|
 |
Elite Member  |
Joined: 2-Aug-2007 Posts: 2047
From: Unknown | | |
|
| Yes, you see right. AmigaDOS error under AmigaOS 4.1.
That's propably because I'm trying to run a 68k application, and that's AmigaFrotz 2.41 (not the recently native port of Frotz 2.43).
The message I get is the following window with the title "AmigaDOS":
Quote:
A process called a DOS function with a buffer that was too-small.
Supplied Size: 32 Required Size: 72
Process: "Frotz" Function: "ParsePatternNoCase()"
You have received this message because the application has accessed a system function in a way that is contrary to normal operation system guidelines. This application may or may not actually perform as intended. |
And a button to press below: "Acknowledge"
Tried to increase the stack but didn't help. Although the program seems to run normally, but this window message always appear each time I run AmigaFrotz.
Any ideas?_________________
|
|
| Status: Offline |
|
|
sundown
 |  |
Re: AmigaDOS error under AmigaOS 4.1 Posted on 3-Sep-2010 23:06:09
| | [ #2 ] |
|
|
 |
Elite Member  |
Joined: 30-Aug-2003 Posts: 5120
From: Right here... | | |
|
| @Phantom
Could be pertunia, try adding it to Prefs/Compatability. _________________ Hate tends to make you look stupid... |
|
| Status: Offline |
|
|
Phantom
 |  |
Re: AmigaDOS error under AmigaOS 4.1 Posted on 3-Sep-2010 23:08:36
| | [ #3 ] |
|
|
 |
Elite Member  |
Joined: 2-Aug-2007 Posts: 2047
From: Unknown | | |
|
| @sundown
I did that also, but I've got the same result. Sorry to not mention it. _________________
|
|
| Status: Offline |
|
|
Chris_Y
|  |
Re: AmigaDOS error under AmigaOS 4.1 Posted on 3-Sep-2010 23:21:56
| | [ #4 ] |
|
|
 |
Elite Member  |
Joined: 21-Jun-2003 Posts: 3209
From: Beds, UK | | |
|
| @Phantom
It's exactly what it says. AmigaFrotz is calling ParsePatternNoCase() with a buffer which is too small.
The source code is in the archive, "all" that is required is for a 32 to be changed to a 72 and the whole thing recompiled. It could be ported across to OS4 natively whilst you're there.
I'll make it even easier for you - amiga_start.c, lines 58 and 123 are where you should be looking.
Chris
Last edited by Chris_Y on 03-Sep-2010 at 11:24 PM.
_________________ "Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion Avatar is Tabitha by Eric W Schwartz |
|
| Status: Offline |
|
|
Phantom
 |  |
Re: AmigaDOS error under AmigaOS 4.1 Posted on 3-Sep-2010 23:26:51
| | [ #5 ] |
|
|
 |
Elite Member  |
Joined: 2-Aug-2007 Posts: 2047
From: Unknown | | |
|
| @Chris_Y
I have no doubt of what you're saying, but the problem is that I'm not so experienced in programming and compiling things. _________________
|
|
| Status: Offline |
|
|
centaurz
|  |
Re: AmigaDOS error under AmigaOS 4.1 Posted on 3-Sep-2010 23:26:54
| | [ #6 ] |
|
|
 |
Member  |
Joined: 16-Feb-2006 Posts: 65
From: France | | |
|
| @Phantom
Or you could deal with Prefs/Compatibility and edit Devs:application.dos, but IMHO it'll take longer . There's an option to disable DOS warnings there. Last edited by centaurz on 03-Sep-2010 at 11:28 PM. Last edited by centaurz on 03-Sep-2010 at 11:28 PM.
|
|
| Status: Offline |
|
|