It is currently Thu Jan 22, 2026 10:48 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Sun Aug 12, 2007 5:03 am 
Offline
User avatar

Joined: Sat Feb 10, 2007 6:30 pm
Posts: 351
Location: Brisbane Australia
Challenge

If someone could make contiki run from a 1581 i would gladly give a RRNet card for all that is needed to compile a working contiki webserver off a 1581, MMC64 or CMD hard drive using a RRNet card.

Thats the challenge do what you love and get a RRNet Card for your troubles at the same time. :-)

And of coarse it will remain on this site accessible to all. : )

Winner will be sent the RRNet when with there help i have successfully compiled the Contiki Webserver and have it working online from one of
these drive,s. 1581 - MMC64 - CMD Hard Drive - RamLink.

Any version of Contiki even v1.00.

As the c64 port of contiki has stalled this i hope will kick start it a bit.

If you have a RRNet and would prefer a Retro/Replay or MMC64 then
let me know.

Have Fun.

_________________
Have Fun!!


Last edited by zap on Mon Aug 27, 2007 4:58 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Aug 12, 2007 5:05 am 
Offline
User avatar

Joined: Sat Feb 10, 2007 6:30 pm
Posts: 351
Location: Brisbane Australia
I of coarse will do all kinds of testing for you just send the files needed.

i am not a programmer so this is all i can do to help i will be active in testing and will try to learn all i can to help.

If this is successful i plan on doing more challengers as i am not a programmer this is all i can do to encourage those that can.

Have fun.

_________________
Have Fun!!


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Aug 13, 2007 11:36 am 
Offline
User avatar

Joined: Sat Feb 10, 2007 6:30 pm
Posts: 351
Location: Brisbane Australia
Contiki 1.2-devel1 works on other drives but the webserver is broken
could someone fix it.

This would be the best way to win the challenge after a successful compile.

have fun shane

_________________
Have Fun!!


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Aug 13, 2007 3:13 pm 
Offline
User avatar

Joined: Mon Feb 13, 2006 6:44 pm
Posts: 215
Location: Toronto, Canada
Hmmm, it's possible to run Contiki from the IDE64 - maybe that version would also work on a 1581?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Aug 13, 2007 6:09 pm 
Offline
Site Admin

Joined: Wed Jan 11, 2006 11:22 am
Posts: 874
Nice competition! Come on peeps! You know it can be done!


Top
 Profile  
Reply with quote  
PostPosted: Mon Aug 13, 2007 9:14 pm 
Offline
User avatar

Joined: Thu May 18, 2006 1:17 pm
Posts: 76
Location: Kungsör, Sweden
zap wrote:
Challenge

Winner will be sent the RRNet when with there help i have successfully compiled the Contiki Webserver and have it working online from one of
these drive,s. 1581 - MMC64 - CMD Hard Drive.

Any version of Contiki even v1.00.


To get things started: http://sidchip.ath.cx/~hollowman/contiki1581.zip , contiki 1.1-rc0 with contikis own loader code replaced by dreamload. I have no 1581 to test it on but it runs in vice, and i did a build for the 1541 which worked on the real thing (directory track is hardcoded in a c file in the source, so the 1581 version wont work from a 1541). It is not possible to save , so replace config.cfg with one with your own settings.
If this is any useful for you zap, then I'll setup a source you can build on your own


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Aug 14, 2007 2:52 am 
Offline
User avatar

Joined: Sat Feb 10, 2007 6:30 pm
Posts: 351
Location: Brisbane Australia
I received this from Oliver

You surely remember me telling you that I believe that Contiki 2.x is
a much better fit for your needs. The good news are that I

- successfully ported the Contiki 2.x core to cc65 (and thus the C64).
- successfully created a new loadable Ethernet driver framework.
- started porting the Contiki 1.x CS8900A driver to the new framework.

As soon as this is completed we're very close to a standalone pure web server:
- without any assmbly hacks
- identical to all Contiki 2.x targets (Windows, Linux, C64, Apple2).

All this will be done with or without your challenge... But I'm
generally not a C64 guy and more interested in the Apple2. And here
your offering come into play and could make me invest more into the
C64...

Actually I already started building up some - little - C64 knowhow for
another project. At least enough to create a .D64 image and verify
using VICE that it generally works.

From your retrohackers post I understand that you have issues running
the stuff from something different than a 1541 drive. You can use the
project mentioned above to check out in advance the compatibility of
Contiki 2.x with C64 mass storage devices:

Download http://www.jantzer-schmidt.de/nanovm-cc65.zip and grap the .D64
image. Verify that
LOAD "NANOVM", 8
RUN:REM QUICKSORT.NVM
successfully loads and runs a - quite slow - sorting of some numbers.

The way the file NANOVM loads the file QUICKSORT.NVM is exactly the
same way that the Contiki 2.x core will use to access drivers and that
the Contiki 2.x web server will use to access the files it serves.

Would you mind checking out if you can successfully transfer the files
in question to the device you want to use and successfully loading /
running from that ?

Best, Oliver

_________________
Have Fun!!


Top
 Profile  
Reply with quote  
PostPosted: Tue Aug 14, 2007 4:00 am 
Offline
User avatar

Joined: Sat Feb 10, 2007 6:30 pm
Posts: 351
Location: Brisbane Australia
Great start it works a treat on my 1581 DreamLoad ?? can you explain a little more about this.

Will it ever be able to write to the drive this is important when writing info from your webserver to disk ie webcounter, feedback uploading files etc.
This will need to be addressed to create a fully operational webserver.

i run config-net then clicked on the rrnet.drv and it worked .

i have yet to try it on the hard drive i am replacing the hard drive at this moment hope all goes well.

I have a new challenge once this one has been put to bed. :-)

_________________
Have Fun!!


Last edited by zap on Tue Aug 14, 2007 7:34 am, edited 4 times in total.

Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Aug 14, 2007 7:30 am 
Offline
User avatar

Joined: Sat Feb 10, 2007 6:30 pm
Posts: 351
Location: Brisbane Australia
Ok

I copied contiki compiled with dreamload to a 1581 disk it performs well
but will not write to the drive from contiki.

the webserver runs and access's the drive to load the external html file from
the drive but i cant get it to write to the drive from contiki.

Is this a limitation of Dreamload.

_________________
Have Fun!!


Top
 Profile  
Reply with quote  
PostPosted: Tue Aug 14, 2007 7:42 am 
Offline
User avatar

Joined: Thu May 18, 2006 1:17 pm
Posts: 76
Location: Kungsör, Sweden
zap wrote:
Great start it works a treat on my 1581 DreamLoad ?? can you explain a little more about this.

Will it ever be able to write to the drive this is important when writing info from your webserver to disk ie webcounter, feedback uploading files etc.
This will need to be addressed to create a fully operational webserver.


The 1.1 version of contiki is using its own drive code which only seem to work with 1541/1571, also both the file system part of contiki and some of the applications are based on the way data is stored on the disks for the 1541, with the directory being placed on track 18, and each block of data containing up to 254 bytes of data and 2 bytes that point to the next track and sector.
The nice thing about the 1581 in this case is that it works very similar, so the changes needed were: install dreamload, change the ReadBlock function in c64-dio-asm.S to call dreamloads routine to read a block of data, and change the location of the start of the directory in c64-fs.c from 18,1 to 40,3
So now it runs from 1581, but its incompatible with other drives and theres no function in dreamload to save data, so this solution seems to be a dead end if you want the full functionality.
Unless some other code is used for reading and writing the blocks of data, which is compatible with different drives. Perhaps theres some easy way to use the kernal code of the c64 to do this, I've never looked into this subject.
Maybe some more hardcore coder like TNT can shed some light on this =)

But the best solution, which judging by the post from Oliver will eventually be available, is to use a newer version of contiki which isnt relying on drive specific code or disk formats.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Aug 14, 2007 7:43 am 
Offline
User avatar

Joined: Sat Feb 10, 2007 6:30 pm
Posts: 351
Location: Brisbane Australia
Schema wrote:
Hmmm, it's possible to run Contiki from the IDE64 - maybe that version would also work on a 1581?


could i get a copy of the disk image file see how it goes.

_________________
Have Fun!!


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Aug 14, 2007 8:35 am 
Offline
User avatar

Joined: Sat Feb 10, 2007 6:30 pm
Posts: 351
Location: Brisbane Australia
So using Dreamload we can read from a 1581 drive and it works great.

we now need to be able to write to the drive any ideas anyone.

is fixing the webserver in contiki 1.2devel1 still our best bet or can
we use the code in it to fix contiki 1.1 the webserver and all the apps work great.

Contiki v2 is a pure webserver and does not come with all the apps contiki-desktop does if oliver finish,s it first he will win the RRNet as per the terms of the challenge.

I really want to give this RRNet away.

_________________
Have Fun!!


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Aug 14, 2007 3:53 pm 
Offline
User avatar

Joined: Mon Feb 13, 2006 6:44 pm
Posts: 215
Location: Toronto, Canada
zap wrote:
could i get a copy of the disk image file see how it goes.


It's not a disk image, since IDE64 doesn't use images. It's just a zip of the files.

ftp://c64.rulez.org/pub/c64/IDE64/Tools ... devel1.zip

Edit: Oops, this is 1.2-del1 which you said in an earlier post may not work.


Top
 Profile  
Reply with quote  
PostPosted: Mon Aug 27, 2007 4:44 pm 
Offline
User avatar

Joined: Sat Feb 10, 2007 6:30 pm
Posts: 351
Location: Brisbane Australia
hollowman wrote:
zap wrote:
Great start it works a treat on my 1581 DreamLoad ?? can you explain a little more about this.

Will it ever be able to write to the drive this is important when writing info from your webserver to disk ie webcounter, feedback uploading files etc.
This will need to be addressed to create a fully operational webserver.


The 1.1 version of contiki is using its own drive code which only seem to work with 1541/1571, also both the file system part of contiki and some of the applications are based on the way data is stored on the disks for the 1541, with the directory being placed on track 18, and each block of data containing up to 254 bytes of data and 2 bytes that point to the next track and sector.
The nice thing about the 1581 in this case is that it works very similar, so the changes needed were: install dreamload, change the ReadBlock function in c64-dio-asm.S to call dreamloads routine to read a block of data, and change the location of the start of the directory in c64-fs.c from 18,1 to 40,3
So now it runs from 1581, but its incompatible with other drives and theres no function in dreamload to save data, so this solution seems to be a dead end if you want the full functionality.
Unless some other code is used for reading and writing the blocks of data, which is compatible with different drives. Perhaps theres some easy way to use the kernal code of the c64 to do this, I've never looked into this subject.
Maybe some more hardcore coder like TNT can shed some light on this =)

But the best solution, which judging by the post from Oliver will eventually be available, is to use a newer version of contiki which isnt relying on drive specific code or disk formats.


Is there a dreamload routine for the ramlink even in 1581 partiton on the ramlink contiki wont load i just get video coruption.

have fun shane

_________________
Have Fun!!


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Oct 18, 2007 3:35 am 
Offline
User avatar

Joined: Sat Feb 10, 2007 6:30 pm
Posts: 351
Location: Brisbane Australia
This challenge is still in play.

Hollowman is leading this challenge from what i have read on other posts.

He has compiled it and nearly got it to run from a MMC Card. :)

_________________
Have Fun!!


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 13 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:  
cron
Powered by phpBB® Forum Software © phpBB Group