From 9dd014cdedea00a55b7908871c6b0462046b48af Mon Sep 17 00:00:00 2001
From: Oliver Schmidt
Date: Wed, 3 May 2017 20:39:59 +0200
Subject: [PATCH] Replaced jsr get_key_ip65 with jsr get_key.
- The C64 variant already used get_key and I don't see a reason why the A2 has different requirements when it comes to the question when it is necessary to call ip65_process.
- On the A2 get_key does display a cursor while get_key_ip65 does not. However get_filtered_input is used to get a string of characters. This is exactly the scenario asking for a cursor.
---
drivers/a2filteredinput.s | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/a2filteredinput.s b/drivers/a2filteredinput.s
index 9514dc4..604f0f2 100644
--- a/drivers/a2filteredinput.s
+++ b/drivers/a2filteredinput.s
@@ -5,9 +5,8 @@
.export filter_url
.export filter_number
-.import get_key_ip65
+.import get_key
.import print_a
-.import print_hex
.include "zeropage.inc"
.include "../inc/common.i"
@@ -35,7 +34,7 @@ get_filtered_input:
; Wait for a character.
@input_get:
- jsr get_key_ip65
+ jsr get_key
; convert to standard ASCII by turning off high bit
and #$7f
sta LASTCHAR