Fixed floppy select bug
This commit is contained in:
@@ -230,7 +230,7 @@ SIGNON1: CALL DPCT
|
|||||||
SIGNON2: LD DE,MSGSON ; Sign on message,
|
SIGNON2: LD DE,MSGSON ; Sign on message,
|
||||||
SIGNON3: LD HL,PRINTMSG
|
SIGNON3: LD HL,PRINTMSG
|
||||||
CALL BKSW0to6
|
CALL BKSW0to6
|
||||||
; JR ST1X
|
; JR ST1X
|
||||||
|
|
||||||
; Initialise SD card, report any errors.
|
; Initialise SD card, report any errors.
|
||||||
LD HL, SDINIT ; SD Card Initialisation
|
LD HL, SDINIT ; SD Card Initialisation
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
; only enable the control registers if a fixed number of reads is made
|
; only enable the control registers if a fixed number of reads is made
|
||||||
; into the upper 8 bytes which normally wouldnt occur. Caveat - ensure
|
; into the upper 8 bytes which normally wouldnt occur. Caveat - ensure
|
||||||
; that no loop instruction is ever placed into EFF8H - EFFFH.
|
; 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
|
;- 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.
|
FDCK: CALL FDCKROM ; Check to see if the Floppy ROM is present, exit if it isnt.
|
||||||
CALL Z,0F000h
|
CALL Z,0F000h
|
||||||
RET ; JP CMDCMPEND
|
RET ; JP CMDCMPEND
|
||||||
FDCKROM: LD A,(0F000h)
|
FDCKROM: LD A,(0F000h)
|
||||||
OR A
|
OR A
|
||||||
RET
|
RET
|
||||||
@@ -157,9 +158,9 @@ L000F: LD DE,MSGBOOTDRV ;
|
|||||||
LD DE,011A3H ;
|
LD DE,011A3H ;
|
||||||
CALL GETL ;
|
CALL GETL ;
|
||||||
LD A,(DE) ;
|
LD A,(DE) ;
|
||||||
CP 01BH ; Check input value is in range 1-4.
|
CP 01BH ; BREAK pressed?
|
||||||
JP Z,SS ;
|
JP Z,SS ;
|
||||||
LD HL,0000CH ;
|
LD HL,19 ; Check input value is in range 1-4.
|
||||||
ADD HL,DE ;
|
ADD HL,DE ;
|
||||||
LD A,(HL) ;
|
LD A,(HL) ;
|
||||||
CP 00DH ;
|
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.
|
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
|
MSGNOTFND: DB "Not Found", 00DH, 000H
|
||||||
MSGRDIRLST: DB "ROM Directory:", 00DH, 000H
|
MSGRDIRLST: DB "ROM Directory:", 00DH, 000H
|
||||||
MSGTRM: DB 00DH, 000H
|
MSGTRM: DB 00DH, 000H
|
||||||
|
|||||||
BIN
roms/SHARP_MZ80A_RFS_IMAGE_0.img
vendored
BIN
roms/SHARP_MZ80A_RFS_IMAGE_0.img
vendored
Binary file not shown.
BIN
roms/rfs.rom
vendored
BIN
roms/rfs.rom
vendored
Binary file not shown.
Reference in New Issue
Block a user