Path: utzoo!attcan!uunet!van-bc!lpami From: lphillips@lpami.wimsey.bc.ca (Larry Phillips) Newsgroups: comp.sys.amiga Subject: Re: Has anyone gotten Message-ID: <2211@van-bc.UUCP> Date: 7 Feb 89 14:54:44 GMT Sender: lpami@van-bc.UUCP Lines: 72 In <381@antares.UUCP>, jms@antares.UUCP (Joe Smith) writes: >In article <2194@van-bc.UUCP> lphillips@lpami.wimsey.bc.ca (Larry Phillips) writes: >>>>Has anyone had any luck with IconType? Does anyone have some OTHER utility >>>>(presumably better-known to work) that will do a similar job? Thanks >>Here's the corrected code: > [IconType.c deleted] > >Well I just tried IconType, and it produced the most spectacular >crash I've ever seen. Just after compiling it, this is what I did: > > 1>CD SYS2: > 1>copy system/IconEd.info TEST.info > 1>makedir TEST > 1>IconType TEST drawer > 1>loadwb Well, I hope it at least complained about the filename. :-) >The TEST icon showed up in the SYS2: window. I single-clicked on it and >chose INFO from the menu and verified that the icon was of type Drawer. >Then I double-clicked the icon. Boy, you should have seen the fireworks! Ahh... OK. When I made the changes, I did not check for double-clicking. The original program worked for me, and the changes I made were to allow the CLI to close. I do not currently use WB, and IconType passed all the usage I gave it when I used to use it. >Both disk drives started grumbling at about 7 Hz. The SEND and RECV lights >on the modem flickered between full and half brightness in sync with the >disks. The screen made pretty black, white, and green patterns that looked >like "random" bits from executable code. Then it froze, with the screen >white and the light on DF0 on but the disk was not spinning. > >Giving my Amiga the three-fingered salute, I tried to reboot from my usual >Workbench disk. It died in the middle of the startup-sequence with: > Internal clock not functioning > Setclock failed returncode 20 >Luckily, a 30-second power down fixed this problem. Otherwise I would have >had to disassemble my A2000 to temporarily disconnect the battery to reset >the clock. You really should have Glenn Nielsen's 'Clockstart' program. >It looks like I will have to use SIT from Fish Disk #137 instead of IconType. >The Set-Icon-Type program by Stephen Vermeulen knows that you can't change >a Tool icon to a Drawer icon by simply rewriting one byte. SIT reads an >existing Drawer/Disk/Trashcan icon to get the proper info for setting up >the do_DrawerInfo field. Please do. I am not being sarcastic. I wrote IconType a long time ago so that I wouldn't have to muck about with convoluted proceures in IconEd just to convert an icon to a different type. At the time, I dug into the manuals and found what I thought was all that was needed to change the icon's type. I guess I was wrong. I do not plan on doing more to IconType, especialy since SIT is out there from someone who apparently knows how it's done. >So, Larry, did you actually test your program? Apparently not enough. I changed a few icons that I found on a disk somewhere, checked that they changed type by using INFO, and checked to see that the CLI would then close. Sorry. -larry -- Frisbeetarianism: The belief that when you die, your soul goes up on the roof and gets stuck. +----------------------------------------------------------------------+ | // Larry Phillips | | \X/ lphillips@lpami.wimsey.bc.ca or uunet!van-bc!lpami!lphillips | | COMPUSERVE: 76703,4322 | +----------------------------------------------------------------------+