func main() {
	imageData := make([]byte, 0, 56)
	var err error
	imageData, err = generateLogo(imageData)
	if (err != nil) {
		fmt.Printf("%s: %s\n", os.Args[0], err)
		os.Exit(1)
	}
	imageData, err = generateNotice(imageData)
	if (err != nil) {
		fmt.Printf("%s: %s\n", os.Args[0], err)
		os.Exit(1)
	}
	copy(bootrom[0x22:], []byte {0xa8, 0x00})
	copy(bootrom[0xA8:], imageData)
	bootrom[0xEA] = 0x01
	bootrom[0xFB] = 0x01
	binary.Write(os.Stdout, binary.LittleEndian, bootrom)
}
TODO: Option for different output modes: byte array, string, or binary
TODO: Enable support for other (lossless) image formats
TODO: Use more flexible condition for determining which pixels are black
package main
import (
	"errors"
	"fmt"
	"image"
	"os"
	"encoding/binary"
	_ "image/png"
)