!PtrCopy
Stewart Goldwater (1577) 79 posts |
I use Ran Mokady’s PtrCopy app. frequently on ROS4 but it doesna P.S. Ran Mokady is uncontactable – that is to say, Iv’e tried several times without success. |
Rick Murray (539) 13840 posts |
Looking for “Ran Mokady PtrCopy” provides a carbon-copy (except PS line) of this message you posted to csaa in February 2012 (https://groups.google.com/forum/#!topic/comp.sys.acorn.apps/KYnbomnatpE), and a variety of clones of it on scraper sites. |
Steve Fryatt (216) 2105 posts |
I see that even ROL’s ProductDB describes it as “Old!”, with no further info… |
Steve Pampling (1551) 8170 posts |
http://arcade.demon.co.uk/filepages/file36.htm 8 not 32bit items in PtrUtils, 290 instances in PtrCopy application file. Haven’t seen any source, but Armalyser output would probably suffice. “This software is © 1990 by Ran Mokady. It has been placed in the public |
Rick Murray (539) 13840 posts |
Found a copy – ftp://arcade.demon.co.uk/data/022500/023650/023681 It is a small module (could be converted) and a C program that is somewhat less small. This will not be able to be converted (without a lot of aggro) – there are fundamental differences between APCS-R and APCS-32 (see other recent threads) so it would be a hell of a job to convert an old C program working from just its binary. For what it is worth, attempts to use it (emulated RISC OS 3.70) repeatedly crashed with a malformed message about “GetCharacter already in use” or something along those lines. |
WPB (1391) 352 posts |
What’s it supposed to do? Copy the text at the pointer? If so, look at !Swipe. (That link might be dead, and you might need to use Google’s cache, or Way Back or the like.) !Swipe is almost certainly not compatible with modern OS versions, but I’m pretty sure the source was included. It’s pretty cunning (intercepts Font Manager calls off SWIV, I think) and when I first saw it, I was totally amazed! |
Steve Pampling (1551) 8170 posts |
Following up my own comment, that level of change required is probably at the Sprow “intellectual exercise” point, but with slightly less clear source because it’s an Armalyser analysis. |
Stewart Goldwater (1577) 79 posts |
!Swipe is ok but is considerably more cumbersome and takes 2 operations to do what PtrCopy does in one. |
Steve Pampling (1551) 8170 posts |
First carry out the changes to the PtrUtils module. 1. Drop file onto Armalyser and tick the assembly and text options, untick the disassembly option. a Alter the marked instructions from the “not 32 bit safe” version to a plain 32 bit only version and add the extra fields in the header section to include the zero values (pads through to the 26/32 bit flags word) and add the 32 bit flags word. b Try harder and contact Ran Mokady asking for the source. c Grab a simple BASIC shell with assembler in it and substitute the assembler from Armalyser. You need to remove the | characters and the code label lines need to start with a dot. d Use something else. For things as “simple” as this I have altered module extracted code to compile using a hacked BASIC shell. Others I have done via a option a) method. First stage is to become familiar with what you can alter and how. Sometimes you have to put in a little effort. The “facilities”: Title : PointerUtils Flags : Services : SWIs : Commands : Note: I am not a programmer, I maintain data networks and firewalls for a living1 I have done scripts in VBS, perl, AutoIT (on PC’s) and knocked up a BASIC item or two to fix a particular problem I had at the time but I still wouldn’t dream of calling myself a programmer. 1 Recently the technical stuff has not so much back seat as hanging off the rear bumper, too many management items where I’m thinking for other people. If you want a resilient architecture network using Avaya of Cisco switches no problem. The Avaya design stuff I could probably do with a pen and a set of split beer mats. |
Steve Pampling (1551) 8170 posts |
Hmm, having said that, if I’m going to continue on the “intellectual exercise” I really ought to buy a new copy of the DDE. The old Castle version does a partial job1 on the RPCEmu, the NutPi is fine on the Pi but something that can be used all round might be better. 1 Hard to tell where the problem lies at times: In this case the tools are probably perfectly OK, it’s just the workman. |
Stewart Goldwater (1577) 79 posts |
I emailed all the email addreses Gargle turned up: what would trying harder involve? |
Steve Pampling (1551) 8170 posts |
Hmm, you don’t like option a or c? The BASIC shell and instruction change seems feasible for anyone with a RO machine or RPCEmu install. Option c costs nothing, option a might require a purchase. |
WPB (1391) 352 posts |
But does !PtrCopy only work with the system font? How useful is that these days? To people still operate the desktop with the system font much? !Swipe can read system font and FM painted strings from the screen, AFAIR. |
Stewart Goldwater (1577) 79 posts |
Well there are at least two of us! :-) |
Stewart Goldwater (1577) 79 posts |
I like ’em fine but only (b) is within my capabilities. |
Steve Pampling (1551) 8170 posts |
I’m sure it’s true. |