Welcome, Guest. Please login or register.

Author Topic: Writing data on expansion connector in C  (Read 2542 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline kamigaTopic starter

  • Full Member
  • ***
  • Join Date: Oct 2005
  • Posts: 165
    • Show all replies
Writing data on expansion connector in C
« on: January 19, 2009, 11:17:01 PM »
How would one go about writing data on an A500's expansion connector in C? Are there some Write() routines that would clock a data buffer out of the port?

Or is it simply a matter of making sure the device that is attached to the expansion port is paying attention to the data bus at the right moment?

What libraries would be involved?  Registers? Address ranges, etc?

Thanks!

Keith
 

Offline kamigaTopic starter

  • Full Member
  • ***
  • Join Date: Oct 2005
  • Posts: 165
    • Show all replies
Re: Writing data on expansion connector in C
« Reply #1 on: January 20, 2009, 05:52:57 AM »
Thanks for the quick and straight-forward answer.

I have the 3rd edition of AHRM, and it might be Appendix K, "Zorro Expansion Bus."  It has a section, on page 431, entitled "AUTOCONFIG(TM)."

A quick view of it makes it look fairly complicated -- I was hoping to implement something more simple. Hrrmm..

When you say normal OS functions, can you be more specific and give me examples?

Thanks
 

Offline kamigaTopic starter

  • Full Member
  • ***
  • Join Date: Oct 2005
  • Posts: 165
    • Show all replies
Re: Writing data on expansion connector in C
« Reply #2 on: January 20, 2009, 06:52:21 AM »
Hahaha. I was just looking at A500IDE today for just this thing.

The idea behind looking at the expansion interface, over the other interfaces was speed.  Serial is super slow, I think Parallel isn't too bad, and I honestly know little/nothing about the clockport.

Thanks for the links, though.

Keith