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
import wave | |
import struct | |
# Load audio bytes from ROM | |
rom_bytes = bytearray() | |
with open("Alien vs Predator (1994).jag", "rb") as rom_file: | |
rom_file.seek(1488614, 0) | |
rom_bytes += bytearray(rom_file.read(1596322)) | |
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
#include "E.H" | |
#include "E_DOS.H" | |
#include "AUDIO/SB16.H" | |
#include "AUDIO/INTR.H" | |
#include <dos.h> | |
#include <conio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
// Crap needed for SoundBlaster 16 setup |