中国DOS联盟

-- 联合DOS 推动DOS 发展DOS --

联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum
DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!

中国DOS联盟论坛
现在时间是 2026-07-23 21:22
中国DOS联盟论坛 » DOS启动盘 & LOGO技术 (启动盘室) » 让你的启动盘不一样 查看 1,188 回复 2
楼 主 让你的启动盘不一样 发表于 2006-11-29 09:20 ·  中国 江苏 苏州 电信
新手上路
积分 5
发帖 2
注册 2006-10-14 22:54
19年会员
UID 65781
性别 男
状态 离线
将下面代码用masm编译,生成color.exe 加入到autoexec.bat 可以让你的启动盘不一样。
;color.asm
;9 bright blue; a bright green; b,c,d,e,f
;根据秒数初始化你的dos界面
.model small
.data
.386
.code
start: mov ax,@data
mov ds,ax
mov al,00h
out 70h,al
nop
in al,71h ;get second
and ax,00ffh
cmp ax,07h
jb @F
mov cl,07h
div cl
mov al,ah
@@:
add al,9
mov bh,al
mov cx,0h
mov dx,2479h
mov ax,0600h
int 10h
mov bh,0
mov dx,0
mov ah,02h
int 10h
mov ah,4ch
int 21h
end start

[ Last edited by sparrow1058 on 2006-11-29 at 09:23 AM ]
2 发表于 2006-11-29 09:30 ·  中国 四川 成都 教育网
铂金会员
★★★★
积分 7,493
发帖 2,672
注册 2005-09-02 00:00
20年会员
UID 42173
性别 男
状态 离线
顶啊~~~

C:\>BLOG http://initiative.yo2.cn/
C:\>hh.exe ntcmds.chm::/ntcmds.htm
C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>"
3 发表于 2006-12-01 05:17 ·  中国 福建 福州 马尾区 电信
初级用户
积分 34
发帖 13
注册 2006-11-06 04:16
19年会员
UID 69745
性别 男
状态 离线
呵呵,可以不用买单片机学习了。。楼主这行是高手啊
论坛跳转: