source: buchla-68k/include/slice.h@ f7428b1

Last change on this file since f7428b1 was f7428b1, checked in by Thomas Lopatic <thomas@…>, 7 years ago

Started to rework include files.

  • Property mode set to 100644
File size: 1015 bytes
Line 
1/*
2 =============================================================================
3 slice.h -- slice data structure
4 Version 4 -- 1988-09-23 -- D.N. Lynx Crowe
5 =============================================================================
6*/
7
8#pragma once
9#include "stdint.h"
10
11#define MAXFSL 256 /* size of the gdsel free list */
12#define NGDSEL 17 /* number of gdstb elements */
13
14#define I_SBASE 0 /* initial sbase value */
15#define I_OFFSET 0 /* initial soffset value */
16
17struct gdsel {
18
19 struct gdsel *next; /* pointer to next element */
20 int16_t note; /* note offset 0..87 */
21 int16_t code; /* update code */
22};
23
24/*
25 =============================================================================
26 WARNING: the 'next' pointer in the gdsel structure MUST be the first
27 long word of the structure, as it is assumed to be there by the element
28 deletion code in uslice. Moving it would be a real disaster, so don't.
29 =============================================================================
30*/
Note: See TracBrowser for help on using the repository browser.