annotate level1/cmds/go51.asm @ 120:fa9a9ae4f304

Converted some fcbs to fcs
author roug
date Sat, 06 Jul 2002 19:56:30 +0000
parents ce8dbdbb3ca2
children e9ce43cc215e
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 * ------------------------------------------------------------------
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
8 * 1 Original Dragon distribution version
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
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
18 tylg set Prgrm+Objct
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
19 atrv set ReEnt+rev
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
20 rev set $01
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
21 mod eom,name,tylg,atrv,start,size
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
22 u0000 rmb 2
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
23 u0002 rmb 2
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
24 u0004 rmb 2
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
25 u0006 rmb 32
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
26 size equ .
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
27 name equ *
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
28 fcs /go51/
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
29 fcb $01
120
fa9a9ae4f304 Converted some fcbs to fcs
roug
parents: 118
diff changeset
30 L0012 fcs /KBVDIO/
fa9a9ae4f304 Converted some fcbs to fcs
roug
parents: 118
diff changeset
31 L0018 fcs /drvr51/
fa9a9ae4f304 Converted some fcbs to fcs
roug
parents: 118
diff changeset
32 L001E fcs /term/
118
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
33 start equ *
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
34 leax >L0012,pcr
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
35 lbsr L00CB
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
36 lbcs L00C8
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
37 stx ,u
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
38 lbsr L00D6
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
39 leax >L0018,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 u0002,u
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
43 ldd $02,x
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
44 std u0004,u
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
45 pshs u,cc
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
46 orcc #$50
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
47 ldx >$006B
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
48 stx >$0032
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
49 ldy ,u
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
50 ldx u0004,u
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
51 ldu u0002,u
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
52 L0054 lda ,u+
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
53 sta ,y+
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
54 leax -$01,x
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
55 bne L0054
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
56 ldx #$FF00
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
57 lda $01,x
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
58 ora #$30
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
59 anda #$F7
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
60 sta $01,x
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
61 lda $03,x
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
62 anda #$F6
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 sta $03,x
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
65 ldx #$FF20
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 ora #$38
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
68 sta $03,x
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
69 puls u,cc
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
70 ldx u0002,u
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
71 lbsr L00D6
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
72 ldx ,u
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
73 ldd $04,x
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
74 leax d,x
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
75 leay >L0012,pcr
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
76 ldb #$06
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
77 L008B lda ,y+
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
78 sta ,x+
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
79 decb
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
80 bne L008B
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
81 lda #$01
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
82 ldb #$00
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
83 leax u0006,u
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
84 os9 I$GetStt
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
85 bcs L00C8
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
86 clr $01,x
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
87 lda #$18
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
88 sta $08,x
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
89 lda #$01
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
90 ldb #$00
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
91 os9 I$SetStt
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
92 bcs L00C8
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
93 leax >L001E,pcr
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
94 lda #$F1
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
95 pshs u
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
96 os9 F$Link
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
97 tfr u,x
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
98 puls u
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
99 bcs L00C8
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
100 clr <$13,x
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
101 lda #$18
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
102 sta <$1A,x
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
103 bsr L00D6
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
104 clrb
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
105 L00C8 os9 F$Exit
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
106 L00CB pshs u
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
107 lda #$E1
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
108 os9 F$Link
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
109 tfr u,x
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
110 puls pc,u
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
111 L00D6 pshs u
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
112 tfr x,u
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
113 os9 F$UnLink
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
114 puls pc,u
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
115 emod
ce8dbdbb3ca2 The Go51 module for 51x24 display
roug
parents:
diff changeset
116 eom equ *