mirror of
https://github.com/cc65/cc65.git
synced 2024-11-04 02:05:13 +00:00
fb76e97575
load/save returns oserror code. Added open/close and read (which is not tested yet). git-svn-id: svn://svn.cc65.org/cc65/trunk@637 b7a2c559-68d2-44c3-8de9-860c34a00d81
17 lines
428 B
C
17 lines
428 B
C
/*
|
|
* Marc 'BlackJack' Rintsch, 18.03.2001
|
|
*
|
|
* unsigned char cbm_open(unsigned char lfn, unsigned char device,
|
|
* unsigned char sec_addr, const char* name)
|
|
*/
|
|
|
|
#include <cbm.h>
|
|
|
|
unsigned char cbm_open(unsigned char lfn, unsigned char device,
|
|
unsigned char sec_addr, const char* name)
|
|
{
|
|
cbm_k_setlfs(lfn, device, sec_addr);
|
|
cbm_k_setnam(name);
|
|
return cbm_k_open();
|
|
}
|