mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
544 B
34 lines
544 B
1 year ago
|
IND_SIZE = 2
|
||
|
REG_SIZE = 4
|
||
|
DIR_SIZE = REG_SIZE
|
||
|
|
||
|
REG_CODE = 1
|
||
|
DIR_CODE = 2
|
||
|
IND_CODE = 3
|
||
|
|
||
|
MAX_PLAYERS = 4
|
||
|
MEM_SIZE = 4 * 1024
|
||
|
IDX_MOD = MEM_SIZE / 8
|
||
|
PLAYER_MAX_SIZE = MEM_SIZE / 6
|
||
|
|
||
|
COMMENT_CHAR = '#'
|
||
|
LABEL_CHAR = ':'
|
||
|
DIRECT_CHAR = '%'
|
||
|
SEPARATOR_CHAR = ','
|
||
|
|
||
|
LABEL_CHARS = "abcdefghijklmnopqrstuvwxyz_0123456789"
|
||
|
|
||
|
NAME_CMD_STRING = ".name"
|
||
|
DESCRIPTION_CMD_STRING = ".description"
|
||
|
|
||
|
REG_NUMBER = 16
|
||
|
|
||
|
CYCLE_TO_DIE = 1536
|
||
|
CYCLE_DELTA = 50
|
||
|
NBR_LIVE = 21
|
||
|
MAX_CHECKS = 10
|
||
|
|
||
|
PROG_NAME_LENGTH = 128
|
||
|
DESCRIPTION_LENGTH = 2048
|
||
|
COREWAR_EXEC_SIGNATURE = 0xea83f3
|