Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.apple2.programmer > #1135 > unrolled thread

Programming the Uthernet in 6502 assembly language

Started byD Finnigan <dog_cow@macgui.com>
First post2014-01-31 21:12 +0000
Last post2014-02-05 12:58 -0800
Articles 7 — 3 participants

Back to article view | Back to comp.sys.apple2.programmer


Contents

  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

#1135 — Programming the Uthernet in 6502 assembly language

FromD Finnigan <dog_cow@macgui.com>
Date2014-01-31 21:12 +0000
SubjectProgramming the Uthernet in 6502 assembly language
Message-ID<dog_cow-1391202756@macgui.com>
The full text of my article is now online:
http://macgui.com/kb/article/763

Learn everything you need to know to start low-level programming the
Uthernet in 6502 assembly language. Includes example programs.

-- 
]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/

[toc] | [next] | [standalone]


#1136

FromEgan Ford <datajerk@gmail.com>
Date2014-02-01 09:29 -0700
Message-ID<lcj7c4$a04$2@news.xmission.com>
In reply to#1135
On 1/31/14, 2:12 PM, D Finnigan wrote:
> The full text of my article is now online:
> http://macgui.com/kb/article/763
>
> Learn everything you need to know to start low-level programming the
> Uthernet in 6502 assembly language. Includes example programs.
>

I missed this one.  Thanks.

[toc] | [prev] | [next] | [standalone]


#1140

FromDagen Brock <DagenBrock@gmail.com>
Date2014-02-02 21:42 -0800
Message-ID<e6672d11-6a66-48d7-ad72-3a9cb541a831@googlegroups.com>
In reply to#1135
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?

[toc] | [prev] | [next] | [standalone]


#1145

FromD Finnigan <dog_cow@macgui.com>
Date2014-02-03 21:31 +0000
Message-ID<dog_cow-1391463071@macgui.com>
In reply to#1140
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/

[toc] | [prev] | [next] | [standalone]


#1149

FromDagen Brock <DagenBrock@gmail.com>
Date2014-02-04 06:56 -0800
Message-ID<ae619988-5092-4089-aa14-79d873ba54af@googlegroups.com>
In reply to#1145
Thanks and thanks for the original write up.  It's very helpful.  Had I seen something like that sooner, I probably would have come up with a project for my Uthernet.  

At this point, I'll try to get my hands on an Uthernet II when they are becoming available and see what I can do with that.  I hope I can get my hands on an early version.  It'd be cool to ship some software and demo code with the Uthernet II (notwithstanding Contiki, et al).

[toc] | [prev] | [next] | [standalone]


#1150

FromD Finnigan <dog_cow@macgui.com>
Date2014-02-04 19:00 +0000
Message-ID<dog_cow-1391540429@macgui.com>
In reply to#1149
Dagen Brock wrote:
> Thanks and thanks for the original write up.  It's very helpful.  Had I
> seen something like that sooner, I probably would have come up with a
> project for my Uthernet.  

Well the Uthernet II isn't coming out just next week! And there's still
quite a large installed base of Uthernet cards. I'd say it would be still
worth your time.

-- 
]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/

[toc] | [prev] | [next] | [standalone]


#1151

FromDagen Brock <DagenBrock@gmail.com>
Date2014-02-05 12:58 -0800
Message-ID<8baa11be-2adb-4e90-a125-acf0e1dcd655@googlegroups.com>
In reply to#1150
D Finnigan wrote:
>
> I'd say it would be still worth your time.
>

Absolutely!  And in any projects I would do, my intent would be to support both.

But my project queue, being what it is, probably means the Uthernet II will be out before I get to any Uthernet programming. 



 

[toc] | [prev] | [standalone]


Back to top | Article view | comp.sys.apple2.programmer


csiph-web