убран баг со чтением/записью FDD (не в этом коммите, делал hotfix)

This commit is contained in:
Tolik 2025-04-14 01:07:43 +10:00
parent 4caee04133
commit df27d443e2

View File

@ -147,6 +147,7 @@ FDD_5x_RESET: CALL SAVE_INTERRUPTS.switch_off
CALL SET_DOS_ON CALL SET_DOS_ON
CALL S_FDD CALL S_FDD
CALL DISK_ID CALL DISK_ID
CALL SAVE_INTERRUPTS.restore
JR C,.MOTOR_OFF JR C,.MOTOR_OFF
; ;
CALL RESWG CALL RESWG
@ -170,8 +171,8 @@ FDD_5x_RESET: CALL SAVE_INTERRUPTS.switch_off
; CF=1 ; CF=1
LD A,BIOS.Error.NotReady LD A,BIOS.Error.NotReady
;POP AF ;POP AF
JP SAVE_INTERRUPTS.restore ;JP SAVE_INTERRUPTS.restore
RET
;[]===========================================================[] ;[]===========================================================[]
;Function: Read Sectors ;Function: Read Sectors
; A - Disk ; A - Disk