diff --git a/src/ce/getstringinput.src b/src/ce/getstringinput.src index 7aec1b8fc..bf707d2ed 100644 --- a/src/ce/getstringinput.src +++ b/src/ce/getstringinput.src @@ -28,9 +28,7 @@ _ClrTxtShd := $20818 section .text public _os_GetStringInput _os_GetStringInput: - push ix - ld ix,0 - add ix,sp + call __frameset0 ld iy,flags ld l,(iy + $0d) ld h,(iy + $4c) @@ -145,3 +143,5 @@ _os_GetStringInput: ex de,hl ld (curRow),hl jp .start + + extern __frameset0 diff --git a/src/ce/gettokeninput.src b/src/ce/gettokeninput.src index 90f4b912c..0312d8d55 100644 --- a/src/ce/gettokeninput.src +++ b/src/ce/gettokeninput.src @@ -28,9 +28,7 @@ _ClrTxtShd := $20818 section .text public _os_GetTokenInput _os_GetTokenInput: - push ix - ld ix,0 - add ix,sp + call __frameset0 ld iy,flags ld l,(iy + $0d) ld h,(iy + $4c) @@ -142,3 +140,5 @@ _os_GetTokenInput: ld (iy + $4c),d pop ix ret + + extern __frameset0