开源 企业版 高校版 私有云 模力方舟 AI 队友
代码拉取完成,页面将自动刷新
捐赠
捐赠前请先登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
1 Star 1 Fork 0

ThirdPartProject/dev86

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
已有帐号? 立即登录
master
分支 (4)
标签 (45)
master
lr-checks
msdos
release
v0.16.21
v0.16.20
v0.16.17
v0.16.18
v0.16.19
v0.16.12
v0.16.13
v0.16.14
v0.16.15
v0.16.16
v0.16.10
v0.16.11
v0.16.8
v0.16.9
v0.16.4
v0.16.5
v0.16.6
v0.16.7
v0.16.1
v0.16.2
克隆/下载
克隆/下载
提示
下载代码请复制以下命令到终端执行
为确保你提交的代码身份被 Gitee 正确识别,请执行以下命令完成配置
初次使用 SSH 协议进行代码克隆、推送等操作时,需按下述提示完成 SSH 配置
1 生成 RSA 密钥
2 获取 RSA 公钥内容,并配置到 SSH公钥
在 Gitee 上使用 SVN,请访问 使用指南
使用 HTTPS 协议时,命令行会出现如下账号密码验证步骤。基于安全考虑,Gitee 建议 配置并使用私人令牌 替代登录密码进行克隆、推送等操作
Username for 'https://gitee.com': userName
Password for 'https://userName@gitee.com': # 私人令牌
贡献代码
同步代码
对比差异 通过 Pull Request 同步
同步更新到分支
通过 Pull Request 同步
将会在向当前分支创建一个 Pull
Request,合入后将完成同步
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
GPL-2.0
This is a development environment for ELKS-86 and standalone 8086 code.
All you need to do is 'make' from the top directory and the main parts
of the package will be made. These can be tested by using the 'ncc'
program from the newly created bin subdirectory. (ncc is a varient of
the bcc driver program that doesn't need to be installed to be used).
Use 'make install' to install them.
Some other bits can be built by 'make other' and installed with
'make install-other'.
Note the the make files for the libraries can only be run using
GNU-make but version 3.82 has a bug (No. 30612) that prevents this
working properly.
If you want it to install under /usr/local instead you can specify
the prefix on the first make ie: 'make PREFIX=/usr/local' this is
remembered until 'make.fil' is rebuilt. 
The manual pages in the man subdirectory are matched to these programs,
there are also some hints for using as86 well. The tests and bootblocks
directories give some example code.
The bcc command defaults to using /usr/lib/bcc/include and /usr/lib/bcc
the libraries _and_ include files are copied to these locations by
install. This can be changed by overriding 'PREFIX=/usr/...' or
'LIBDIR=/usr/...' on the initial make. Also available in the
same way are the BINDIR, INCLDIR, ASLDDIR, MANDIR and ELSESRC.
The 'ELKSSRC=/usr/src/elks' variable can be altered if you have ELKS on
path different from the default or ELKSSRC=/dev/null uses the supplied
ELKS headers. The ASLDDIR variable can be used to move as86 and ld86
into the LIBDIR with 'ASLDDIR=$(LIBDIR)'. The final '/include' is added
to the end of INCLDIR.
In the unlikely event you're makeing a non-cross development environment
you can, on the initial make, do "make PREFIX=/' to have the libraries
and include files in 'Native' locations.
Note: These prefix options only effect the 'bcc.c' driver program and
 the install scripts, all the others get their paths from bcc.c.
 The ELKSSRC location can, however, greatly effect how the ELKS
 libraries are built.
If you don't want to install in the locations specified above there
is also a DIST= argument to make install that is used to specify the
distribution root to install to.
The last option is not to install at all. All the executables in the
bin directory can be moved to whereever you wish except for bcc and ncc.
To use bcc at any other location you can create a symlink from your
new location to the 'ncc' executable and it will be able to find
the libraries in the build directory:
eg:
 cp ar86 elksemu objdump86 $HOME/bin/.
 cp as86 as86_encap ld86 $HOME/bin/.	# Optional.
 ln -s `pwd`/ncc $HOME/bin/bcc
All the versions of the library are built by make; 'normal', 'fast',
'MSDOS', 'standalone' and Linux-i386.
You use the other libraries like this:
 'FAST' 	$ bcc -Mf prog.c -o prog
 Caller saves $ bcc -Mc prog.c -o prog
 MSDOS	$ bcc -Md prog.c -o prog.com
 Standalone	$ bcc -Ms prog.c -o prog.sys
 Linux-i386	$ bcc -Ml prog.c -o prog
The 'Fast' and 'Caller saves' versions alter the function call assember 
in an effort to make it smaller and faster.
The 'MSDOS' version creates _small_ model (64k+64k) COM files. Because
of DOS limitations the filesize is limited to about 65000 bytes but
the BSS and Stack can be upto 64k on top of that.
The 'standalone' version creates executables like normal ELKS a.out
files but with no operating system calls, just BIOS ones. These 
files are suitable for running on a bare machine started by one of
the boot blocks in the bootblocks subdirectory. If you add a '-d'
option to the link stage the a.out header will be removed.
The Linux-i386 version generates static Linux OMAGIC a.out programs,
they need neither elksemu nor a.out shared libraries to run. Unfortunatly
these can no longer be converted to ELF executables as Linux will not
execute unpageable ELF executables. To allow conversion to ELF if you
pass the '-z' flag to 'bcc -Ml' the linker will now create QMAGIC a.out
executables, these are somewhat larger but can be converted with objcopy.
If you want to install everything in one go just login as root an do:
$ make install-all
The as86 and ld86 with this are _different_ from the minimum version
needed for the linux-i386 kernel and can replace them, versions before
0.12.0 will not work with this version of bcc.
I suggest you install the kernel patch or load the module to allow
transparent execution of elks executables. If you're using a post
2.1.43 or 2.0.36 kernel the only module you need is the binfmt_misc
driver configured like this:
echo ':i86-elks:M::\x01\x03\x20\x00:\xff\xff\xff\x83:/usr/bin/elksemu:' \
 > /proc/sys/fs/binfmt_misc/register
The elksemu executable must be stored in /usr/bin/elksemu or the above
line adjusted.
Previous kernel versions need a special module or patch described in
elksemu/README (All the options need the elksemu executable installed
correctly)
Copyrights
----------
The `bcc', 'as' and `ld' parts of the distribution are now covered by
the GPL. The `bccfp' library now in the libc/i386fp directory is under
the LGPL. (Primary copyright holder Bruce Evans)
The contents of the libc and libbsd subdirectories are under the LGPL
with a few noted exceptions. The programs in 'tests', elksemu, copt
and the bootblocks directory are under the GPL. Dis88 is freely
distributable if the source is distributed also. Unproto is freely
distributable as long as Wietse Venema <wietse@wzv.win.tue.nl> and the
"Mathematics and Computing Science Dept. Eindhoven University of
Technology. The Netherlands." is given credit.
In libc the regular expression routine and the printf/scanf functions are
not under LGPL, the former is 'freely distributable' the latter is public
domain.
See the COPYING file in this directory for the GPL and the COPYING file
in the libc directory for the LGPL.
--
Rob. (Robert de Bath <robert$@debath.co.uk>)
举报
举报成功
我们将于2个工作日内通过站内信反馈结果给你!
请认真填写举报原因,尽可能描述详细。
请选择举报类型
取消
发送
误判申诉

此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。

如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。

取消
提交

简介

C compiler, assembler and linker environment for the production of 8086 executables
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
编辑仓库简介
简介内容
主页
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ThirdPartProject/dev86.git
git@gitee.com:ThirdPartProject/dev86.git
ThirdPartProject
dev86
dev86
master
点此查找更多帮助

搜索帮助

评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册

AltStyle によって変換されたページ (->オリジナル) /