summaryrefslogtreecommitdiffstats
path: root/sw/z80/kernel/sysexe.c
blob: f020b88398deeb3215a08aa9746916bda9711bb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "sysexe.h"

volatile struct sys_exec *exec_data = SYS_EXEC_ADDR;

uint8_t vaddr_enabled() {

    return exec_data->virtual_addr;
}

struct sys_progman * sys_prog_data(struct sys_progman *data) {

    *data = exec_data->sys_progman;
    return data;
}