Quantcast
Channel: stardot.org.uk
Viewing all articles
Browse latest Browse all 2528

programming • Re: 11-character filenames?

$
0
0
I made it work, almost.

Code:

$ g++ filename.cc -lfmt && ./a.out "dump    com"approximately 7.173683211104686e+17 possible CP/M filenames with 42 symbolsapproximately 8.392993658683402e+17 possible MOS filenames with 62 symbolsencoded CP/M string is 0x11186691cadae2fencoded MOS filename is 'LUL-?HQ$)F'encoded MOS string is 0x11186691cadae2fdecoded CP/M filename is 'DUMP    COM'
But it only _just_ works. The MOS character set is

Code:

ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!\$^&()_=+[]{};',/<>`~-*#?
and yes, I know that hyphen is problematic on Masters. This allows a CP/M character set of 42 symbols which is smaller than the strictly allowed 51, most of which consist of characters that nobody ever uses.

Statistics: Posted by hjalfi — Mon Aug 26, 2024 9:14 pm



Viewing all articles
Browse latest Browse all 2528

Trending Articles