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
#!/usr/bin/bash | |
if [ $1 == "--help" ] || [ $1 == "-h" ]; then | |
echo "USAGE: $(basename "$0") [minecraft_version] [paper_build]" | |
exit 0 | |
fi | |
URL="https://api.papermc.io/v2/projects/paper" | |
if [ $# -lt 1 ]; then |
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
[BITS 16] ; 16-bit code | |
[ORG 0x7C00] ; BIOS loads the boot sector at 0x7C00 | |
jmp start ; Jump to the `start` label | |
message db "Hello, World!", 0 ; The message to print | |
length equ ($ - message) ; The length of `message` (difference of the | |
; current address and the address of `message`) | |
start: | |
mov si, message ; Load the address of `message` into SI |