home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / cbm / 5142 < prev    next >
Encoding:
Text File  |  1992-12-21  |  1.6 KB  |  50 lines

  1. Newsgroups: comp.sys.cbm
  2. Path: sparky!uunet!mcsun!news.funet.fi!hydra!klaava!cc.helsinki.fi!msmakela
  3. From: msmakela@cc.helsinki.fi (Marko MΣkelΣ)
  4. Subject: Re: Expansion Port (or is it User Port?)
  5. Message-ID: <1992Dec19.232808.1@cc.helsinki.fi>
  6. Lines: 38
  7. Sender: news@klaava.Helsinki.FI (Uutis Ankka)
  8. Organization: University of Helsinki
  9. References: <92354.091124IO20197@MAINE.MAINE.EDU>
  10. Date: Sat, 19 Dec 1992 21:28:08 GMT
  11.  
  12. In article <92354.091124IO20197@MAINE.MAINE.EDU>, IO20197@MAINE.MAINE.EDU 
  13. writes:
  14. > The expansion port on the 64/128 is a parallel port, right?  Does anyone know
  15. > how to directly control the states of the data lines on that port?
  16.  
  17. The expansion port lines are connected more or less directly to the CPU. If you
  18. need I/O lines, use the User port or connect a I/O chip like 6821 to the
  19. expansion port.
  20.  
  21. The Motorola 6821 could be connected as follows:
  22.  
  23. Expansion port    6821
  24. D0-D7             D0-D7
  25. A0-A1             RS0-RS1
  26. I/O1 or I/O2      /CS2
  27. /RESET            /RESET
  28. /IRQ or /NMI      /IRQA or /IRQB or none or both
  29. +5V               VCC
  30. +5V (via pull-up resistor)        
  31.                   CS0, CS1
  32. GND               VSS
  33. Phi2              E
  34.  
  35. Then you'll have the 6821 signals PA0-PA7, PB0-PB7, CB1-2 and CA1-2 for the 
  36. outside world. For programming 6821 you'll need its register manual.
  37.  
  38. If you were just requesting the user port programming, I would like to
  39. recommend Programmer's reference guide. There are so many pins and so many
  40. possibilities like the fast serial transfer.
  41.  
  42. Feel free to e-mail me and ask more.
  43.  
  44. > assembly or BASIC.  I'm bilingual.
  45.  
  46. I'm tetralingual.
  47.  
  48. Regards,
  49. Marko M"akel"a
  50.