|
DataMuseum.dkPresents historical artifacts from the history of: Commodore CBM-900 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Commodore CBM-900 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 484 (0x1e4) Types: TextFile Notes: UNIX file Names: »discbuf.h«
└─⟦f27320a65⟧ Bits:30001972 Commodore 900 hard disk image with partial source code └─⟦f4b8d8c84⟧ UNIX Filesystem └─⟦this⟧ »cmd/dump/discbuf.h«
/* * This is the format of a * disc buffer as managed by the * user level cache manager. */ typedef struct DISCBUF { struct DISCBUF *db_fp; /* Link */ int db_refc; /* Reference count */ long db_block; /* Block */ int db_flag; /* Some flags */ char db_data[BUFSIZ]; /* Data block */ } DISCBUF; #define DB_DIRT 01 /* Dirty buffer */ #define DB_OK 02 /* Valid buffer */ extern DISCBUF *dbread(); extern DISCBUF *dbgrab(); extern DISCBUF *dbzero(); extern FILE *dbfp;