Glucks....

ZXNet echo conference «hardware.zx»

From Kostya Lebedew To Sergey Chikalev 31 October 2000

Hello, Sergey! ========================== gluk .c ======================================== CMOS clock. Port standard "GLUK". #EFF7 bit 7 - enable access to the clock #DFF7 - writing cell address to CMOS #BFF7 - reading (writing) data from (to) CMOS Option 1. ├─┤├─┬────┬──┐ 10 ┴ 22M│ │ KR512VI1 quartz at 32.768 kHz ▐█▌ █ │ ┌───┬──────┐ 20 ┬ │ └─2─┤OS1│RTC │ ├─┤├─┴─▄▄─┴────3─┤OS2│ │ 470K │ │ │ 1533LE1 ┌───┐ ├───┤ │ M1 ────────────────────2┤1 │ │ │ │ 1533ID7 ┌──3┤ ╞─1─┐ │ │ │ ┌──┬────┐ ═╧═ └───┘ │ │ │ │ A12 ─1─┤A0│DC ╞─15 ┌───────────┘ │ │ │ A13 ─2─┤A1│ ╞─14 │ ┌───┐ │ │ │ A14 ─3─┤A2│ ╞─13 ├─11┤1 │ │ │ │ ├──┤ ╞─12────12┤ ╞─13──────17─┤DS │ │ │ │ ╞─11 │ ├───┤ │ │ │ A3 ─4─╡v1│ ╞─10─────8┤1 ╞─10──────14─┤AS │ │ /OIRQ ─5─╡v2│ ╞─9─┐ └──9┤ │ │ │ │ A15 ─6─┤V3│ ╞─7 │ ├───┤ ┌────15─┤R/W│ │ └──┴────┘ └────5┤1 ╞─4─┐│┌───13─╡cE │ │/WR ─────────────────┬┬─6┤ │ │││ ├───┤ │ │ └───┘ │││ ──4─┤AD0│ │ └─────────────┘│ ──5─┤AD1│ │ ┌─────────────────────────────┘│ ──6─┤AD2│ │ │ ┌──┬────┐ /│ ──7─┤AD3│ │ └9─┤C │TT │ 1533TM8 D0-D7-│ ──8─┤AD4│ │ RESET ─1─╡R │ │ │ ──9─┤AD5│ │ ├──┤ │ │ ─10─┤AD6│ │ D1 ─4─┤D0│ Q0├─2──> │ ─11─┤AD7│ │ │ │ /Q0╞─3──> │ ├───┤ │ D7 ─5─┤D1│ Q1├─7─────┐ ┌──────┤ ┌18─┤rES│ │ │ │ /Q1╞─6 1K █ b / k │ ├20─┤CKF│ │ ─12┤D2│ Q2├─10 ├──╢ 1K █ ├22─┤PS │ /IRQ╞─19 │ │ /Q2╞─11 █ é │ │ │ ├──────┤ ─13┤D3│ Q3├─15 │430 │ KT315│ █ │ │ SQW├─23 │ │ /Q3╞─14 ═╧═ ═╧═ │ │10K│ │ CKOUT├─21 └──┴────┘ │ │ │ ├──────┤ +5V ─>├─┬──┴──┴24─┤Vdd│ Vss├─12┐ KD522 │ └───┴──────┘ │ +3V from battery ─>├─┘ ═╧═ D311 (D9) - in use batteries with a voltage of less than 4V, this diode is required должен быть германиевым! Pri bolee vysokom pryazhenii можно пастить KD522.Signals from legs 2 and 3 of TM8 can be supplied to the circuit additional graphics mode 512*192pix. Then what remains from that scheme is only KP11 and IR23. Actually, the connection diagram for legs 18, 20, 22 is a bit is incorrect, but it works anyway. So it was with Gluck, and with himself I did this - I was too lazy to do it right. (However, Gluck's watch is powered ONLY by a 4.5V battery) But in a good way it should be like this: KD522 D311 +5V ─────┬─────┬──>├──┬────┬────┤<─── +3V from battery │ 10K │ 20K │ │ ┌───┬─── this is a diode ┴ █ █ └─24─┤Vdd│ KD522 ^ │ ├─┤├─┴────┬─22─┤PS │ 4700 │ │ 4700 └─20─┤CKF│ ├─┤├──┴─────┴─────────────18─╡rES│ and if you plan to modify your favorite computer in the future, so that it turns on when the CMOS alarm goes off (all etc. support is already available in the firmware "MADROM" by AXLR), not be too lazy to do it right right away. Option 2. (For those who could not get such a rulez as KR512VI1, and I picked it out from the DALLAS PC or some other imported analogue, you'll have to stop there. Although VI1 is like this when turned on it will work smoothly.) ;-) ├─┤├─┬────┬──┐ 10 ┴ 22M│ │ KR512VI1 quartz at 32.768 kHz ▐█▌ █ │ ┌───┬──────┐ 20 ┬ │ └─2─┤OS1│RTC │ ├─┤├─┴─▄▄─┴────3─┤OS2│ │470K │ │ │ 1533ID7 ┌───┐ 1533LL1 ├───┤ │ /RD ──────────────────────1┤1 │ │ │ │ ┌──┬────┐ ┌───2┤ ├─3───────17─┤DS │ │ A12 ─1─┤A0│DC ╞─15 │ ├───┤ │ │ │ A13 ─2─┤A1│ ╞─14 ├───4┤1 │ │ │ │ A14 ─3─┤A2│ ╞─13 │┌──5┤ ├─6───────15─┤R/W│ │ ├──┤ ╞─12─┘│ └───┘ │ │ │ │ │ ╞─11 │ ┌───┐ 1533LE1 │ │ │ A3 ─4─╡v1│ ╞─10─────2┤1 ╞─1───────14─┤AS │ │ /OIRQ ─5─╡v2│ ╞─9─┐ ├──3┤ │ │ │ │ A15 ─6─┤V3│ ╞─7 │ │ ├───┤ ┌───13─╡cE │ │ └──┴────┘ └────5┤1 ╞─4─┐ │ ├───┤ │ /WR ──────────────────┴──6┤ │ │ │ ──4─┤AD0│ │ └───┘ │ │ ──5─┤AD1│ │ ┌─────────────────────────────┘│ ──6─┤AD2│ │ │ ┌──┬────┐ /│ ──7─┤AD3│ │ └9─┤C │TT │ 1533TM8 D0-D7-│ ──8─┤AD4│ │ RESET ─1─╡R │ │ │ ──9─┤AD5│ │ ├──┤ │ │ ─10─┤AD6│ │ D1 ─4─┤D0│ Q0├─2──> │ ─11─┤AD7│ │ │ │ /Q0╞─3──> │ ├───┤ │ D7 ─5─┤D1│ Q1├─7─────┐ ┌──────┤ ┌18─┤rES│ │ │ │ /Q1╞─6 1K █ b / k │ ├20─┤CKF│ │─12┤D2│ Q2├─10 ├──╢ 1K █ ├22─┤PS │ /IRQ╞─19 │ │ /Q2╞─11 █ e │ │ │ ├──────┤ ─13┤D3│ Q3├─15 │430 │ KT315│ █ │ │ SQW├─23 │ │ /Q3╞─14 ═╧═ ═╧═ │ │10K│ │ CKOUT├─21 └──┴────┘ │ │ │ ├──────┤ +5V ─>├─┬──┴──┴24─┤Vdd│ Vss├─12┐ KD522 │ └───┴──────┘ │ +3V from battery ─>├─┘ ═╧═ D311 -+-------------------------------------------------------------- batteries ─>├─┘ ═╧═ D311 =================================================================================== All the best to you, Sergey! Kostya Lebedew/Electron/N-Discovery