Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
10 crawler(s) on-line.
 136 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 MEGA_RJ_MICAL:  8 mins ago
 t0lkien:  13 mins ago
 amigakit:  34 mins ago
 OneTimer1:  47 mins ago
 Troels:  1 hr 49 mins ago
 Gunnar:  2 hrs 4 mins ago
 Rob:  2 hrs 9 mins ago
 zipper:  2 hrs 32 mins ago
 NutsAboutAmiga:  3 hrs 38 mins ago
 kolla:  3 hrs 50 mins ago

/  Forum Index
   /  Amiga OS4 Software
      /  MemPatch (FinalWriter users read this!)
Register To Post

Goto page ( Previous Page 1 | 2 | 3 Next Page )
PosterThread
acefnq 
Re: MemPatch (FinalWriter users read this!)
Posted on 30-Dec-2006 1:22:41
#21 ]
Cult Member
Joined: 11-Jan-2006
Posts: 617
From: Adelaide, South Australia

@xeron

Works fine here.

Thanks
ace

 Status: Offline
Profile     Report this post  
syrtran 
Re: MemPatch (FinalWriter users read this!)
Posted on 30-Dec-2006 2:36:24
#22 ]
Cult Member
Joined: 27-Apr-2003
Posts: 835
From: Farther upstate than Upstate NY

@xeron

I just tested it (quickly) out of RAM: (*) and it seems to work. I started FW97 and the screen requester popped up (I do this on purpose). I opened a (simple) document and saved using Save As: and that also worked. After that I opened IBrowse (2.4) to post this, so that is also working.


(*) Programmer, here: I never -ever- throw something into startup without testing it first! (Unless an install does it, of course).


BTW, I just took a look at the source - like the labels, but don't let HJF see it: It uses the evil Forbid() (which will probably break sometime between now and the mythical OS5).

Edit - I may have spoke too soon on IBrowse. After I posted, I quit IB and got the dreaded DSI. I then opened IB back up and quit again and it was clean. Then I got back on to edit this post and got another DSI ('continue program' seems to work, though).

Last edited by syrtran on 30-Dec-2006 at 02:39 AM.

_________________
Tony T.

People who generalize are always wrong.


1989 - 500 / 1991 - 3000 / 1997 - Genesis Flyer 1200T / 2003 - A1XE

 Status: Offline
Profile     Report this post  
Jeremy_Reimer 
Re: MemPatch (FinalWriter users read this!)
Posted on 30-Dec-2006 3:55:54
#23 ]
Member
Joined: 28-Mar-2004
Posts: 95
From: Vancouver, BC, Canada

@xeron

Works here. FW97 runs perfectly.

Haven't tested iBrowse after it's loaded though.

Can you tell me where is the most optimal place to put this in my startup sequence?

 Status: Offline
Profile     Report this post  
jahc 
Re: MemPatch (FinalWriter users read this!)
Posted on 30-Dec-2006 3:59:00
#24 ]
Elite Member
Joined: 30-May-2003
Posts: 2959
From: Auckland, New Zealand

@thread

Mempatch allows FinalWriter to run and save here. I havent tested it extensively because I'm not a big WP user.

It does cause IBrowse to reaper on exit. After that you need a reboot to be able to launch it again.

It also causes Frying Pan to not launch.

Looks like mempatch in its current form should only be used for when using the computer soley for running FinalWriter... until someone can create a per app style patching, rather than global.

 Status: Offline
Profile     Report this post  
acefnq 
Re: MemPatch (FinalWriter users read this!)
Posted on 30-Dec-2006 5:42:22
#25 ]
Cult Member
Joined: 11-Jan-2006
Posts: 617
From: Adelaide, South Australia

@jahc
Confirmed, so I have disabled it. However, it is a nice little hack which will allow me to use FW97, I have a few docs saved under that program si I will invoke it when needed.

ace

 Status: Offline
Profile     Report this post  
ChrisH 
Re: MemPatch (FinalWriter users read this!)
Posted on 30-Dec-2006 9:05:13
#26 ]
Elite Member
Joined: 30-Jan-2005
Posts: 6679
From: Unknown

