You've already forked ultrasm64-2
mirror of
https://github.com/HackerN64/ultrasm64-2.git
synced 2026-01-21 10:38:08 -08:00
subrepo: subdir: "lib/n64-libc" merged: "70270d60" upstream: origin: "https://gitlab.com/mpharoah/n64-libc" branch: "main" commit: "70270d60" git-subrepo: version: "0.4.9" origin: "https://github.com/ingydotnet/git-subrepo" commit: "4f60dd7"
21 lines
1.8 KiB
C
21 lines
1.8 KiB
C
#include "n64-ctype.h"
|
|
|
|
unsigned short __n64_internal_charflag_table[256] = {
|
|
/* 0x00 - 0x08 : control codes */ 0x020, 0x020, 0x020, 0x020, 0x020, 0x020, 0x020, 0x020, 0x020,
|
|
/* 0x09 : tab */ 0x0E0,
|
|
/* 0x0A - 0x0D : whitespaces */ 0x060, 0x060, 0x060, 0x060,
|
|
/* 0x0E - 0x1F : control codes */ 0x020, 0x020, 0x020, 0x020, 0x020, 0x020, 0x020, 0x020, 0x020, 0x020, 0x020, 0x020, 0x020, 0x020, 0x020, 0x020, 0x020, 0x020,
|
|
/* 0x20 : space */ 0x1C0,
|
|
/* 0x21 - 0x2F : punctuation */ 0x300, 0x300, 0x300, 0x300, 0x300, 0x300, 0x300, 0x300, 0x300, 0x300, 0x300, 0x300, 0x300, 0x300, 0x300,
|
|
/* 0x30 - 0x39 : digits */ 0x105, 0x105, 0x105, 0x105, 0x105, 0x105, 0x105, 0x105, 0x105, 0x105,
|
|
/* 0x3A - 0x40 : punctuation */ 0x300, 0x300, 0x300, 0x300, 0x300, 0x300, 0x300,
|
|
/* 0x41 - 0x46 : hex letters (U) */ 0x116, 0x116, 0x116, 0x116, 0x116, 0x116,
|
|
/* 0x47 - 0x5A : letters (U) */ 0x112, 0x112, 0x112, 0x112, 0x112, 0x112, 0x112, 0x112, 0x112, 0x112, 0x112, 0x112, 0x112, 0x112, 0x112, 0x112, 0x112, 0x112, 0x112, 0x112,
|
|
/* 0x5B - 0x60 : punctuation */ 0x300, 0x300, 0x300, 0x300, 0x300, 0x300,
|
|
/* 0x61 - 0x66 : hex letters (L) */ 0x10E, 0x10E, 0x10E, 0x10E, 0x10E, 0x10E,
|
|
/* 0x67 - 0x7A : letters (L) */ 0x10A, 0x10A, 0x10A, 0x10A, 0x10A, 0x10A, 0x10A, 0x10A, 0x10A, 0x10A, 0x10A, 0x10A, 0x10A, 0x10A, 0x10A, 0x10A, 0x10A, 0x10A, 0x10A, 0x10A,
|
|
/* 0x7B - 0x7E : punctuation */ 0x300, 0x300, 0x300, 0x300,
|
|
/* 0x7F : backspace */ 0x020,
|
|
/* 0x80 - 0xFF : non-ASCII */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
|
};
|