OpenCBM
Macros | Functions
cbmfile.c File Reference

Function for handling the CBM_FILE to BX conversions. More...

#include <windows.h>
#include "debug.h"
#include "vdd.h"
#include <stdlib.h>

Go to the source code of this file.

Macros

#define DBG_USERMODE
 
#define DBG_PROGNAME   "OPENCBMVDD.DLL"
 
#define MAX_CBMFILE_VALUES   10
 @@@ More...
 

Functions

CBM_FILE vdd_cbmfile_get (WORD a)
 @@@ More...
 
WORD vdd_cbmfile_store (CBM_FILE cbmfile)
 @@@ More...
 
CBM_FILE vdd_cbmfile_delete (WORD a)
 @@@ More...
 
VOID vdd_cbmfile_closeall (VOID)
 @@@ More...
 

Detailed Description

Function for handling the CBM_FILE to BX conversions.



Author
Spiro Trikaliotis

Definition in file cbmfile.c.

Macro Definition Documentation

#define DBG_PROGNAME   "OPENCBMVDD.DLL"

The name of the executable

Definition at line 24 of file cbmfile.c.

#define DBG_USERMODE

Mark: We are in user-space (for debug.h)

Definition at line 21 of file cbmfile.c.

#define MAX_CBMFILE_VALUES   10

@@@

Todo:
document

Definition at line 34 of file cbmfile.c.

Referenced by vdd_cbmfile_closeall(), vdd_cbmfile_delete(), vdd_cbmfile_get(), and vdd_cbmfile_store().

Function Documentation

VOID vdd_cbmfile_closeall ( VOID  )

@@@

Todo:
document

Definition at line 143 of file cbmfile.c.

References cbm_driver_close(), and MAX_CBMFILE_VALUES.

Referenced by VDDInitialize().

CBM_FILE vdd_cbmfile_delete ( WORD  a)

@@@

Todo:
document
Parameters
a
Returns

Definition at line 119 of file cbmfile.c.

References CBM_FILE, and MAX_CBMFILE_VALUES.

CBM_FILE vdd_cbmfile_get ( WORD  a)

@@@

Todo:
document
Parameters
a
Returns

Definition at line 62 of file cbmfile.c.

References CBM_FILE, and MAX_CBMFILE_VALUES.

Referenced by VDDDispatch().

WORD vdd_cbmfile_store ( CBM_FILE  cbmfile)

@@@

Todo:
document
Parameters
cbmfile
Returns

Definition at line 87 of file cbmfile.c.

References MAX_CBMFILE_VALUES.

Referenced by vdd_driver_open().