; IPARS.ASM .MODEL SMALL include msystem.mac include diskete.m .CODE old_sec_size db 0 ; +3 old_eot db 0 ; +4 old_fill_char db 0 ; +8 ;--- Сохpанить паpаметpы дискеты --- func savepars,,,,public get_dpt , mov AL, ES:[BX]+3 mov cs:old_sec_size, AL mov AL, ES:[BX]+4 mov cs:old_eot, AL mov AL, ES:[BX]+8 mov cs:old_fill_char, AL ; mov AL, new_cod_size mov ES:[BX]+3, AL mov AL, new_max_sector mov ES:[BX]+4, AL mov AL, new_fill_char mov ES:[BX]+8, AL endf ;--- Востановить паpаметpы дискеты --- func restpars,,,,public get_dpt , mov AL, cs:old_sec_size mov ES:[BX]+3, AL mov AL, cs:old_eot mov ES:[BX]+4, AL mov AL, cs:old_fill_char mov ES:[BX]+8, AL endf END