It is currently Mon Jan 26, 2026 11:46 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 32 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: Contiki Desktop
PostPosted: Wed Feb 14, 2007 6:56 am 
Offline
User avatar

Joined: Sat Feb 10, 2007 6:30 pm
Posts: 351
Location: Brisbane Australia
Using the rr-net under contiki as a web server is working great on my c64 i hope to have a c64 web server online in a week or two.
my question is the contiki disk that came with my retro replay cart is a little old there are more current versions of this on there web site but i dont have a clue how to compile them.
Does anyone have a more recent version of the contiki disc or now where to download one off the web.

Have Fun zap

_________________
Have Fun!!


Top
 Profile  
Reply with quote  
 Post subject: Re: Contiki Desktop
PostPosted: Wed Feb 14, 2007 9:13 am 
Offline
User avatar

Joined: Thu Mar 30, 2006 1:43 pm
Posts: 27
Location: frankfurt
zap wrote:
Using the rr-net under contiki as a web server is working great on my c64 i hope to have a c64 web server online in a week or two.
my question is the contiki disk that came with my retro replay cart is a little old there are more current versions of this on there web site but i dont have a clue how to compile them.
Does anyone have a more recent version of the contiki disc or now where to download one off the web.

Have Fun zap


yes, there are, but sadly on the l8test c64 official release the webserver is broken (therefor al ot of other prgs work).
or has anybody in here a new fixed version?

beside this groepaz is working on a port of contiki 2, but this may take a little while ;)

masterhit


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Feb 14, 2007 3:34 pm 
Offline
User avatar

Joined: Sat Feb 10, 2007 6:30 pm
Posts: 351
Location: Brisbane Australia
Anyone know how to edit the contiki default web page .

Time i wish i had more time.

Thanks zap

_________________
Have Fun!!


Top
 Profile  
Reply with quote  
 Post subject: c64 on web
PostPosted: Sun Feb 18, 2007 2:19 pm 
Offline
User avatar

Joined: Sat Feb 10, 2007 6:30 pm
Posts: 351
Location: Brisbane Australia
if you want to see how the c64 performs online using contiki web server here it is.
http://www.C64Web.com Soon

retro replay cart with rr-net

p.s very default some help needed to edit default web page any help welcome.

_________________
Have Fun!!


Last edited by zap on Wed Mar 28, 2007 6:17 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: c64 on web
PostPosted: Sun Feb 18, 2007 5:36 pm 
Offline
Site Admin

Joined: Wed Jan 11, 2006 11:22 am
Posts: 874
zap wrote:
p.s very default some help needed to edit default web page any help welcome.

Hey Zap!
It's a bit complicated as the Contiki webserver uses a virtual read-only filesystem, which means the filesystem is contained within the webserver code. To change it you need to download the Contiki source, make your changes in contiki/apps/httpd-fs which is the directory containing the files for the virtual filesystem, then you need to execute the makefsdata perl script to build the new virtual filesystem and finally recompile Contiki. This is probably easiest done on a Linux/Unix system as it requires some common unix tools.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Feb 20, 2007 2:54 pm 
Offline
User avatar

Joined: Sat Feb 10, 2007 6:30 pm
Posts: 351
Location: Brisbane Australia
Wow hmmm sounds like fun certainly explains a few things.

Hmmm do you know of a doc on this or a flow chart.

Is it all just in the webserver.prg file .

have fun zap

_________________
Have Fun!!


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Feb 21, 2007 4:05 pm 
Offline
Site Admin

Joined: Wed Jan 11, 2006 11:22 am
Posts: 874
I don't know if there's such a flowchart.

You don't have to edit the source file, you just put your html files in the httpd-fs directory and rebuild.

If you don't know how to do it, perhaps someone with Linux programming skills can help you. I would do it but I'm too busy already :cry:


Top
 Profile  
Reply with quote  
 Post subject: Re: c64 on web
PostPosted: Wed Mar 28, 2007 6:25 am 
Offline
User avatar

Joined: Sat Feb 10, 2007 6:30 pm
Posts: 351
Location: Brisbane Australia
RaveGuru wrote:
zap wrote:
p.s very default some help needed to edit default web page any help welcome.

Hey Zap!
It's a bit complicated as the Contiki webserver uses a virtual read-only filesystem, which means the filesystem is contained within the webserver code. To change it you need to download the Contiki source, make your changes in contiki/apps/httpd-fs which is the directory containing the files for the virtual filesystem, then you need to execute the makefsdata perl script to build the new virtual filesystem and finally recompile Contiki. This is probably easiest done on a Linux/Unix system as it requires some common unix tools.


