source: buchla-68k/orig/lib/INCLUDE/SLICE.H@ 6888aa2

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

Imported original source code.

  • Property mode set to 100755
File size: 1004 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 short note; /* note offset 0..87 */
18 short 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.