diff --git a/gidubba.asm b/gidubba.asm index cb44498..8c31457 100644 --- a/gidubba.asm +++ b/gidubba.asm @@ -904,10 +904,6 @@ write: load r0, #ff ;Write cleq r0, r0, prwr - ;Write an end-of-file - load r0, #1a - store fffd, r0 - ;Return to the command prompt breq r0, r0, cmdp @@ -1793,13 +1789,13 @@ prwr: load r0, svstrt ;Load a character from the save chprwr: load r1, buffer + 100 + ;Print the character +prwrch: store fffe, r1 + ;Check for the save end load r2, #1a breq r1, r2, pwend - ;Print the character -prwrch: store fffe, r1 - ;Increment the save address ;Load the address load r0, chprwr + 1