From theom+news@chiark.greenend.org.uk Sun Nov 27 14:13:02 2005 Path: ewrotcd!not-for-mail From: Theo Markettos Newsgroups: comp.sys.acorn.hardware Subject: Re: Looking for an econet podule Date: 24 Nov 2005 15:24:19 +0000 (GMT) Organization: University of Cambridge, England Lines: 63 Sender: Theo Markettos Message-ID: <7zl*iBx4q@news.chiark.greenend.org.uk> References: <1132659780.703577.261970@g44g2000cwa.googlegroups.com> <1132668236.269489.170290@z14g2000cwz.googlegroups.com> <1132669792.614490.184290@g47g2000cwa.googlegroups.com> NNTP-Posting-Host: chiark.greenend.org.uk Originator: theom@chiark.greenend.org.uk ([193.201.200.170]) Xref: news.chiark.greenend.org.uk comp.sys.acorn.hardware:45051 Theo Markettos wrote: > If anyone cares I could attempt to remember how to connect a Master Econet > module to the podule bus - mostly just wiring IIRC. By request, here we go: Econet Podule bus /NETINT (1) /FIQ (c17) BR-/W (2) PR-/W (c13) /ADLC (3) /PS (c22) phi2 (4) CLK2 (c27) A0 (5) LA2 (a15) A1 (6) LA3 (a14) D0 (7) BD0 (a31) D1 (8) BD1 (a30) D2 (9) BD2 (a29) D3 (10) BD3 (a28) D4 (11) BD4 (a27) D5 (12) BD5 (a26) D6 (13) BD6 (a25) D7 (14) BD7 (a24) /RST (15) /RST (c12) 0V (16) 0V (a1) +5V (17) +5V (a32) I'm not 100% sure that /NETINT should go to /FIQ rather than /IRQ - perhaps someone who knows Econet can say whether it uses IRQs or FIQs. This is a bit of a hack since it presents the ADLC as the podule status word - the OS won't be able to detect if there's a podule there. Better is to connect /ADLC to (/PS OR (NOT LA13)) so it appears in the top half of the podule's address space (podule_base+&2000), away from the podule status word at podule_base+0. LA13 is pin a4. The podule should be addressed in IOC/IOMD synchronous space: Podule slot podule_base 0 033C0000 1 033C4000 2 033C8000 3 033CC000 4 033F0000 5 033F4000 6 033F8000 7 033FC000 The Risc PC Econet module (extract it from (IIRC) RO3.7) is hardcoded to talk to the Netslot Econet card which lives at netslot_base=&0303B000. IIRC this is in the first few hundred instructions of the module - a bit of hacking in Zap should be able to change it to podule_base or podule_base+&2000 (whatever your hardware uses). The simplest way is to hardcode it to a particular podule slot. All this is completely untested. The Econet module should have a 68B54 on it - that's the 2MHz version needed for 32 bit machines (I think all Econets have them, but check). Theo -- Theo Markettos theo markettos.org.uk Clare Hall, Cambridge atm26 cam.ac.uk CB3 9AL, UK http://www.markettos.org.uk/ [2005-11-27: error in original article corrected] [2014-05-05: Ian Bradbury successfully used this after editing the Econet module to add extra status register reads on each ADLC read - see http://stardot.org.uk/forums/viewtopic.php?f=16&t=8155 ]