Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.apple2.programmer > #1145
| From | D Finnigan <dog_cow@macgui.com> |
|---|---|
| Newsgroups | comp.sys.apple2.programmer |
| Subject | Re: Programming the Uthernet in 6502 assembly language |
| Date | 2014-02-03 21:31 +0000 |
| Organization | Mac GUI |
| Message-ID | <dog_cow-1391463071@macgui.com> (permalink) |
| References | <dog_cow-1391202756@macgui.com> <e6672d11-6a66-48d7-ad72-3a9cb541a831@googlegroups.com> |
Dagen Brock wrote: > This is great. I'll take a more in depth look tomorrow. Sorry, I could > only glance for now as I'm preparing for the work week. > > This seems timely with the talk of the Uthernet II. Can you comment on > how > different or similar that programming model might be? The thing is, the Uthernet II is going to be using the W5100 which has a TCP/IP stack built-in. So in theory, you could do a lot more with less code (a 6502 IP stack, that is). Now both the CS8900A in the original Uthernet, and the W5100 in the Uthernet II communicate through a few $C0 page I/O locations in the Apple. The CS8900A has a 16-bit data bus, so on the Apple side, you need to load $ADDR and $ADDR+1 with the low and high bytes. The W5100 in the Uthernet II is 8-bit, so there is only one address to use. Both chips have several kilobytes of memory that are not part of the Apple's address space. You have to load a 16-bit pointer to address the Ethernet chip's memory, then you access the I/O location(s) that I mentioned in the previous paragraph. So in summary, the programming model for both is fairly similar. -- ]DF$ Apple II Book: http://macgui.com/newa2guide/ Usenet: http://macgui.com/usenet/ <-- get posts by email! Apple II Web & Blog hosting: http://a2hq.com/
Back to comp.sys.apple2.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Programming the Uthernet in 6502 assembly language D Finnigan <dog_cow@macgui.com> - 2014-01-31 21:12 +0000
Re: Programming the Uthernet in 6502 assembly language Egan Ford <datajerk@gmail.com> - 2014-02-01 09:29 -0700
Re: Programming the Uthernet in 6502 assembly language Dagen Brock <DagenBrock@gmail.com> - 2014-02-02 21:42 -0800
Re: Programming the Uthernet in 6502 assembly language D Finnigan <dog_cow@macgui.com> - 2014-02-03 21:31 +0000
Re: Programming the Uthernet in 6502 assembly language Dagen Brock <DagenBrock@gmail.com> - 2014-02-04 06:56 -0800
Re: Programming the Uthernet in 6502 assembly language D Finnigan <dog_cow@macgui.com> - 2014-02-04 19:00 +0000
Re: Programming the Uthernet in 6502 assembly language Dagen Brock <DagenBrock@gmail.com> - 2014-02-05 12:58 -0800
csiph-web