2000-05-28 13:40:48 +00:00
|
|
|
;
|
2003-01-02 01:50:39 +00:00
|
|
|
; Maciej 'YTM/Elysium' Witkowiak
|
2000-05-28 13:40:48 +00:00
|
|
|
;
|
2003-01-02 01:50:39 +00:00
|
|
|
; 21.12.1999, 2.1.2003
|
2000-05-28 13:40:48 +00:00
|
|
|
|
|
|
|
; char ReadBlock (struct tr_se myTS, char *buffer);
|
|
|
|
|
2003-01-02 01:50:39 +00:00
|
|
|
.import popax, setoserror
|
2000-05-28 13:40:48 +00:00
|
|
|
.import gettrse
|
|
|
|
.export _ReadBlock
|
|
|
|
|
2012-01-31 20:49:58 +00:00
|
|
|
.include "jumptab.inc"
|
|
|
|
.include "geossym.inc"
|
2000-05-28 13:40:48 +00:00
|
|
|
|
|
|
|
_ReadBlock:
|
|
|
|
sta r4L
|
|
|
|
stx r4H
|
|
|
|
jsr popax
|
|
|
|
jsr gettrse
|
|
|
|
sta r1L
|
|
|
|
stx r1H
|
|
|
|
jsr ReadBlock
|
2003-01-02 01:50:39 +00:00
|
|
|
jmp setoserror
|