Terminal program for MailStation devices
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix declaration of some modem variables broken in last commit

+9 -4
+3
mailstation.inc
··· 80 80 .equ ATTR_UNDERLINE, #(1 << ATTR_UNDERLINE) 81 81 82 82 .equ MODEM_DEFAULT_SPEED, #300 83 + .equ ESC, #0x1b 84 + .equ XON, #0x11 85 + .equ XOFF, #0x13 83 86 84 87 .equ _mem0, #0 85 88 .globl _mem0
+6 -4
modem.s
··· 29 29 ; modem msr 30 30 _modem_curmsr:: 31 31 .db #0 32 + _modem_flowing:: 33 + .db #0 32 34 33 35 .area _CODE 34 36 ··· 63 65 call _modem_read 64 66 ld b, l 65 67 pop hl 66 - ld hl, #modem_buf 67 - ld a, (modem_buf_pos) 68 + ld hl, #_modem_buf 69 + ld a, (_modem_buf_pos) 68 70 ld l, a ; 0xf600 + (modembufpos) 69 71 ld (hl), b 70 72 inc a 71 - ld (modem_buf_pos), a 73 + ld (_modem_buf_pos), a 72 74 djnz check_for_more_bytes 73 75 jr modem_isr_out 74 76 check_for_more_bytes: ··· 91 93 push bc 92 94 push hl 93 95 ld a, #0 94 - ld (modem_buf_pos), a 96 + ld (_modem_buf_pos), a 95 97 call 0x3dbe ; disable caller id? 96 98 ld a, (p3shadow) 97 99 res 7, a ; disable caller id interrupt