From 4027b2dbe077f4987d4b97cfb4c61d38dce4e72f Mon Sep 17 00:00:00 2001 From: drmortalwombat <90205530+drmortalwombat@users.noreply.github.com> Date: Sun, 11 Aug 2024 14:54:50 +0200 Subject: [PATCH] Add optional define for basic upstart line --- include/crt.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/include/crt.c b/include/crt.c index 745292d..4f82061 100644 --- a/include/crt.c +++ b/include/crt.c @@ -1,6 +1,10 @@ // crt.c #include +#ifndef OSCAR_BASIC_LINE +#define OSCAR_BASIC_LINE 10 +#endif + #define tmpy __tmpy #define tmp __tmp @@ -198,8 +202,8 @@ w0: #else byt 0x0b byt 0x08 - byt 0x0a - byt 0x00 + byt OSCAR_BASIC_LINE byt 0x9e byt [OSCAR_BASIC_START + 12] / 1000 % 10 + 0x30 byt [OSCAR_BASIC_START + 12] / 100 % 10 + 0x30