home *** CD-ROM | disk | FTP | other *** search
- Instructions for !S2P by Andrew Sellors
-
- *****************************************************************************
- * NOTE: *
- * !S2P is FreeWare. *
- * This means that you may freely copy and distribute it, provided that it *
- * is complete with all original files, and that you do not sell it. *
- * PD libraries may charge a nominal fee for the cost of duplication, *
- * postage etc. *
- * In no circumstances shall the author be liable for any damage, loss of *
- * profits, time or data or any indirect or consequential loss rising out of *
- * the use of this software or inability to use this software. *
- *****************************************************************************
-
- Contents:
- ---------
-
- Aims
- Features
- Before you start!
- Compatibility
- Problems
- Operation
- Clicking on iconbar icon
- Iconbar menu
- "Serial Port Configuration" window
- Setting the 3D bit
- Contacting the author
-
- ********************************************************************************
-
- Aims:
- -----
-
- This program sends all data received by a serial port to the parallel port.
- Why????
-
- I have two machines, but only one printer and the two machines are not close
- together (10 metres in fact). Both machines are connected together using the
- serial ports so by configuring !Printers to use the serial port and running
- this program on the other machine, I can print from the remote machine.
-
- ********************************************************************************
-
- Features:
- ---------
-
- Uses 3D bit in CMOS RAM to select 2D or 3D windows _and_ iconsprites on startup.
- (See the "Setting the 3D bit" section if you don't like 2D windows)
-
- Uses Block Drivers so it can use serial ports other than the internal one.
-
- Provides full control over the serial port used.
-
- ********************************************************************************
-
- Before you start!:
- ------------------
-
- Before you can use this program you need the Block Drivers by Hugo Fiennes.
- If you don't have them then download them now! or look at your favourite
- PD library.
-
- ********************************************************************************
-
- Compatibility:
- --------------
-
- This program is for RISC OS 3.10 or later.
- It has been tested on both RISC OS 3.10 and RISC OS 3.50 and with the internal
- port using Block Drivers v10a.
-
- ********************************************************************************
-
- Problems:
- ---------
-
- The setting of the input buffer threshold for the internal port in RISC OS 3.10
- does not seem to do anything, as it still operates as if the threshold was set
- to the default of 9 bytes less then the full buffer when it stops the other
- computer transmitting. I don't know whether that is a bug in RISC OS 3.10 or
- just because I have an old hardware machine (A410/1) rather than something like
- a A5000. It does work though on RISC OS 3.50 on the Risc PC 600. So if you are
- using the internal port and you get problems with characters being missed out
- or the printer doing strange things when printing then try reducing the speed
- so that the data transfer lags behind the printer.
-
- ********************************************************************************
-
- Operation:
- ----------
-
- When the !S2P icon is double-clicked, Serial 2 Parallel installs itself on the
- left of the icon bar and the configured Block Driver loaded. If the !SerialDev
- application that holds the Block Drivers has not been seen by the Filer then
- an error is reported and the program does not start up.
-
- ********************************************************************************
-
- Clicking on iconbar icon:
- -------------------------
-
- The colour of the printer on the icon indicates whether the serial port is
- being redirected to the parallel port:
- Grey printer: Serial port not redirected
- Yellow printer: Serial port being redirected
-
- Clicking on the icon toggles this state.
-
- ********************************************************************************
-
- Iconbar menu:
- -------------
-
- +--------------+
- | S2P |
- +--------------+
- | Info ⇨ | ⇨ opens "About this program" window
- | Configure... | Opens "Serial Port Configuration" window
- | Quit | Quits program.
- +--------------+
-
- ********************************************************************************
-
- "Serial Port Configuration" window
- ----------------------------------
-
- This allows the serial port so be set up.
-
- Any changes made only take effect when either "Change" or "Save" are selected.
-
-
- The "Driver Name" pop-up menu allows you to change the Block Driver used.
- When a new driver is selected, the driver is scanned to find the baud rates
- and ports supported, and the relevant menus changed accordingly.
-
- Clicking on "Rescan Drivers" rechecks the available Block Drivers and updates
- the list of drivers for the "Driver Name" menu. This can be used to update
- the list if any drivers have been added since the program was started.
-
- The "Port Number" pop-up menu allows the serial port to be configured as
- some drivers support more than one serial port, the internal driver has only
- one port: 0.
-
- The other menus are fairly self explanatory, these should be set to the same
- as !Printers for the transfer of data to work.
-
-
- Clicking on "Change" makes any changes made take effect and removes the window
- from the screen. If adjust is used instead of select then the window is left
- on screen.
-
- Clicking on "Cancel" throws away any changes made and removes the window from
- the screen.
-
- Clicking on "Save" makes any changes made take effect and the saves the
- configuration to disc to be used the next time the program is loaded. Whether
- the serial port is being redirected is also saved with the options in this
- window. If adjust is used instead of select then the window is left on screen.
-
- ********************************************************************************
-
- Setting the 3D bit:
- -------------------
-
- If you want to use the 3D windows in this program (and the handful of others
- that support it) then you need to set the 3D bit in the CMOS RAM. In RISC OS 3.1
- there is on *configure command to change it so you can either:
-
- Use !DeskCtrl (another program I have written, well worth getting and
- hopefully released soon on the Acorn User coverdisc)
-
- OR
-
- By cutting out the following BASIC program and running it.
- Note: this program toggles the bit, so if its off and you run it twice then
- it is still off!
-
- 10REM Toggle state of DragASprite bit in CMOS
- 20REM Read byte
- 30SYS "OS_Byte",161,&1C TO ,,byte%
- 40REM EOR byte with mask for bit 1
- 50byte% = byte% EOR 1<<1
- 60REM Write byte back again
- 70SYS "OS_Byte",162,&1C,byte%
- 80END
-
-
- ********************************************************************************
-
- Contacting the author
- --------------------
-
- I, Andrew Sellors, can be contacted either at
- 57 Boundaries Road
- Feltham
- Middlesex
- TW13 5DR
-
- Or via Internet email at
- k946949@king.ac.uk
-
- Any feedback from users (bugs reports, requests for new features, praise,
- money etc.) is gladly received.
-
-
-
-
-