0
|
1 ********************************************************************
|
|
2 * Sleep - Sleep for some ticks
|
|
3 *
|
|
4 * $Id$
|
|
5 *
|
|
6 * Ed. Comments Who YY/MM/DD
|
|
7 * ------------------------------------------------------------------
|
|
8 * 2 Original Tandy distribution version
|
|
9
|
|
10 nam Sleep
|
|
11 ttl Sleep for some ticks
|
|
12
|
|
13 * Disassembled 98/09/14 23:48:34 by Disasm v1.6 (C) 1988 by RML
|
|
14
|
|
15 ifp1
|
|
16 use defsfile
|
|
17 endc
|
|
18
|
|
19 tylg set Prgrm+Objct
|
|
20 atrv set ReEnt+rev
|
|
21 rev set $01
|
|
22 edition set 2
|
|
23
|
|
24 mod eom,name,tylg,atrv,start,size
|
|
25
|
|
26 u0000 rmb 450
|
|
27 size equ .
|
|
28
|
|
29 name fcs /Sleep/
|
|
30 fcb edition
|
|
31
|
|
32 start clra
|
|
33 clrb
|
|
34 bsr L0028
|
|
35 bsr L0028
|
|
36 bsr L0028
|
|
37 bsr L0028
|
|
38 bsr L0028
|
|
39 tfr d,x
|
|
40 os9 F$Sleep
|
|
41 clrb
|
|
42 os9 F$Exit
|
|
43 L0028 pshs b,a
|
|
44 ldb ,x
|
|
45 subb #$30
|
|
46 bcs L0048
|
|
47 cmpb #$09
|
|
48 bhi L0048
|
|
49 leax $01,x
|
|
50 pshs b
|
|
51 ldb #$0A
|
|
52 mul
|
|
53 stb $01,s
|
|
54 lda $02,s
|
|
55 ldb #$0A
|
|
56 mul
|
|
57 addb ,s+
|
|
58 adca ,s
|
|
59 std ,s
|
|
60 L0048 puls pc,b,a
|
|
61
|
|
62 emod
|
|
63 eom equ *
|
|
64 end
|
|
65
|