~ubuntu-branches/ubuntu/natty/pd-zexy/natty

« back to all changes in this revision

Viewing changes to reference/lpt-help.pd

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard, IOhannes m zmölnig, Jonas Smedegaard
  • Date: 2010-08-20 12:17:41 UTC
  • mfrom: (2.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20100820121741-4kxozn8b9rhee9fr
Tags: 2.2.3-1
* New upstream version

[ IOhannes m zmölnig ]
* Adopt package, on behalf of Multimedia Team.
  Closes: #546964
* Simply debian/rules with CDBS, and don't unconditionally strip
  binaries.
  Closes: #437763
* Install into /usr/lib/pd/extra/zexy/. Document usage in REAME.Debian
  and warn about change in NEWS.
* git'ify package. Add Vcs-* stanzas to control file.
* Use dpkg source format 3.0 (quilt). Drop build-dependency on quilt.

[ Jonas Smedegaard ]
* Enable CDBS copyright-check routine.
* Add copyright and licensing header to debian/rules.
* Add myself as uploader.
* Rewrite debian/copyright using rev. 135 of draft DEP5 format.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#N canvas 1387 257 772 508 10;
 
2
#X text 129 36 write data to the (parallel) port;
 
3
#X obj 81 355 % 256;
 
4
#X floatatom 81 304 4 0 0 0 - - -;
 
5
#X text 122 304 write an 8bit-word;
 
6
#X obj 90 33 lpt;
 
7
#X text 521 30 part of zexy;
 
8
#X text 79 64 this does not work on osX (as there is no parallel port)
 
9
;
 
10
#N canvas 0 0 631 406 windows 0;
 
11
#X text 32 16 To get it running under WinNT/2000/XP a special kernel
 
12
driver is needed. These systems do not allow direct access to I/O ports.
 
13
;
 
14
#X text 53 207 If you ever whish to remove the kernel driver start
 
15
the programm again and click 'Stop'.;
 
16
#X text 54 242 Under Win95/98/Me all this is not needed!!!;
 
17
#X text 52 272 Good Luck!;
 
18
#X text 54 141 The subfolder 'UserPort' contains a kernel driver that
 
19
handles the I/O stuff. Just copy the file UserPort.sys into %WINDIR%/system32/drivers
 
20
(e.g. C:/WinNT/system32/drivers) and run the program UserPort.exe.
 
21
Click on 'Start' and then 'Exit'.;
 
22
#X text 175 112 ftp://iem.at/DOSen/UserPort/;
 
23
#X text 172 82 http://www.embeddedtronics.com/public/Electronics/minidaq/..
 
24
../userport;
 
25
#X text 49 79 downloads:;
 
26
#X text 267 326 thanks to Olaf Matthes for this;
 
27
#X restore 292 86 pd windows;
 
28
#X text 80 253 you should be member of the "lp" group or set the the
 
29
permissions of the device file;
 
30
#X obj 81 397 lpt /dev/parport0;
 
31
#N canvas 0 0 553 385 raw 0;
 
32
#X text 24 127 if your port-address exceeds 0x3ff \, "lpt" will try
 
33
to get all permissions with the iopl()-command. this might be dangerous
 
34
!;
 
35
#X text 26 50 you can access all ports on your system when using "lpt
 
36
<hex-port-address>";
 
37
#X text 26 89 you might have to be root (superuser) \, in order to
 
38
gain raw access to the port.;
 
39
#X text 75 230 parallel ports 0 \, 1 \, 2;
 
40
#X obj 81 251 lpt 0;
 
41
#X obj 130 251 lpt 1;
 
42
#X obj 179 251 lpt 2;
 
43
#X obj 68 329 lpt 0x378;
 
44
#X text 63 308 another port (directly specifying the port address)
 
45
;
 
46
#X restore 460 150 pd raw access;
 
47
#X text 78 86 w32 users shoud read this:;
 
48
#X text 81 153 linux users can use the deprecated RAW access method
 
49
;
 
50
#X text 80 219 you can access your parallel ports by accessing /dev/parport0
 
51
(and similar);
 
52
#X text 82 189 the preferred way for linux users is to use the device-filesystem:
 
53
;
 
54
#X text 217 398 <-- access /dev/parport0;
 
55
#X obj 84 465 lpt/dev/parports/0;
 
56
#X text 222 466 <-- some systems might use this syntax;
 
57
#X msg 335 309 control \$1;
 
58
#X obj 335 330 % 256;
 
59
#X floatatom 335 291 4 0 0 0 - - -;
 
60
#X text 373 291 set the control bits;
 
61
#X floatatom 81 429 5 0 0 0 - - -;
 
62
#X msg 337 363 bang;
 
63
#X text 380 367 read the input bits;
 
64
#X text 131 429 input bits;
 
65
#X connect 1 0 9 0;
 
66
#X connect 2 0 1 0;
 
67
#X connect 9 0 22 0;
 
68
#X connect 18 0 19 0;
 
69
#X connect 19 0 9 0;
 
70
#X connect 20 0 18 0;
 
71
#X connect 23 0 9 0;