]> git.sur5r.net Git - cc65/blob - libsrc/geos-common/disk/blkalloc.s
Moved the 'disk' files from 'geos-cbm' to 'geos-common' which are believed to work...
[cc65] / libsrc / geos-common / disk / blkalloc.s
1
2 ;
3 ; Maciej 'YTM/Elysium' Witkowiak
4 ;
5 ; 21.12.1999, 2.1.2003
6
7 ; char BlkAlloc (struct tr_se output[], int length);
8
9             .import popax, setoserror
10             .export _BlkAlloc
11
12             .include "jumptab.inc"
13             .include "geossym.inc"
14         
15 _BlkAlloc:
16         sta r2L
17         stx r2H
18         jsr popax
19         sta r4L
20         stx r4H
21         jsr BlkAlloc
22         jmp setoserror