annotate level1/cmds/go51.asm @ 203:7dea3d77ba0b

Used symbolics for andcc/orcc
author boisy
date Mon, 15 Jul 2002 04:16:41 +0000
parents e9ce43cc215e
children 338195952a01
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
118
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
1 ********************************************************************
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
2 * go51 - The 51 column by 24 line video display
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
3 *
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
4 * $Id$
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
5 *
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
6 * Ed. Comments Who YY/MM/DD
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
7 * ------------------------------------------------------------------
200
e9ce43cc215e Made major changes to headers for consistency and identification
boisy
parents: 120
diff changeset
8 * 1 From Dragon OS-9 Level One VR 01.02.00
118
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
9
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
10 nam go51
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
11 ttl The 51 column by 24 line video display
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
12
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
13 * Disassembled 02/07/06 21:10:42 by Disasm v1.6 (C) 1988 by RML
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
14
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
15 ifp1
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
16 use defsfile
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
17 endc
200
e9ce43cc215e Made major changes to headers for consistency and identification
boisy
parents: 120
diff changeset
18
118
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
19 tylg set Prgrm+Objct
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
20 atrv set ReEnt+rev
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
21 rev set $01
200
e9ce43cc215e Made major changes to headers for consistency and identification
boisy
parents: 120
diff changeset
22 edition set 1
e9ce43cc215e Made major changes to headers for consistency and identification
boisy
parents: 120
diff changeset
23
118
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
24 mod eom,name,tylg,atrv,start,size
200
e9ce43cc215e Made major changes to headers for consistency and identification
boisy
parents: 120
diff changeset
25
118
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
26 u0000 rmb 2
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
27 u0002 rmb 2
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
28 u0004 rmb 2
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
29 u0006 rmb 32
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
30 size equ .
200
e9ce43cc215e Made major changes to headers for consistency and identification
boisy
parents: 120
diff changeset
31
e9ce43cc215e Made major changes to headers for consistency and identification
boisy
parents: 120
diff changeset
32 name fcs /go51/
e9ce43cc215e Made major changes to headers for consistency and identification
boisy
parents: 120
diff changeset
33 fcb edition
e9ce43cc215e Made major changes to headers for consistency and identification
boisy
parents: 120
diff changeset
34
120
fa9a9ae4f304 Converted some fcbs to fcs
roug
parents: 118
diff changeset
35 L0012 fcs /KBVDIO/
fa9a9ae4f304 Converted some fcbs to fcs
roug
parents: 118
diff changeset
36 L0018 fcs /drvr51/
fa9a9ae4f304 Converted some fcbs to fcs
roug
parents: 118
diff changeset
37 L001E fcs /term/
118
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
38 start equ *
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
39 leax >L0012,pcr
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
40 lbsr L00CB
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
41 lbcs L00C8
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
42 stx ,u
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
43 lbsr L00D6
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
44 leax >L0018,pcr
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
45 lbsr L00CB
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
46 lbcs L00C8
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
47 stx u0002,u
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
48 ldd $02,x
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
49 std u0004,u
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
50 pshs u,cc
203
7dea3d77ba0b Used symbolics for andcc/orcc
boisy
parents: 200
diff changeset
51 orcc #IntMasks
118
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
52 ldx >$006B
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
53 stx >$0032
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
54 ldy ,u
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
55 ldx u0004,u
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
56 ldu u0002,u
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
57 L0054 lda ,u+
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
58 sta ,y+
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
59 leax -$01,x
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
60 bne L0054
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
61 ldx #$FF00
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
62 lda $01,x
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
63 ora #$30
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
64 anda #$F7
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
65 sta $01,x
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
66 lda $03,x
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
67 anda #$F6
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
68 ora #$30
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
69 sta $03,x
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
70 ldx #$FF20
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
71 lda $03,x
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
72 ora #$38
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
73 sta $03,x
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
74 puls u,cc
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
75 ldx u0002,u
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
76 lbsr L00D6
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
77 ldx ,u
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
78 ldd $04,x
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
79 leax d,x
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
80 leay >L0012,pcr
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
81 ldb #$06
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
82 L008B lda ,y+
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
83 sta ,x+
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
84 decb
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
85 bne L008B
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
86 lda #$01
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
87 ldb #$00
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
88 leax u0006,u
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
89 os9 I$GetStt
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
90 bcs L00C8
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
91 clr $01,x
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
92 lda #$18
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
93 sta $08,x
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
94 lda #$01
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
95 ldb #$00
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
96 os9 I$SetStt
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
97 bcs L00C8
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
98 leax >L001E,pcr
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
99 lda #$F1
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
100 pshs u
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
101 os9 F$Link
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
102 tfr u,x
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
103 puls u
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
104 bcs L00C8
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
105 clr <$13,x
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
106 lda #$18
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
107 sta <$1A,x
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
108 bsr L00D6
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
109 clrb
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
110 L00C8 os9 F$Exit
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
111 L00CB pshs u
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
112 lda #$E1
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
113 os9 F$Link
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
114 tfr u,x
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
115 puls pc,u
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
116 L00D6 pshs u
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
117 tfr x,u
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
118 os9 F$UnLink
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
119 puls pc,u
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
120 emod
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
121 eom equ *