First post, by keenerb
This might not be the best place for this question...
I'm hoping to stick the floppy disabling code from nofloppy.com into ROM to see if a tandy 1000/TL could boot from an aftermarket high-density floppy controller. Normally having an aftermarket controller installed alongside the onboard FDC causes neither to work unless you boot to a hard drive and run nofloppy.com.
I opened the .com file in a hex editor and thankfully it's only 6 bytes:
NOFLOPPY.COM 0x00000000 100%00000000 B0 F7 E6 65 CD 20 °÷æeÍ
I looked this up in an assembly language reference and determined that B0 F7 is storing F7 into the AL register, and E6 65 is pushing the data from AL register into the port at 65h. That is precisely the end result (F7 into port 65) that was documented as the way to disable the onboard FDC for Tandy TX+ systems.
The decompiled code as I manually wrote:
MOV AL, F7
OUT AL, 65h
The CD 20 is some sort of DOS exit code so I'm ignoring that.
Does that seem correct?