@xeron who said Quote:
Having looked up memtrailer, I don't recommend running mempatch and memtrailer at the same time.

Ooops :*)

_________________
Author of the PortablE programming language.
It is pitch black. You are likely to be eaten by a grue...

 Status: Offline
Profile     Report this post  
xeron 
Re: MemPatch (FinalWriter users read this!)
Posted on 30-Dec-2006 9:34:13
#27 ]
Elite Member
Joined: 22-Jun-2003
Posts: 2440
From: Weston-Super-Mare, Somerset, England, UK, Europe, Earth, The Milky Way, The Universe

To all the people having problems with IBrowse: Did you run the patch while your amiga was running "just to try it out"?

The docs specifically say that you should run it as early as possible in your startup to avoid DSIs. Really, you should stick it at the very top of your startup-sequence.

If IBrowse *still* DSIs, then I'll investigate further.

Edit: Also, if you ran it "just to test it out" and didn't read the documentation, and so didn't know that you might get a couple of DSIs if you did that, then you really should be more careful. ALWAYS read the documentation of any patch you install! I can't emphasise this enough.

Last edited by xeron on 30-Dec-2006 at 09:39 AM.

_________________
Playstation Network ID: xeron6

 Status: Offline
Profile     Report this post  
xeron 
Re: MemPatch (FinalWriter users read this!)
Posted on 30-Dec-2006 9:36:39
#28 ]
Elite Member
Joined: 22-Jun-2003
Posts: 2440
From: Weston-Super-Mare, Somerset, England, UK, Europe, Earth, The Milky Way, The Universe

@syrtran

Quote:

BTW, I just took a look at the source - like the labels, but don't let HJF see it: It uses the evil Forbid() (which will probably break sometime between now and the mythical OS5).


The Forbid() is absolutely necessary so that if one of the SetFunction() calls fail, it can be sure that nobody called a function that was successfully patched, and it can exit cleanly without causing that app to crash.

_________________
Playstation Network ID: xeron6

 Status: Offline
Profile     Report this post  
TrevorDick 
Re: MemPatch (FinalWriter users read this!)
Posted on 30-Dec-2006 10:26:12
#29 ]
Elite Member
Joined: 30-Dec-2004
Posts: 2678
From: Wellington

@xeron

At first I ran Mempatch from a shell as a test. IBrowse really dosen't like this. With Mempatch added to my user-startup it is much more stable but still causes IBrowse to GR on occasion. I will move the Mempatch command to early in the my startup-sequence file and continue testing.

Thank you for producing this quick fix to enable FW to be used.

Happy New Year

TrevorDick

Last edited by TrevorDick on 30-Dec-2006 at 10:26 AM.

_________________
No, I don't need no reason, I'm just breezin'

 Status: Offline
Profile     Report this post  
acefnq 
Re: MemPatch (FinalWriter users read this!)
Posted on 30-Dec-2006 11:13:59
#30 ]
Cult Member
Joined: 11-Jan-2006
Posts: 617
From: Adelaide, South Australia

@xeron
Please do not get dis-heartned. Your patch works as exactly you say it should. Well bloody done!

To all others, read what I said in an earlier post, disable it and enable it as you NEED. Then there is no trauma!!

cheers
ACE

 Status: Offline
Profile     Report this post  
BrandonLee 
Re: MemPatch (FinalWriter users read this!)
Posted on 30-Dec-2006 11:32:22
#31 ]
Super Member
Joined: 15-Dec-2003
Posts: 1355
From: Lisbon, Portugal

@syrtran

Here, IBrowse works fine, except for some random Grim Reapers right after starting it. So far, it either happens while browsing the first few sites or it's rock solid all the way.
And said Reaper is can not be canceled or ignored, it just pops up again.

 Status: Offline
Profile     Report this post  
srupprecht 
Re: MemPatch (FinalWriter users read this!)
Posted on 30-Dec-2006 12:11:10
#32 ]
Regular Member
Joined: 23-Sep-2003
Posts: 166
From: Unknown

