[A83] Printerdriver for the TI-83(+)


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

[A83] Printerdriver for the TI-83(+)




Concept printer driver for the ti 83(+):

Begin:
    ld a,(hl)    ;hl=input
    cp $00
    jr z,stop
    [wait]
    bit a,0
    call nz,out1
    call z,out0
     [wait]
    bit a,1
    call nz,out1
    call z,out0
    [wait]
    bit a,2
    call nz,out1
    call z,out0
    [wait]
    bit a,3
    call nz,out1
    call z,out0
    (...)
    [wait]
    bit a,7
    call nz,out1
    call z,out0
    inc hl
    jp begin
out0:
    [wait]
    ld a,C0h
    out(00),a
    ret
out1:
    [wait]
    ld a,C3h
    out(00),a
    ret
stop:
    ld hl,txt
    bcall(_puts)
    ret
txt:
    .db "Thank you for   "
    .db "using [name]    "
    .db "made by http:// "
    .db "zeekoe.cjb.net  "
    .db "Thanks to:      "
    .db [list of names]

The EDE1400 from http://www.elabinc.com needs a 2400/8/n/1 signal (serial ofcourse). Now my
questions:

1 is the stop bit '1' or '0' ?
2 how much cycles is one second?
3 how much cycles does halt take (I remember Henk saying it once, but I lost the email)
4 are there other ways to slow down the calc to 2400 baud?
5 how exact does the 2400 baud to be, normally?
6 [OT]how to restore a version error in a group?
7 [OT] why doesn't remotecalc for ion work (vti<->ti via parallel)?

Thanks,
--Ronald




Follow-Ups: