It is currently Wed May 14, 2025 10:12 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Wed Jan 11, 2006 10:59 pm 
Offline
Site Admin

Joined: Wed Jan 11, 2006 11:22 am
Posts: 874
This is the official Data Sheet for the Cirrus Logic 8900a NIC


Attachments:
File comment: Important Information on operating the CS8900a in 8-bit mode
an181.pdf [66.41 KiB]
Downloaded 1062 times
File comment: CS8900a General Documentation
cs8900a-4.pdf [2.1 MiB]
Downloaded 1047 times


Last edited by RaveGuru on Fri Jan 13, 2006 2:06 pm, edited 1 time in total.
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Jan 13, 2006 1:01 pm 
For RR-Net programming you also need a 2nd datasheet which describes the 8-bit mode a bit further. Some important information from the datasheet:

If you receive a frame from the streaming registers, you have to read the first two 16 bit words in hi/lo order, and all following words in lo/hi order. If you don't do it like this, you will have strange byte skipping effects.

Code example:

LDA $DE09
STA TYPE+1
LDA $DE08
STA TYPE

LDA $DE09
STA SIZE+1
LDA $DE08
STA SIZE

LDA $DE08
...
LDA $DE09
...

etc


Top
  
Reply with quote  
 Post subject:
PostPosted: Fri Jan 13, 2006 2:04 pm 
Offline
Site Admin

Joined: Wed Jan 11, 2006 11:22 am
Posts: 874
Very interesting! I had no idea about this! Perhaps that could explain some of the mysterious problems i had with my UDP/IP code...

PS. I've added the Documentation on 8-bit mode! Thanks for pointing it out :)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group