From d8aee18f6cb32c2f4702f1caed2fcc9a81a1dbd4 Mon Sep 17 00:00:00 2001 From: oliverschmidt Date: Sun, 18 Oct 2009 09:37:37 +0000 Subject: [PATCH] cc65 2.13. allows to - explicitly set 80 column mode - control exit behaviour from the program itself (instead of requiring a loader variant). --- platform/apple2enh/contiki-main.c | 5 ++++- tools/apple2enh/loader-reboot.system | Bin 440 -> 0 bytes 2 files changed, 4 insertions(+), 1 deletion(-) delete mode 100644 tools/apple2enh/loader-reboot.system diff --git a/platform/apple2enh/contiki-main.c b/platform/apple2enh/contiki-main.c index ac7966788..44fc31d46 100644 --- a/platform/apple2enh/contiki-main.c +++ b/platform/apple2enh/contiki-main.c @@ -30,7 +30,7 @@ * * Author: Oliver Schmidt * - * $Id: contiki-main.c,v 1.18 2008/07/06 07:37:34 oliverschmidt Exp $ + * $Id: contiki-main.c,v 1.19 2009/10/18 09:37:37 oliverschmidt Exp $ */ #include "contiki-net.h" @@ -70,6 +70,9 @@ main(void) { struct ethernet_config *ethernet_config; + rebootafterexit(); + videomode(VIDEOMODE_80COL); + #if !WITH_PFS close(STDIN_FILENO); close(STDOUT_FILENO); diff --git a/tools/apple2enh/loader-reboot.system b/tools/apple2enh/loader-reboot.system deleted file mode 100644 index f6956087abe233be1c19197d2ef43d190ac53ade..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 440 zcmbu4KS%;`6vvB;et}{& zhPX87(Qy4+T57Byb1(!$uAeuy_J;TUyzlVd_sJX7>xJRJ#jG<{Yxx6JOES!1P38w| zbZVk@hx$F9KA`r9`V;mB$bq#>*>aBgxud$ji1~-K`a*b72>yhKo4# zvE`;JIE?8bce4P^Aulp%A~W_x(7ySi3d(CJu;U2WSa$`qL)0=@A5i0)v;^u&lmVv- z(w|pRIM?8lmHk*MlOUjAFzEAv*k#1AxgzxT2%Ad`_@(K5YgteQ$sDE=SPGR_8&^Ly zxCr%UUtN7yH(HSv_B;jp9Cyr*Xg6YdxWZ6G?Rz)*iA_m*9&_DB@{XM%i)8^gKpdq= kDjlb7B}WnEI1{t2byZbVng?2>9W|cKQaF>Rt$3c`7m8qtiU0rr