# endif
# endif
#endif
+#ifndef COLOR_BLACK
+# define COLOR_BLACK 0
+#endif
+#ifndef COLOR_WHITE
+# define COLOR_WHITE 1
+#endif
/* Screen definitions */
#if defined(__CBM610__)
#endif
/* Replacement key definitions */
-#if defined(__APPLE2__)
+#if defined(__APPLE2__) || defined(__LYNX__) || defined(__SUPERVISION__)
# define CH_DEL ('H' - 'A' + 1) /* Ctrl+H */
#endif
+/* Replacement char definitions */
+#ifndef CH_ULCORNER
+# define CH_ULCORNER '+'
+#endif
+#ifndef CH_URCORNER
+# define CH_URCORNER '+'
+#endif
+#ifndef CH_LLCORNER
+# define CH_LLCORNER '+'
+#endif
+#ifndef CH_LRCORNER
+# define CH_LRCORNER '+'
+#endif
+#ifndef CH_TTEE
+# define CH_TTEE '+'
+#endif
+#ifndef CH_LTEE
+# define CH_LTEE '+'
+#endif
+#ifndef CH_RTEE
+# define CH_RTEE '+'
+#endif
+#ifndef CH_BTEE
+# define CH_BTEE '+'
+#endif
+#ifndef CH_CROSS
+# define CH_CROSS '+'
+#endif
+
/* Defines for opcodes */
#define OPC_BRK 0x00
#define OPC_BPL 0x10
/* Be sure not to set the breakpoint twice if this is a jump to
* the following instruction.
*/
- Offs = *(signed char*)(brk_pc+1);
+ Offs = ((signed char*)brk_pc)[1];
if (Offs) {
DbgSetTmpBreak (brk_pc + Offs + 2);
}