cbm_write is not __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@1525 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
ef9edbe357
commit
fc81b379d8
2 changed files with 8 additions and 7 deletions
|
@ -118,7 +118,7 @@ void __fastcall__ cbm_k_clrch (void);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
unsigned int cbm_load(const char* name, unsigned char device,
|
unsigned int cbm_load (const char* name, unsigned char device,
|
||||||
const char* data);
|
const char* data);
|
||||||
/* Loads file "name" from given device to given address or to the load
|
/* Loads file "name" from given device to given address or to the load
|
||||||
* address of the file if "data" is the null pointer (like load"name",8,1
|
* address of the file if "data" is the null pointer (like load"name",8,1
|
||||||
|
@ -127,7 +127,7 @@ unsigned int cbm_load(const char* name, unsigned char device,
|
||||||
* otherwise 0. "_oserror" contains an errorcode then (see table below).
|
* otherwise 0. "_oserror" contains an errorcode then (see table below).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
unsigned char cbm_save(const char* name, unsigned char device,
|
unsigned char cbm_save (const char* name, unsigned char device,
|
||||||
unsigned char* data, unsigned int size);
|
unsigned char* data, unsigned int size);
|
||||||
/* Saves "size" bytes starting at "data" to a file.
|
/* Saves "size" bytes starting at "data" to a file.
|
||||||
* Returns 0 if saving was successful, otherwise an errorcode (see table
|
* Returns 0 if saving was successful, otherwise an errorcode (see table
|
||||||
|
@ -153,7 +153,7 @@ int __fastcall__ cbm_read (unsigned char lfn, void* buffer, unsigned int size);
|
||||||
* table below).
|
* table below).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int cbm_write(unsigned char lfn, void* buffer, unsigned int size);
|
int __fastcall__ cbm_write (unsigned char lfn, void* buffer, unsigned int size);
|
||||||
/* Writes up to "size" bytes from "buffer" to a file.
|
/* Writes up to "size" bytes from "buffer" to a file.
|
||||||
* Returns the number of actually written bytes or -1 in case of an error.
|
* Returns the number of actually written bytes or -1 in case of an error.
|
||||||
* _oserror contains an errorcode then (see table below).
|
* _oserror contains an errorcode then (see table below).
|
||||||
|
|
|
@ -3,7 +3,8 @@
|
||||||
;
|
;
|
||||||
; Original C code by Marc 'BlackJack' Rintsch, 25.03.2001
|
; Original C code by Marc 'BlackJack' Rintsch, 25.03.2001
|
||||||
;
|
;
|
||||||
; int cbm_write(unsigned char lfn, void* buffer, unsigned int size) {
|
; int __fastcall__ cbm_write(unsigned char lfn, void* buffer, unsigned int size)
|
||||||
|
; {
|
||||||
;
|
;
|
||||||
; static unsigned int byteswritten;
|
; static unsigned int byteswritten;
|
||||||
;
|
;
|
||||||
|
|
Loading…
Add table
Reference in a new issue