This file contains hidden or 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
DCPU-16e Specification | |
Version 1.2 | |
=== SUMMARY ==================================================================== | |
* 16 bit words | |
* 8 banks of 0x10000 words of ram, numbered 0-7 | |
* 8 registers (A, B, C, X, Y, Z, I, J) |
This file contains hidden or 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
#!/usr/bin/env python3 | |
import array | |
BYTES = 2 # N bytes arthimetic | |
MAX = 2 ** (BYTES * 8 - 1) - 1 | |
MIN = - (2 ** (BYTES * 8 - 1)) + 1 | |
CHUNK= 1024 |
This file contains hidden or 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
#!/usr/bin/env python3 | |
import array | |
BYTES = 2 # N bytes arthimetic | |
MAX = 2 ** (BYTES * 8 - 1) - 1 | |
MIN = - (2 ** (BYTES * 8 - 1)) + 1 | |
CHUNK= 1024 |
This file contains hidden or 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
#!/usr/bin/env python3 | |
import array | |
BYTES = 2 # N bytes arthimetic | |
MAX = 2 ** (BYTES * 8 - 1) - 1 | |
MIN = - (2 ** (BYTES * 8 - 1)) + 1 | |
CHUNK= 1024 |
This file contains hidden or 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
#!/usr/bin/env python3 | |
import array | |
import audioop | |
import wave | |
import sys | |
import time | |
try: |
This file contains hidden or 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
/*----------------------------------------------------- | |
Author: <Zardoz> | |
Date: Fri May 31 15:53:33 2013 | |
Description: BTC 1.6 audio codec player for uMicros | |
Original codec by Roman Black | |
Audio Codec description : http://www.romanblack.com/btc_alg.htm | |
-----------------------------------------------------*/ | |
// NOTE : This output comes from RomamBlack BTc enconder that generates a MikroC |
NewerOlder