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

ethernet version of mega65_ftp not working with open-roms #171

Open
gurcei opened this issue Aug 28, 2023 · 1 comment
Open

ethernet version of mega65_ftp not working with open-roms #171

gurcei opened this issue Aug 28, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@gurcei
Copy link
Collaborator

gurcei commented Aug 28, 2023

For occasions when there's no MEGA65.ROM on the sd-card and we jump into open-roms (if it the user choose to load the open-roms by preference), it would be good it the new ethernet mega65_ftp tool could still function with open roms.

The existing serial-bsed mega65_ftp already works with open-roms, so hopefully we can get ethernet-based mega65_ftp working with it too.

@gurcei gurcei added the new New report, not classified yet label Aug 28, 2023
@ki-bo ki-bo added enhancement New feature or request and removed new New report, not classified yet labels Aug 28, 2023
@ki-bo ki-bo self-assigned this Aug 28, 2023
@ki-bo
Copy link
Member

ki-bo commented Jan 5, 2024

As the MEGA65_FTP helper is a C64 program compiled with cc65, the default etherload loading routine that is used by mega65_ftp will try to reset to C64 mode and start the helper afterwards in that environment. This of course doesn't work with the open rom where no real C64 mode is available. But there is another way of starting the helper, without doing a reset first. This would just load the data to the memory at $801 and then do a direct jump to its starting address. I may need to add some more initialisation code to the helper to setup all I/O correctly but should be possible and then be totally independent of the rom. The good thing is the helper doesn't need any ROM routines and also is not using any IRQs. This will make it easier to fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants