From 6c844a95849ee6eea899cea39857400cb09f7a99 Mon Sep 17 00:00:00 2001 From: sorgelig Date: Mon, 29 Jun 2020 08:11:34 +0800 Subject: [PATCH] atarist: move core-specific defines to core support code. --- support/st/st_tos.cpp | 6 ++++++ user_io.h | 5 ----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/support/st/st_tos.cpp b/support/st/st_tos.cpp index 0de98b3..60a680d 100644 --- a/support/st/st_tos.cpp +++ b/support/st/st_tos.cpp @@ -10,6 +10,12 @@ #include "../../fpga_io.h" #include "st_tos.h" +#define ST_WRITE_MEMORY 0x08 +#define ST_READ_MEMORY 0x09 +#define ST_ACK_DMA 0x0a +#define ST_NAK_DMA 0x0b +#define ST_GET_DMASTATE 0x0c + #define CONFIG_FILENAME "ATARIST0.CFG" const char* tos_mem[] = { "512kb", "1mb", "2mb", "4mb", "8mb", "14mb", "--", "--" }; diff --git a/user_io.h b/user_io.h index 773523e..8b9d871 100644 --- a/user_io.h +++ b/user_io.h @@ -20,11 +20,6 @@ #define UIO_KBD_OSD 0x06 // keycodes used by OSD only // 0x08 - 0x0F - core specific -#define ST_WRITE_MEMORY 0x08 -#define ST_READ_MEMORY 0x09 -#define ST_ACK_DMA 0x0a -#define ST_NAK_DMA 0x0b -#define ST_GET_DMASTATE 0x0c #define UIO_JOYSTICK2 0x10 // also used by minimig and 8 bit #define UIO_JOYSTICK3 0x11 // -"-