From 816d50df3430dacd65a45c5fc23395a1dce40498 Mon Sep 17 00:00:00 2001 From: CrazyEttin <> Date: Fri, 19 Aug 2022 22:29:19 +0300 Subject: [PATCH] Make empty tape reader input 0xff instead of null --- emulator.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emulator.pas b/emulator.pas index 34b983d..6d09976 100644 --- a/emulator.pas +++ b/emulator.pas @@ -213,7 +213,7 @@ begin close (TapeIn); Reader.Pos := Reader.Pos + 1; except - R [X] := 0; + R [X] := $ff; end; //Save the reader state if FileExists (ExpandFileName ('~/.tapes.thingamajig')) then begin