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

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

Include file cleanup.

  • Property mode set to 100644
File size: 1016 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
10#include "stdint.h"
11
12#define MAXFSL 256 /* size of the gdsel free list */
13#define NGDSEL 17 /* number of gdstb elements */
14
15#define I_SBASE 0 /* initial sbase value */
16#define I_OFFSET 0 /* initial soffset value */
17
18struct gdsel {
19
20 struct gdsel *next; /* pointer to next element */
21 int16_t note; /* note offset 0..87 */
22 int16_t code; /* update code */
23};
24
25/*
26 =============================================================================
27 WARNING: the 'next' pointer in the gdsel structure MUST be the first
28 long word of the structure, as it is assumed to be there by the element
29 deletion code in uslice. Moving it would be a real disaster, so don't.
30 =============================================================================
31*/
Note: See TracBrowser for help on using the repository browser.