My USB flash drive is in ZIP mode, and I downloaded the latest version of grub from October 7th. After I booted the USB flash drive into DOS and ran grub --config-file=(fd0)/menu.lst, it didn't freeze but directly entered the grub command line mode. It might just be that it can't read the data on the USB flash drive. I read your answer to neiljoy in http://www.cn-dos.net/forum/viewthread.php?tid=22047&fpage=0&highlight=&page=1, and I also did several tests. I hope Mr. Budian can take a look. I can't capture screenshots in DOS, so I can only use the keyboard. I used cat (fd0 to confirm it's the USB flash drive. I used geometry(fd0) to test, and the output result is as follows:
drive 0*0(CHS):C/H/S=80/2/18 SECTOR COUNT/SIZE=208896/512
I used cat --hex(fd0)2879+1 to test and output some hexadecimal data. I can't capture screenshots, so I can only describe. I used cat--hex(fd0)2880+1 to test, and the output result is as follows:
ERROR 20:selected cylinder exceeds maximalm supported by bios
The maximum value should be up to 2879.
The following are tests in debug:
1.
a ; This a is an assembly command
mov AH,8
mov DL,0 ; DL,0 means (fd0). If the USB flash drive is (fd1), here it should be mov DL,1
int 13
int 3
; Here I press the Enter key one more time to end the assembly command
g ; This g means run
The output result is:
AX=0000 BX=0040 CX=4F12 DX=0102 SP=FFEE BP=0000 SI=0000 PI=86C9
DS=1D3C ES=F000 SS=1D3C CS=1D3C IP=0108 NV UP EI NG NZ AC PE NC
2
Test in DOS with debug:
a ; This a is an assembly command
mov AX,201
mov BX,200
mov CX,4F12
mov DX,100
int 13
int 3
The output result is:
AX=0000 BX=0200 CX=4F12 DX=0100 SP=FFEE BP=0000 SI=0000 PI=0000
DS=1D3C ES=1D3C SS=1D3C CS=1D3C IP=010E NV UP EI NG NZ AC PE NC
3
Test in DOS with debug:
a ; This a is an assembly command
mov AX,4100
mov BX,55AA
mov DX,0
int 13
int 3
The output result:
AX=0000 BX=55AA CX=0000 DX=0000 SP=FFEE BP=0000 SI=0000 PI=0000
DS=1D3C ES=1D3C SS=1D3C CS=1D3C IP=010B NV UP EI NG NZ AC PE NC
4
Test in DOS with debug:
a ; This a is an assembly command
mov AX,4800
mov SI,180
mov DX,0
int 13
int 3
The output result is:
AX=0000 BX=55AA CX=0000 DX=0000 SP=FFEE BP=0000 SI=0180 PI=0000
DS=1D3C ES=1D3C SS=1D3C CS=1D3C IP=010B NV UP EI PL ZR NA PE NC
I only did the above tests. Since I typed them in with the keyboard, I don't know if there are any mistakes. I'll test again later. Please, Mr. Budian, take a look. If there are any more tests I need to do, just let me know. Thank you, it's troublesome for you
[ Last edited by yzmj on 2006-10-15 at 01:05 ]
drive 0*0(CHS):C/H/S=80/2/18 SECTOR COUNT/SIZE=208896/512
I used cat --hex(fd0)2879+1 to test and output some hexadecimal data. I can't capture screenshots, so I can only describe. I used cat--hex(fd0)2880+1 to test, and the output result is as follows:
ERROR 20:selected cylinder exceeds maximalm supported by bios
The maximum value should be up to 2879.
The following are tests in debug:
1.
a ; This a is an assembly command
mov AH,8
mov DL,0 ; DL,0 means (fd0). If the USB flash drive is (fd1), here it should be mov DL,1
int 13
int 3
; Here I press the Enter key one more time to end the assembly command
g ; This g means run
The output result is:
AX=0000 BX=0040 CX=4F12 DX=0102 SP=FFEE BP=0000 SI=0000 PI=86C9
DS=1D3C ES=F000 SS=1D3C CS=1D3C IP=0108 NV UP EI NG NZ AC PE NC
2
Test in DOS with debug:
a ; This a is an assembly command
mov AX,201
mov BX,200
mov CX,4F12
mov DX,100
int 13
int 3
The output result is:
AX=0000 BX=0200 CX=4F12 DX=0100 SP=FFEE BP=0000 SI=0000 PI=0000
DS=1D3C ES=1D3C SS=1D3C CS=1D3C IP=010E NV UP EI NG NZ AC PE NC
3
Test in DOS with debug:
a ; This a is an assembly command
mov AX,4100
mov BX,55AA
mov DX,0
int 13
int 3
The output result:
AX=0000 BX=55AA CX=0000 DX=0000 SP=FFEE BP=0000 SI=0000 PI=0000
DS=1D3C ES=1D3C SS=1D3C CS=1D3C IP=010B NV UP EI NG NZ AC PE NC
4
Test in DOS with debug:
a ; This a is an assembly command
mov AX,4800
mov SI,180
mov DX,0
int 13
int 3
The output result is:
AX=0000 BX=55AA CX=0000 DX=0000 SP=FFEE BP=0000 SI=0180 PI=0000
DS=1D3C ES=1D3C SS=1D3C CS=1D3C IP=010B NV UP EI PL ZR NA PE NC
I only did the above tests. Since I typed them in with the keyboard, I don't know if there are any mistakes. I'll test again later. Please, Mr. Budian, take a look. If there are any more tests I need to do, just let me know. Thank you, it's troublesome for you
[ Last edited by yzmj on 2006-10-15 at 01:05 ]
