2000-05-28 13:40:48 +00:00
|
|
|
|
|
|
|
;
|
|
|
|
; Maciej 'YTM/Alliance' Witkowiak
|
|
|
|
;
|
|
|
|
; 21.12.99
|
|
|
|
|
|
|
|
; char BlkAlloc (struct tr_se output[], int length);
|
|
|
|
|
2001-07-04 22:08:13 +00:00
|
|
|
.import popax, __oserror
|
2000-05-28 13:40:48 +00:00
|
|
|
.export _BlkAlloc
|
|
|
|
|
|
|
|
.include "../inc/jumptab.inc"
|
|
|
|
.include "../inc/geossym.inc"
|
|
|
|
|
|
|
|
_BlkAlloc:
|
|
|
|
sta r2L
|
|
|
|
stx r2H
|
|
|
|
jsr popax
|
|
|
|
sta r4L
|
|
|
|
stx r4H
|
|
|
|
jsr BlkAlloc
|
2001-07-04 22:08:13 +00:00
|
|
|
stx __oserror
|
2000-05-28 13:40:48 +00:00
|
|
|
txa
|
|
|
|
rts
|