[TI-H] Re: Link port drain


[Prev][Next][Index][Thread]

[TI-H] Re: Link port drain




Hi A83 and TI-H,

With the help of Adam Thayer and my dad (if I forgot someone, tell me) I
made this:

(with some spare parts)
                                 /--LED-- 3 volts
                ___________    |/
link port in: -|_3x_4k7____|---|     BC408C, flat side is emitter.
                               |\
                                 V
                                  \-- 0 volts

This drains 0.2 mA from the link port (extremely safe).

This program makes the light flash:
3EC0D300FB3E99477610FD3EC3D300FB3E99477610FDC3959D
(no garantees for the above one, 83+ version)
begin:
    ld a,C0
    out(00),a
    ei
    ld a,99
    ld b,a
loop:
    halt
    djnz loop
    ld a,C3
    out(00),a
    ei
    ld a,99
    ld b,a
loop2:
    halt
    djnz loop2
    jp 9D95
;this is a very un-optimized program which can't be quitted.

I have an other idea. The EDE1400 is a printer driver (preprogrammed PIC),
which outputs a serial 8n1, 2400 baud signal as parallel with all the needed
lines for the printer. Does someone know how to output a byte bit by bit via
the link port? (Probably with rcla)

Thanks&Greetings,

Ronald Teune