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

Make sure local_chars does not have to be pinned to a specific memory location #66

Open
boeckmann opened this issue Jul 9, 2024 · 3 comments

Comments

@boeckmann
Copy link
Collaborator

No description provided.

@boeckmann
Copy link
Collaborator Author

Code tries to pin it to 0600h, which it cannot. Code also mentiones that this is located at 061Bh in DOS 4. Should be checked by inspecting MS-DOS 2 and 4 source code / memory map.

@ecm-pushbx
Copy link

Screenshot_20240709-234751

In msbio.tls there is a variable at 61Bh. I presume this is the one we're looking for.

@ecm-pushbx
Copy link

Variable definition: https://hg.pushbx.org/ecm/msdos4/file/e58e166f626e/src/BIOS/MSBDATA.INC#l668

Uses in this file at the indicated spot and several more: https://hg.pushbx.org/ecm/msdos4/file/e58e166f626e/src/BIOS/MSCON.ASM#l70

Variable definition and some uses: https://hg.pushbx.org/ecm/edrdos/file/bda60c09a545/drbio/init.asm#l660

More uses: https://hg.pushbx.org/ecm/edrdos/file/bda60c09a545/drbio/console.asm#l134

In EDR-DOS there are two bytes used as content then flag. In MS-DOS the one single byte is used as both.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants