🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #4901

Re: Remember ICON problem at startup

#4901
From: Ken McLeod
Date: Tue, 19 Sep 1989 09:32
36 lines
2666 bytes
In article <1760@cooper.cooper.EDU> joseph@cooper.cooper.EDU (Joe Giannuzzi) writes:
>I have noticed a problem recently that occurs when Remember displays
>its icon at startup.  I have IconWrap 1.2 and Remember 1.3 in the
>system folder.  IconWrap allows 12 icons to be displayed per row.
>If Remember's icon is the 12th icon on the row, it incorrectly appears
>as the 1st icon on the next row.  The next icon then appears directly
>on the Remeber icon.  Also, if Remember is the 1st icon in a row, the
>next icon similarly clobbers it.  I don't know if the problem is with
>IconWrap or Remember, but I have determined that of all the INIT's and
>CDEV's I boot with, the problem only occurs with Remember.

  The problem is with Remember; it uses non-standard "ShowINIT clone" code
that calculates the checksum for the next icon *before* drawing its own.
This isn't a problem unless the icon is in the last horizontal opening in a
given row... then, when IconWrap's code is called, the checksum is "wrong",
and the icon is drawn at (correctPosition + 1). Ray Lau's SFVolINIT 1.5
behaves the same way, as does Talking Moose 2.1 and several others. There
have been several translations of Paul Mercer's original (assembler) code,
usually attempting to incorporate some extra functionality at the cost of
"100% ShowINIT compatibility", since other INITs don't know about vertical
offset schemes, etc.. I posted "CShowINIT" a few months back; it's a
literal translation of the latest ShowINIT code (supports color icons) for
the LightspeedC/THINK C compiler... mail me if you want a copy.

  Anyway, the solution to the Remember problem (and other INITs that
behave similarly) is to rename it so it loads in a different order. If
Remember doesn't want its name changed, just rename one of the INITs
that currently loads ahead of it.

  Hope this helps...
--ken
-- 
==========     .......     =============================================
Ken McLeod    :.     .:    UUCP: ...{spsd,zardoz,felix}!dhw68k!thecloud
==========   :::.. ..:::   INTERNET: thecloud@dhw68k.cts.com
                ////       =============================================
Technical Details
Message-ID: <26550@dhw68k.cts.com>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!apple!oliveb!felix!dhw68k!thecloud
References: <1760@cooper.cooper.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!apple!oliveb!felix!dhw68k!thecloud
From: thecloud@dhw68k.cts.com (Ken McLeod)
Newsgroups: comp.sys.mac,comp.sys.mac.programmer
Subject: Re: Remember ICON problem at startup
Message-ID: <26550@dhw68k.cts.com>
Date: 19 Sep 89 09:32:09 GMT
References: <1760@cooper.cooper.EDU>
Reply-To: thecloud@dhw68k.cts.com (Ken McLeod)
Followup-To: comp.sys.mac
Organization: Wolfskill & Dowling residence; Anaheim, CA (USA)
Lines: 36