Mercurial > hg > Members > kono > nitros9-code
annotate level1/cmds/sleep.asm @ 1020:c1a5613ffe7b
changes
author | boisy |
---|---|
date | Thu, 06 Mar 2003 01:41:03 +0000 |
parents | c155aac72190 |
children | 84ea83668304 |
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 | |
924 | 26 org 0 |
0 | 27 u0000 rmb 450 |
28 size equ . | |
29 | |
30 name fcs /Sleep/ | |
31 fcb edition | |
32 | |
33 start clra | |
34 clrb | |
35 bsr L0028 | |
36 bsr L0028 | |
37 bsr L0028 | |
38 bsr L0028 | |
39 bsr L0028 | |
40 tfr d,x | |
41 os9 F$Sleep | |
42 clrb | |
43 os9 F$Exit | |
44 L0028 pshs b,a | |
45 ldb ,x | |
46 subb #$30 | |
47 bcs L0048 | |
48 cmpb #$09 | |
49 bhi L0048 | |
50 leax $01,x | |
51 pshs b | |
52 ldb #$0A | |
53 mul | |
54 stb $01,s | |
55 lda $02,s | |
56 ldb #$0A | |
57 mul | |
58 addb ,s+ | |
59 adca ,s | |
60 std ,s | |
61 L0048 puls pc,b,a | |
62 | |
63 emod | |
64 eom equ * | |
65 end | |
66 |