
Can anyone tell me how to install grub on a FAT12 1.44M FD?
Yes, that is possible, because System control port also contains a reset bit and sometimes on reading it mistaken read to '1' (which should reset CPU). Well, I don't remember well everything that I read, but port 0x92 is used to enable A20 in some version of linux, so I think it can be trustedAlfaOmega08 wrote:When I've changed the A20 code for keyboard with the one for the port 0x92, VPC enter in an infinite loop after the A20 enabling, without any error message. Bha...
Code: Select all
EnableA20:
PUSH ax
CLI
IN al, 0x92
TEST al, 02h
JNZ ea20_Success
OR al, 02h
AND al, 0xFE
OUT 0x92, al
IN al, 0x92
TEST al, 02h
JNZ ea20_Success
JMP ea20_Fail
ea20_Success: ;say 'A20 enabled' and return
ea20_Fail: ;blah, try some other way :(
Code: Select all
MOV ESP, _sys_stack