From 582e1b421cc03f3115c21d2268996ec304511fe8 Mon Sep 17 00:00:00 2001 From: Scott Duensing Date: Thu, 25 Jun 2026 03:23:34 -0500 Subject: [PATCH] Migrating from ORCA/C to Clang for the IIgs. --- spacetaxi.c | 1 - stAudio.c | 1 - stEngine.c | 1 - stHud.c | 1 - stLevel.c | 1 - stPassenger.c | 1 - stRender.c | 1 - 7 files changed, 7 deletions(-) diff --git a/spacetaxi.c b/spacetaxi.c index 732b534..f4ce554 100644 --- a/spacetaxi.c +++ b/spacetaxi.c @@ -111,7 +111,6 @@ int main(void) { // halSpriteSavePlanes / halSpriteRestorePlanes as static lib code. // 32 KB is plenty for whatever other codegen needs are around. config.codegenBytes = 32UL * 1024; - config.maxSurfaces = 4; // stage + work config.audioBytes = 32UL * 1024; // music + SFX if (!jlInit(&config)) { diff --git a/stAudio.c b/stAudio.c index c4e718a..00cdfe4 100644 --- a/stAudio.c +++ b/stAudio.c @@ -24,7 +24,6 @@ #include "spacetaxi.h" -JOEYLIB_SEGMENT("STAXI") #define ST_SFX_VOICE 2u #define ST_THRUST_VOICE 1u diff --git a/stEngine.c b/stEngine.c index 33a1ea4..56273a6 100644 --- a/stEngine.c +++ b/stEngine.c @@ -27,7 +27,6 @@ #include "spacetaxi.h" -JOEYLIB_SEGMENT("STAXI") // Velocity safety clamp. With ST_SUBPIXEL = 256, ST_MAX_VX = 512 caps // the cab at ~2 px/frame which is in line with the C64 max effective diff --git a/stHud.c b/stHud.c index b235d01..b47259c 100644 --- a/stHud.c +++ b/stHud.c @@ -11,7 +11,6 @@ #include "spacetaxi.h" -JOEYLIB_SEGMENT("STAXI") void stHudDraw(jlSurfaceT *stage, const StGameT *game) { diff --git a/stLevel.c b/stLevel.c index be604a6..c496ad6 100644 --- a/stLevel.c +++ b/stLevel.c @@ -13,7 +13,6 @@ #include "spacetaxi.h" -JOEYLIB_SEGMENT("STAXI") // STL2 adds the per-level physics templates (xAccel/yAccel/xGrav/yGrav) // and the full VIC color block ($7D00-$7D08). Drops the patience byte diff --git a/stPassenger.c b/stPassenger.c index e3df99d..e6f167d 100644 --- a/stPassenger.c +++ b/stPassenger.c @@ -20,7 +20,6 @@ #include "spacetaxi.h" -JOEYLIB_SEGMENT("STAXI") #define ST_PASSENGER_W_PX 16 #define ST_PASSENGER_H_PX 16 diff --git a/stRender.c b/stRender.c index d89b3e9..8bad0c0 100644 --- a/stRender.c +++ b/stRender.c @@ -22,7 +22,6 @@ // All STAXI example sources share the STAXI load segment so the // IIgs binary's _ROOT bank stays under 64 KB. No-op on other ports. -JOEYLIB_SEGMENT("STAXI") // Tile bank files are per-level: each level's .dat references a // numeric bank id, and the host loads tiles/tbankN.tbk on demand