Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KED does add random chars with RT-11 v5.07SB on Pico 1140 #5

Closed
guidol70 opened this issue Dec 5, 2022 · 4 comments
Closed

KED does add random chars with RT-11 v5.07SB on Pico 1140 #5

guidol70 opened this issue Dec 5, 2022 · 4 comments

Comments

@guidol70
Copy link
Contributor

guidol70 commented Dec 5, 2022

When using Pico 1140 with RT-11 v5.04F and his KED file can be edited/saved and would been saved correctly.
When using Pico 1140 with RT-11 v5.07SB ans his KED then random chars with random counts of chars are appened to the file - so the file isnt useable anymore :(
Sometimes these random chars look like a part of the RT-"source"-code - maybe it may called something like a "memory-leak"?

  • This also occurs on new files e.g TEST.TXT
    (which then can be deleted and doenst harm, like a bad edited STRTSB.COM)
  • This also to occur with FatFS ff14a and ff15
  • This also occur when using KED from RT-11 v5.04F in RT-11 v5.07SB
    AND when using KED from RT-11 v5.07SB in RT -11 v5.04F

I also copied a fresh KED from the v5.07-Install image, but it was the same with 85 blocks & problems :(

Using the same RT-11 v5.07SB image with simh this problem doenst occur.

rt11v507sb.zip

@Isysxp
Copy link
Owner

Isysxp commented Dec 5, 2022 via email

@guidol70
Copy link
Contributor Author

guidol70 commented Dec 6, 2022

Dear Guido, Some interesting problem.
Firstly, I have throttled the keyboard poll rate.
Part of the Editor problem is due to multicharacter responses from the terminal. This can overflow the RT11 keyboard handler. The terminal output speed is unchanged.
Secondly, I have allowed for partial sector writes in the RK11 device.
Some RT11 apps assume that a partial sector write of less that 256 words will fill the rest of the sector with zeros.
I hope this has fixed your problem. Do let me know.

Dear Ian,
many Thanks for this fast bugfix ;)
I tested the corresponding KEDs in their RT-11 versions and had successful results
now in v5.04F and v5.07SB.

But now I have another interesting find in RT-11 v4.00C - dont know if this was this way before the bugfix:

.DIR STARTF.COM

STARTF.COM     1P
 1 Files, 1 Blocks
 1592 Free blocks

.RUN KED STARTF.COM
 ?KED-F-Unable to open output file

.RUN KED TEST.TXT
 ?KED-F-Unable to open input file

KED on RT-11 v4.00c cant find/edit a PROTECTED file nor can create a new (TEST.TXT) file.
When I unprotect the file with
RENAME /NOPROTECTION STARTF.COM STARTF.COM
the file can be edited with KED from RT-11 v4.00C

@Isysxp
Copy link
Owner

Isysxp commented Dec 6, 2022 via email

@guidol70
Copy link
Contributor Author

guidol70 commented Dec 6, 2022

Dear Guido, Thanks.
Under RT11 you cannot edit a protected file ....
Also, you cannot edit a non-existent file.
Rather than me go into the details,
I suggest you read the relevant sections in the RT11 users guide.

Dear Ian,
I think Iam somewhat spoiled from RT-11 V5.xx ;) where KED is asking if you want to create a new file or on a protected file if you want to inspect it. Also it got PROTECT/UNPROTECT against the longer RENAME command in v4.xx
I did read already some PDFs (partly) but I had - I think - copied a file and edit this in v4.xx
A new file in v4.xx
SET EDIT KED
EDIT /CREATE TEST.TXT

So your Bugfix is completly right :)

Kind Regards Guido

@Isysxp Isysxp closed this as completed Dec 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants