Mohlokomeli oa SIMH simulator o fetotse laesense ka lebaka la ho se lumellane ha tšebetso

Mark Pizzolato, moqapi ea ka sehloohong oa simulator ea retrocomputer ea SIMH, o kentse thibelo ho lengolo la laesense mabapi le tšebeliso ea liphetoho tse tlang ho etsoa ho lifaele tsa sim_disk.c le scp.c. Lifaele tse setseng tsa morero li ntse li ajoa tlas'a laesense ea MIT.

Phetoho ea laesense e ne e le karabelo ea ho nyatsuoa ha mosebetsi oa AUTOSIZE o ekelitsoeng selemong se fetileng, ka lebaka leo metadata e ileng ea eketsoa litšoantšong tsa li-disk tsa litsamaiso tse hlahisitsoeng ho emulator, e ileng ea eketsa boholo ba setšoantšo ka li-byte tse 512. Basebelisi ba bang ba bontšitse ho se khotsofale ka boits'oaro bona mme ba khothaletsa ho boloka metadata eseng setšoantšong ka boeona, se bonts'ang litaba tsa disk, empa faeleng e arohaneng. Kaha ho ne ho sa khonehe ho kholisa mongoli hore a fetole boitšoaro bo sa feleng, merero e meng e tsoang ho eona e ile ea qala ho fetola ts'ebetso e boletsoeng ka ho sebelisa li-patches tse eketsehileng.

Mark Pizzolato o ile a rarolla bothata bona ka ho eketsa poleloana ho laesense ea morero e thibelang tšebeliso ea khoutu eohle e ncha eo a neng a tla e kenya ho sim_disk.c le lifaele tsa scp.c ka mor'a hore a fetole lengolo la tumello, tabeng ea ho fetola boitšoaro kapa kamehla. boleng bo amanang le ts'ebetso ea AUTOSIZE. Sim_disk.c le scp.c khoutu e kentsoeng pele phetoho ea laesense e lula e fumaneha tlasa laesense ea MIT joalo ka pele.

Ketso ena e ile ea nyatsuoa ke barupeluoa ba bang ba morero, kaha phetoho e entsoe ntle le ho ela hloko maikutlo a bahlahisi ba bang 'me hona joale SIMH ka kakaretso e ka nkoa e le morero oa thepa, o tla kena-kenana le ts'ebetso ea eona le ho kopanya le merero e meng. Mark Pizzolato o bontšitse hore liphetoho tsa laesense li sebetsa feela ho sim_disk.c le lifaele tsa scp.c, tseo a li hlahisitseng ka boeena. Bakeng sa ba sa thabeleng ho kenya data setšoantšong ha ba e kenya, o khothalelitse ho kenya litšoantšo tsa disk ka mokhoa oa ho bala feela kapa ho thibela mosebetsi oa AUTOSIZE ka ho eketsa "SET NOAUTOSIZE" parameter ho ~/simh.ini faele ea tlhophiso.

Source: opennet.ru

Eketsa ka tlhaloso