This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AREIA-1 | |
------------ | |
16 registers, 16 bits each, | |
0 = always 0 | |
15 = SP | |
Memory is treated as little-endian. | |
Opcode byte: oooooott (o - opcode, t - type of opcode) | |
l is .b or .w |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pyspades.constants import * | |
def apply_script(protocol, connection, config): | |
class TemplateProtocol(protocol): | |
def __init__(self, team, *args, **kwargs): | |
return connection.on_team_join(self, team, *args, **kwargs) | |
class TemplateConnection(connection): | |
def __init__(self, *args, **kwargs): | |
return connection.on_team_join(self, *args, **kwargs) |