Browse Source

tweak the code slightly

main
CrazyEttin 8 months ago
parent
commit
79fc294506
  1. 10
      gidubba.asm

10
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

Loading…
Cancel
Save