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

CP/M: Search other user-numbers (and drives?) for include files #16

Open
Tracked by #5
Kroc opened this issue Oct 4, 2024 · 0 comments
Open
Tracked by #5

CP/M: Search other user-numbers (and drives?) for include files #16

Kroc opened this issue Oct 4, 2024 · 0 comments
Assignees
Labels
cpm The Z80/8080 CP/M 2.2+ platform Z80 Pertaining to Z80, either as the host CPU or the instruction set being used

Comments

@Kroc
Copy link
Owner

Kroc commented Oct 4, 2024

Since we don't have sub-directories in CP/M we could separate core vs. platform vs. library files by user-number (or drive?), so the include directive (.i) should search the other user-numbers if a file can't be found in the current one. A common pattern on CP/M is to store the main program in user 0 so that it's callable from any other user-number. This goes hand-in-hand with adding support for drive-letters [and user-numbers] in file names on CP/M (#9).

@Kroc Kroc added cpm The Z80/8080 CP/M 2.2+ platform Z80 Pertaining to Z80, either as the host CPU or the instruction set being used labels Oct 4, 2024
@Kroc Kroc self-assigned this Oct 4, 2024
@Kroc Kroc mentioned this issue Oct 4, 2024
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cpm The Z80/8080 CP/M 2.2+ platform Z80 Pertaining to Z80, either as the host CPU or the instruction set being used
Projects
None yet
Development

No branches or pull requests

1 participant