Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!cwjcc!hal!nic.MR.NET!tank!uxc!deimos!ksuvax1!ncrwic!ncrlnk!uunet!mcvax!hp4nl!philmds!prle!cst!meulenbr From: meulenbr@cst.UUCP (Frans Meulenbroeks) Newsgroups: comp.os.minix Subject: Re: MINIX/ST driver to read the BMS100 clock Keywords: MINIX ST driver BMS 100 Message-ID: <261@cst.UUCP> Date: 12 Nov 88 22:09:14 GMT References: <264@lzaz.ATT.COM> Reply-To: meulenbr@cst.UUCP (Frans Meulenbroeks) Organization: Centre for Software Technology, Philips Eindhoven Lines: 53 nice! thanks! I needed this, but didn't have the proper info to write the code myself. I noticed one problem though. It is explained below. Note: I removed lots of stuff from the original article, just saving enough context so one can repair. In article <264@lzaz.ATT.COM> hcj@lzaz.ATT.COM (HC Johnson) writes: >X> char *nayme[]= {"BMSCLK", "PRINTR", "TTY ", "WINCHE", "FLOPPY", "RAMDSK", "CLOCK ", >X====================================================================== >Xfs/table >Xh/com.h This line should not be here! remove it. >X54a55,60 >X> #define BMSCLOCK -9 /* clock on BMS 100 */ >X> # define BMS_READ 3 >X> # define BMS_WRITE 4 >X> >X> #define SERIAL -10 /* serial port */ >X> >X====================================================================== >Xh/const.h >X25,26c25,26 >X< #define NR_TASKS 8 /* number of tasks in the transfer vector */ >X< #define NR_PROCS 16 /* number of slots in proc table */ >X--- >X> #define NR_TASKS 9 /* number of tasks in the transfer vector */ >X> #define NR_PROCS 17 /* number of slots in proc table */ You'll need a line Xfs/table.c here. This is a patch in this file. (By the way: patch crashed on this point on an uncorrected file) >X127,130c127,134 >X< no_call, rw_dev, no_call, PRINTER /* 6 = /dev/lp */ >X< }; >X< What I missed after having this installed was a program to set the minix clock. I changed megartc.c to cope with both the mega and the bms clock. However, since I do not own a mega, and my BMS clock shows sometimes weird behaviour (I think it needs a new power pill), I am looking for one or a few persons who will test my changes. Both one or two mega and BMS testers are needed. Any volunteers?? -- Frans Meulenbroeks (meulenbr@cst.prl.philips.nl) Centre for Software Technology ( or try: ...!mcvax!philmds!prle!cst!meulenbr)