]> git.sur5r.net Git - cc65/blob - libsrc/geos-common/disk/blkalloc.s
Replaced whole bunch for Makefiles with a single generic Makefile.
[cc65] / libsrc / geos-common / disk / blkalloc.s
1 ;
2 ; Maciej 'YTM/Elysium' Witkowiak
3 ;
4 ; 21.12.1999, 2.1.2003
5
6 ; char BlkAlloc (struct tr_se output[], int length);
7
8             .import popax, setoserror
9             .export _BlkAlloc
10
11             .include "jumptab.inc"
12             .include "diskdrv.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