]> git.sur5r.net Git - cc65/blob - libsrc/geos-common/disk/getblock.s
Removed (pretty inconsistently used) tab chars from source code base.
[cc65] / libsrc / geos-common / disk / getblock.s
1 ;
2 ; Maciej 'YTM/Elysium' Witkowiak
3 ;
4 ; 21.12.1999, 2.1.2003
5
6 ; char GetBlock (struct tr_se *myTS, char *buffer);
7
8             .import popax, setoserror
9             .import gettrse
10             .export _GetBlock
11
12             .include "jumptab.inc"
13             .include "diskdrv.inc"
14             .include "geossym.inc"
15         
16 _GetBlock:
17         sta r4L
18         stx r4H
19         jsr popax
20         jsr gettrse
21         sta r1L
22         stx r1H
23         jsr GetBlock
24         jmp setoserror