Ok, I have question: Does this:

/* from covington map...
 *  - File Descriptor Block (Address Given by VARPTR(#file)) Format -
 *
 *Byte:
 *     0 - File status (0-not open, 1-open for input, 2 open for
 *         output or append)
 * 2 & 3 - Address of file directory entry
 *     4 - File device (248-RAM, 249-MoDeM, 250-LinePrinTer,
 *         251-WAND, 252-COM, 253-CASsette, 254-CRT, 255-LCD)
 *     6 - Offset from buffer start (see bytes 9) for start of next record
 * 7 & 8 - Relative position of next 256 byte block from beginning of file
 *     9 - Start of 256 byte buffer for data transfer
 */

struct basic_fdb
{
  char fdb_status;  //VARPTR returns pointer to here?
  char *fdb_dir_address;
  char fdb_device;
  char fdb_offset;
  char *fdb_next_block;
  char fdb_buffer[256];
};

get used everywhere (such as in TEXT), or is it strictly a BASIC thing?

Willard
-- 
Willard Goosey  [email protected]
Socorro, New Mexico, USA
I search my heart and find Cimmeria, land of Darkness and the Night.
  -- R.E. Howard

Reply via email to