mirror of
https://github.com/Tolik-Trek/Estex-DSS.git
synced 2026-06-15 17:31:47 +03:00
boot.asm - fixed bug with 720 kb floppy
This commit is contained in:
parent
568806c67a
commit
0c746fc0fc
@ -355,11 +355,10 @@ write_to_floppy:
|
||||
; ;
|
||||
add hl,bc
|
||||
ld (buffer + BOOT_SECTOR.RESERVED_SECTORS),hl ; § १¥à¢. ᥪâ®à®¢
|
||||
ex hl,de
|
||||
ld hl,SECTORS_OF_LOADER-1
|
||||
dec hl
|
||||
ld de,SECTORS_OF_LOADER
|
||||
and a
|
||||
sbc hl,de
|
||||
ccf
|
||||
ret c
|
||||
overwrite_floppy:
|
||||
; § ¯¨á âì boot-ᥪâ®à § ¤
|
||||
|
||||
@ -404,7 +404,7 @@ _ret+1: JP 0
|
||||
|
||||
_TST_PROC_2: LD SP,(CORE_BUFFERS.EXEBUFF.SP_REG)
|
||||
LD HL,(CORE_BUFFERS.EXEBUFF.LD_ADDR)
|
||||
LD DE,#0080
|
||||
LD DE,#0080 ;!HARDCODE CLP_Buffer
|
||||
XOR A
|
||||
SBC HL,DE
|
||||
EX DE,HL
|
||||
|
||||
Loading…
Reference in New Issue
Block a user