Mercurial > hg > Members > kono > nitros9-code
annotate lib/alib/frewind.a @ 2765:0bd16cca86b7
Updated rules.mak for all the os9 format's to format the entire disk. People were having some issues with the disk images not being formatted to their full capacity and preventing some functions from working.
author | drencor-xeen |
---|---|
date | Thu, 17 Jan 2013 11:03:26 -0600 |
parents | 7d70b7e1cb21 |
children | aaba193af04f |
rev | line source |
---|---|
2474 | 1 *************************************** |
2 | |
3 * Subroutine rewind file | |
4 | |
5 * OTHER MODULES NEEDED: none | |
6 | |
7 * ENTRY: A=path | |
8 | |
9 | |
10 * EXIT: CC carry set if error (from I$Seek) | |
11 * B error code if any | |
12 | |
13 nam Rewind open RBF file | |
14 ttl Assembler Library Module | |
15 | |
16 | |
17 psect FREWIND,0,0,0,0,0 | |
18 | |
19 FREWIND: | |
20 pshs x,u | |
21 ldx #0 | |
22 tfr x,u | |
23 os9 I$Seek seek to pos 0 | |
24 puls x,u,pc | |
25 | |
26 endsect | |
27 |