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

MEGA65: hyppo HDOS virtualization #331

Open
lgblgblgb opened this issue Mar 23, 2022 · 1 comment · Fixed by #336
Open

MEGA65: hyppo HDOS virtualization #331

lgblgblgb opened this issue Mar 23, 2022 · 1 comment · Fixed by #336
Assignees

Comments

@lgblgblgb
Copy link
Owner

lgblgblgb commented Mar 23, 2022

As started within the "decent hyppo" project (#140) now let's be a bit more specific and focus on this task here. Some HDOS virtualization is already done, however it should be extended for all currently implemented HDOS traps which is something to do with filesystem. Initially, probably the ones used by BASIC65.

HDOS functions used by MEGA65 'closed' ROM

(the original list with ROM syms and IDs are from BitShifter)

ROM NAME hdos func ID Xemu virtualization status
HYV_CHDIR chdir $0C
HYV_OPENDIR opendir $12 hdos_virt_opendir()
HYV_READDIR readdir $14 hdos_virt_readdir()
HYV_CLOSDIR closedir $16 hdos_virt_close_dir_or_file()
HYV_SETNAME setname $2E half-virtualized, since I always need to know the name set, but hyppo should, as well
HYV_FIND_DE findfile $34
HYV_DLOAD loadfile $36 hdos_virt_loadfile(0) argument is base-addr, since the same can be used for attic
HYV_MOUNT_0 d81attach0 $40 hdos_virt_mount(0)
HYV_UNMOUNT d81detach $42
HYV_MOUNT_1 d81attach1 $46 hdos_virt_mount(1)
@lgblgblgb
Copy link
Owner Author

lgblgblgb commented Mar 23, 2022

Some already ready work, can be seen above (as part of #140) are: eead98d f1fb78c 2290db0 cf92da5

lgblgblgb added a commit that referenced this issue Mar 26, 2022
At this stage it's primarly useful for using closed-ROM's DLOAD"..",U12
feature, so with HDOS virtualization enabled, it's possible to load a
file outside of a D81 from BASIC65 directly.
@lgblgblgb lgblgblgb linked a pull request Apr 26, 2022 that will close this issue
@lgblgblgb lgblgblgb reopened this Apr 26, 2022
@lgblgblgb lgblgblgb moved this to In Progress in MEGA65 emulator project Oct 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

1 participant