Fixed floppy select bug
This commit is contained in:
@@ -230,7 +230,7 @@ SIGNON1: CALL DPCT
|
||||
SIGNON2: LD DE,MSGSON ; Sign on message,
|
||||
SIGNON3: LD HL,PRINTMSG
|
||||
CALL BKSW0to6
|
||||
; JR ST1X
|
||||
; JR ST1X
|
||||
|
||||
; Initialise SD card, report any errors.
|
||||
LD HL, SDINIT ; SD Card Initialisation
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
; only enable the control registers if a fixed number of reads is made
|
||||
; into the upper 8 bytes which normally wouldnt occur. Caveat - ensure
|
||||
; that no loop instruction is ever placed into EFF8H - EFFFH.
|
||||
; Mar 2023 - Fixed Floppy bug where the driver letter entered wasnt recognised.
|
||||
;-
|
||||
;--------------------------------------------------------------------------------------------------------
|
||||
;- This source file is free software: you can redistribute it and-or modify
|
||||
@@ -136,7 +137,7 @@ BPARA EQU 01008H
|
||||
;
|
||||
FDCK: CALL FDCKROM ; Check to see if the Floppy ROM is present, exit if it isnt.
|
||||
CALL Z,0F000h
|
||||
RET ; JP CMDCMPEND
|
||||
RET ; JP CMDCMPEND
|
||||
FDCKROM: LD A,(0F000h)
|
||||
OR A
|
||||
RET
|
||||
@@ -157,9 +158,9 @@ L000F: LD DE,MSGBOOTDRV ;
|
||||
LD DE,011A3H ;
|
||||
CALL GETL ;
|
||||
LD A,(DE) ;
|
||||
CP 01BH ; Check input value is in range 1-4.
|
||||
CP 01BH ; BREAK pressed?
|
||||
JP Z,SS ;
|
||||
LD HL,0000CH ;
|
||||
LD HL,19 ; Check input value is in range 1-4.
|
||||
ADD HL,DE ;
|
||||
LD A,(HL) ;
|
||||
CP 00DH ;
|
||||
|
||||
@@ -455,7 +455,7 @@ ATBL: DB 0CCH ; NUL '\0' (null character)
|
||||
;
|
||||
;--------------------------------------
|
||||
MSGSONTZ: DB "+ TZ" ; Version 2.x with version 2.1+ of tranZPUter board installed.
|
||||
MSGSON: DB "+ RFS ", 0ABh, "2.1a **", 00DH, 000H ; Version 2.x-> as we are now using the v2.x PCB with 4 devices on-board
|
||||
MSGSON: DB "+ RFS ", 0ABh, "2.1b **", 00DH, 000H ; Version 2.x-> as we are now using the v2.x PCB with 4 devices on-board
|
||||
MSGNOTFND: DB "Not Found", 00DH, 000H
|
||||
MSGRDIRLST: DB "ROM Directory:", 00DH, 000H
|
||||
MSGTRM: DB 00DH, 000H
|
||||
|
||||
Reference in New Issue
Block a user