Compare commits

...

1 Commits

Author SHA1 Message Date
Wayne Warthen
5610e79db4 Improve FD Driver Detection
Credit to Martin R for reporting that his FDC was not being detected.  The delay between FDC status register reads was increased in the detection routine to correct this.
2023-08-22 15:22:11 -07:00
3 changed files with 5 additions and 3 deletions

View File

@@ -818,7 +818,9 @@ FD_DETECT:
RET ; NOPE, ABORT WITH ZF=NZ
;
FD_DETECT1:
CALL DLY32 ; WAIT A BIT FOR FDC
;CALL DLY32 ; WAIT A BIT FOR FDC
LD DE,150 ; DELAY: 16us * 150 = 2.4ms
CALL VDELAY
IN A,(FDC_MSR) ; READ MSR AGAIN
;CALL PC_SPACE ; *DEBUG*
;CALL PRTHEXBYTE ; *DEBUG*

View File

@@ -2,7 +2,7 @@
#DEFINE RMN 3
#DEFINE RUP 0
#DEFINE RTP 0
#DEFINE BIOSVER "3.3.0-dev.45"
#DEFINE BIOSVER "3.3.0-dev.46"
#define rmj RMJ
#define rmn RMN
#define rup RUP

View File

@@ -3,5 +3,5 @@ rmn equ 3
rup equ 0
rtp equ 0
biosver macro
db "3.3.0-dev.45"
db "3.3.0-dev.46"
endm