What program do you compile Contiki with .?
Do you have to use the C64 source code for Contiki .

_________________
Have Fun!!


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Mar 28, 2007 6:27 am 
Offline
User avatar

Joined: Sat Feb 10, 2007 6:30 pm
Posts: 351
Location: Brisbane Australia
I wish to setup up a webserver using the c64. C64Web.Com
I have contiki but the default webpage in compiled into the webserver.prg.
I have spent many hours and day trying to change default page to what i want.
Do you know of a short cut to doing this.

The contiki webserver works great and so does Contiki i only wish to change the links
and main page then link to another webserver.

I know little about compiling every attempt results in an error files missing ect ect.

I am trying to use cc65 . Should i be using Something Else

I only want to change the webserver.prg file so i can display my own web page.

Any help would be great. Shane Wood

P.S i will add a link to it or a banner for your help, This Web Server will remain online for sometime.

_________________
Have Fun!!


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Mar 28, 2007 3:37 pm 
Offline

Joined: Mon Dec 25, 2006 8:50 pm
Posts: 26
Which version of contiki are you trying to build.

I was able to check out and build contiki-1.2-devel1 using cc65 2.11.0, but I had to make a few minor changes to the contiki source using the newer cc65.

I basically just did:
mkdir contiki-1.2-devel1
cd contiki-1.2-devel1
cvs -d:pserver:anonymous@contiki.cvs.sourceforge.net:/cvsroot/contiki login
cvs -d:pserver:anonymous@contiki.cvs.sourceforge.net:/cvsroot/contiki co -r contiki-1-2-devel1 .
cd contiki-c64
<applied the changes below>
make d64

