Mercurial > hg > Members > kono > nitros9-code
annotate level1/cmds/sleep.asm @ 851:16b8c7dc0082
Made source comment improvements
author | boisy |
---|---|
date | Wed, 15 Jan 2003 00:56:21 +0000 |
parents | e9ce43cc215e |
children | c155aac72190 |
rev | line source |
---|---|
0 | 1 ******************************************************************** |
2 * Sleep - Sleep for some ticks | |
3 * | |
4 * $Id$ | |
5 * | |
6 * Ed. Comments Who YY/MM/DD | |
7 * ------------------------------------------------------------------ | |
200
e9ce43cc215e
Made major changes to headers for consistency and identification
boisy
parents:
0
diff
changeset
|
8 * 2 From Tandy OS-9 Level One VR 02.00.00 |
0 | 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 |