From 681f20dc33eadfa2286bbd1d4eee936d60b42051 Mon Sep 17 00:00:00 2001 From: Jeremy Rand Date: Sun, 21 Oct 2018 14:36:17 -0400 Subject: [PATCH] Replace the only inline assembly with a standard TGI call. --- ocanada/flag.c | 2 +- ocanada/make/V2Make.scpt | Bin 4898 -> 4898 bytes 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/ocanada/flag.c b/ocanada/flag.c index 3a89f7d..7fda526 100644 --- a/ocanada/flag.c +++ b/ocanada/flag.c @@ -27,7 +27,7 @@ void initGraphics(void) tgi_init(); // Mixed text and graphics mode - asm ("STA %w", 0xc053); + tgi_apple2_mix(1); tgi_inited = true; } diff --git a/ocanada/make/V2Make.scpt b/ocanada/make/V2Make.scpt index f15af8840554bcb923aeaefd42575eb1e5f42584..838068a9e4f27d11d735e4d625956ced02c88ddb 100644 GIT binary patch delta 196 zcma)#JqiLb5QSf1xodAP+XXfuo6UetCSk0tZM{)$uqP1q5Mt?#d>0U8c<{X+m~Gmo zrw%76^I~G=Li5!{EzOm+W@r6Ayv{#c^(m<4BtCWFc>g6GFUJeF}N@oGB`8n0VA`1Xqa3){?