Hi,

there are two hacks available from my site, now:

http://stephan-rupprecht.de/downloads/hacks.lha

MemHack: Is similar to 'MemPatch' but also replaces 'SetPatch ADDCHIPRAM'. Don't use it together with other memory hacks! The software detaches itself from CLI, so you don't need to 'run NIL:' it.

timerhack.kmod: Is a kickstart module, it must be copied to sys:kickstart and added to your kicklayout file. Once installed the eclock of the system (pretends to) ticks at the old frequency of 709379hz (PAL), any software depending on this frequency should hopefully work, now. Please note, this software does not emulate the CIA timers, so HW banging software won't start to work.

IMPORTANT NOTE: I don't have access to an AmigaONE ATM, so this software is next to untested. It could even crash at the moment your start it! I have warned you

_________________
Stephan Rupprecht - AmigaOS4 developer

 Status: Offline
Profile     Report this post  
raumfahre 
Re: MemPatch (FinalWriter users read this!)
Posted on 30-Dec-2006 13:18:27
#33 ]
Regular Member
Joined: 7-Jan-2005
Posts: 330
From: England

@xeron
@srupprecht

That Final Writer will now work with these memory hacks is really good news to hear. OK, so there may be a bit of inconvenience caused by other programs crashing, I can live with that but not without FW!

I've not tried it myself yet, but it's looking good.

Thanks so much and a Happpy New Year to you.

Last edited by raumfahre on 30-Dec-2006 at 01:26 PM.

 Status: Offline
Profile     Report this post  
redfox 
Re: MemPatch (FinalWriter users read this!)
Posted on 30-Dec-2006 23:25:23
#34 ]
Elite Member
Joined: 7-Mar-2003
Posts: 2064
From: Canada

@xeron

I have placed MemPatch at the beginning of the startup-sequence, as shown below. With the patch in place, Final Writer 97, AmigaAMP and PPaint (Cloanto Personal Paint 7.1c) all seem to work ok.

However, the following programs crash...
IBrowse sometimes crashes on launch, sometimes on exit.
TVPaint3.6 croaks on launch, Guru Meditation 81000005
MYST Demo is more random, sometimes crashing on launch, sometimes not at all, sometimes on exit.
Once I got this after exiting MYST Demo:
Guru Meditation 80000003
Task ... ("C/Avail")
DSI (Data Storage Interrupt)

Startup without MemPatch, Final Writer 97 does not run at all, but TVPaint3.6 and MYST Demo appear to work fine. IBrowse has some random crashes.


-------- here is my startup sequence -------

Run > NIL: C:mempatch

; $VER: Startup-Sequence 52.1 (15.12.2006)

C:SetPatch QUIET

FailAt 21

C:Version >NIL:
SetEnv Workbench $Workbench
SetEnv Kickstart $Kickstart
UnSet Workbench
UnSet Kickstart

C:MakeDir RAM:T RAM:Clipboards

C:Assign T: RAM:T
C:Assign LIBS: SYS:Classes add
C:Assign CLIPS: RAM:Clipboards
C:Assign KEYMAPS: DEVS:KeyMaps
C:Assign PRINTERS: DEVS:Printers
C:Assign REXX: S:ARexx
C:Assign HELP: LOCALE:Help DEFER
C:Assign AMISSL: DEVS:AmiSSL DEFER
C:Assign GHOSTSCRIPT: SYS:Utilities/GhostScript DEFER

C:LoadMonDrvs
C:AddDataTypes REFRESH QUIET
C:IPrefs

