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 <errno.h> | |
#include <setjmp.h> | |
#include <stdarg.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
typedef struct { | |
const char* msg; | |
jmp_buf e; |
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 | |
# -*- coding: utf-8-unix -*- | |
# Usage: msxbin.sh FILE BASE RUN | |
# Outputs BSAVE header followed by contents of the given FILE to stdout. | |
# | |
# - FILE :: input file name of the memory image | |
# - BASE :: base address where the memory image would to be loaded | |
# - RUN :: entry point address of the memory image that shall be run by "BLOAD ..., R" command |