#include <stddef.h>
Go to the source code of this file.
◆ CBM_A_RO
#define CBM_A_RO 1 /* Read only */ |
◆ CBM_A_RW
#define CBM_A_RW 3 /* Read, Write */ |
◆ CBM_A_WO
#define CBM_A_WO 2 /* Write only */ |
◆ CBM_READ
#define CBM_READ 0 /* default is ",p" */ |
◆ CBM_SEQ
#define CBM_SEQ 2 /* default is ",r" -- or ",s" when writing */ |
◆ CBM_WRITE
#define CBM_WRITE 1 /* ditto */ |
◆ CH_BTEE
◆ CH_CROSS
◆ CH_CURS_DOWN
◆ CH_CURS_LEFT
◆ CH_CURS_RIGHT
◆ CH_CURS_UP
◆ CH_DEL
◆ CH_ENTER
◆ CH_ESC
◆ CH_FONT_LOWER
◆ CH_FONT_UPPER
#define CH_FONT_UPPER 142 |
◆ CH_HLINE
◆ CH_HOME
◆ CH_INS
◆ CH_LIRA
◆ CH_LLCORNER
◆ CH_LRCORNER
◆ CH_LTEE
◆ CH_PI
◆ CH_RTEE
◆ CH_STOP
◆ CH_TTEE
◆ CH_ULCORNER
◆ CH_URCORNER
◆ CH_VLINE
◆ JOY_FIRE
◆ JOY_FIRE_MASK
◆ anonymous enum
anonymous enum : unsigned char |
Flags for cbm_load()
Enumerator |
---|
CBM_LOAD_RAM | Load into RAM.
|
CBM_LOAD_VERIFY | Performs verify.
|
◆ cbm_k_acptr()
unsigned char cbm_k_acptr |
( |
void |
| ) |
|
◆ cbm_k_basin()
unsigned char cbm_k_basin |
( |
void |
| ) |
|
◆ cbm_k_bsout()
void cbm_k_bsout |
( |
unsigned char |
C | ) |
|
◆ cbm_k_chkin()
unsigned char cbm_k_chkin |
( |
unsigned char |
FN | ) |
|
◆ cbm_k_chkout()
unsigned char cbm_k_chkout |
( |
unsigned char |
FN | ) |
|
◆ cbm_k_chrin()
unsigned char cbm_k_chrin |
( |
void |
| ) |
|
◆ cbm_k_chrout()
void cbm_k_chrout |
( |
unsigned char |
C | ) |
|
◆ cbm_k_cint()
◆ cbm_k_ciout()
void cbm_k_ciout |
( |
unsigned char |
C | ) |
|
◆ cbm_k_ckout()
unsigned char cbm_k_ckout |
( |
unsigned char |
FN | ) |
|
◆ cbm_k_clall()
void cbm_k_clall |
( |
void |
| ) |
|
◆ cbm_k_close()
void cbm_k_close |
( |
unsigned char |
FN | ) |
|
◆ cbm_k_clrch()
void cbm_k_clrch |
( |
void |
| ) |
|
◆ cbm_k_getin()
unsigned char cbm_k_getin |
( |
void |
| ) |
|
◆ cbm_k_iobase()
unsigned cbm_k_iobase |
( |
void |
| ) |
|
◆ cbm_k_listen()
void cbm_k_listen |
( |
unsigned char |
dev | ) |
|
◆ cbm_k_load()
void* cbm_k_load |
( |
unsigned char |
flag, |
|
|
void * |
load_addr |
|
) |
| |
CBM KERNAL function to load or verify file.
Should be called after cbm_k_setlfs()
and cbm_k_setnam()
. On Commander X16, the flag
argument takes the following values:
flag | Description |
0 | Load at address |
1 | Verify |
2 | Loads into VRAM $00000 + address (cx16) |
3 | Loads into VRAM $10000 + address (cx16) |
On other Commodore targets, a non-zero flag
value triggers verify.
- Parameters
-
flag | Load or verify |
load_addr | Load address pointer (if not verifying). |
- Returns
- Address of last byte loaded/verified or KERNAL error code
◆ cbm_k_open()
unsigned char cbm_k_open |
( |
void |
| ) |
|
◆ cbm_k_readst()
unsigned char cbm_k_readst |
( |
void |
| ) |
|
◆ cbm_k_save()
unsigned char cbm_k_save |
( |
void * |
startaddr, |
|
|
void * |
endaddr_plusone |
|
) |
| |
◆ cbm_k_scnkey()
void cbm_k_scnkey |
( |
void |
| ) |
|
◆ cbm_k_second()
void cbm_k_second |
( |
unsigned char |
addr | ) |
|
◆ cbm_k_setlfs()
void cbm_k_setlfs |
( |
unsigned char |
LFN, |
|
|
unsigned char |
DEV, |
|
|
unsigned char |
SA |
|
) |
| |
◆ cbm_k_setnam()
void cbm_k_setnam |
( |
const char * |
Name | ) |
|
◆ cbm_k_settim()
void cbm_k_settim |
( |
unsigned long |
timer | ) |
|
◆ cbm_k_talk()
void cbm_k_talk |
( |
unsigned char |
dev | ) |
|
◆ cbm_k_tksa()
void cbm_k_tksa |
( |
unsigned char |
addr | ) |
|
◆ cbm_k_udtim()
void cbm_k_udtim |
( |
void |
| ) |
|
◆ cbm_k_unlsn()
void cbm_k_unlsn |
( |
void |
| ) |
|
◆ cbm_k_untlk()
void cbm_k_untlk |
( |
void |
| ) |
|