From a quick look, it seems that PocketDOS is based on an Intel 80186 emulation. 80186 does not support 32 bit protected mode, so you won't even be able to run DJPP (which is a GCC implementation for DOS) on it since that requires a DOS extender (DPMI) to support 32bit protected mode code. An 80186 is essentially an 8086 with integrated on chip peripherals such as interrupt and DMA controllers.
I don't think you will be able to do this. You will need a 16bit real-mode DOS compiler.
Directly, under ELKS, you can't - because there's no compiler ported to ELKS, as far as I'm aware (2023).
You can, however, develop programs for ELKS on another 32bit computer (and probably also on 64bit), using the dev tools used to build ELKS (presently fork of gcc-ia16; previously bcc).
发布评论
评论(2)
乍一看,PocketDOS 似乎是基于 Intel 80186 仿真的。 80186 不支持 32 位保护模式,因此您甚至无法在其上运行 DJPP(这是 DOS 的 GCC 实现),因为这需要 DOS 扩展器 (DPMI) 来支持 32 位保护模式代码。 80186 本质上是集成了片上外设(例如中断和 DMA 控制器)的 8086。
我不认为你能够做到这一点。您将需要一个 16 位实模式 DOS 编译器。
From a quick look, it seems that PocketDOS is based on an Intel 80186 emulation. 80186 does not support 32 bit protected mode, so you won't even be able to run DJPP (which is a GCC implementation for DOS) on it since that requires a DOS extender (DPMI) to support 32bit protected mode code. An 80186 is essentially an 8086 with integrated on chip peripherals such as interrupt and DMA controllers.
I don't think you will be able to do this. You will need a 16bit real-mode DOS compiler.
直接,在 ELKS 下,你不能 - 因为据我所知(2023 年),没有编译器移植到 ELKS。
但是,您可以使用用于构建 ELKS 的开发工具(目前是 gcc-ia16 的分支;以前是 bcc),在另一台 32 位计算机(也可能在 64 位计算机上)上开发 ELKS 程序。
Directly, under ELKS, you can't - because there's no compiler ported to ELKS, as far as I'm aware (2023).
You can, however, develop programs for ELKS on another 32bit computer (and probably also on 64bit), using the dev tools used to build ELKS (presently fork of gcc-ia16; previously bcc).