Code:
Index: c64.cfg
===================================================================
RCS file: /cvsroot/contiki/contiki-c64/c64.cfg,v
retrieving revision 1.4
diff -u -r1.4 c64.cfg
--- c64.cfg     9 Sep 2004 21:38:18 -0000       1.4
+++ c64.cfg     28 Mar 2007 14:33:55 -0000
@@ -3,9 +3,10 @@
  RAM: start = $7FF, size = $c801, define = yes, file = %O;
 }
 SEGMENTS {
- STARTUP: load = RAM, type = wprot;
- CODE: load = RAM, type = wprot;
- RODATA: load = RAM, type = wprot;
+ STARTUP: load = RAM, type = ro;
+ INIT: load = RAM, type = ro;
+ CODE: load = RAM, type = ro;
+ RODATA: load = RAM, type = ro;
  DATA: load = RAM, type = rw;
  BSS: load = RAM, type = bss, define = yes;
  ZEROPAGE: load = ZP, type = zp;
@@ -19,11 +20,10 @@
           type = destructor,
           label = __DESTRUCTOR_TABLE__,
           count = __DESTRUCTOR_COUNT__;
-    # condes functions with type 2 are called in the interrupt
-    CONDES: segment = RODATA,
-            type = 2,
-            label = __IRQFUNC_TABLE__,
-            count = __IRQFUNC_COUNT__;
+ CONDES: segment = RODATA,
+           type = interruptor,
+           label = __INTERRUPTOR_TABLE__,
+           count = __INTERRUPTOR_COUNT__;
 }
 SYMBOLS {
   __STACKSIZE__ = $100; 
Index: loader/loader-arch.c
===================================================================
RCS file: /cvsroot/contiki/contiki-c64/loader/loader-arch.c,v
retrieving revision 1.9
diff -u -r1.9 loader-arch.c
--- loader/loader-arch.c        9 Aug 2004 21:33:40 -0000       1.9
+++ loader/loader-arch.c        28 Mar 2007 14:33:59 -0000
@@ -48,6 +48,7 @@

 #ifndef NULL
 #define NULL (void *)0
+#define _HAVE_NULL 1
 #endif /* NULL */

 #include "cfs.h"


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Mar 28, 2007 4:05 pm 
Offline
User avatar

Joined: Sat Feb 10, 2007 6:30 pm
Posts: 351
Location: Brisbane Australia
bbraun wrote:
Which version of contiki are you trying to build.

I was able to check out and build contiki-1.2-devel1 using cc65 2.11.0, but I had to make a few minor changes to the contiki source using the newer cc65.

I basically just did:
mkdir contiki-1.2-devel1
cd contiki-1.2-devel1
cvs -d:pserver:anonymous@contiki.cvs.sourceforge.net:/cvsroot/contiki login
cvs -d:pserver:anonymous@contiki.cvs.sourceforge.net:/cvsroot/contiki co -r contiki-1-2-devel1 .
cd contiki-c64
<applied the changes below>
make d64

Code:
Index: c64.cfg
===================================================================
RCS file: /cvsroot/contiki/contiki-c64/c64.cfg,v
retrieving revision 1.4
diff -u -r1.4 c64.cfg
--- c64.cfg     9 Sep 2004 21:38:18 -0000       1.4
+++ c64.cfg     28 Mar 2007 14:33:55 -0000
@@ -3,9 +3,10 @@
  RAM: start = $7FF, size = $c801, define = yes, file = %O;
 }
 SEGMENTS {
- STARTUP: load = RAM, type = wprot;
- CODE: load = RAM, type = wprot;
- RODATA: load = RAM, type = wprot;
+ STARTUP: load = RAM, type = ro;
+ INIT: load = RAM, type = ro;
+ CODE: load = RAM, type = ro;
+ RODATA: load = RAM, type = ro;
  DATA: load = RAM, type = rw;
  BSS: load = RAM, type = bss, define = yes;
  ZEROPAGE: load = ZP, type = zp;
@@ -19,11 +20,10 @@
           type = destructor,
           label = __DESTRUCTOR_TABLE__,
           count = __DESTRUCTOR_COUNT__;
-    # condes functions with type 2 are called in the interrupt
-    CONDES: segment = RODATA,
-            type = 2,
-            label = __IRQFUNC_TABLE__,
-            count = __IRQFUNC_COUNT__;
+ CONDES: segment = RODATA,
+           type = interruptor,
+           label = __INTERRUPTOR_TABLE__,
+           count = __INTERRUPTOR_COUNT__;
 }
 SYMBOLS {
   __STACKSIZE__ = $100; 
Index: loader/loader-arch.c
===================================================================
RCS file: /cvsroot/contiki/contiki-c64/loader/loader-arch.c,v
retrieving revision 1.9
diff -u -r1.9 loader-arch.c
--- loader/loader-arch.c        9 Aug 2004 21:33:40 -0000       1.9
+++ loader/loader-arch.c        28 Mar 2007 14:33:59 -0000
@@ -48,6 +48,7 @@

 #ifndef NULL
 #define NULL (void *)0
+#define _HAVE_NULL 1
 #endif /* NULL */

 #include "cfs.h"


cvs ? where do i get this program from i am using windows.
how do you apply the info below ?

Thanks for the help so far Time i have spent on this problem .

_________________
Have Fun!!


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Mar 28, 2007 4:14 pm 
Offline
User avatar

Joined: Sat Feb 10, 2007 6:30 pm
Posts: 351
Location: Brisbane Australia
in debian if i try cvs -d:pserver:anonymous@contiki.cvs.sourceforge.net:/cvsroot/contiki co -r contiki-1-2-devel1

it states ymust specify at least one module or directory

?

i am running v1 as it works great but if v1-2 can work then this will do.
all i want to do is change webserver.prg to change the default web page.

_________________
Have Fun!!


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Mar 28, 2007 4:17 pm 
Offline
User avatar

Joined: Sat Feb 10, 2007 6:30 pm
Posts: 351
Location: Brisbane Australia
could you upload the changed files or zip the whole directory you have created allong with cc65 you are using....


Thanks shane

_________________
Have Fun!!


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Mar 28, 2007 4:44 pm 
Offline

Joined: Mon Dec 25, 2006 8:50 pm
Posts: 26
When checking out, include the trailing '.'

I've checked it out and have included my changes above at:
http://www.synack.net/~bbraun/contiki-1.2-devel1.tar.gz

I'm using cc65 2.11.0 from http://www.cc65.org/

Rob


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Mar 28, 2007 4:47 pm 
Offline
User avatar

Joined: Sat Feb 10, 2007 6:30 pm
Posts: 351
Location: Brisbane Australia
are all the files i need in the contiki-c64 directory on http://contiki.cvs.sourceforge.net/contiki/

when i make d64 i get

make: *** No rule to make target `../contiki-cc65/Makefile.cc65'. Stop.


any help

_________________
Have Fun!!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 32 posts ]  Go to page 1, 2, 3  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 9 guests


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