home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.sys.apple2      Discussion about Apple II micros      56,720 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 55,029 of 56,720   
   Oliver Schmidt to All   
   Re: Automatically determining the A2 slo   
   03 Oct 21 19:56:16   
   
   From: ol.sc@web.de   
      
   Hi Alex,   
      
   >Is is ok to poke each peripheral slot in an attempt to determine a cards id=   
   >entity?   
   >Does this have the potential to screw up the setup on other slotted cards (=   
   >I'm thinking about I/O cards because poking will be driving physical extern=   
   >al devices)?   
      
   The only thing I know for sure is that there are opposite opinions on   
   this topic.   
      
   My personal opinion:   
      
   The Cx?? space is supposed to contain ROM. So you are supposed to be   
   allowed to read from that area without fearing to cause unwanted side   
   effects. In contrast the C0x? space is supposed to contain I/O ports.   
   So even just reading from any of those 16 addresses can potentially   
   cause any side effect including e.g. destroying the content of an   
   attached mass storage device.   
      
   An example:   
      
   None of the three known Ethernet cards (LANceGS, Uthernet, Uthernet   
   II) supported by IP65 has ROM allowing to cleanly identify it. So my   
   strong opinion is that a program needs to ask the user for the slot of   
   the Ethernet card to use - and then IP65 can differentiate between the   
   three Ethernet cards by accessing their C0x? space - because all three   
   Ethernet cards are well known to tolerate those accesses.   
      
   Anyhow, in contrast ADTPro runs those IP65 accesses to the C0x? space   
   "blindly" on all slots. In a discussion on the topic David Schmidt   
   told me that he has never heard of those C0x? space accesses causing   
   any issue.   
      
   Regards,   
   Oliver   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca