It is currently Wed May 14, 2025 10:43 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 123 posts ]  Go to page Previous  1 ... 5, 6, 7, 8, 9  Next
Author Message
PostPosted: Fri Jun 08, 2018 4:28 pm 
Offline

Joined: Thu May 17, 2007 2:00 pm
Posts: 107
Location: Duesseldorf, Germany
Okay, so here is some update on the development status:

The bbs-setup binary is now twice as big (104 blocks) but is now a contiki os process and creates seq files for all data. I'm thinking of pimping the whole gui using ctk but this is not on the list this time.

Regarding the new (seq) file i/o routines, I eventually had to go with low-level cbm_open() and its friends to accomplish the task since contiki's cfs/pfs doesn't know a thing about the ",s,a" (seq file append) mode of the 1541 disk drive. I'll try to get in touch with Oliver to (hopefully) get some more info on that topic. Would be very nifty if contiki-bbs could make use of cfs/pfs so it would be a bit more portable (e.g. to the atari or apple ii).

On the server side, I'm happy to report that loading the bbs base config (prompt, timeouts etc.) and logging in already works with the new i/o code (yay!). Yet, there's some work to do regarding the blist, post and read commands. I hope that I can deal with that over the weekend (forecast says it's gonna be a very rainy one). Also, I'm thinking about reworking the help command in such a way that it loads the help text from a file on the disk. I guess that this is going to free a few bytes in ram.

Wish me luck that the rest of the rework is easy to deal with, because that would mean a new release in the very near future (and we all love new releases, don't we?).

_________________
LOAD ":*",8,1
READY.
RUN


Top
 Profile  
Reply with quote  
PostPosted: Tue Jun 12, 2018 12:14 pm 
Offline

Joined: Thu May 17, 2007 2:00 pm
Posts: 107
Location: Duesseldorf, Germany
Yet another update on the Contiki BBS rewrite process:

* the two seperate commands "blist" and "board" have been merged into one single "boards" command.
* the "static-locals" directive has been removed from the Makefile, miraculously (haha) freeing up 3 blocks (1 block = 256byte) on disk.
* bbs-setup now has its own Makefile, yet is still a C program since turning it into a Contiki process brings no advantages but instead eats up disk and system memory
* rhe bbs message buffer is now a dynamically allocated (4KB, ~ 100 lines of text - size can be changed, if needed) mmem memory object (Contiki OS internal)
* SEQ File i/o is still being implemented for posting and reading messages (ongoing)

at the moment, real-life priorities have slowed down the development process but I'm still optimistic to have a new release out in the coming weeks. Given the massive changes in code and i/o handling, it's probably going to be a new "major" relase 0.3.0 - stay tuned!

_________________
LOAD ":*",8,1
READY.
RUN


Top
 Profile  
Reply with quote  
PostPosted: Wed Jun 13, 2018 11:01 am 
Offline
Site Admin

Joined: Wed Jan 11, 2006 11:22 am
Posts: 874
Cool Lodger! Nice work. Looking forward to hear more about it :)


Top
 Profile  
Reply with quote  
PostPosted: Wed Jun 13, 2018 7:01 pm 
Offline

Joined: Thu May 17, 2007 2:00 pm
Posts: 107
Location: Duesseldorf, Germany
Yet another one: posting and writing messages basically works but needs some debugging. However, I just tested the new thing on my sd2iec drive and it's like ... er ... lightspeed, you know?! this baby is beginning to turn into something useful I guess ...

_________________
LOAD ":*",8,1
READY.
RUN


Top
 Profile  
Reply with quote  
PostPosted: Thu Jun 14, 2018 9:07 pm 
Offline

Joined: Thu May 17, 2007 2:00 pm
Posts: 107
Location: Duesseldorf, Germany
It's done! Holy Tramiel it's done!!

The whole thing is now running on SEQ files, it works like a (lightspeed) charm with sd2iec devices and there is no longer a 6-lines-per-message limit (there is, of coures, a message buffer limit of 4KB).

I got it working here and I just spent two hours posting messages, listing them (*tadaa* new feature!) and doing all sorts of optimization. The server binary is now an impressive 157 blocks. But I hope I can free a few byte in the upcoming cleanup of the code.

If you know how to build this thing and write it to a d64 image or real diskette, feel free to pull the latest sources - they're on sourceforge.net now, due to recent changes in GitHub ownership (heh).

The setup program needs some more tweaking and I need to test the new "board drive" option which allows you to store you message bases on another disk drive / sd2iec device.

But to show you what the new thing looks like on the connecting end, I have this log for you:

Code:
Escape character is '^]'.
                                       
          W e l c o m e   t o :         
                                       
           -=-=-=-=-=-=-=-=-=-         
                                       
            >> Contiki BBS <<           
                                       
  Contiki BBS  V0.2.8.0 (C) 2009-2018   
                   by                   
               N. Haedecke             
                                       

Contiki BBS 0.2.8.0alpha

login: guest
password: guest
                                       
         ** M A I N   M E N U **       
                                       
  ====================================
  'boards'....... list & select boards
  'read'......... list & read messages     
  'post'......... write new message
  'page'......... page sysop
  'help'......... display help         
  'quit'......... exit bbs (logout)     
  ====================================

BBS>read
board has 20 msgs.
read (msg#/list/quit): list

 msg#    subj.
    1    One
    2    Two
    3    Test!
    4    OneTwoThree
    5    Test once more
    6    Eliza
    7    123
    8    Testing Agaiiiin!
    9    Hello!
   10    Number ten
   11    Another one
   12    A long one ...
   13    Lines ...
   14    Doobie Dooby
   15    Postman
   16    Coding is fun!
   17    Commodore 64 ...
   18    Posting
   19    Bulletin Board System
   20    Twenty
BBS>read
board has 20 msgs.
read (msg#/list/quit): 12

msg#   12   subj.: A long one ...
---------+---------+---------+---------+
This is a very long message. It's a
test message for testing messaging and
message handling. Got the message?!
So here we are, running the new ver-
sion of Contiki BBS and testing
all the neat features and hoping
that the whole thing doesn't blow
up in our face.
 
Anyway, if you feel like dancing,
I recommend to play a few sids or
maybe even mods (got an Amiga?)
 
Right, this seems to be long enough
a message for me.
 
Peace!
BBS>help
Available commands:
?      : shows this help
boards : list and select boards
exit   : exit bbs
help   : shows this help
page   : page sysop
post   : post a new message
quit   : exit bbs
read   : list or read msgs.
version: show version and copyright
BBS>page
*paging sysop (/q on empty line to quit)
---------+---------+---------+---------+
Oi! All workin' a work.
/q
BBS>boards
-id- -------board------- -acl- -msgs-
  1  lounge                10
  2  sysop                255
Choose board # (1-2, 0=quit)? 2
insufficient access rights.
BBS>boards
-id- -------board------- -acl- -msgs-
  1  lounge                10
  2  sysop                255
Choose board # (1-2, 0=quit)? 1
board: lounge has 20 msg(s).
BBS>read
board has 20 msgs.
read (msg#/list/quit): quit
BBS>quit

>>   . . .    G O O D   B Y E  ! !    <<

_________________
LOAD ":*",8,1
READY.
RUN


Top
 Profile  
Reply with quote  
PostPosted: Sun Jun 17, 2018 8:04 pm 
Offline

Joined: Thu May 17, 2007 2:00 pm
Posts: 107
Location: Duesseldorf, Germany
Contiki BBS 0.3.0 is out now. Check the network section for the latest release.

_________________
LOAD ":*",8,1
READY.
RUN


Top
 Profile  
Reply with quote  
PostPosted: Mon Jun 18, 2018 2:01 pm 
Offline
Site Admin

Joined: Wed Jan 11, 2006 11:22 am
Posts: 874
Hey Lodger, this is awesome!! Good job man! 8)


Top
 Profile  
Reply with quote  
PostPosted: Mon Jun 18, 2018 5:18 pm 
Offline

Joined: Thu May 17, 2007 2:00 pm
Posts: 107
Location: Duesseldorf, Germany
RaveGuru wrote:
Hey Lodger, this is awesome!! Good job man! 8)


Thanks a lot! Your appreciation lifts my spirit. I guess the usual 0.3.1 bugfix release will be out in late summer. I'm currently setting up my C64 and NIC64+ to run a demo of the BBS for a while. Nothing beats the real thing and most of my testing was done using good old VICE so it'd be nice to see how the thing performs on real hardware (and the machine has something more or less useful to do).

Once the thing is up, I'll let you all know.

_________________
LOAD ":*",8,1
READY.
RUN


Top
 Profile  
Reply with quote  
PostPosted: Mon Jun 18, 2018 6:17 pm 
Offline

Joined: Thu May 17, 2007 2:00 pm
Posts: 107
Location: Duesseldorf, Germany
Live demo is online now (and will remain so for the next few days) at the following location:

Telnet: wintermute.bbsindex.com 64 (note: telnet port 64 - the standard one is Wintermute BBS).

The demo runs on a real Commodore 64 and a real SD2IEC device (containing a 4GB SD card). The NIC in use is a 64NIC+ by RETRO Innovations.

_________________
LOAD ":*",8,1
READY.
RUN


Last edited by lodger on Tue Jun 19, 2018 7:58 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
PostPosted: Mon Jun 18, 2018 11:56 pm 
Offline
User avatar

Joined: Sat Feb 10, 2007 6:30 pm
Posts: 351
Location: Brisbane Australia
To access telnet bbs's using Debian i opened a terminal then enter the command seen below.
telnet wintermute.bbsindex.com 64
This will work from most Linux based operating systems.

Cheers it worked a treat :)

_________________
Have Fun!!


Top
 Profile  
Reply with quote  
PostPosted: Mon Jul 01, 2019 4:39 pm 
Offline

Joined: Thu May 17, 2007 2:00 pm
Posts: 107
Location: Duesseldorf, Germany
Howdy again, dear friends of classic hardware!

Since 2019 marks the 10th anniversary of Contiki BBS (yes, indeed), it would be a shame not to come up with a new release, right? So I'm happy to let you know that coding is being done at the moment for the upcoming Contiki BBS 0.3.1 release. One new feature that is already committed in the code repos at Sourceforge and GitLab is *tadaa* online user registration! No longer will you have to create users beforehand (sort of spoils the fun, doesn't it). Also, the very first user you create (user id# 1) will get full ACL (ACL=255) so it is automatically the sysop user, no matter what name you pick as a username. New users with id# > 1 will get a default ACL of 10. Further work will eventually add an edit function to the user editor (so you can level up all your new buddies logging in).

As I said, the basic changes are already in the master branch and if you want to try them out and if you think you are up to the task of compiling Contiki BBS on your own, just pull the latest sources and off you go. The registration feature does not change the data structures, so you can just replace the old 0.3.0 Contiki BBS server binary with the new one. Please note that the changes made to the setup program (e.g. user editor) are not yet commited upstream (to the public repos)!

An official 0.3.1 release including a working .D64 image and .ZIP file (for SD2IEC installations) is planned for the end of this month, but delays may happen.

P.S.: plans for a future 0.3.2 release are also beginning to shape up, with some sort of private messaging mechanism in the back of my mind. But first I'll get this one finished.

_________________
LOAD ":*",8,1
READY.
RUN


Top
 Profile  
Reply with quote  
PostPosted: Wed Jul 10, 2019 8:13 pm 
Offline

Joined: Thu May 17, 2007 2:00 pm
Posts: 107
Location: Duesseldorf, Germany
Another development status update, folks! I'm currently packaging everything up for binary release and distribution. However, I still need to test this baby on real hardware using my SD2IEC setup in order to make sure it all really works outside of VICE. This is planned for the coming days, so please bear with me a little longer until these checks are done. Actually, this last QA step is the most fun one since I get to use my good ol' C64 for it. Keep your fingers crossed!

_________________
LOAD ":*",8,1
READY.
RUN


Top
 Profile  
Reply with quote  
PostPosted: Thu Jul 11, 2019 5:02 pm 
Offline

Joined: Thu May 17, 2007 2:00 pm
Posts: 107
Location: Duesseldorf, Germany
New Contiki BBS 0.3.1 (10th anniversary release) is out now!

Have fun checking out the new features !!

P.S.: as I can see on my CSDB.dk account, I tend to release my stuff between may and july of a given year. What does this tell us? Dr. Freud, it's your turn ...

_________________
LOAD ":*",8,1
READY.
RUN


Top
 Profile  
Reply with quote  
PostPosted: Tue Jul 30, 2019 1:53 pm 
Offline
Site Admin

Joined: Wed Jan 11, 2006 11:22 am
Posts: 874
Cool lodger! I really enjoy reading about these little update nuggets. Keep up the good work (:

PS. And happy anniversary!!


Top
 Profile  
Reply with quote  
PostPosted: Tue Jul 30, 2019 8:03 pm 
Offline

Joined: Thu May 17, 2007 2:00 pm
Posts: 107
Location: Duesseldorf, Germany
RaveGuru wrote:
Cool lodger! I really enjoy reading about these little update nuggets. Keep up the good work (:

PS. And happy anniversary!!


Thank you very much! :)

Well, there's work in the pipeline for another (bugfix) release - 0.3.1.1 - that, after successful logon, will show the name of the last user that visited. However, that release is quite likely to be the last release of Contiki BBS based on Contiki OS. It just turns out that adding more and more code / complexity to the Contiki-BBS.c64 binary eventually causes the C64 to bail out with an "? Out of Memory" Error while trying to load the required ethernet driver (cs8900a.eth in my case). The binary itself is 160 Blocks on disk which is roughly 40 KB in size. I guess that Contiki OS reserves some more memory for processes, buffers etc. and I always knew that I will at some point hit a RAM limit when adding more stuff to the code. So this happened while working on 0.3.1.1 and it's reproduceable. And while I'm happy to release *two* versions (each adding a new feature) in the 10th anniversary year, I am a little worried about what to do next.

Oliver's IP65 sounds like a reasonable option for a re-design of Contiki BBS (I'll keep the name, I like it!) and I'm thinking of porting the uIP 1.0 or the Contiki OS telnetd.c server code over to IP65. This may eleminate some memory overhaed due to the fact that currently, each Contiki BBS command is in fact a Contiki OS process. The reason for this is simple: I've taken the original shell.c code from Contiki OS and built my stuff on top of that. So I can imagine that the whole process / memory management system of Contiki OS takes up quite some memory (Oliver, can you please comment on this?).

Then there is the idea of eleminating the whole telnet-server / shell construct in favour of a "simpler" approach similar to the ones taken by classic C64 BBSes, those that had serial line connections to one or more modems. Those didn't (and still don't) need a telnet server to operate on their own.

Then there is the not-very-serious idea of trying to do this whole madness in Kipper BASIC - but that's not really an option (though if I were a 13-year-old kid in the 1980s with all this nice tech and language expansions at my hands. I'll sure give it a try :lol: )

No seriously pepole - I'm quite interested in your ideas, comments on this issue. Don't forget - it was this very thread that started it all ...

P.S.: and thank you all very, very much for your support over the past 10 years! Without you I wouldn't even have tried to to this!

_________________
LOAD ":*",8,1
READY.
RUN


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 123 posts ]  Go to page Previous  1 ... 5, 6, 7, 8, 9  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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