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

Garbage from RPI command after update #172

Closed
polileco opened this issue Jun 7, 2024 · 9 comments · Fixed by #173
Closed

Garbage from RPI command after update #172

polileco opened this issue Jun 7, 2024 · 9 comments · Fixed by #173
Assignees
Labels
bug Something isn't working

Comments

@polileco
Copy link

polileco commented Jun 7, 2024

What happened?

Hi,

Thanks for the nice work the project is amazing.

After updating to the firmware 0011 and the 002D driver after booting into ProDOS RPI command does not work and just puts garbage on the screen.

I've pull the project build the a2driver and assemble the commands.

Regards

Hardware Version

Fifth Prototype (classic hardware without jumper)

Firmware Version

0010 (classic hardware)

Driver Version

002D (add support for RPi Pico hardware)

Shell Version

000D (added version info)

Where are you seeing this problem?

RPI Command

What computer is this running on?

Other

@polileco polileco added the bug Something isn't working label Jun 7, 2024
@tjboldt
Copy link
Owner

tjboldt commented Jun 7, 2024

Have you rebuilt the RPI.COMMAND and SHELL since upgrading?

cd ~/Apple2-IO-RPi/Apple2
./assemble.sh

The RPI.COMMAND is likely failing to detect the card as the firmware ID bytes changed.

@tjboldt
Copy link
Owner

tjboldt commented Jun 7, 2024

Oh, and after you reassemble the binaries, you need to refresh the dynamic drive image... Normally I'd suggest using the RPI command to regenerate the drive image but since that's not working for you, maybe on the Linux side, restart the service.

sudo systemctl restart apple2driver

Then reboot the Apple II.

@polileco
Copy link
Author

polileco commented Jun 7, 2024

Have you rebuilt the RPI.COMMAND and SHELL since upgrading?

cd ~/Apple2-IO-RPi/Apple2 ./assemble.sh

The RPI.COMMAND is likely failing to detect the card as the firmware ID bytes changed.

Oh, and after you reassemble the binaries, you need to refresh the dynamic drive image... Normally I'd suggest using the RPI command to regenerate the drive image but since that's not working for you, maybe on the Linux side, restart the service.

sudo systemctl restart apple2driver

Then reboot the Apple II.

Yes. Just for a sanity check did it again, same result.

Running 'rpi ls' from prompt, for example, I got this:

IMG_1453

Let me know if I can assist you or if more info is needed

Tks

@polileco
Copy link
Author

polileco commented Jun 7, 2024

Oh, 'rpi.command' is executed fine and find the card. The problem arise with the execution of 'rpi' command.

IMG_1454

Regards

@tjboldt
Copy link
Owner

tjboldt commented Jun 7, 2024

I haven't been able to reproduce the issue the way you're seeing it. I did however find a bug that if you -rpi.command after it's already loaded, it echos back in an infinite loop when you try and use rpi ls after. I assume it's only loaded once (by the startup.bas)?

@polileco
Copy link
Author

polileco commented Jun 7, 2024

I haven't been able to reproduce the issue the way you're seeing it. I did however find a bug that if you -rpi.command after it's already loaded, it echos back in an infinite loop when you try and use rpi ls after. I assume it's only loaded once (by the startup.bas)?

Yes. Letting my tests to bare bone. Only the IO-RPi on slot 6 and using de default drive image from the project.

@tjboldt
Copy link
Owner

tjboldt commented Jun 7, 2024

Okay, put everything exactly the way you have it in slot 6 with no other cards other an extended 80 column card and I see the problem. I'll try and make a fix as soon as possible.

@polileco
Copy link
Author

polileco commented Jun 7, 2024

Okay, put everything exactly the way you have it in slot 6 with no other cards other an extended 80 column card and I see the problem. I'll try and make a fix as soon as possible.

Tks! Let me know if i can help in some way.

With IO-RPi in another slot the problem persist? I can try this weekend.

Regards

tjboldt added a commit that referenced this issue Jun 7, 2024
tjboldt added a commit that referenced this issue Jun 7, 2024
* Fix #172 garbage from RPI.COMMAND

* Update version number
@tjboldt
Copy link
Owner

tjboldt commented Jun 7, 2024

Side note... It was working in slot 7 as that is the default... The code that was setting the slot number on detection was off by 256 bytes because the detection code got bigger and pushing into the next page. I had to fix the offset by one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants