使用CP/M-86进行一些实验。重点是PC上的IBM XT CP/M-86和衍生物。但是大多数工具可与Just4Fun V20-MBC SBC一起使用。
CP/M-86 DOC,来源和二进制文件的来源是http://www.cpm.z80.de。
可以在https://github.com/tsupplis/cpm86-kernel上获得清理分配和内核。此发行版在虚拟环境中运行良好,并用所有已知的补丁(Y2K'友好)修补(其中包含TOD的版本中,该项目中有哪些来源)和友好。
INF: Usage: ls [-h] | [-a] [-p] [-s|-r] [-l|-b] filepat
INF: File listing utility
INF: where filepat is [user/]filespec with wildcard
INF: -h for help
INF: -a for all files (including system)
INF: -p for for pausing one screen at a time
INF: -s for alphabetic sorting
INF: -r for reverse alphabetic sorting
INF: -l for long listing
INF: -b for basic listing
INF: Usage: rm [-h] | [-a][-i] filepat
INF: File delete utility
INF: where filepat is [user/]filespec with wildcard
INF: -h for help
INF: -a to include both dir and sys files
INF: -i for user validation per file
INF: -f force file deletion even if read only
INF: Usage: more -h | [infile]
INF: File paging utility
INF: where infile is [user/]filespec
INF: -h for help
INF: Usage: write -h | [-a] filename
INF: File write/create utility
INF: where filename is [user/]filespec
INF: -h for help
INF: -a to happen to existing file
(用于完成输入的CTRL-C或CTRL-Z)
INF: Usage: dump -h | [-p][-r] [infile]
INF: Hexa file dump utility
INF: where infile is [user/]filespec
INF: -h for help
INF: -p pausing every page
INF: -r raw output
INF: Usage: mode -h | option option ...
INF: Console configuration utility
INF: -h for help
INF: and options:
INF: cls Clear screen
INF: cursor=on Show cursor
INF: cursor=off Hide cursor
INF: statln=on Show status line
INF: statln=off Hide status line
INF: status= Set status line message
INF: fg= Set foreground color (1-F)
INF: bg= Set background color (1-F)
INF: Usage: touch [-h] | filespec
INF: Empty file creation utility
INF: -h for help
INF: Usage: wc [-h] | [-a] filepat [filepat] ...
INF: File word/line/character count utility
INF: where filepat is [user/]filespec with wildcard
INF: -h for help
INF: -a to include both dir and sys files
INF: Usage: printenv [-h]
INF: Display environment variables
INF: -h for help
对于状态,( s:space,\:, u:upper, l:下)
atinit,rtcinit和pceinit工具提供了一个快速配置转储,等同于CP/M-86 1.1启动上显示的内容
CP/M-86 1.1, BDO 2.2
Hardware Configuration:
- System Memory: 640Kb
- Available Memory: 607Kb
- Math Coprocessor: No
- Floppy Drive(s): 2
- Hard Disk(s): 1
- Parallel Port(s): 1
- Serial Port(s): 2
Date now: 2021-9-27 22:17:39.0
所有C工具(RM,LS,模式,更多,写入,转储)都受益于AZTEC C的文件规范模式:[用户]/[驱动器]:[FILESPEC]。也支持基本<文件和>文件重定向。
除非另有说明,否则所有工具都在处理
对于以下OS,只有文件工具运行良好。通常禁止与BIOS相互作用(Atinit/Attime和Pceinit/PCETIME)...
这些OS在软盘和高清图像上在PCE上效果非常好。该仿真器很简单,很小并且可以享用。极好的...


LINK86 Linkage Editor 02/Feb/87 Version 2.02
Cross Linker: DOS -> CPM-86 & CDOS-286 1/2/86
RASM-86 Assembler 12-Mar-87 PC-DOS Version 1.4a
对于基本的跨开发环境,请查看(https://github.com/tsupplis/cpm86-crossdev)。
还提供了一些针对DOS(AZTEC 3.4)和CP/M-86(AZTEC 3.2)的提交/批次脚本。
尽管是一个非常原始的操作系统(在某些情况下实际上是原始的……例如,没有时间管理,例如,没有时间管理),但可以使用几个好的工具来做很多事情:
这个微小的操作系统最酷的事情是它有多小。我从不在PCE VM上配置超过128K,并且一个人可以作为爱好者扮演。如前所述,它也可以与Just4fun V20-MBC SBC(https://hackaday.io/project/170924-V20-MBC-A-A-V20-808-808-808080-CPU-霍姆布啤酒委员会)一起使用。很酷的另一件事:它符合上面的TOD替换和一个小的视觉骇客。是的,没有日期管理...
它使MS-DOS的早期来源具有吸引力。 MS-DOS 2.X比CP/M-86更灵活,并且具有更大的生态系统。这使它更多地是一个挑战;-)
DR工具可通过(http://www.cpm.z80.de/binary.html)和许多其他来源获得。我在一个非常详尽的丹麦网站上发现了涡轮Pascal和Poly Pascal的最后一个版本,该网站的重点是RC700系列计算机,这些计算机也是由PCE模仿的。它们不兼容PC,但Pascal都是通用的,并且在基于IBM PC的CP/M-86家族上工作。
但是,需要使用以下定义使用CPMTool从磁盘图像中提取文件:
diskdef rc75x
seclen 1024
tracks 154
sectrk 8
blocksize 2048
maxdir 512
boottrk 4
os 3
end
Turbo Pascal 3.01A是CP/M-86上的最后一个发行(不要忘记使用Tinst配置它),并且使用英语。 Poly Pascal也使用英语,但消息文件和在线帮助在丹麦语中。翻译它们没什么大不了的。 Poly Pascal实际上是涡轮上的双胞胎,兄弟姐妹或祖先。有点酷玩它。
宏汇编器,C,Pascal,结构基本...我们还需要什么?
可以使用DOS仿真(EMU2,PCE)或使用杂交OS进行交叉汇编
...运行上面的所有工具(包括其DOS和CP/M版本),您可以直接测试CMD二进制文件。
不幸的是,存在一些DOS的CP/M-86仿真器(AME86.EXE,CPM86.EXE),不幸的是,它们的来源不会在任何地方看到,并且它们需要一些维护。只有基本计划才能起作用。
最后,也可以完成使用ASM86和GENMD的组装,但需要在CP/M环境(可以使用CP/M-80或CPM-86衍生物)上进行组装。
虽然在工具方面有点缺乏……所以我会一点点搬运工具。
仍然是一个有趣的发现和考古学...