RE: RE: Interesting link from CSS?

2003-03-13 Thread egmond
 Well, if anything else, it's woken everyone up again.


Yes, I just woke up... What did I miss?

;-)

Frans


RE: Interesting link from CSS?

2003-03-13 Thread Simon Owen
Frode Tenneboe wrote:
 I'll see if I can get round to start testing Contiki on Z88Dk 
 this evening and see how far it will go before I run into problems.

I had a quick look at it too, and ran into a few issues on the first file.
The z88dk compiler seems to be missing support for pointers in typedefs,
function pointers, and forward declarations (of structures, in this case).
Macros should cover the first one, perhaps just using an address for the
second (hopefully it won't require manual pushing of parameters), and some
duplication for the forward declarations.  Food was ready then so I didn't
get any further ;-)

The original code will need more tweaking than I'd hoped, but nothing too
tough has cropped up yet.  I'm certainly very impressed with z88dk in
general - well worth a try if you've ever had an interest in SAM C.

Si




RE: Interesting link from CSS?

2003-03-13 Thread Frode Tenneboe
On Wed, 12 Mar 2003 23:44:21 - Simon Owen [EMAIL PROTECTED] wrote:
 Frode Tenneboe wrote:
  I'll see if I can get round to start testing Contiki on Z88Dk 
  this evening and see how far it will go before I run into problems.
 
 I had a quick look at it too, and ran into a few issues on the first file.

HmmmI didn't get round to doing much after all. Forgot my sister's
birthday and everything.

 The z88dk compiler seems to be missing support for pointers in typedefs,
 function pointers, and forward declarations (of structures, in this case).
 Macros should cover the first one, perhaps just using an address for the
 second (hopefully it won't require manual pushing of parameters), and some
 duplication for the forward declarations.

I didn't get the problems you had. Though I came so far that I discovered
that it uses a non-standard library from cc65 (conio.h).

 -Frode


--
^ Frode Tennebø   | email: [EMAIL PROTECTED]  ^
| Ericsson AS.| Isebakkeveien 49   |
| N-1788 Halden   | Phone: +47 67 25 09 39 |
| with Standard.Disclaimer; use Standard.Disclaimer;   |


RE: Interesting link from CSS?

2003-03-13 Thread Simon Owen
Frode Tenneboe wrote:
 I didn't get the problems you had.

I went straight for the apps directory, as it seemed like they'd easier to
start with than the core.  I'll mail you more details off the list, to avoid
spamming the list with too much junk...

Si




Interesting link from CSS?

2003-03-12 Thread David
Anyone checked this site out - as mentioned on CSS?

http://dunkels.com/adam/contiki/

Regards

David




RE: Interesting link from CSS?

2003-03-12 Thread Simon Owen
David wrote:
 Anyone checked this site out - as mentioned on CSS?
 
 http://dunkels.com/adam/contiki/

Enough to think it's do-able for the SAM! ;-)  Most of it's in C, with some
glue sections in 6502 which could be converted by hand.  The close
integration of the application and IP levels is nice, and certainly removes
a lot of buffering complications (despite it not being compatible an
interface compatible with anything else).  It's all impressively small too,
so there'd be no need for SAM paging complications either. :-)

I've been playing with some basic SLIP stuff between my PC and the SAM,
though nothing beyond ICMP yet.  All in Z80 too, which is definitely too
much like hard work!  A C version would be a lot easier to manage...

Si




Re: Interesting link from CSS?

2003-03-12 Thread David



- Original Message -
From: Simon Owen [EMAIL PROTECTED]
To: sam-users@nvg.ntnu.no
Sent: Tuesday, March 11, 2003 11:58 PM
Subject: RE: Interesting link from CSS?


 Enough to think it's do-able for the SAM! ;-)  Most of it's in C, with
some
 glue sections in 6502 which could be converted by hand.  The close
 integration of the application and IP levels is nice, and certainly
removes
 a lot of buffering complications (despite it not being compatible an
 interface compatible with anything else).  It's all impressively small
too,
 so there'd be no need for SAM paging complications either. :-)

Handy with nice quick hard or compact flash drives as well :)

On the subject of C - has anyone done much using Z88DK on SAM?



RE: Interesting link from CSS?

2003-03-12 Thread Simon Owen
David wrote:
 On the subject of C - has anyone done much using Z88DK on SAM?

Frode is the only person I know that has, and I think that was more on the
z88dk development side to add SAM mode 1 support.  I've seen screen shots of
sample's running on the SAM, but haven't built anything with it myself yet
(I got as far as unzipping it, but have been too busy to dive in).

Si




Re: RE: Interesting link from CSS?

2003-03-12 Thread Gavin Smith
tatus: O
X-Status: 
X-Keywords:
X-UID: 80

Simon Owen wrote:

 David wrote:
  Anyone checked this site out - as mentioned on CSS?
  
  http://dunkels.com/adam/contiki/
 
 Enough to think it's do-able for the SAM! ;-)  Most of it's in C, with some
 glue sections in 6502 which could be converted by hand.  The close
 integration of the application and IP levels is nice, and certainly removes
 a lot of buffering complications (despite it not being compatible an
 interface compatible with anything else).  It's all impressively small too,
 so there'd be no need for SAM paging complications either. :-)

Looks great, if I was a C64 nutter, I'd be wetting my pants. As I'm a SAM 
nutter, my pants are still slightly moistened. If this was ported, would we be 
able to run native SAM apps on top of it? Could we drop down into BASIC? If we 
couldn't do these things, it wouldn't really be like using our SAMs - very 
interesting but not SAM-like. I still dream of seeing my SAM on the net with a 
little text web browser, basic email client, telnet, IRC etc - whilst still 
being able to access BASIC (and BASIC being able 


Re: Interesting link from CSS?

2003-03-12 Thread Simon Owen
Gavin Smith wrote:
 If this was ported, would we be able to run native SAM apps 
 on top of it? Could we drop down into BASIC?

Perhaps only as much as you could with Driver, by suspending the GUI to
return to BASIC.  That would halt all Contiki activity while you're running
the external program/BASIC tho, including the networking.  It'd also rely on
applications observing any RAM pages flagged as used, to avoid Contiki being
overwritten.

You might manage to keep the comms running if interrupts remain enabled, but
the close coupling of the application and network layers makes it difficult
without periodically scheduling some time for the Contiki kernel to run.
Even if that's possible, it might make BASIC basic horribly slow to use.

Has anyone tried an interrupt driven comms routine that runs in the
background under BASIC? (Cookie?)


 If we couldn't do these things, it wouldn't really be like
 using our SAMs - very interesting but not SAM-like.

I know what you mean, but if you think of it as an application instead of
part of the system, it'd still be mightily impressive for the SAM.

I was chuffed enough to get my SAM pingable from the Internet (routed
through my Linux box over SLIP), despite it being an exclusive app which did
nothing but respond to ICMP ECHO requests.  Completely useless, but seemed
like an interesting goal to aim for at the time!


 I still dream of seeing my SAM on the net with a little text
 web browser, basic email client, telnet, IRC etc - whilst still
 being able to access BASIC

Contiki covers most of the functionality you want, but returning to BASIC is
a problem.  You could probably manage short exclusive trips to BASIC,
relying on TCP retries to keep any active connections alive, but that's a
bit risky.  The alternative is to have other small applets running under
Contiki to do what you want (DIR disks, etc.).

All fascinating stuff anyway...

Si




Re: Interesting link from CSS?

2003-03-12 Thread Frode Tenneboe
On Wed, 12 Mar 2003 00:03:48 - David [EMAIL PROTECTED] wrote:
 On the subject of C - has anyone done much using Z88DK on SAM?

As Simon said I have been playing around with Z88Dk a while.

I'll see if I can get round to start testing Contiki on Z88Dk
this evening (in between curling, nappy service, etc.) and see how
far it will go before I run into problems. :)

 -Frode


--
^ Frode Tennebø   | email: [EMAIL PROTECTED]  ^
| Ericsson AS.| Isebakkeveien 49   |
| N-1788 Halden   | Phone: +47 67 25 09 39 |
| with Standard.Disclaimer; use Standard.Disclaimer;   |


RE: Interesting link from CSS?

2003-03-12 Thread Geoff Winkless
at 12 March 2003 11:56, Frode Tenneboe wrote:
 evening (in between curling,

Curling as in indoor bowls on ice?

G



This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com



RE: Interesting link from CSS?

2003-03-12 Thread Frode Tenneboe
On Wed, 12 Mar 2003 12:00:33 - Geoff Winkless [EMAIL PROTECTED] wrote:
 at 12 March 2003 11:56, Frode Tenneboe wrote:
  evening (in between curling,
 
 Curling as in indoor bowls on ice?

Wellnot bowls (as it curls instead of bowls - hence the name), 
but close enough. On ice and indoor. Score: 67%.

 -Frode


--
^ Frode Tennebø   | email: [EMAIL PROTECTED]  ^
| Ericsson AS.| Isebakkeveien 49   |
| N-1788 Halden   | Phone: +47 67 25 09 39 |
| with Standard.Disclaimer; use Standard.Disclaimer;   |


RE: Interesting link from CSS?

2003-03-12 Thread Geoff Winkless
at 12 March 2003 12:05, Frode Tenneboe wrote:
 On Wed, 12 Mar 2003 12:00:33 - Geoff Winkless
 [EMAIL PROTECTED] wrote: 
 Curling as in indoor bowls on ice?
 
 Wellnot bowls (as it curls instead of bowls - hence the name),
 but close enough. On ice and indoor. Score: 67%.

*chuckles* I meant (indoor bowls) (on ice), rather than (bowls) (indoor
on ice). Crown Green Bowling is a different beastie altogether.

I didn't think people did that for fun: I just thought it was something
the Brits did because it was the only chance we had of a medal at the
winter olympics...

Talking of olympics and in order to return mildly to topic, did anyone
ever try Daley Thompson on the Sam? How did the keyboard hold up? :)

Geoff



This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com



RE: Interesting link from CSS?

2003-03-12 Thread Frode Tenneboe
tatus: O
X-Status: 
X-Keywords:
X-UID: 63

On Wed, 12 Mar 2003 12:09:13 - Geoff Winkless [EMAIL PROTECTED] wrote:
 at 12 March 2003 12:05, Frode Tenneboe wrote:
  On Wed, 12 Mar 2003 12:00:33 - Geoff Winkless
  [EMAIL PROTECTED] wrote: 
  Curling as in indoor bowls on ice?
  
  Wellnot bowls (as it curls instead of bowls - hence the name),
  but close enough. On ice and indoor. Score: 67%.
 
 *chuckles* I meant (indoor bowls) (on ice), rather than (bowls) (indoor
 on ice). Crown Green Bowling is a different beastie altogether.

What sivil^H^H^H^H^Hother europeans call boccia, boule or petanque. :)

Well, it's (indoor on ice) (curls) || (indoor curls) (on ice) || 
(indoor) (curls on ice) || (indoor on ice) !(bowls) :-)

 I didn't think people did that for fun: I just thought it was something
 the Brits did because it was the only chance we had of a medal at the
 winter olympics...

Hmmm...don't want to step on any toes, but I believe it was the Scottish
womens team which won gold for the UK. Curling originated in Scotland
and they are quite good (Hey Allan!)

 Talking of olympics and in order to return mildly to topic, did anyone
 ever try Daley Thompson on the Sam? How did the keyboard hold up? :)

No. :-)

 -Frode


--
^ Frode Tennebø   | email: [EMAIL PROTECTED]  ^
| Ericsson AS.| Isebakkeveien 49   |
| N-1788 Halden   | Phone: +47 67 25 09 39 |
| with Standard.Di


RE: RE: Interesting link from CSS?

2003-03-12 Thread Justin Skists
Well, if anything else, it's woken everyone up again.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Gavin Smith
Sent: 12 March 2003 10:00
To: sam-users@nvg.ntnu.no
Subject: Re: RE: Interesting link from CSS?


Simon Owen wrote:

 David wrote:
  Anyone checked this site out - as mentioned on CSS?
  
  http://dunkels.com/adam/contiki/
 

[snip]