-
Notifications
You must be signed in to change notification settings - Fork 23
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
Running RVBASIC from PiEconetFS crashes with exception #178
Comments
This is on a Master with MOS 3.50 and ANFS 4.25, BTW. |
This is a good find - I don't think I've tested the two-byte transfer mode that ANFS uses. Can you spot the cut-paste error?
I'll fix this today and post a dev-build to this thread for you to test. |
I only started looking at RISC-V yesterday , but is it the second store should be t1 instead of t0? Or, more probably, the load should be t0 instead of t1, since I don’t think there’s a reason to use another register there. If so, that does explain why, when I compared a copy loaded via ANFS and another via ADFS that there were a lot of differences. I hadn’t noticed they were every second byte, though! |
Yes indeed, the second load should be t0. |
Oh yes, so it is - every odd-numbered byte is wrong and the same as the even-numbered byte before it! |
Change-Id: I69b2e293e70418638021e393452d28b720848aec
Change-Id: I69b2e293e70418638021e393452d28b720848aec
I've fixed the LOAD issue, but there also now seems to be an issue with SAVE that I'm investigating.... |
I've created a seperate issue (#179) for the SAVE bug, as that looks like an error in the ULA code. I'll close this one now. |
I'm unclear if this is a RISC-V BASIC issue, or a PiTubeDirect Indigo issue, or a problem with PiTubeDirect, or I'm doing something monumentally stupid, but I get an uncaught exception if I try and execute RVBASIC from my PiEconetBridge.
I have the load and execute addresses set to &F80000 and I get the same error if I
*LOAD
and*GO
, rather than just*/
, if I*MOVE
the file from NET to ADFS, it then runs OK.Apologies if I've missed something not implemented yet, or misunderstood something!
The text was updated successfully, but these errors were encountered: