home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: Multimed
/
Multimed.zip
/
playpm10.zip
/
playpm2.inf
(
.txt
)
< prev
next >
Wrap
OS/2 Help File
|
1996-07-04
|
15KB
|
374 lines
ΓòÉΓòÉΓòÉ 1. About PlayPm/2 ΓòÉΓòÉΓòÉ
PlayPm/2 is written by Gerard Gerritsen.
it does not need MMOS/2, instead it communicates directly with the cdrom device
driver
Requirements:
CDROM drive supported by OS/2
An audio cd
OS/2 2.X or Warp
Tools used:
Virtual Pascal/2 1.01
Link386
OS/2 Warp with FP 17 applied
Program Commander/2
LxLite 1.15
486DX2-66 with 8Mb of memory
Mitsume quad speed cdrom
Panasonic double speed cdrom
Its features:
- AutoShuffle
- Capable of programming up to 99 tracks
- Skip forward or backwards
- Stereo sliders for volume control
- Can show time in four different ways
- Close and open the door of the drive
- Menus and dialogs can be modified manually or with a resource editor
- Repeat Program
- Play Only One Track
- Support of SB Pro's or SB 16 ( and AWE )
- Fade in
On some drive models it seems to be impossible to get the door
closed by using software
ΓòÉΓòÉΓòÉ 1.1. Contacting the Author ΓòÉΓòÉΓòÉ
Gerard Gerritsen can be reached at:
Internet
School: 1000521@et.fnt.hvu.nl
Home: Gerritse@bos.nl
checked from monday till thursday
FidoNet 2:283/203.18
checked almost the whole week
ΓòÉΓòÉΓòÉ 1.2. Registering ΓòÉΓòÉΓòÉ
When registering, you will get a special key that will enable the registered
version. You will need to send register.frm by mail or email
( fido is also good ) As soon as the money arrives the key will be sent.
I will try to acknowledge the receipt of the form as soon as possible if
an Email/Fido address has been specified.
The Netherlands:
Om PlayPm/2 te registeren, maak 25,-- over op bankrekening 93.55.63.636 t.n.v
Gerard Gerritsen. Omdat de bank nogal traag is met het versturen van
overzichten
( tot 14 dagen, kan er helaas ook niets aan doen ) is het handiger om een
mailtje te sturen, dan kan ik de key vast klaarmaken voor verzending.
Outside of the Netherlands
When registering from somewhere else than the Netherlands...
Send 20 U.S. Dollars or 25 DM to
Gerard Gerritsen
Kraatsweg 18
6712 DB Ede
The Netherlands
ΓòÉΓòÉΓòÉ 1.3. What do I get when I register ? ΓòÉΓòÉΓòÉ
When you have received your personal key, you will get access to new
features.
Soon after I have finished work on them, they will become available.
Under development
- 'Power' icon
- If there is enough demand for a certain feature I will try to add that
feature.
Already available
- A&B play
- Recognition of track names ( though it is a little bit rough,
I'm working on it.. )
- Remote Control of the player by means of a network.
Access to beta versions ( you'll need freq or internet email capabilities )
ΓòÉΓòÉΓòÉ 1.4. Thanks ΓòÉΓòÉΓòÉ
Many thanks go to ( in no particular order )
Peter Lindeman 'Als je 't maar laat !'
Jan Hoolwerf 'Tja, tegen mijn vakmanschap kun jij toch niet op.
'Desnoods maak ik luizen.'
Eelco Dolstra 'WinDlg'
Matthijs Wachtmeester 'Van de icons is niet 1 diagonale lijn normaal recht,
'allemaal lijken ze getrokken te zijn door een dronken
'gek met een potlood.'
Frans Roordink 'Dan zal 26 je wel weer aardig opfleuren, of niet?'
Allen Mertner For support of Virtual Pascal
fPrint UK For Virtual Pascal
ΓòÉΓòÉΓòÉ 1.5. License ΓòÉΓòÉΓòÉ
Copyright 1996 Gerard Gerritsen. All rights reserved
License Agreement
INSTALLATION OF PLAYPM/2 ON YOUR COMPUTER SYSTEM IMPLIES AGREEMENT
WITH THE TERMS AND CONDITIONS BELOW.
DISTRUBTION OF PLAYPM/2, ITS ACCOMPANYING PROGRAMS AND DOCUMENTATION IS
CONSIDERD AS IS. Gerard Gerritsen OFFERS NO WARRANTIES OF ANY KIND, EXPRESSED
OR IMPLIED. THIS INCLUDES, BUT IS IN NO WAY LIMITED TO, WARRENTIES OF PLAYPM2
MERCHNATABILITY OR FITNESS FOR A PARTICULAR PURPOSE. UNDER NO CIRCUMSTANCES
WILL Gerard Gerritsen BE LIABLE FOR ANY DAMAGES WHICH RESULT FROM THE USE OF
THIS PROGRAM OR THE INABILITY TO USE IT. EXCLSION FROM LIABILTY INCLUDES,
BUT IS NOT LIMITED TO, LOST PROFITS, LOST SAVINGS, A DEAD CAT, OR ANY OTHER
INCIDENTAL OR CONSEQUENTIAL DAMAGES.
PlayPM/2 is distribited as Shareware. It is not free, freeware or in the
public
domain. You may use PLayPM/2 for a trial period of thirty days, at no cost
too
you, to determine if it fits your needs. If you decided to use PlayPM/2
regulary
you are expected to register it and pay the applicable registration fee.
Individual copies of the unregistered version of PlayPM/2 may be given
to your friends and associates for the same thirty day free trial period. You
may
also upload unregistered version to a BBS or internet site.
You may not modify or dis-assemble PLayPM/2, nor distribute any modified
or dis-assembled version of PlayPM/2. Playpm/2 may not be included with any
other product without written permission from Gerard Gerritsen.
Registered copies of PlayPM/2 can be used on more than one computer at a
time, as long as no more than one of these computers is running PlayPM/2
at the same time. Though PlayCom ( the utility for controlling PlayPm/2 from
another computer ) may be run on more than one computer at the
same time. You may make backup copies of PlayPM/2 as necesarry for archival
purposes only.
U.S. government RESTRICTED RIGHTS: Use, duplication, or disclosure by the
Government is subject to restrictions as set forth in subdivsion [b][3][ii]
of the Rights in Technical Data and Computer software clause at 252.227-70133
ΓòÉΓòÉΓòÉ 1.6. Copyright ΓòÉΓòÉΓòÉ
PlayPm2 (C) 1996 by Gerard Gerritsen
OS/2 and Link386 (C) IBM
Virtual Pascal (C) Fprint UK Ltd
LxLite (C) Andrew Zabolotny
PC/2 (C) Roman Stangl
ΓòÉΓòÉΓòÉ 2. Changes ΓòÉΓòÉΓòÉ
- Track names can be shown now ( registered version only )
- Format of the names file has changed, a conversion program (convert.exe)
has been included
ΓòÉΓòÉΓòÉ 3. Using PlayPm/2 ΓòÉΓòÉΓòÉ
Operating PlayPm/2 should not be very difficult, though in some cases
it might be easy to know a bit more about certain procedures.
ΓòÉΓòÉΓòÉ 3.1. Programming the player ΓòÉΓòÉΓòÉ
Programming is quite simple, open the menu with the right mouse button
and select 'Program Player', then you can click on the buttons in the order
you
want them played. The buttons will disapear in order to show they
are selected. To start playing your selection, press the play
button. To remove your selection, press the stop button
ΓòÉΓòÉΓòÉ 3.2. The Settings Dialog ΓòÉΓòÉΓòÉ
The Settings dialog can be used to set a few options
- What time to show on the Track Window
Time from the begin of the CD
Time to the end of the CD
Time from the begin of the track that is currently being played
Time to the end of the currently played track
- Choose if cd's should be recognized
- Choose to use a soundblaster mixer for mixing the music.
- AutoShuffle, when a cd has been inserted, PlayPm2 will automaticly start
to shuffle.
ΓòÉΓòÉΓòÉ 3.3. The Sound Dialog ΓòÉΓòÉΓòÉ
Here you can set the volume using the sliders,
If you want to use the mixer chip on your soundblaster in addition the volume
control in the drive, make sure you have enabled the Use SoundBlaster
checkbox
in the setting dialog.
To use the SB 16 features, make sure you have selected Use SoundBlaster and
Use SB 16 Features.
ΓòÉΓòÉΓòÉ 3.4. Using the Environment Variable ΓòÉΓòÉΓòÉ
The variable PLAYPM2 has been assigned to let the user specify where
the database file with the descriptions of the discs is located
If the variable PlayPm2 does not exist, PlayPm2 will default to names.ini
in the current directory.
Example
Set Playpm2=F:\vp\out\names.ini
ΓòÉΓòÉΓòÉ 3.5. The menu ΓòÉΓòÉΓòÉ
The user menu can be accesed by clicking with the right mouse button on one
of the windows of playpm2.
- Settings -> Open the settings window
- Sound -> Open the sound window
- Lock L&R -> Keep left and right volume the same
- Edit Title -> Change the current name of the disc
- Play only one track -> Play only the last chosen track
- Repeat Program -> Repeat the loaded program
ΓòÉΓòÉΓòÉ 3.6. Command line options ΓòÉΓòÉΓòÉ
The behaviour of PlayPm2 can be altered using three command line options
K -> kill copy of playpm2 that is currently in memory
C -> clean start, when playpm2 behaves erraticly use this option to force
PlayPm2 to use its default instead of the settings chosen by the user
L -> Will run the WatchCd thread on idle priority instead of user priority
Normally you do not need this switch
ΓòÉΓòÉΓòÉ 4. Work arounds for some situations ΓòÉΓòÉΓòÉ
- I cannot find my track window anymore
A_ Select the track window in the window and another window and select
cascade in the window menu
B_ Start PlayPm/2 with C, it will force a clean start with every user
definable setting set to its default ( save state )
ΓòÉΓòÉΓòÉ 5. About changing the dialogs and icons ΓòÉΓòÉΓòÉ
If you have got a Resource Editor like DlgEdit you can make changes to the
appearence of the player ( relocate buttons, use different icons whatever
you want )
Of course you can also edit the resource manually, I have done it for a long
time, but as the resource file is growing, its getting more difficult
ΓòÉΓòÉΓòÉ 5.1. Recompiling the resource file ΓòÉΓòÉΓòÉ
To recompile the resources
RC PLAYPM2
To recompile the resources and compress them
RC -P -X1 PLAYPM2
To recompile the resources with maximum compression ( you'll need WARP or
better )
RC -P -X2 PLAYPM2
ΓòÉΓòÉΓòÉ 5.2. Examples ΓòÉΓòÉΓòÉ
Keep the sound dialog from getting registered with the tasklist
Find the entry that belongs to the sound dialog in playpm2.dlg
( Dialog 103 or 102 )
Then change
DIALOG "Volume Setting", 102, 72, 16, 116, 84, , FCF_TITLEBAR |
FCF_TASKLIST
to
DIALOG "Volume Setting", 102, 72, 16, 116, 84 , FCF_TITLEBAR
Change PlayPm/2 to accept your unlisted sound blaster base port
Find entry 101 and look for an AUTORADIOBUTTON line you want to change
Then edit the number between "" and the number after the , to reflect
your baseport
Example, your sound blaster super ultra etc is located on port 312h
before
AUTORADIOBUTTON "210h", 528, 24, 40, 39, 10, WS_TABSTOP
after
AUTORADIONBUTTON "312h",0x312,24,40,39,10,WS_TABSTOP
Find the AccelTable in playpm2.rc then change
VK_F3, IDM_EJECT, VIRTUALKEY
to
VK_F9, IDM_EJECT, VIRTUALKEY
ΓòÉΓòÉΓòÉ 6. Using the source code ΓòÉΓòÉΓòÉ
In the archive there is also the source code for the basic part of the
player. PlayPm/2 in fact uses the same routines.
B.t.w. The included sources can be used for own projects, as long as you
give me visible credit.