-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path39-tec-exablaster-modem.asm
111 lines (83 loc) · 1.1 KB
/
39-tec-exablaster-modem.asm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
;PH
GRAB 300
LINK 800
MARK FILE300LEN
TEST EOF
ADDI X 1 X
SEEK 1
FJMP FILE300LEN
DROP
LINK -1
GRAB 301
LINK 800
MARK SINGLENUMBER
TEST EOF
TJMP DONEDIALLING
COPY 11 T;PAGERNUM.LEN
MARK DIAL
COPY F #DIAL
SUBI T 1 T
TJMP DIAL
REPL TELLMSG
REPL TSR
MULI 2 X T
MARK WAITLOOP
FJMP DISCONNECT
SUBI T 1 T
JUMP WAITLOOP
MARK DISCONNECT
COPY -1 #DIAL
JUMP SINGLENUMBER
MARK DONEDIALLING
;SPAWN CLOCK SYNC BOTS
SEEK -9999
;MASTER CLK INIT VAL
COPY 149 X
MARK SYNCSINGLENUMBER
TEST EOF
TJMP SYNCDONEDIALLING
COPY 11 T;PAGERNUM.LEN
MARK SYNCDIAL
COPY F #DIAL
SUBI T 1 T
TJMP SYNCDIAL
REPL SYNCBOT
SUBI X 20 X
MARK SYNCDISCONNECT
COPY -1 #DIAL
JUMP SYNCSINGLENUMBER
MARK SYNCDONEDIALLING
JUMP CLEANUP
MARK CLEANUP
LINK -1
DROP
LINK 800
GRAB 300
LINK -1
HALT
MARK TSR
LINK 800
MARK TSRDATACOPY
COPY M T
FJMP TSRDONECOPY
COPY T #DATA
JUMP TSRDATACOPY
MARK TSRDONECOPY
HALT
MARK TELLMSG
GRAB 300
MARK TELLMSGMORE
TEST EOF
TJMP TELLMSGDONE
COPY F M
JUMP TELLMSGMORE
MARK TELLMSGDONE
COPY 0 M
HALT
MARK SYNCBOT
LINK 800
COPY X T
MARK IDLE
SUBI T 1 T
TJMP IDLE
COPY 1 #PAGE