|
tianmian
初级用户
 
积分 100
发帖 41
注册 2007-12-6
状态 离线
|
『第 16 楼』:
使用 LLM 解释/回答一下
改回“c:\intel\netbind.com”了,运行debug测试,d180之后,没出现xxxx:0183H,右边也没"PKT DRVR"字符;
Protocol.ini为
[protman]
drivername=PROTMAN$
[pktdrv]
drivername=PKTDRV$
bindings=nic
intvec=0x60
chainvec=0x66
[nic]
DriverName=RTSND$
;MaxMultiCasts=10
;TxBuffers=4
;RxBuffers=4
;Medium=_100Full
测试环境存dos
对于打印输出的问题,有执行 “InitSystem()”函数
Changed back to "c:\intel\netbind.com", run debug test, after d180, no "xxxx:0183H" appeared, and no "PKT DRVR" characters on the right;
Protocol.ini is
drivername=PROTMAN$
drivername=PKTDRV$
bindings=nic
intvec=0x60
chainvec=0x66
DriverName=RTSND$
;MaxMultiCasts=10
;TxBuffers=4
;RxBuffers=4
;Medium=_100Full
Test environment is DOS
Regarding the problem of print output, the "InitSystem()" function has been executed
|
|
2008-1-16 18:52 |
|
|
tianmian
初级用户
 
积分 100
发帖 41
注册 2007-12-6
状态 离线
|
『第 17 楼』:
使用 LLM 解释/回答一下
这么说我的网卡驱动是肯定没起来了
So it means my network card driver definitely hasn't started.
|
|
2008-1-16 19:05 |
|
|
tianmian
初级用户
 
积分 100
发帖 41
注册 2007-12-6
状态 离线
|
『第 18 楼』:
使用 LLM 解释/回答一下
再请教一个问题,dos下网络IP地址怎么设置
Then ask another question, how to set the network IP address under DOS
|
|
2008-1-16 19:06 |
|
|
firstsail
高级用户
   
积分 668
发帖 295
注册 2005-7-26 来自 广东深圳
状态 离线
|
『第 19 楼』:
搞错地方了!
使用 LLM 解释/回答一下
有没有加载成功“Packet Driver”最简单的方法就是用debug程序查看60H中断向量的内容有没有"PKT DRVR"的字符串
(1)第一步,在DOS命令行下执行“Debug”
(2)第二步,键入“d180”后回车,
(3)第三步,注意xxxx:0180指示的连续四个字节jj kk mm nn,如果是00 00 00 00,则没有加载成功,否则第四步
(4)第四步,键入d nnmm:kkjj回车(注:nn mm kk jj是第三步时的结果)
(5)第五步,查看在屏幕右边有没有"PKT DRVR"的字符串,如果有则加载成功了,否则没有加载成功
Originally posted by tianmian at 2008-1-16 19:06:
再请教一个问题,dos下网络IP地址怎么设置
在WinSail的私有Config.Sys文件的“Netcard”段的“My_IP”键值指定
My_IP = 169.254.82.133
Last edited by firstsail on 2008-1-16 at 07:15 PM ]
Is there the simplest way to check if "Packet Driver" is loaded successfully? It is to use the debug program to check whether the content of the 60H interrupt vector has the string "PKT DRVR".
(1) The first step, execute "Debug" under the DOS command line.
(2) The second step, type "d180" and press Enter.
(3) The third step, pay attention to the consecutive four bytes jj kk mm nn indicated by xxxx:0180. If it is 00 00 00 00, it is not loaded successfully; otherwise, the fourth step.
(4) The fourth step, type d nnmm:kkjj and press Enter (note: nn mm kk jj is the result of the third step).
(5) The fifth step, check whether there is the string "PKT DRVR" on the right side of the screen. If there is, it is loaded successfully; otherwise, it is not loaded successfully.
Originally posted by tianmian at 2008-1-16 19:06:
Another question, how to set the network IP address under DOS
In the private Config.Sys file of WinSail, specify the key value "My_IP" in the "Netcard" section.
My_IP = 169.254.82.133
Last edited by firstsail on 2008-1-16 at 07:15 PM ]
|
|
2008-1-16 19:09 |
|
|
tianmian
初级用户
 
积分 100
发帖 41
注册 2007-12-6
状态 离线
|
『第 20 楼』:
使用 LLM 解释/回答一下
d180在右边确实没出现PKT DRVR字样,但在启动的时候有提示Ethernet address 00e04cf...等等字样。
d180 does not indeed show the PKT DRVR word on the right, but there are prompts like Ethernet address 00e04cf... etc. when booting.
|
|
2008-1-16 19:14 |
|
|
firstsail
高级用户
   
积分 668
发帖 295
注册 2005-7-26 来自 广东深圳
状态 离线
|
『第 21 楼』:
不是“u nnmm:kkjj”,而时“d nnmm:kkjj”了!
使用 LLM 解释/回答一下
有没有加载成功“Packet Driver”最简单的方法就是用debug程序查看60H中断向量的内容有没有"PKT DRVR"的字符串
(1)第一步,在DOS命令行下执行“Debug”
(2)第二步,键入“d180”后回车,
(3)第三步,注意xxxx:0180指示的连续四个字节jj kk mm nn,如果是00 00 00 00,则没有加载成功,否则第四步
(4)第四步,键入d nnmm:kkjj回车(注:nn mm kk jj是第三步时的结果)
(5)第五步,查看在屏幕右边有没有"PKT DRVR"的字符串,如果有则加载成功了,否则没有加载成功
Quote:
Originally posted by tianmian at 2008-1-16 19:06:
再请教一个问题,dos下网络IP地址怎么设置
在WinSail的私有Config.Sys文件的“Netcard”段的“My_IP”键值指定
[Netcard]
My_IP = 169.254.82.133
The simplest way to check if "Packet Driver" is loaded successfully is to use the debug program to check if the content of the 60H interrupt vector has the string "PKT DRVR".
(1) The first step is to execute "Debug" under the DOS command line.
(2) The second step is to type "d180" and press Enter.
(3) The third step is to pay attention to the consecutive four bytes jj kk mm nn indicated by xxxx:0180. If it is 00 00 00 00, it is not loaded successfully; otherwise, the fourth step.
(4) The fourth step is to type d nnmm:kkjj and press Enter (note: nn mm kk jj is the result in the third step).
(5) The fifth step is to check if there is the string "PKT DRVR" on the right side of the screen. If yes, it is loaded successfully; otherwise, it is not loaded successfully.
Quote:
Originally posted by tianmian at 2008-1-16 19:06:
Ask another question, how to set the network IP address under DOS
In the private Config.Sys file of WinSail, specify the "My_IP" key value in the "Netcard" segment
My_IP = 169.254.82.133
|
|
2008-1-16 19:18 |
|
|
tianmian
初级用户
 
积分 100
发帖 41
注册 2007-12-6
状态 离线
|
『第 22 楼』:
使用 LLM 解释/回答一下
这么看来是没有网卡驱动没加载成功,因为jj,kk,mm,nn的位置全为0
So it seems that the network card driver was not loaded successfully, because the positions of jj, kk, mm, nn are all 0
|
|
2008-1-16 19:18 |
|
|
firstsail
高级用户
   
积分 668
发帖 295
注册 2005-7-26 来自 广东深圳
状态 离线
|
『第 23 楼』:
使用 LLM 解释/回答一下
Originally posted by tianmian at 2008-1-16 19:14:
d180在右边确实没出现PKT DRVR字样,但在启动的时候有提示Ethernet address 00e04cf...等等字样。
(1)显示了NIC地址,只能说明加载了NDIS驱动
(2)只有执行了NetBind.Com程序后才能将NDIS真正转成Packet驱动,注意Protman.Exe与NetBind.Com文件须同一目录
NDIS驱动是软微公司提出的网络协议接口标准
Packet驱动是由xxxx公司提出的网络协议接口标准
IPX驱动是由Novel公司提出的网络协议接口标准
Last edited by firstsail on 2008-1-18 at 09:58 AM ]
Originally posted by tianmian at 2008-1-16 19:14:
The d180 does not indeed show the "PKT DRVR" on the right, but there are prompts like "Ethernet address 00e04cf..." during startup.
(1) Displaying the NIC address can only indicate that the NDIS driver is loaded.
(2) Only after executing the NetBind.Com program can the NDIS be truly converted into a Packet driver. Note that the Protman.Exe and NetBind.Com files must be in the same directory.
NDIS driver is a network protocol interface standard proposed by Microsoft.
Packet driver is a network protocol interface standard proposed by xxxx company.
IPX driver is a network protocol interface standard proposed by Novel company.
Last edited by firstsail on 2008-1-18 at 09:58 AM ]
|
|
2008-1-16 19:21 |
|
|
tianmian
初级用户
 
积分 100
发帖 41
注册 2007-12-6
状态 离线
|
『第 24 楼』:
使用 LLM 解释/回答一下
那问题应该是出在netbind上,该怎么解决呢
Then the problem should be with netbind. How to solve it
|
|
2008-1-16 19:25 |
|
|
firstsail
高级用户
   
积分 668
发帖 295
注册 2005-7-26 来自 广东深圳
状态 离线
|
『第 25 楼』:
直接使用Packet驱动
使用 LLM 解释/回答一下
您如果是8139网卡的话,则可直接在DOS命令行下执行“RtsPkt.Com 0x60”,从而加载Packet驱动程序,在Sail3000\Internet\Other目录中可以找到该文件,如果加载成功,会显示NIC地址xx:xx:xx:xx:xx,然后才用Sail3000的“QQ聊天窒”试一试
Last edited by firstsail on 2008-1-16 at 07:30 PM ]
If you are using an 8139 network card, you can directly execute "RtsPkt.Com 0x60" in the DOS command line to load the Packet driver. You can find this file in the Sail3000\Internet\Other directory. If the loading is successful, the NIC address xx:xx:xx:xx:xx will be displayed, and then try the "QQ Chat Room" of Sail3000.
Last edited by firstsail on 2008-1-16 at 07:30 PM ]
|
|
2008-1-16 19:26 |
|
|
tianmian
初级用户
 
积分 100
发帖 41
注册 2007-12-6
状态 离线
|
『第 26 楼』:
使用 LLM 解释/回答一下
那这样一个东西可以加载到autoexec.bat中去吗?我用的是realteck的8139网卡,按照你在parcket driver说明文件里面去加载怎么就出错呢?
Can such a thing be loaded into autoexec.bat? I'm using a realteck 8139 network card. Why does it go wrong when I load it according to the parcket driver instruction file you provided?
|
|
2008-1-16 19:31 |
|
|
firstsail
高级用户
   
积分 668
发帖 295
注册 2005-7-26 来自 广东深圳
状态 离线
|
『第 27 楼』:
使用 LLM 解释/回答一下
Originally posted by tianmian at 2008-1-16 19:31:
那这样一个东西可以加载到autoexec.bat中去吗?我用的是realteck的8139网卡,按照你在parcket driver说明文件里面去加载怎么就出错呢?
如果你直接执行“Rtspkt.Com”的话,则C盘根目录下的Config.Sys和“autoexec.bat”这样修改
Config.Sys文件如下
device=c:\windows\himem.sys/testmem:off
device=c:\windows\emm386.exe noems novcpi
rem devicehigh=c:\intel\protman.dos /i:c:\intel\RTL81xx
rem devicehigh=c:\intel\dis_pkt.dos
rem devicehigh=c:\intel\RTL81xx\Rtsnd.dos
dos=high,umb
stacks=12,256
files=30
autoexec.bat文件如下 :
path c:\windows;c:\windows\command
lh smartdrv
rem c:\intel\netbind.com
lh c:\sail3000\internet\other\rtspkt 0x60
上面的rtspkt.com文件所在目录请根据实际情况修改
Last edited by firstsail on 2008-1-16 at 07:41 PM ]
Originally posted by tianmian at 2008-1-16 19:31:
Can such a thing be loaded into autoexec.bat? I'm using a realteck 8139 network card. Why does it go wrong when I follow the loading instructions in the parcket driver instruction file?
If you directly execute "Rtspkt.Com", then modify Config.Sys and "autoexec.bat" in the root directory of drive C as follows
The Config.Sys file is as follows
device=c:\windows\himem.sys/testmem:off
device=c:\windows\emm386.exe noems novcpi
rem devicehigh=c:\intel\protman.dos /i:c:\intel\RTL81xx
rem devicehigh=c:\intel\dis_pkt.dos
rem devicehigh=c:\intel\RTL81xx\Rtsnd.dos
dos=high,umb
stacks=12,256
files=30
The autoexec.bat file is as follows:
path c:\windows;c:\windows\command
lh smartdrv
rem c:\intel\netbind.com
lh c:\sail3000\internet\other\rtspkt 0x60
Please modify the directory where the above rtspkt.com file is located according to the actual situation
Last edited by firstsail on 2008-1-16 at 07:41 PM ]
|
|
2008-1-16 19:40 |
|
|
tianmian
初级用户
 
积分 100
发帖 41
注册 2007-12-6
状态 离线
|
『第 28 楼』:
使用 LLM 解释/回答一下
我吧config.sys中关于网卡配置的全去掉了,运行sail3000成功了;
有一个问题是不是加载了winsail之后就不能用printf函数了?我感觉winsail不太稳定,程序运行的时候一会行,一会不行
I removed all the network card configuration in config.sys, and sail3000 ran successfully; There is a question: After loading winsail, can't use the printf function? I feel that winsail is not very stable, and the program works sometimes and sometimes not.
|
|
2008-1-16 19:54 |
|
|
firstsail
高级用户
   
积分 668
发帖 295
注册 2005-7-26 来自 广东深圳
状态 离线
|
『第 29 楼』:
使用 LLM 解释/回答一下
Originally posted by tianmian at 2008-1-16 19:54:
我吧config.sys中关于网卡配置的全去掉了,运行sail3000成功了;
有一个问题是不是加载了winsail之后就不能用printf函数了?我感觉winsail不太稳定,程序运行的时候一会行,一会不行
使用网络功能,系统内存最起码要在“8M”以上
在16色下能用printf函数,但在256色不能使用printf函数,可使用图形方式的显示函数ChPrintf()代替。
WinSail所有的中文显示,都是通过调用ChPrintf()函数实现的
(1)在屏幕的x = 100, y = 50处用“笔画为白色,底色为红色,显示“我正在学习WinSail”,文字放大数为1倍,则
::ChPrintf(100, 50, WHITE, RED, 1, 1, "我正在学习WinSail");
(2)在屏幕的x = 100, y = 50处用“笔画为白色,底色透明,显示“我正在学习WinSail”,文字放大数为1倍,则
::ChPrintf(100, 50, WHITE, RED, 1, 0, "我下在学习WinSail");
(3)在屏幕的x = 100, y = 50处用“笔画为白色,底色为红色,显示“我正在学习WinSail”,文字放大数为2倍,则
::ChPrintf(100, 50, WHITE, RED, 2, 1, "我正在学习WinSail");
Last edited by firstsail on 2008-1-16 at 08:08 PM ]
Originally posted by tianmian at 2008-1-16 19:54:
I removed all the network card configuration in config.sys, and sail3000 ran successfully;
There is a question, can't you use the printf function after loading winsail? I feel that winsail is not very stable, and the program works sometimes and sometimes not
To use network functions, the system memory should be at least "8M" or more
The printf function can be used in 16-color mode, but it cannot be used in 256-color mode. The graphic mode display function ChPrintf() can be used instead.
All Chinese displays in WinSail are implemented by calling the ChPrintf() function
(1) Display "I am learning WinSail" at x = 100, y = 50 on the screen with white stroke, red background, and text magnification factor of 1 time, then
::ChPrintf(100, 50, WHITE, RED, 1, 1, "I am learning WinSail");
(2) Display "I am learning WinSail" at x = 100, y = 50 on the screen with white stroke, transparent background, and text magnification factor of 1 time, then
::ChPrintf(100, 50, WHITE, RED, 1, 0, "I am learning WinSail now");
(3) Display "I am learning WinSail" at x = 100, y = 50 on the screen with white stroke, red background, and text magnification factor of 2 times, then
::ChPrintf(100, 50, WHITE, RED, 2, 1, "I am learning WinSail");
Last edited by firstsail on 2008-1-16 at 08:08 PM ]
|
|
2008-1-16 20:01 |
|
|
firstsail
高级用户
   
积分 668
发帖 295
注册 2005-7-26 来自 广东深圳
状态 离线
|
『第 30 楼』:
不要执行UCDOS
使用 LLM 解释/回答一下
(1)执行WinSail前,不能执行UCDOS、Pdos95等等
(2)为了节省内存,在Autoexec.bat中不要执行smartdrv.exe程序
(3)不能在Bc31综合环境中执行WinSail
(4)启动DOS后,在DOS命令中键入“mem/c/p”查看常规内存的大小
最好有“550K”以上
Last edited by firstsail on 2008-1-16 at 08:14 PM ]
(1) Before executing WinSail, you should not execute UCDOS, Pdos95, etc.
(2) To save memory, do not execute the smartdrv.exe program in Autoexec.bat.
(3) You cannot execute WinSail in the Bc31 integrated environment.
(4) After booting into DOS, type "mem/c/p" in the DOS command to check the size of conventional memory. It is best to have more than "550K".
Last edited by firstsail on 2008-1-16 at 08:14 PM ]
|
|
2008-1-16 20:05 |
|