KEK/loaders.h
Folkert van Heusden 4c7fcb4854 license
2023-03-26 21:47:42 +02:00

16 lines
524 B
C++

// (C) 2018-2023 by Folkert van Heusden
// Released under MIT license
#include <optional>
#include <stdint.h>
#include <string>
#include "bus.h"
typedef enum { BL_NONE, BL_RK05, BL_RL02 } bootloader_t;
void loadbin(bus *const b, uint16_t base, const char *const file);
void setBootLoader(bus *const b, const bootloader_t which);
std::optional<uint16_t> loadTape(bus *const b, const std::string & file);
void load_p11_x11(bus *const b, const std::string & file);