]> git.sur5r.net Git - cc65/blob - libsrc/geos/disk/blkalloc.s
This commit was generated by cvs2svn to compensate for changes in r2,
[cc65] / libsrc / geos / disk / blkalloc.s
1
2 ;
3 ; Maciej 'YTM/Alliance' Witkowiak
4 ;
5 ; 21.12.99
6
7 ; char BlkAlloc (struct tr_se output[], int length);
8
9             .import popax
10             .export _BlkAlloc
11
12             .include "../inc/jumptab.inc"
13             .include "../inc/geossym.inc"
14         
15 _BlkAlloc:
16         sta r2L
17         stx r2H
18         jsr popax
19         sta r4L
20         stx r4H
21         jsr BlkAlloc
22         stx errno
23         txa
24         rts