]> git.sur5r.net Git - cc65/blob - libsrc/geos-common/disk/putblock.s
Dropped VER_PATCH (and VER_RC) and added build date.
[cc65] / libsrc / geos-common / disk / putblock.s
1 ;
2 ; Maciej 'YTM/Elysium' Witkowiak
3 ;
4 ; 21.12.1999, 2.1.2003
5
6 ; char PutBlock (struct tr_se *myTS, char *buffer);
7
8             .import popax, setoserror
9             .import gettrse
10             .export _PutBlock
11
12             .include "jumptab.inc"
13             .include "diskdrv.inc"
14             .include "geossym.inc"
15         
16 _PutBlock:
17         sta r4L
18         stx r4H
19         jsr popax
20         jsr gettrse
21         sta r1L
22         stx r1H
23         jsr PutBlock
24         jmp setoserror