China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-07-31 23:53
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » Moderator Wengier, here's the DOS version source code you wanted [Original] View 1,266 Replies 2
Original Poster Posted 2003-06-22 00:00 ·  中国 台湾 远传电信
元老会员
★★★★★
Credits 8,312
Posts 3,551
Joined 2003-03-22 00:00
23-year member
UID 1225
Gender Male
Status Offline
I've posted it for you. I just made a slight modification, following your suggestion, and added the GNU GPL. The editor I used was TUBRO C 2.0

#include
#include
void main(void)
{
int ver,high,low;
clrscr();
ver=bdos(0x30,0,0);
high=(ver >>8)& 0x00ff;
low=(ver &0x00ff);
puts("This software is GNU GPL,Write By Dark-Destroy,2003";
printf("MS-DOS Version : %d.%d\n",low,high);
}


MSN:tiqit2@hotmail.com
Floor 2 Posted 2003-06-23 00:00 ·  加拿大 安大略省 多伦多
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Really short and tiny...
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 3 Posted 2003-06-23 00:00 ·  中国 台湾 远传电信
元老会员
★★★★★
Credits 8,312
Posts 3,551
Joined 2003-03-22 00:00
23-year member
UID 1225
Gender Male
Status Offline
Otherwise, how big did you think it would be??
MSN:tiqit2@hotmail.com
Forum Jump: