KEK/loaders.h
folkert van heusden 8caad6ae37
disk configure menu
2024-04-26 15:01:27 +02:00

16 lines
526 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 set_boot_loader(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);