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

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

Use standard integer types.

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