| retrohackers.org http://retrohackers.org/ |
|
| Contiki Desktop http://retrohackers.org/viewtopic.php?f=1&t=230 |
Page 1 of 3 |
| Author: | zap [ Wed Feb 14, 2007 6:56 am ] |
| Post subject: | Contiki Desktop |
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 |
|
| Author: | masterhit [ Wed Feb 14, 2007 9:13 am ] |
| Post subject: | Re: Contiki Desktop |
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 |
|
| Author: | zap [ Wed Feb 14, 2007 3:34 pm ] |
| Post subject: | |
Anyone know how to edit the contiki default web page . Time i wish i had more time. Thanks zap |
|
| Author: | zap [ Sun Feb 18, 2007 2:19 pm ] |
| Post subject: | c64 on web |
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. |
|
| Author: | RaveGuru [ Sun Feb 18, 2007 5:36 pm ] |
| Post subject: | Re: c64 on web |
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. |
|
| Author: | zap [ Tue Feb 20, 2007 2:54 pm ] |
| Post subject: | |
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 |
|
| Author: | RaveGuru [ Wed Feb 21, 2007 4:05 pm ] |
| Post subject: | |
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 |
|
| Author: | zap [ Wed Mar 28, 2007 6:25 am ] |
| Post subject: | Re: c64 on web |
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 . |
|
| Author: | zap [ Wed Mar 28, 2007 6:27 am ] |
| Post subject: | |
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. |
|
| Author: | bbraun [ Wed Mar 28, 2007 3:37 pm ] |
| Post subject: | |
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" |
|
| Author: | zap [ Wed Mar 28, 2007 4:05 pm ] |
| Post subject: | |
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 . |
|
| Author: | zap [ Wed Mar 28, 2007 4:14 pm ] |
| Post subject: | |
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. |
|
| Author: | zap [ Wed Mar 28, 2007 4:17 pm ] |
| Post subject: | |
could you upload the changed files or zip the whole directory you have created allong with cc65 you are using.... Thanks shane |
|
| Author: | bbraun [ Wed Mar 28, 2007 4:44 pm ] |
| Post subject: | |
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 |
|
| Author: | zap [ Wed Mar 28, 2007 4:47 pm ] |
| Post subject: | |
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 |
|
| Page 1 of 3 | All times are UTC [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|