Buzz #18
11 октября 1999 |
|
PAGE LED - display memory pages to the Speccy.
(C) Father Michael / Delta Corp. Hello boys and girls. Today I will tell you about a small Pribluda (a trifle, and nice and helpful :-) to the Speccy, called indicator Paige (pages in the sense ;-}). Skip to shemke: / / 2nDD62> 1 - X0 Y0 15 < 5nDD62> 2 - X1 K 155 Y1 14 <Eight LEDs 7nDD62> 3 - X2 (555 ..) Y2 13 (if I have them all ID7 Y3 12 drew, it turned 4 - Y4 to 11 sucks) May 10 Y5 __ Y6 9560 GND Y7 6 7 <> +5 B Nutrition K155ID7: 8H - land, 16N - +5 V. (DD62 in a computer - TM9) In my everything is simple and clear (almost a quote). But try to explain the working principle of this Labuda. The findings 1, 2 and 3 decoder ID7 are connected, respectively, Jr. (2nDD62), medium (5nDD62) and senior (7nDD62) bits switch pages. Ie, we get: Log Leg decoder Conclusions: 1 2 3 Page (number of active output) 0 0 0 16 15 (Y0) 0 0 January 17, 1914 (Y1) 0 1 0 18 13 (Y2) 0 1 January 19, 1912 (Y3) 1 0 0 Nov. 20 (Y4) 1 0 21 January 1910 (Y5) 1 1 0 Sept. 22 (Y6) 1 1 1 July 23 (Y7) Active one decoder output, which number is set at the entrance. Accordingly, glows, and one of eight LEDs. Below reduced prog demonstrates the capabilities of the gadgets. ; Written on ALASM. ORG 25000 PPP LD A, 16 LD B, 7 LLL PUSH BC LD BC, # 7FFD OUT (C), A EI DUP 5 HALT EDUP DI INC A POP BC DJNZ LLL LD B, 7 LLL1 PUSH BC LD BC, # 7FFD OUT (C), A EI DUP 5 HALT EDUP DI DEC A POP BC DJNZ LLL1 ; LD A, # 7F IN A, (254) BIT 0, A JP Z, 23600 ; JR PPP ; End office prog Beautiful, is not it? " In the same makarom can simulate any "Running lights" ;-). But even then, with the help of this small improvements can learn which banks banging one or another prog so stick to the free page and STS ... ________________________________________________________________ Oh and one more shemka from the same area - LED screens: / / 39 <> +5 V 10nDD62> 39 / / > GND Briefly the principle of work: If a 10 foot DD62 low level - the first screen high - the second. As of today (31/06/1999) all, bye.
Other articles:
Similar articles:
В этот день... 21 November