RetroBSD

2.11BSD operating system for microcontrollers
It is currently Tue Dec 11, 2018 8:22 pm

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: BSD games
PostPosted: Sat Sep 20, 2014 4:32 am 
Committer
User avatar

Joined: Wed Oct 10, 2012 11:01 pm
Posts: 1079
Location: Sunnyvale, CA
I'm mostly done with porting BSD games. Now we have 32 games in a list. Some of them still have some minor issues, but in general, RetroBSD installation now reminds good old pdp11 of early 80s.

adventure - an exploration game
arithmetic - quiz on simple arithmetic
atc - air traffic controller game
backgammon - the game of backgammon
banner - print large banner on printer
battlestar - a tropical adventure game
bcd - reformat input as punch cards, paper tape or morse code
boggle - word search game
btlgammon - another version of backgammon
canfield - the solitaire card game canfield
cribbage - the card game cribbage
factor - find a smallest prime factor of integer
fish - play Go Fish
fortune - print a random adage
hangman - Computer version of the game hangman
mille - play Mille Bornes
monop - Monopoly game
morse - reformat input as punch cards, paper tape or morse code
number - convert Arabic numerals to English
ppt - reformat input as punch cards, paper tape or morse code
primes - generate primes
quiz - random knowledge tests
rain - animated raindrops display
robots - fight off villainous robots
rogue - exploring The Dungeons of Doom
sail - multi-user wooden ships and iron men
snake - display chase game
teachgammon - learn to play backgammon
trek - Star Trek
worm - Play the growing worm game
worms - animate worms on a display terminal
wump - hunt the wumpus in an underground cave

Games always had been an essential part of BSD heritage. Keith Bostic did a tremendous work collecting these invaluable sources. If RetroBSD pretends to be a real 2.11bsd port, we must have the games running. Some of these games had so much impact, that even earned an article in wikipedia. See links above.


Top
 Profile  
 
 Post subject: Re: BSD games
PostPosted: Tue Sep 23, 2014 1:48 pm 
Contributor

Joined: Mon Nov 12, 2012 1:34 pm
Posts: 1091
Hi Serge,

Nice :).

It reminds me of an old DEC slogan: "The network makes the difference."

What is the easiest way to get one PIC32 box to talk to and be talked to by a 2nd PIC32 and to a "big" computer?

sz/rz works well for me at 4800 baud. I keep wondering about "normal" network programs like telnet, ftp, nfs, etc.?

Do the BSD 2.11 sources suggest anything easy? Given NFS or something similar, one PIC32 could be a server for a bunch of others?

Lots of fun!

Wiz


Top
 Profile  
 
 Post subject: Re: BSD games
PostPosted: Sat Sep 27, 2014 5:43 am 
Committer
User avatar

Joined: Wed Oct 10, 2012 11:01 pm
Posts: 1079
Location: Sunnyvale, CA
Hi Wiz,
Currently UART is the only practical solution. We cannot have networking on a bare metal pic32mx with so limited amount of RAM. Though it's possible at application level using some external intelligent networking chip like W5100.
--Serge


Top
 Profile  
 
 Post subject: Re: BSD games
PostPosted: Sat Sep 27, 2014 3:00 pm 
Contributor

Joined: Mon Nov 12, 2012 1:34 pm
Posts: 1091
Hi Serge,

So I guess UART is the way to proceed. The old "knowledge network" of the DOS days worked pretty well.

It had 2 baud rates. One lower one for sending setup commands and a higher one to speed to transfer

real data. Worked very well as I recall. I notice that USB now does the same thing. Lower speed and

sometimes higher speed for real data. In the case of knowledge network there was a reed relay driver

by the control leads. Hmm I wonder if this will post. In case not I will end here for now.

Wiz


Top
 Profile  
 
 Post subject: Re: BSD games
PostPosted: Sat Sep 27, 2014 3:05 pm 
Contributor

Joined: Mon Nov 12, 2012 1:34 pm
Posts: 1091
Hi Serge,

I guess I can now post from home :).

Anyways, I seem to recall that PIC32 will handle some pretty high baud rates. So what is the next

step? I suppose send a packet from one pic to another? I like the one wire idea despite the timing

complexities since it is easy to plug a box in and out at will. You had done some work on ethernet maybe

that can be ported to run with another UART (The PIC has plenty.) ? Reserving the main UART for debug.

Lots of fun.

Wiz


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


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:
cron




Powered by phpBB® Forum Software © phpBB Group

BSD Daemon used with permission