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
#!/bin/bash | |
## Setup a VM | |
vagrant init ubuntu/xenial64 | |
vagrant up | |
## Install OpenJDK 8 | |
sudo add-apt-repository ppa:rpardini/adoptopenjdk | |
sudo apt-get update | |
sudo apt-get install adoptopenjdk-8-jdk-hotspot-set-default |
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 <stdio.h> | |
#include <stdint.h> | |
typedef uint32_t DWORD; | |
typedef uint16_t WORD; | |
int main(int argc, char *argv[]) { | |
char *filename = "firmware.bin"; | |
FILE *input_file; |
OlderNewer