Skip to content

Implement DOS $23 (GET FILE SIZE USING FCB)#138

Open
johnsonjh wants to merge 1 commit into
masterfrom
20260523/johnsonjh/fcbsize
Open

Implement DOS $23 (GET FILE SIZE USING FCB)#138
johnsonjh wants to merge 1 commit into
masterfrom
20260523/johnsonjh/fcbsize

Conversation

@johnsonjh

@johnsonjh johnsonjh commented May 23, 2026

Copy link
Copy Markdown
Collaborator

Needed for version 1.4 of the CP/M-86 emulator get query exact file sizes.

See tsupplis/cpm86-crossdev#2 for the saga - the CP/M-86 emulator is there as well as the CP/M-86 lrbc.cmd test program.

I've verified that the CP/M-86 emulator running my lrbc.cmd test program under emu2 with this $23 implementation now matches the behavior of lrbc.cmd on actual CP/M-86 and DOS-PLUS.

Needed for version 1.4 of the CP/M-86 emulator get query exact file sizes.

Signed-off-by: Jeffrey H. Johnson <johnsonjh.dev@gmail.com>
@johnsonjh

johnsonjh commented May 23, 2026

Copy link
Copy Markdown
Collaborator Author

@dmsc I did my best to maintain your code style and it should be fine, but let me know if you want any tweaks. I think this is the only FCB-related DOS function that was missing in emu2. This missing function was never noticed before in @tsupplis project because I had to fix the 30 year old bugs in the CP/M-86 emulator first! 😠

@johnsonjh johnsonjh changed the title Implement DOS $23 (GET FILE SIZE USING FCB) Implement DOS $23 (GET FILE SIZE USING FCB) May 23, 2026
@johnsonjh johnsonjh marked this pull request as draft May 23, 2026 20:58
@johnsonjh johnsonjh marked this pull request as ready for review May 23, 2026 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants