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 WriteBlock (struct tr_se *myTS, char *buffer);
|
|
|
|
|
2013-05-09 11:56:54 +00:00
|
|
|
.export _WriteBlock
|
|
|
|
.import popax, setoserror
|
|
|
|
.import gettrse
|
2000-05-28 13:40:48 +00:00
|
|
|
|
2013-05-09 11:56:54 +00:00
|
|
|
.include "jumptab.inc"
|
|
|
|
.include "geossym.inc"
|
|
|
|
|
2000-05-28 13:40:48 +00:00
|
|
|
_WriteBlock:
|
2013-05-09 11:56:54 +00:00
|
|
|
sta r4L
|
|
|
|
stx r4H
|
|
|
|
jsr popax
|
|
|
|
jsr gettrse
|
|
|
|
sta r1L
|
|
|
|
stx r1H
|
|
|
|
jsr WriteBlock
|
|
|
|
jmp setoserror
|