diff --git a/src/basic/engine_editor/find_line.s b/src/basic/engine_editor/find_line_38K_60K.s similarity index 77% rename from src/basic/engine_editor/find_line.s rename to src/basic/engine_editor/find_line_38K_60K.s index b99f86a2..8a52c25c 100644 --- a/src/basic/engine_editor/find_line.s +++ b/src/basic/engine_editor/find_line_38K_60K.s @@ -6,6 +6,8 @@ // Find the BASIC line with number in LINNUM +#if CONFIG_MEMORY_MODEL_38K || CONFIG_MEMORY_MODEL_60K + find_line_from_start: // Get pointer to start of BASIC text @@ -24,13 +26,9 @@ find_line_from_current: // Fetch the high byte of line number and compare ldy #$03 - // XXX consider optimized 46K/50K version - #if CONFIG_MEMORY_MODEL_60K ldx #