C:USBCtrl START
C:Mount QUIET DEVS:DOSDrivers/~(#?.info)
;C:AddNetInterface QUIET DEVS:NetInterfaces/~(#?.info)
Run >NIL: C:AddNetInterface >T:interface.log DEVS:NetInterfaces/~(#?.info)

Path RAM: C: S:Shell S:ARexx SYS:Utilities SYS:Utilities/Commodities SYS:System SYS:Prefs SYS:WBStartup

C:ConClip
SYS:System/RexxMast >NIL:

If EXISTS S:User-Startup
Execute S:User-Startup
EndIf

C:LoadWB
EndCLI >NIL:



Last edited by redfox on 30-Dec-2006 at 11:26 PM.

 Status: Offline
Profile     Report this post  
syrtran 
Re: MemPatch (FinalWriter users read this!)
Posted on 31-Dec-2006 2:11:30
#35 ]
Cult Member
Joined: 27-Apr-2003
Posts: 835
From: Farther upstate than Upstate NY

@xeron

Quote:
The Forbid() is absolutely necessary so that if one of the SetFunction() calls fail, it can be sure that nobody called a function that was successfully patched, and it can exit cleanly without causing that app to crash.


I'm fully aware that the Forbid() is necessary. I was just kidding around as Rogue has stated several times that programmers should avoid it in their code 'cause it's not future-proof (e.g. it won't allow multiple cpus). In this instance, since you're patching system functions, it's dangerous -not- to use it - like you've said above.

_________________
Tony T.

People who generalize are always wrong.


1989 - 500 / 1991 - 3000 / 1997 - Genesis Flyer 1200T / 2003 - A1XE

 Status: Offline
Profile     Report this post  
Samwel 
Re: MemPatch (FinalWriter users read this!)
Posted on 2-Jan-2007 22:49:51
#36 ]
Elite Member
Joined: 7-Apr-2004
Posts: 3404
From: Sweden

@srupprecht

Will your stuff be included in some form in future service packs for OS4?

_________________
/Harry

[SOLD] µA1-C - 750GX 800MHz - 512MB - Antec Aria case

Avatar by HNL_DK!

 Status: Offline
Profile     Report this post  
srupprecht 
Re: MemPatch (FinalWriter users read this!)
Posted on 2-Jan-2007 23:21:46
#37 ]
Regular Member
Joined: 23-Sep-2003
Posts: 166
From: Unknown

@Samwel

No comment

_________________
Stephan Rupprecht - AmigaOS4 developer

 Status: Offline
Profile     Report this post  
lkeller 
Re: MemHack (FinalWriter users read this!)
Posted on 2-Jan-2007 23:24:02
#38 ]
Member
Joined: 30-Jul-2003
Posts: 11
From: Lakewood, Ohio

Stephan:

I placed memhack in my startup-sequence right after Setpatch. It did not seem to permit Final Writer97 to run. Do I also need to install the timer module in Kickstart? Use any particular arguments with Memhack?

I will also try Mempatch and see if it works. I used Nil with Mempatch but the cli stayed open as it did with Memhack. I assume I am not writing the command correctly.

Thanks for all the great programming and as I use Final Writer97 in my work I need to have it working.

 Status: Offline
Profile     Report this post  
srupprecht 
Re: MemHack (FinalWriter users read this!)
Posted on 2-Jan-2007 23:33:45
#39 ]
Regular Member
Joined: 23-Sep-2003
Posts: 166
From: Unknown

@lkeller

The program does not take any arguments. If you start it from a shell it'll output an error message when something is wrong otherwise it stays quiet. The timer.device patch is not required (it has nothing to do with the memory thing).

_________________
Stephan Rupprecht - AmigaOS4 developer

 Status: Offline
Profile     Report this post  
scabit 
Re: MemHack (FinalWriter users read this!)
Posted on 3-Jan-2007 2:48:01
#40 ]
Super Member
Joined: 8-Jan-2005
Posts: 1667
From: Satellite Beach, FL USA

@srupprecht

Would it be possible to set up mempatch to utilized in a way similar to
mode promotion utilities...that is, have it operate only for specific programs?
That would be an ideal solution if it were at all possible, since using memhack works great with FinalWriter but causes numerous other 68k programs to crash.

Just a thought....


Scott

_________________
AmigaOne uA1-c 512M RAM - Only Amiga Makes It Possible!
Check my blog AmigaOne Computing

 Status: Offline
Profile     Report this post  
Goto page ( Previous Page 1 | 2 | 3 Next Page )

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle