Mercurial > hg > Members > kono > nitros9-code
annotate lib/kreiderclib/syscall.as @ 3226:9749d0dfc4a2
Changed a puls PC to rts to save cycles
author | David Ladd <drencor-xeen@users.sourceforge.net> |
---|---|
date | Sat, 20 Jan 2018 19:32:22 -0600 |
parents | 1647f1874cdf |
children |
rev | line source |
---|---|
2824 | 1 * Disassembly by Os9disasm of syscall.r |
2 | |
3 section code | |
4 | |
5 _os9: pshs y,u | |
6 lda 7,s | |
7 ldb #$39 | |
8 pshs d | |
9 ldd #$103f | |
10 pshs d | |
11 ldu 12,s | |
12 ldd 1,u | |
13 ldx 4,u | |
14 ldy 6,u | |
15 ldu 8,u | |
16 jsr ,s | |
17 pshs cc,u | |
18 ldu 15,s | |
19 leau 8,u | |
20 pshu d,dp,x,y | |
21 puls a,x | |
22 sta ,-u | |
23 stx 8,u | |
24 leas 4,s | |
25 puls y,u | |
26 bita #1 | |
27 beq L0034 | |
28 ldd #-1 | |
29 rts | |
30 L0034 clra | |
31 clrb | |
32 rts | |
33 | |
34 endsect | |
35 |