annotate level1/cmds/display.asm @ 0:6641a883d6b0

Initial revision
author boisy
date Thu, 04 Apr 2002 16:34:12 +0000
parents
children 0912ac5dc2ff
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1 ********************************************************************
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
2 * Display - Display converted characters
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
3 *
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
4 * $Id$
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
5 *
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
6 * Ed. Comments Who YY/MM/DD
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
7 * ------------------------------------------------------------------
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
8 * 2 Original Microware distribution version
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
9
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
10 nam Display
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
11 ttl Display converted characters
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
12
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
13 * Disassembled 02/04/03 22:44:19 by Disasm v1.6 (C) 1988 by RML
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
14
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
15 ifp1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
16 use os9defs
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
17 endc
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
18 tylg set Prgrm+Objct
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
19 atrv set ReEnt+rev
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
20 rev set $01
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
21 mod eom,name,tylg,atrv,start,size
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
22 u0000 rmb 450
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
23 size equ .
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
24 name equ *
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
25 fcs /Display/
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
26 fcb $02
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
27 start equ *
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
28 cmpd #$0001
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
29 bls L0036
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
30 pshs x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
31 leay ,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
32 L001F bsr L003A
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
33 bcs L0027
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
34 stb ,x+
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
35 bra L001F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
36 L0027 tfr x,d
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
37 subd ,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
38 tfr d,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
39 puls x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
40 lda #$01
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
41 os9 I$Write
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
42 bcs L0037
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
43 L0036 clrb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
44 L0037 os9 F$Exit
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
45 L003A ldb ,y+
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
46 cmpb #$2C
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
47 bne L0042
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
48 L0040 ldb ,y+
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
49 L0042 cmpb #$20
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
50 beq L0040
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
51 leay -$01,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
52 bsr L0062
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
53 bcs L0061
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
54 pshs b
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
55 bsr L0062
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
56 bcs L005E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
57 lsl ,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
58 lsl ,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
59 lsl ,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
60 lsl ,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
61 addb ,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
62 stb ,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
63 L005E clrb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
64 puls b
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
65 L0061 rts
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
66 L0062 ldb ,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
67 subb #$30
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
68 cmpb #$09
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
69 bls L007A
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
70 cmpb #$31
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
71 bcs L0070
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
72 subb #$20
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
73 L0070 subb #$07
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
74 cmpb #$0F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
75 bhi L007F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
76 cmpb #$0A
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
77 bcs L007F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
78 L007A andcc #$FE
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
79 leay $01,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
80 rts
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
81 L007F comb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
82 rts
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
83 emod
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
84 eom equ *