home *** CD-ROM | disk | FTP | other *** search
Text File | 1988-12-20 | 47.0 KB | 1,325 lines |
-
-
- /* IBM PC/XT DIAGNOSTIC EXPERT SYSTEM */
- code=4072
- domains
- tone = integer*
- song = tone*
- database
- dbase(string,char)
- predicates
- run
- title
- gtitle
- diagm(string)
- diags(string)
- checkc(string,char)
- check(string)
- clear_facts
- response(char)
- repeat
- run_once
- cause(string)
- tras(integer,integer)
- sing(song)
-
- clauses
- tras(1,131).
- tras(2,147).
- tras(3,165).
- tras(4,175).
- tras(5,196).
- tras(6,220).
- tras(7,247).
- tras(8,262).
- sing([]).
- sing([[T1,T2]|Y]):-tras(T1,Freq),Dura=T2*4,
- sound(Dura,Freq),sing(Y).
- gtitle:-
- makewindow(1,36,396,"",11,12,5,28),
- write(" Diagnostic Directing"),nl,
- write(" EXPERT SYSTEM "),
- makewindow(2,14,187,"",6,20,5,12),
- write("IBM PC/XT COMPUTER"),
- makewindow(3,6,0,"",17,14,4,27),
- write("Press any key to continue"),
- readchar(_).
-
- run:-
- run_once,
- clear_facts,
- write("\n─·╗╣╧δ╘┘╒∩╢╧╥╗┤╬┬≡?"),
- readchar(Reply),
- write(Reply),nl,
- Reply='y',
- run.
- run_once:-
- title,
- diagm(_),
- clear_facts.
- run_once:-
- write("\n╬▐╖¿╒∩╢╧┤╦╓╓╣╩╒╧"),nl,
- clear_facts.
- title:-
- clearwindow,
- write(" IBM PC/XT ╣╩╒╧╒∩╢╧╓╕╡╝╫¿╝╥╧╡═│ V1.0 "),nl,
- write(" ╔┬╬≈╗·╨╡╤º╘║╝╞╦π╓╨╨─╤╨╓╞"),nl,nl.
- repeat.
- repeat:- repeat.
- clear_facts:-
- retract(dbase(_,_)),fail.
- clear_facts:-nl.
- diagm("exit"):-
- checkc("╧╡═│",'6'),!,
- exit.
- diagm("AC╡τ╘┤"):-
- checkc("╧╡═│",'1'),
- checkc("╞⌠╢»",'2'),
- not(check("╡τ╘┤")),
- cause("AC╡τ╘┤").
- diagm("┐¬╣╪"):-
- checkc("╧╡═│",'1'),
- checkc("╞⌠╢»",'2'),
- check("╡τ╘┤"),
- cause("┐¬╣╪").
- diagm("╬▐╡τ"):-
- checkc("╧╡═│",'1'),
- checkc("╞⌠╢»",'3'),
- cause("╬▐╡τ").
- diagm("╡τ╘┤╣⌐╕°"):-
- checkc("╧╡═│",'1'),
- checkc("╞⌠╢»",'1'),
- checkc("╜╨╔∙",'1'),
- cause("╡τ╘┤╣⌐╕°").
- diagm("╡τ╘┤╣⌐╕°"):-
- checkc("╧╡═│",'1'),
- checkc("╞⌠╢»",'1'),
- checkc("╜╨╔∙",'3'),
- cause("╡τ╘┤╣⌐╕°").
- diagm("╧╡═│░σ"):-
- checkc("╧╡═│",'1'),
- checkc("╞⌠╢»",'1'),
- checkc("╜╨╔∙",'4'),
- cause("╧╡═│░σ").
- diagm("╧╘╩╛"):-
- checkc("╧╡═│",'1'),
- checkc("╞⌠╢»",'1'),
- checkc("╜╨╔∙",'5'),
- cause("╧╘╩╛").
- diagm("╧╘╩╛"):-
- checkc("╧╡═│",'1'),
- checkc("╞⌠╢»",'1'),
- checkc("╜╨╔∙",'6'),
- cause("╧╘╩╛").
- diagm("╡τ╘┤╣⌐╕°"):-
- checkc("╧╡═│",'1'),
- checkc("╞⌠╢»",'1'),
- checkc("╜╨╔∙",'7'),
- cause("╡τ╘┤╣⌐╕°").
- diagm("┤┼┼╠╟²╢»╞≈"):-
- checkc("╧╡═│",'1'),
- checkc("╞⌠╢»",'1'),
- checkc("╜╨╔∙",'8'),
- cause("┤┼┼╠╟²╢»╞≈").
- diagm("dummy"):-
- checkc("╧╡═│",'1'),
- checkc("╞⌠╢»",'1'),
- checkc("╜╨╔∙",'2'),
- check("one_beep"),
- diags("╚φ┼╠╞⌠╢»").
- diagm("─┌┤µ"):-
- checkc("╧╡═│",'1'),
- checkc("╞⌠╢»",'1'),
- not(check("─┌┤µ")),
- cause("─┌┤µ").
- diagm("╧╡═│░σ"):-
- checkc("╧╡═│",'1'),
- checkc("╞⌠╢»",'1'),
- check("─┌┤µ"),
- checkc("┤φ╬≤┤·┬δ",'b'),
- cause("╧╡═│░σ2").
- diagm("─┌┤µ"):-
- checkc("╧╡═│",'1'),
- checkc("╞⌠╢»",'1'),
- check("─┌┤µ"),
- checkc("┤φ╬≤┤·┬δ",'c'),
- cause("─┌┤µ").
- diagm("╝ⁿ┼╠"):-
- checkc("╧╡═│",'1'),
- checkc("╞⌠╢»",'1'),
- check("─┌┤µ"),
- checkc("┤φ╬≤┤·┬δ",'d'),
- cause("╝ⁿ┼╠").
- diagm("╚φ┼╠"):-
- checkc("╧╡═│",'1'),
- checkc("╞⌠╢»",'1'),
- check("─┌┤µ"),
- checkc("┤φ╬≤┤·┬δ",'e'),
- cause("┤┼┼╠╟²╢»╞≈").
- diagm("╡Ñ╔½╧╘╩╛╞≈"):-
- checkc("╧╡═│",'1'),
- checkc("╞⌠╢»",'1'),
- check("─┌┤µ"),
- checkc("┤φ╬≤┤·┬δ",'f'),
- cause("╡Ñ╔½╧╘╩╛╞≈").
- diagm("▓╩╔½╧╘╩╛╞≈"):-
- checkc("╧╡═│",'1'),
- checkc("╞⌠╢»",'1'),
- check("─┌┤µ"),
- checkc("┤φ╬≤┤·┬δ",'g'),
- cause("▓╩╔½╧╘╩╛╞≈").
- diagm("┤≥╙í╗·"):-
- checkc("╧╡═│",'1'),
- checkc("╞⌠╢»",'1'),
- check("─┌┤µ"),
- checkc("┤φ╬≤┤·┬δ",'h'),
- cause("┤≥╙í╗·").
- diagm("╙╬╧╖╩╩┼Σ╞≈"):-
- checkc("╧╡═│",'1'),
- checkc("╞⌠╢»",'1'),
- check("─┌┤µ"),
- checkc("┤φ╬≤┤·┬δ",'i'),
- cause("╙╬╧╖╩╩┼Σ╞≈").
- diagm("┤≥╙í╗·"):-
- checkc("╧╡═│",'1'),
- checkc("╞⌠╢»",'1'),
- check("─┌┤µ"),
- checkc("┤φ╬≤┤·┬δ",'j'),
- cause("╡τ╘┤╣⌐╕°").
- diagm("╙▓┼╠"):-
- checkc("╧╡═│",'1'),
- checkc("╞⌠╢»",'1'),
- check("─┌┤µ"),
- checkc("┤φ╬≤┤·┬δ",'k'),
- cause("╙▓┼╠").
- diagm("└⌐╒╣╡Ñ╘¬"):-
- checkc("╧╡═│",'1'),
- checkc("╞⌠╢»",'1'),
- check("─┌┤µ"),
- checkc("┤φ╬≤┤·┬δ",'l'),
- cause("└⌐╒╣╡Ñ╘¬").
- diagm("╡τ╘┤╣⌐╕°"):-
- checkc("╧╡═│",'1'),
- checkc("╞⌠╢»",'1'),
- check("─┌┤µ"),
- checkc("┤φ╬≤┤·┬δ",'m'),
- cause("╡τ╘┤╣⌐╕°").
- diagm("╙▓┼╠"):-
- checkc("╧╡═│",'1'),
- checkc("╞⌠╢»",'4'),
- check("╙▓┼╠"),
- check("╚φ┼╠╞⌠╢»"),
- check("dos"),
- not(check("hard")),
- cause("╙▓┼╠").
- diagm("dos"):-
- checkc("╧╡═│",'1'),
- checkc("╞⌠╢»",'4'),
- check("╙▓┼╠"),
- check("╚φ┼╠╞⌠╢»"),
- not(check("dos")),
- cause("dos").
- diagm("╙▓┼╠"):-
- checkc("╧╡═│",'1'),
- checkc("╞⌠╢»",'4'),
- check("╙▓┼╠"),
- check("╚φ┼╠╞⌠╢»"),
- check("dos"),
- check("hard"),
- not(check("(╞⌠╢»╢┴╙▓")),
- cause("╞⌠╢»╢┴╙▓").
- diagm("╙▓┼╠"):-
- checkc("╧╡═│",'1'),
- checkc("╞⌠╢»",'4'),
- check("╙▓┼╠"),
- check("╚φ┼╠╞⌠╢»"),
- check("dos"),
- check("hard"),
- check("╞⌠╢»╢┴╙▓"),
- check("╞⌠╢»╨┤╙▓"),
- cause("bad_dos").
- diagm("╙▓┼╠"):-
- checkc("╧╡═│",'1'),
- checkc("╞⌠╢»",'4'),
- check("╙▓┼╠"),
- check("╚φ┼╠╞⌠╢»"),
- check("dos"),
- check("hard"),
- check("╞⌠╢»╢┴╙▓"),
- not(check("╞⌠╢»╨┤╙▓")),
- check("autoexec"),
- cause("autoexec").
- diagm("╙▓┼╠"):-
- checkc("╧╡═│",'1'),
- checkc("╞⌠╢»",'4'),
- check("╙▓┼╠"),
- check("╚φ┼╠╞⌠╢»"),
- check("dos"),
- check("hard"),
- check("╞⌠╢»╢┴╙▓"),
- not(check("╞⌠╢»╨┤╙▓")),
- not(check("autoexec")),
- check("config"),
- cause("config").
- diagm("╙▓┼╠"):-
- checkc("╧╡═│",'1'),
- checkc("╞⌠╢»",'4'),
- check("╙▓┼╠"),
- check("╚φ┼╠╞⌠╢»"),
- check("dos"),
- check("hard"),
- check("╞⌠╢»╢┴╙▓"),
- not(check("╞⌠╢»╨┤╙▓")),
- not(check("autoexec")),
- not(check("config")),
- cause("δ֪").
- diagm("╚φ┼╠"):-
- checkc("╧╡═│",'1'),
- checkc("╞⌠╢»",'4'),
- not(check("╙▓┼╠")),
- diags("╚φ┼╠╞⌠╢»").
- diagm("╚φ┼╠"):-
- checkc("╧╡═│",'1'),
- checkc("╞⌠╢»",'4'),
- check("╙▓┼╠"),
- not(check("╚φ┼╠╞⌠╢»")),
- diags("╚φ┼╠╞⌠╢»").
- diagm("╗╖╛│"):-
- checkc("╧╡═│",'2'),
- not(check("╗╖╛│")),
- cause("╗╖╛│").
- diagm("æ"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'1'),
- check("╗╖╛│"),
- check("æ"),
- cause("æ").
- diagm("unplugged"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'1'),
- check("╗╖╛│"),
- not(check("æ")),
- not(check("unplugged")),
- cause("unplugged").
- diagm("╚φ╝■"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'1'),
- check("╗╖╛│"),
- not(check("æ")),
- check("unplugged"),
- not(check("reboot")),
- cause("╙▓╝■").
- diagm("╚φ╝■"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'1'),
- check("╗╖╛│"),
- not(check("æ")),
- check("unplugged"),
- check("reboot"),
- check("repeat"),
- cause("╚φ╝■").
- diagm("static"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'1'),
- check("╗╖╛│"),
- not(check("æ")),
- check("unplugged"),
- check("reboot"),
- not(check("repeat")),
- cause("static").
- diagm("drop_power"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'2'),
- check("╗╖╛│"),
- cause("drop_power").
- diagm("╞µ┼╝┤φ"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'3'),
- check("╗╖╛│"),
- cause("╞µ┼╝┤φ").
- diagm("crashes"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'4'),
- check("╗╖╛│"),
- cause("crashes").
- diagm("╚φ╝■"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'5'),
- check("╗╖╛│"),
- check("consistent"),
- cause("erratic_software").
- diagm("╙▓╝■"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'5'),
- check("╗╖╛│"),
- not(check("consistent")),
- cause(drop_power).
- diagm("│╠╨≥"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'6'),
- check("╗╖╛│"),
- check("run_program"),
- cause("run_program_dos").
- diagm("│╠╨≥"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'6'),
- check("╗╖╛│"),
- not(check("run_program")),
- cause("run_program_application").
- diagm("╙▓┼╠"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'7'),
- checkc("run_hard_disk",'1'),
- check("└⌐╒╣"),
- cause("└⌐╒╣").
- diagm("╙▓┼╠"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'7'),
- checkc("run_hard_disk",'1'),
- not(check("└⌐╒╣")),
- cause("run_hard_disk").
- diagm("╙▓┼╠"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'7'),
- checkc("run_hard_disk",'1'),
- check("└⌐╒╣"),
- cause("run_expansion").
- diagm("╙▓┼╠"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'7'),
- checkc("run_hard_disk",'2'),
- check("run_disk_software"),
- cause("run_disk_software").
- diagm("╙▓┼╠"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'7'),
- checkc("run_hard_disk",'2'),
- not(check("run_disk_software")),
- not(check("run_resident")),
- cause("run_resident").
- diagm("╙▓┼╠"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'7'),
- checkc("run_hard_disk",'2'),
- not(check("run_disk_software")),
- check("run_resident"),
- cause("run_harddisk_write").
- diagm("╙▓┼╠"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'7'),
- checkc("run_hard_disk",'3'),
- check("run_disk_software"),
- cause("run_disk_software").
- diagm("╙▓┼╠"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'7'),
- checkc("run_hard_disk",'3'),
- not(check("run_disk_software")),
- not(check("run_resident")),
- cause("run_resident").
- diagm("╙▓┼╠"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'7'),
- checkc("run_hard_disk",'3'),
- not(check("run_disk_software")),
- check("run_resident"),
- cause("run_harddisk_write").
- diagm("╙▓┼╠"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'7'),
- checkc("run_hard_disk",'4'),
- cause("run_harddisk_chkdsk").
- diagm("╙▓┼╠"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'7'),
- checkc("run_hard_disk",'5'),
- cause("run_harddisk_noise").
- diagm("╙▓┼╠"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'7'),
- checkc("run_hard_disk",'6'),
- check("physical_move"),
- cause("physical_move").
- diagm("╙▓┼╠"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'7'),
- checkc("run_hard_disk",'6'),
- not(check("physical_move")),
- cause("run_hard").
- diagm("╚φ┼╠"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'8'),
- checkc("run_floppy_disk",'1'),
- cause("run_floppy_power").
- diagm("╚φ┼╠"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'8'),
- checkc("run_floppy_disk",'2'),
- cause("run_floppy_not_ready").
- diagm("╚φ┼╠"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'8'),
- checkc("run_floppy_disk",'3'),
- not(check("run_floppy_physical")),
- cause("run_floppy_physical").
- diagm("╚φ┼╠"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'8'),
- checkc("run_floppy_disk",'3'),
- check("run_floppy_physical"),
- not(check("run_resident")),
- cause("run_resident").
- diagm("╚φ┼╠"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'8'),
- checkc("run_floppy_disk",'3'),
- check("run_floppy_physical"),
- check("run_resident"),
- check("run_twodisks"),
- check("second_disk"),
- cause("bad_floppy").
- diagm("╚φ┼╠"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'8'),
- checkc("run_floppy_disk",'3'),
- check("run_floppy_physical"),
- check("run_resident"),
- check("run_twodisks"),
- not(check("second_disk")),
- check("drive"),
- cause("dirt").
- diagm("╚φ┼╠"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'8'),
- checkc("run_floppy_disk",'3'),
- check("run_floppy_physical"),
- check("run_resident"),
- check("run_twodisks"),
- not(check("second_disk")),
- not(check("drive")),
- cause("bad_floppy_drive").
- diagm("╚φ┼╠"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'8'),
- checkc("run_floppy_disk",'3'),
- check("run_floppy_physical"),
- check("run_resident"),
- not(check("run_twodisks")),
- not(check("second_disk")),
- check("drive"),
- cause("dirt").
- diagm("╚φ┼╠"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'8'),
- checkc("run_floppy_disk",'3'),
- check("run_floppy_physical"),
- check("run_resident"),
- not(check("run_twodisks")),
- not(check("drive")),
- check("run_disk_software"),
- cause("run_disk_software").
- diagm("╚φ┼╠"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'8'),
- checkc("run_floppy_disk",'3'),
- check("run_floppy_physical"),
- check("run_resident"),
- not(check("run_twodisks")),
- not(check("drive")),
- not(check("run_disk_software")),
- check("run_one_floppy"),
- cause("bad_floppy2").
- diagm("╚φ┼╠"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'8'),
- checkc("run_floppy_disk",'3'),
- check("run_floppy_physical"),
- check("run_resident"),
- not(check("run_twodisks")),
- not(check("drive")),
- not(check("run_disk_software")),
- not(check("run_one_floppy")),
- cause("bad_floppy_drive").
- diagm("╚φ┼╠"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'8'),
- checkc("run_floppy_disk",'4'),
- not(check("run_floppy_physical")),
- cause("run_floppy_physical").
- diagm("╚φ┼╠"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'8'),
- checkc("run_floppy_disk",'4'),
- check("run_floppy_physical"),
- not(check("write_protect")),
- cause("write_protect").
- diagm("╚φ┼╠"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'8'),
- checkc("run_floppy_disk",'4'),
- check("run_floppy_physical"),
- check("write_protect"),
- not(check("run_resident")),
- cause("run_resident").
- diagm("╚φ┼╠"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'8'),
- checkc("run_floppy_disk",'4'),
- check("run_floppy_physical"),
- check("write_protect"),
- check("run_resident"),
- check("run_twodisks"),
- check("second_disk"),
- cause("bad_floppy").
- diagm("╚φ┼╠"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'8'),
- checkc("run_floppy_disk",'4'),
- check("run_floppy_physical"),
- check("write_protect"),
- check("run_resident"),
- check("run_twodisks"),
- not(check("second_disk")),
- check("drive"),
- cause("dirt").
- diagm("╚φ┼╠"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'8'),
- checkc("run_floppy_disk",'4'),
- check("run_floppy_physical"),
- check("write_protect"),
- check("run_resident"),
- check("run_twodisks"),
- not(check("second_disk")),
- not(check("drive")),
- cause("bad_floppy_drive").
- diagm("╚φ┼╠"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'8'),
- checkc("run_floppy_disk",'4'),
- check("run_floppy_physical"),
- check("write_protect"),
- check("run_resident"),
- not(check("run_twodisks")),
- check("drive"),
- cause("dirt").
- diagm("╚φ┼╠"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'8'),
- checkc("run_floppy_disk",'4'),
- check("run_floppy_physical"),
- check("write_protect"),
- check("run_resident"),
- not(check("run_twodisks")),
- not(check("drive")),
- check("run_disk_software"),
- cause("run_disk_software").
- diagm("╚φ┼╠"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'8'),
- checkc("run_floppy_disk",'4'),
- check("run_floppy_physical"),
- check("write_protect"),
- check("run_resident"),
- not(check("run_twodisks")),
- not(check("drive")),
- not(check("run_disk_software")),
- check("run_one_floppy"),
- cause("bad_floppy2").
- diagm("╚φ┼╠"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'8'),
- checkc("run_floppy_disk",'4'),
- check("run_floppy_physical"),
- check("write_protect"),
- check("run_resident"),
- not(check("run_twodisks")),
- not(check("drive")),
- not(check("run_disk_software")),
- not(check("run_one_floppy")),
- cause("bad_floppy_drive").
- diagm("╚φ┼╠"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'8'),
- checkc("run_floppy_disk",'5'),
- not(check("run_floppy_physical")),
- cause("run_floppy_physical").
- diagm("╚φ┼╠"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'8'),
- checkc("run_floppy_disk",'5'),
- check("run_floppy_physical"),
- cause("floppy_noise").
- diagm("╚φ┼╠"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'8'),
- checkc("run_floppy_disk",'6'),
- cause("floppy_load").
- diagm("╧╡═│╣²╚╚"):-
- checkc("╧╡═│",'2'),
- checkc("╘╦╨╨",'9'),
- cause("╘╦╨╨╣²╚╚").
- diagm("╬▐╧╘╩╛"):-
- checkc("╧╡═│",'3'),
- checkc("╧╘╩╛",'1'),
- cause("╬▐╧╘╩╛").
- diagm("╧╘╩╛╡¡─«"):-
- checkc("╧╡═│",'3'),
- checkc("╧╘╩╛",'2'),
- cause("╧╘╩╛╡¡─«").
- diagm("╧╘╩╛╣²╚╚"):-
- checkc("╧╡═│",'3'),
- checkc("╧╘╩╛",'3'),
- cause("╧╘╩╛╣²╚╚").
- diagm("╧╘╩╛v"):-
- checkc("╧╡═│",'3'),
- checkc("╧╘╩╛",'4'),
- cause("╧╘╩╛v").
- diagm("╧╘╩╛h"):-
- checkc("╧╡═│",'3'),
- checkc("╧╘╩╛",'5'),
- cause("╧╘╩╛h").
- diagm("╧╘╩╛╘╙┬╥"):-
- checkc("╧╡═│",'3'),
- checkc("╧╘╩╛",'6'),
- cause("╧╘╩╛╘╙┬╥").
- diagm("╧╘╩╛▓╩╔½"):-
- checkc("╧╡═│",'3'),
- checkc("╧╘╩╛",'7'),
- cause("╧╘╩╛▓╩╔½").
- diagm("╝ⁿ┼╠_d"):-
- checkc("╧╡═│",'4'),
- checkc("╝ⁿ┼╠",'1'),
- cause("╝ⁿ┼╠_d").
- diagm("╝ⁿ┼╠_g"):-
- checkc("╧╡═│",'4'),
- checkc("╝ⁿ┼╠",'2'),
- cause("╝ⁿ┼╠_g").
- diagm("╝ⁿ┼╠_k"):-
- checkc("╧╡═│",'4'),
- checkc("╝ⁿ┼╠",'3'),
- cause("╝ⁿ┼╠_k").
- diagm("╝ⁿ┼╠_dup"):-
- checkc("╧╡═│",'4'),
- checkc("╝ⁿ┼╠",'4'),
- cause("╝ⁿ┼╠_dup").
- diagm("╝ⁿ┼╠_f"):-
- checkc("╧╡═│",'4'),
- checkc("╝ⁿ┼╠",'5'),
- cause("╝ⁿ┼╠_f").
- diagm("╝ⁿ┼╠_s"):-
- checkc("╧╡═│",'4'),
- checkc("╝ⁿ┼╠",'6'),
- cause("╝ⁿ┼╠_s").
- diagm("┤≥╙í╗·_d"):-
- checkc("╧╡═│",'5'),
- checkc("┤≥╙í╗·",'a'),
- cause("┤≥╙í╗·_d").
- diagm("┤≥╙í╗·_n"):-
- checkc("╧╡═│",'5'),
- checkc("┤≥╙í╗·",'b'),
- cause("┤≥╙í╗·_n").
- diagm("┤≥╙í╗·_nol"):-
- checkc("╧╡═│",'5'),
- checkc("┤≥╙í╗·",'c'),
- cause("┤≥╙í╗·_nol").
- diagm("┤≥╙í╗·_j"):-
- checkc("╧╡═│",'5'),
- checkc("┤≥╙í╗·",'d'),
- not(check("printer_program")),
- cause("┤≥╙í╗·_j").
- diagm("┤≥╙í╗·_j"):-
- checkc("╧╡═│",'5'),
- checkc("┤≥╙í╗·",'d'),
- check("printer_program"),
- cause("┤≥╙í╗·│╠╨≥").
- diagm("┤≥╙í╗·_e"):-
- checkc("╧╡═│",'5'),
- checkc("┤≥╙í╗·",'e'),
- cause("┤≥╙í╗·_e").
- diagm("┤≥╙í╗·_s"):-
- checkc("╧╡═│",'5'),
- checkc("┤≥╙í╗·",'f'),
- cause("┤≥╙í╗·_s").
- diagm("┤≥╙í╗·_c"):-
- checkc("╧╡═│",'5'),
- checkc("┤≥╙í╗·",'g'),
- cause("┤≥╙í╗·_c").
- diagm("┤≥╙í╗·_np"):-
- checkc("╧╡═│",'5'),
- checkc("┤≥╙í╗·",'h'),
- cause("┤≥╙í╗·_np").
- diagm("┤≥╙í╗·_o"):-
- checkc("╧╡═│",'5'),
- checkc("┤≥╙í╗·",'i'),
- cause("┤≥╙í╗·_o").
- diagm("┤≥╙í╗·_u"):-
- checkc("╧╡═│",'5'),
- checkc("┤≥╙í╗·",'j'),
- cause("┤≥╙í╗·_u").
- diagm("┤≥╙í╗·_m"):-
- checkc("╧╡═│",'5'),
- checkc("┤≥╙í╗·",'k'),
- cause("┤≥╙í╗·_m").
- diagm("┤≥╙í╗·_jam"):-
- checkc("╧╡═│",'5'),
- checkc("┤≥╙í╗·",'l'),
- cause("┤≥╙í╗·_jam").
- diags("╚φ┼╠╞⌠╢»"):-
- checkc("╚φ┼╠╞⌠╢»",'1'),
- cause("╟²╢»╞≈╡τ╘┤").
- diags("╚φ┼╠╞⌠╢»"):-
- checkc("╚φ┼╠╞⌠╢»",'2'),
- check("physical_disk:"),nl,
- cause("physical_disk:").
- diags("╚φ┼╠╞⌠╢»"):-
- checkc("╚φ┼╠╞⌠╢»",'2'),
- not(check("physical_disk:")),nl,
- check("drive"),
- cause("dirt").
- diags("╚φ┼╠╞⌠╢»"):-
- checkc("╚φ┼╠╞⌠╢»",'2'),
- not(check("physical_disk:")),nl,
- not(check("drive")),
- check("twodisks"),
- cause("twodisks").
- diags("╚φ┼╠╞⌠╢»"):-
- checkc("╚φ┼╠╞⌠╢»",'2'),
- not(check("physical_disk:")),nl,
- not(check("drive")),
- not(check("twodisks")),
- cause("╚φ┼╠╟²╢»╞≈").
- diags("╚φ┼╠╞⌠╢»"):-
- checkc("╚φ┼╠╞⌠╢»",'3'),
- cause("format").
- diags("╚φ┼╠╞⌠╢»"):-
- checkc("╚φ┼╠╞⌠╢»",'4'),
- cause("├┼").
- diags("╚φ┼╠╞⌠╢»"):-
- checkc("╚φ┼╠╞⌠╢»",'5'),
- cause("├ⁿ┴ε").
- check(X):-
- dbase(X,'y'),!.
- check(X):-
- dbase(X,'n'),!,fail.
- check("╡τ╘┤"):-
- title,
- write("╝∞▓Θ╡τ╘┤╧▀,▒ú╧╒║╨,╡τ╘┤▓σ╫∙"),nl,
- write("╝╞╦π╗·─┌═¿╡τ┴╦┬≡? (Y/N)"),
- response(Reply),
- asserta(dbase("╡τ╘┤",Reply)),Reply='y'.
- check("twodisks"):-
- title,
- write("╧┬╥╗▓╜╥¬╘┌┤┼┼╠╟²╢»╞≈,┐╪╓╞╞≈,┼╠╡τ└┬╓«╝Σ▓Θ╟σ╬╩╠Γ"),nl,
- write(" ╚⌠╙╨┴╜╕÷┤┼┼╠╟²╢»╞≈,╗≥╙╨▒╕╖▌╟²╢»╞≈┐╔╝≥╗»┤╦╣²│╠"),nl,
- write(" ─π╙╨┴╜╕÷╗≥╙╨▒╕╖▌╟²╢»╞≈┬≡ (Y/N)? "),
- response(Reply),
- asserta(dbase("twodisks",Reply)),Reply='y'.
- check("─┌┤µ"):-
- title,
- write("─┌┤µ▓Γ╩╘│╔╣ª┬≡?(Y/N)"),
- response(Reply),
- asserta(dbase("─┌┤µ",Reply)),Reply='y'.
- check("dos"):-
- title,
- write("╙▓┼╠╔╧░▓╫░╡─╩╟DOS 2.0╗≥╕ⁿ╕▀░µ▒╛┬≡?(Y/N)"),
- response(Reply),
- asserta(dbase("dos",Reply)),Reply='y'.
- check("╙▓┼╠"):-
- title,
- write("╥¬┤╙╙▓┼╠╥²╡╝┬≡?(Y/N)"),
- response(Reply),
- asserta(dbase("╙▓┼╠",Reply)),Reply='y'.
- check("hard"):-
- title,
- write("╥²╡╝╩▒┤Ñ├■┤┼┼╠├µ░σ─▄╕╨╡╜┬φ┤∩╫¬,╫░╚δ╡╞┴┴┬≡?(Y/N)"),
- response(Reply),
- asserta(dbase("hard",Reply)),Reply='y'.
- check("drive"):-
- title,
- write("╘┌┤┼┼╠╫░╚δ╒²╚╖,┬φ┤∩╫¬╡─╟░╠ß╧┬,╙├╟σ╧┤╣ñ╛▀╟σ╧┤╢┴═╖"),nl,
- write("╟σ╧┤╣ñ╫≈╒²│ú┬≡?(Y/N)"),
- response(Reply),
- asserta(dbase("drive",Reply)),Reply='y'.
- check("╚φ┼╠╞⌠╢»"):-
- title,
- write("╙├║├╡─DOS┼╠┤╙╚φ┼╠╟²╢»╞≈╥²╡╝╞⌠╢»"),nl,
- write("╥²╡╝│╔╣ª┬≡?(Y/N)"),nl,
- response(Reply),
- asserta(dbase("╚φ┼╠╞⌠╢»",Reply)),Reply='y'.
- check("physical_disk"):-
- title,
- write("╧┬├µ╘┌┼╠╞¼╫╘╔φ╗≥╙▓╝■╓╨▓Θ╬╩╠Γ"),nl,
- write("╚╖▒ú┼╠╬▐╬∩└φ╦≡╔╦;╥╤╕±╩╜╗»╟╥║¼DOS"),nl,
- write("╘┌═¼╥╗╟²╢»╞≈╓╨╩╘┴φ╥╗┼╠╗≥╙├═¼╥╗┼╠╘┌┴φ╥╗╗·╓╨╞⌠╢»"),nl,
- write("╕├┼╠╙╨╚▒╧▌┬≡?(Y/N)"),
- response(Reply),
- asserta(dbase("physical_disk",Reply)),Reply='y'.
- check("╞⌠╢»╢┴╙▓"):-
- title,
- write("┤╙╚φ┼╠╥²╡╝║≤,╩╘╢┴╙▓┼╠╔╧╡─╥╗╕÷─┐┬╝▓ó╞⌠╢»╥╗╕÷│╠╨≥"),nl,
- write("╒Γ╤∙╫÷│╔╣ª┬≡?(Y/N)"),
- response(Reply),
- asserta(dbase("╞⌠╢»╢┴╙▓",Reply)),Reply='y'.
- check("╞⌠╢»╨┤╙▓"):-
- title,
- write("╖┼DOS┼╠╙┌A:╓╨,╝ⁿ╚δSYS C:┤╙╚φ┼╠╗╓╕┤DOS╡╜╙▓┼╠"),nl,
- write("╒Γ╤∙╫÷│╔╣ª┬≡?(Y/N)"),
- response(Reply),
- asserta(dbase("╞⌠╢»╨┤╙▓",Reply)),Reply='y'.
- check("autoexec"):-
- title,
- write("┤╙╚φ┼╠reboot,╕ⁿ╕─╙▓┼╠╔╧╡─AUTOEXEC.BAT╬─╝■├√"),nl,
- write("╘┘┤╙╙▓┼╠REBOOT"),nl,
- write("╒Γ╤∙╫÷│╔╣ª┬≡?(Y/N)"),
- response(Reply),
- asserta(dbase("autoexec",Reply)),Reply='y'.
- check("config"):-
- title,
- write("┤╙╚φ┼╠reboot,╕ⁿ╕─╙▓┼╠╔╧╡─CONFIG.SYS╬─╝■├√"),nl,
- write("╘┘┤╙╙▓┼╠REBOOT"),nl,
- write("╒Γ╤∙╫÷│╔╣ª┬≡?(Y/N)"),
- response(Reply),
- asserta(dbase("config",Reply)),Reply='y'.
- check("reboot"):-
- title,
- write("╩╫╧╚╙├ALT/CTR/DEL REBOOT,╚⌠▓╗│╔╣ª,╣╪╡⌠╗·╞≈╘┘┐¬╥╗┤╬"),nl,
- write("╚⌠╚╘▓╗╣ñ╫≈,╘┘╣╪╝╕╖╓╓╙╗·,╘┘REBOOT"),nl,
- write("╫ε║≤│╔╣ª┴╦┬≡?(Y/N)"),
- response(Reply),
- asserta(dbase("reboot",Reply)),Reply='y'.
- check("repeat"):-
- title,
- write("╡▒╝╞╦π╗·╦└╦°╩▒,╥╘═¼╥╗╦│╨≥╓╪╕┤─π╡─├┐╥╗▓╜╣ñ╫≈"),nl,
- write("╝╞╦π╗·╗╣╦└╦°┬≡?(Y/N)"),
- response(Reply),
- asserta(dbase("repeat",Reply)),Reply='y'.
- check("unplugged"):-
- title,
- write("╚╖▒ú╝ⁿ┼╠┴¼╚δ╧╡═│,╡τ└┬╬▐╥╗╦╔╢»╗≥╢╧┐¬"),nl,
- write("╦∙╙╨╡τ└┬├╗╙╨╬╩╠Γ┬≡? (Y/N)"),
- response(Reply),
- asserta(dbase("unplugged",Reply)),Reply='y'.
- check("æ"):-
- title,
- write("╚╖▒ú╝╞╦π╗·▓╗╫÷╚╬║╬╩┬,╣╩╥Γ╖╓└δ╝ⁿ┼╠,╣█▓∞┤┼┼╠╡╞"),
- write("╝╞╦π╗·╗╣╘┌├ª┬≡? (Y/N)"),
- response(Reply),
- asserta(dbase("æ",Reply)),Reply='y'.
- check("consistent"):-
- title,
- write("╡▒╫÷═¼╥╗╩┬╩▒╢╘═¼╤∙│╠╨≥╫▄╩╟╩º░▄┬≡? (Y/N)"),nl,
- write("╒Γ╨⌐╬╩╠Γ╙╨─│╨⌐╥╗╓┬╨╘┬≡? (Y/N)"),
- response(Reply),
- asserta(dbase("consistent",Reply)),Reply='y'.
- check("╗╖╛│"):-
- title,
- write("╝╞╦π╗·╕╜╜ⁿ╡─╗╖╛│╬┬╢╚╘┌╔π╩╧ 16-32╢╚┬≡ (Y/N)?"),nl,
- write("╦∙╙╨╖τ╔╚╛∙╘┌╩╣╙├, ╦∙╙╨═¿╞°┐╫╢╝│⌐═¿┬≡ (Y/N)?"),
- response(Reply),
- asserta(dbase("╗╖╛│",Reply)),Reply='y'.
- check("run_program"):-
- title,
- write("╒Γ╩╟╥╗╕÷ DOS │╠╨≥┬≡?(Y/N)"),
- response(Reply),
- asserta(dbase("run_program",Reply)),Reply='y'.
- check("└⌐╒╣"):-
- title,
- write("╙▓┼╠╘┌└⌐╒╣╡Ñ╘¬─┌┬≡? (Y/N)"),
- response(Reply),
- asserta(dbase("└⌐╒╣",Reply)),Reply='y'.
- check("physical_move"):-
- title,
- write("─π╜ⁿ╞┌╥╞╢»╙▓┼╠┴╦┬≡? (Y/N)"),
- response(Reply),
- asserta(dbase("physical_move",Reply)),Reply='y'.
- check("run_disk_software"):-
- write("╒Γ╜÷╢╘╥╗╕÷│╠╨≥╖ó╔·┬≡? (Y/N)"),
- response(Reply),
- asserta(dbase("run_disk_software",Reply)),Reply='y'.
- check("run_resident"):-
- write("▓╗╙├ AUTOEXEC.BAT ╬─╝■╢°╞⌠╢»╧╡═│,╚Ñ╡⌠╦∙╙╨╫ñ┴⌠│╠╨≥"),nl,
- write("╕├╬╩╠Γ╗╣┤µ╘┌┬≡? (Y/N)"),
- response(Reply),
- asserta(dbase("run_resident",Reply)),Reply='y'.
- check("run_floppy_physical"):-
- title,
- write("╝∞▓Θ┼╠╞¼╔╧┐╔╝√╡─╬∩└φ╦≡╔╦,┼╠╞¼┐┤╞≡└┤║├┬≡?(Y/N)"),
- response(Reply),
- asserta(dbase("run_floppy_physical",Reply)),Reply='y'.
- check("run_twodisks"):-
- title,
- write("─π╙╨╦½╟²╢»╞≈╗≥┐╔╙├┴φ╥╗╠¿╝╞╦π╗·┬≡? (Y/N)"),
- response(Reply),
- asserta(dbase("run_twodisk",Reply)),Reply='y'.
- check("second_disk"):-
- write("╕├┼╠╥╘═¼╤∙╖╜╩╜╘┌┴φ╥╗╟²╢»╞≈╓╨╣ñ╫÷┬≡? (Y/N)"),
- response(Reply),
- asserta(dbase("second_disk",Reply)),Reply='y'.
- check("run_one_floppy"):-
- title,
- write("╢╘╥╗╠╪╢¿╗≥╥╗╓╓┼╞╫╙╡─╚φ┼╠╫▄╩╟╖ó╔·┤╦╬╩╠Γ┬≡? (Y/N)"),
- response(Reply),
- asserta(dbase("run_one_ploppy",Reply)),Reply='y'.
- check("write_protect"):-
- title,
- write("├╗╙╨╕┤╕╟┼╠╔╧╡─╨┤▒ú╗ñ┐╫┬≡? (Y/N)"),
- response(Reply),
- asserta(dbase("write_protect",Reply)),Reply='y'.
- check("printer_program"):-
- title,
- write("╙├ DIR,CTR/P,Enter ░╤┴╨▒φ─┌╚▌╦═┤≥╥²╗·"),nl,
- write("┤≥╙í╒²╚╖┬≡? (Y/N)"),
- response(Reply),
- asserta(dbase("printer_program",Reply)),Reply='y'.
- check("one_beep"):-
- write("┤╙╚φ┼╠╥²╡╝╟░,╥╗╔∙╢╠╜╨╬¬╒²│ú,╥²╡╝╙╨╬╩╠Γ┬≡? (Y/N)"),
- response(Reply),
- Reply='y'.
- checkc(Z,X):-
- dbase(Z,Y),X=Y,!.
- checkc("╧╡═│",X):-
- not(dbase("╧╡═│",_)),repeat,title,
- write(" ╬╩╠Γ╗∙▒╛└α╨═:"),nl,nl,
- write("1) ╞⌠╢»╬╩╠Γ 2) ╘╦╨╨╬╩╠Γ"),nl,
- write("3) ╧╘╩╛╬╩╠Γ 4) ╝ⁿ┼╠╬╩╠Γ"),nl,
- write("5) ┤≥╙í╗·╬╩╠Γ 6) ═╦│÷"),nl,nl,
- write("╟δ╩Σ╚δ─π╡─╤í╘±"),
- response(Reply),
- char_int(Reply,Z),
- Z<64,Z>48,!,
- asserta(dbase("╧╡═│",Reply)),X=Reply.
- checkc("╞⌠╢»",X):-
- not(dbase("╞⌠╢»",_)),repeat,title,
- write(" ╞⌠╢»╬╩╠Γ└α╨═:"),nl,
- write("1) ╞⌠╢»╩▒│÷╧╓╧╡═│┤φ(POST╩º░▄)"),nl,
- write("2) ▓╗─▄╞⌠╢»,╡τ╘┤╡╞▓╗┴┴,╞┴─╗▓╗╧╘╩╛ ,┼╠▓╗╣ñ╫≈"),nl,
- write("3) ▓╗─▄╞⌠╢»,╡τ╘┤╡╞┴┴,╞┴─╗╞┴─╗╬▐╚╬║╬╧╘╩╛,┼╠▓╗╣ñ╫≈"),nl,
- write("4) POST ╒²│ú,╡½▓╗─▄╞⌠╢»"),nl,nl,
- write(" ╟δ╩Σ╚δ─π╡─╤í╘±:"),nl,
- response(Reply),
- char_int(Reply,Z),
- Z<53, Z>48,!,
- asserta(dbase("╞⌠╢»",Reply)),
- X=Reply.
- checkc("╜╨╔∙",X):-
- not(dbase("╜╨╔∙",_)),repeat,title,
- write(" │⌡╩╝╒∩╢╧╩▒╡─╜╨╔∙└α╨═:"),nl,
- write("1) ╬▐╜╨╔∙,╗·╞≈╬▐╖┤╙ª"),nl,
- write("2) ╥╗╔∙╢╠╜╨,┤┼┼╠╡╞┴┴"),nl,
- write("3) ┴¼╨°╜╨ "),nl,
- write("4)╥╗╔∙│ñ╜╨,╥╗╔∙╢╠╜╨"),nl,
- write("5)╥╗╔∙│ñ╜╨,┴╜╔∙╢╠╜╨"),nl,
- write("6)╥╗╔∙╢╠╜╨,╞┴─╗▒Σ║┌╗≥╧╘╩╛▓╗╒²│ú"),nl,
- write("7) ╓╪╕┤╡─╢╠╜╨╔∙"),nl,
- write("8)╥╗╔∙╢╠╜╨,╝┤│÷╧╓ BASIC╠ß╩╛╖√"),nl,nl,
- write("╟δ╩Σ╚δ─π╡─╤í╘±"),
- response(Reply),
- char_int(Reply,Z),
- Z<57, Z>48,!,
- asserta(dbase("╜╨╔∙",Reply)),
- X=Reply.
- checkc("┤φ╬≤┤·┬δ",X):-
- not(dbase("┤φ╬≤┤·┬δ",_)),
- repeat,title,
- write(" ┤φ╬≤└α╨═:"),nl,
- write("a) ╬▐┤φ╬≤╨┼╧ó "),nl,
- write("b) 101 ╗≥ 131 ╗≥ 1xx "),nl,
- write("c) 201 ╗≥ xxxx201 parity check x ╗≥ 20x ╗≥xx20x"),nl,
- write("d) 301 ╗≥ xx301 ╗≥ 30x ╗≥ ╝ⁿ┼╠┤φ"),nl,
- write("e) 601 ╗≥ 6xx"),nl,
- write("f) 4xx"),nl,
- write("g) 5xx"),nl,
- write("h) 9xx"),nl,
- write("i) 13xx"),nl,
- write("j) 14xx"),nl,
- write("k) 1701 ╗≥ 17xx"),nl,
- write("l) 1801 ╗≥ 17xx"),nl,
- write("m) 02x"),nl,nl,
- write("╟δ╩Σ╚δ─π╡─╤í╘±"),
- response(Reply),nl,
- char_int(Reply,Z),
- Z<110,Z>96,!,
- asserta(dbase("┤φ╬≤┤·┬δ",Reply)), X=Reply.
- checkc("╚φ┼╠╞⌠╢»",X):-
- not(dbase("╚φ┼╠╞⌠╢»",_)),repeat,title,
- write("╧┬├µ╙├╚φ┼╠╞⌠╢»└┤╒∩╢╧╬╩╠Γ"),nl,nl,
- write(" ╚φ┼╠╟²╢»╞≈╓ó╫┤└α╨═:"),nl,
- write("1) ╚φ┼╠╟²╢»╞≈▓╗╢»,╫░╚δ╡╞▓╗┴┴,┬φ┤∩▓╗╫¬"),nl,
- write("2) ╫░╚δ╡╞┴┴,┬φ┤∩╫¬,╡½▓╗╫÷╞Σ╦ⁿ╢»╫≈"),nl,
- write("3)╧╘╩╛ Non System disk or disk error ╗≥disk boot failure"),nl,
- write("4)╧╘╩╛ Drive not ready"), nl,
- write("5)╧╘╩╛ Bad or missing Command interpreter"),nl,nl,
- write("╟δ╩Σ╚δ─π╡─╤í╘±"),
- response(Reply),nl,
- char_int(Reply,Z),
- Z<58,Z>48,!,
- asserta(dbase("╚φ┼╠╞⌠╢»",Reply)), X=Reply.
- checkc("run_hard_disk",X):-
- not(dbase("run_hard_disk",_)),repeat,title,
- write(" ╙▓┼╠╓ó╫┤└α╨═:"),nl,
- write("1) ╙▓┼╠▓╗╢»--╖├╬╩╩▒╫░╚δ╡╞▓╗┴┴"),nl,
- write("2) ╢┴╨┤▓╗═Ω╒√ "),nl,
- write("3) ╢┴╒²╚╖,╡½╨┤▓╗╒²╚╖ "),nl,
- write("4) ╘╦╨╨ CHKDSK ╩▒│÷┤φ "),nl,
- write("5) ╧∞╔∙╥∞│ú "),nl,
- write("6) ╢¬╡⌠┴╦╦∙┤µ╨┼╧ó "),nl,nl,
- write("╟δ╩Σ╚δ─π╡─╤í╘±"),
- response(Reply),
- char_int(Reply,Z),
- Z<55,Z>48,!,
- asserta(dbase("run_hard_disk",Reply)), X=Reply.
- checkc("run_floppy_disk",X):-
- not(dbase("run_floppy_disk",_)),repeat,title,
- write(" ╚φ┼╠╓ó╫┤└α╨═:"),nl,
- write("1) ╚φ┼╠▓╗╢»--╖├╬╩╩▒╫░╚δ╡╞▓╗┴┴"),nl,
- write("2) ╧╘╩╛ Not ready reading drivex,Abort,Retry,Ignore?"), write("3) ╢┴╨┤▓╗═Ω╒√ "),nl,
- write("4) ╢┴╒²╚╖,╡½╨┤▓╗╒²╚╖ "),nl,
- write("5) ╧∞╔∙╥∞│ú "),nl,
- write("6) ╫░╚δ,╨╢╧┬┼╠╞¼▒╚╜╧└º─╤ "),nl,nl,
- write("╟δ╩Σ╚δ─π╡─╤í╘±"),
- response(Reply),
- char_int(Reply,Z),
- Z<55,Z>48,!,
- asserta(dbase("run_floppy_disk",Reply)), X=Reply.
- checkc("╘╦╨╨",X):-
- not(dbase("╘╦╨╨",_)),repeat,title,
- write(" ╘╦╨╨╬╩╠Γ└α╨═:"),nl,nl,
- write("1) ╝╞╦π╗·╦°╢¿,╡½╡τ╘┤╚╘╘┌╣ñ╫≈"),nl,
- write("2) ╝╞╦π╗·╡⌠╡τ,╫╘╝║╣╪╢╧╡τ╘┤"),nl,
- write("3) ╞µ┼╝╨ú╤Θ┤φ "),nl,
- write("4) ╜╙╔╧═Γ▓┐╔Φ▒╕╩▒╝╞╦π╗·▒└└ú"),nl,
- write("5) ╘╦╨╨╜ß╣√╖┤╕┤╬▐│ú,╗≥╝Σ╙╨╩º░▄"),nl,
- write("6) ╘╦╨╨╠╪╩Γ│╠╨≥╩▒│÷┤φ"),nl,
- write("7) ╙▓┼╠╬╩╠Γ"),nl,
- write("8) ╚φ┼╠╬╩╠Γ"),nl,
- write("9) ╣²╚╚"),nl,nl,
- write("╟δ╩Σ╚δ─π╡─╤í╘±"),
- response(Reply),nl,
- char_int(Reply,Z),
- Z<58,Z>48,!,
- asserta(dbase("╘╦╨╨",Reply)), X=Reply.
- checkc("╧╘╩╛",X):-
- not(dbase("╧╘╩╛",_)),repeat,title,
- write("╧╘╩╛╬╩╠Γ└α╨═"),nl,nl,
- write("1) ╬▐╧╘╩╛"),nl,
- write("2) ╧╘╩╛╡¡─«"),nl,
- write("3) ╧╘╩╛╞≈╣²╚╚"),nl,
- write("4) ┤╣╓▒═¼▓╜╩º"),nl,
- write("5) ╦«╞╜═¼▓╜╩º"),nl,
- write("6) ╧╘╩╛╨┼╧ó╘╙┬╥"),nl,
- write("7) ▓╩╔½╧╘╩╛╞≈╗╡╗≥╬▐▓╩╔½"),nl,nl,
- write(" ╟δ╩Σ╚δ─π╡─╤í╘±"),
- response(Reply),nl,
- char_int(Reply,Z),
- Z<56,Z>48,!,
- asserta(dbase("╧╘╩╛",Reply)), X=Reply.
- checkc("╝ⁿ┼╠",X):-
- not(dbase("╝ⁿ┼╠",_)),repeat,title,
- write("╝╠╨°╒∩╢╧╟░╙ª╚╖▒ú╝ⁿ┼╠╬▐╬∩└φ╦≡╔╦"),nl,
- write(" ╝ⁿ┼╠╬╩╠Γ└α╨═:"),nl,nl,
- write("1) ╝ⁿ┼╠╩º┴Θ"),nl,
- write("2) ╝ⁿ┼╠╩Σ╚δ┤φ╬≤╫╓╖√"),nl,
- write("3) ╥╗╕÷╗≥╢α╕÷╝ⁿ╩º┴Θ"),nl,
- write("4) ╤╣╧┬╥╗╕÷╝ⁿ╧╘╩╛╢α╕÷╫╓╖√"),nl,
- write("5) ═Γ▓┐╬∩╠σ╢¬╜°┴╦╝ⁿ┼╠"),nl,
- write("6) ╝ⁿ┼╠╔╧╙╨─│╓╓╥▌│÷╬∩"),nl,nl,
- write(" ╟δ╩Σ╚δ─π╡─╤í╘±"),
- response(Reply),nl,
- char_int(Reply,Z),
- Z<56,Z>48,!,
- asserta(dbase("╝ⁿ┼╠",Reply)), X=Reply.
- checkc("┤≥╙í╗·",X):-
- not(dbase("┤≥╙í╗·",_)),repeat,title,
- write(" ┤≥╙í╗·╬╩╠Γ└α╨═:"),nl,nl,
- write("╬a) ┤≥╙í╗·╩º┴Θ"),nl,
- write("╬b) ▓╗─▄╫╘╝∞"),nl,
- write("╬c) ╫╘╝∞╒²│ú,┴¬╗·╩º░▄"),nl,
- write("╬d) ┤≥╙í╨┼╧ó╘╙┬╥"),nl,
- write("╬e) │÷╧╓╥∞│ú╡─┼╝╚╗╡─┤φ╬≤"),nl,
- write("╬f) ═╗╚╗═ú╓╣┤≥╙í"),nl,
- write("╬g) ┤≥╙í═╖╨í│╡▓╗─▄╥╞╢»"),nl,
- write("╬h) ┤≥╙í╘┌╣ñ╫≈,╡½┤≥╙í▓╗│÷╚╬║╬╫╓╖√"),nl,
- write("╬i) ┤≥╙í╗·╗≥┤≥╙í═╖╣²╚╚"),nl,
- write("╬j) ╙í│÷╡─╫╓╖√╝Σ╛α▓╗╛∙╘╚"),nl,
- write("╬k) ╢¬╡⌠▓┐╖╓┤≥╙í╫╓╖√"),nl,
- write(" l) ┤≥╙í╓╜╙╡╝╖│╔╢╤"),nl,nl,
- write(" ╟δ╩Σ╚δ─π╡─╤í╘±"),
- response(Reply),nl,
- char_int(Reply,Z),
- Z<109,Z>96,!,
- asserta(dbase("┤≥╙í╗·",Reply)),
- X=Reply.
- response(Reply):-
- readchar(Reply),
- write(" " ,Reply),nl.
- cause("AC ╡τ╘┤"):-
- write("╗≥╨φAC╡τ╘┤├╗╜╙║├"),
- write("╟δ╝∞▓Θ╡τ╘┤╧▀╝░▓σ╫∙,╚╖▒ú╡τ╘┤╜╙═¿").
- cause("┐¬╣╪"):-
- write("╗≥╨φ╣╩╒╧╘┌ ON/OFF ┐¬╣╪╗≥╡τ╘┤"),nl,
- write("╟δ╝∞▓Θ ON/OFF┐¬╣╪╝░╧╡═│─┌▓┐╡τ╘┤").
- cause("╬▐╡τ"):-
- write("╗≥╨φ╡τ╘┤╣⌐╕°╗≥╡τ╘┤┴¼╜╙╞≈╙╨╬╩╠Γ"),
- write("╟δ╝∞▓Θ╗·─┌╡τ╘┤╣⌐╕°╧╡═│").
- cause("╡τ╘┤╣⌐╕°"):-
- write(" ╗≥╨φ─┌▓┐╡τ╘┤╣⌐╕°╙╨╬╩╠Γ"),nl,
- write("╝∞▓Θ─┌▓┐╡τ╘┤╣⌐╕°╡τ└┬╝░╧╡═│").
- cause("╧╡═│░σ"):-
- write("╧╡═│░σ╙╨╬╩╠Γ,╨▐└φ╗≥╕ⁿ╗╗╓«").
- cause("╧╡═│░σ2"):-
- write("╧╡═│░σ┐¬╣╪╔Φ╓├╗≥╧╡═│░σ╙╨╬╩╠Γ"),nl,
- write("╝∞▓Θ┐¬╣╪╗≥╕ⁿ╗╗╧╡═│░σ").
- cause("╧╘╩╛"):-
- write("╧╘╩╛╞≈╗≥╧╘╩╛╡τ└┬╙╨╬╩╠Γ,╕ⁿ╗╗╗≥╨▐└φ╦ⁿ").
- cause("┤┼┼╠╟²╢»╞≈"):-
- write("╟²╢»╞≈, ╡τ└┬, ┐╪╓╞┐¿╙╨╬╩╠Γ╗≥╜╙┤Ñ▓╗┴╝"),nl,
- write("╕ⁿ╗╗╗≥╓╪╜╙╟²╢»╞≈╝░┐╪╓╞┐¿").
- cause("─┌┤µ"):-
- write("╧╡═│╗≥╜╙┐┌░σ╔╧╙╨╥╗╕÷╗≥╢α╕÷╙╨╬╩╠Γ╨╛╞¼,╚╖▒ú╦∙╙╨╞¼╫╙"),nl,
- write("└╬┐┐╡╪╫░╘┌▓σ╫∙╔╧,▒╪╥¬╩▒╙├╒∩╢╧│╠╨≥╚╖╢¿╙╨╬╩╠Γ╡─╞¼╫╙").
- cause("╝ⁿ┼╠"):-
- write("╝ⁿ┼╠╙╨╬╩╠Γ╗≥╜╙┤Ñ▓╗┴╝").
- cause("╡Ñ╔½╧╘╩╛╞≈"):-
- write("╧╘╩╛╞≈╙╨╬╩╠Γ╗≥╜╙┤Ñ▓╗┴╝,╝∞▓Θ╧╘╩╛╞≈,╜╙┐┌┐¿,╡τ└┬").
- cause("▓╩╔½╧╘╩╛╞≈"):-
- write("╧╘╩╛╞≈╙╨╬╩╠Γ╗≥╜╙┤Ñ▓╗┴╝,╝∞▓Θ╧╘╩╛╞≈,╜╙┐┌┐¿,╡τ└┬").
- cause("┤≥╙í╗·"):-
- write("┤≥╙í╗·╙╨╬╩╠Γ╗≥╜╙┤Ñ▓╗┴╝,╝∞▓Θ┤≥╙í╗·,╜╙┐┌┐¿,╡τ└┬").
- cause("╙▓┼╠:"):-
- write("╙▓┼╠╗·╙╨╬╩╠Γ╗≥╜╙┤Ñ▓╗┴╝,╝∞▓Θ╙▓┼╠╗·,╜╙┐┌┐¿,╡τ╘┤").
- cause("╙╬╧╖╩╩┼Σ╞≈"):-
- write("╙╬╧╖╩╩┼Σ╞≈╬┤╜╙╔╧╗≥╙╨╚▒╧▌.╝∞▓Θ╙╬╧╖╩╩┼Σ╞≈┐¿╝░╡τ└┬").
- cause("└⌐╒╣╡Ñ╘¬"):-
- write("└⌐╒╣╡Ñ╘¬╙╨├½▓í╗≥╬┤╜╙║├").
- cause("config"):-
- write("config ╬─╝■╓╨╡──│╨⌐─┌╚▌╫Φ╓╣┴╦╞⌠╢»╡─═Ω│╔.╠╪▒≡╥¬╗│╥╔╜ⁿ╞┌"),nl,
- write("╠φ╝╙╡╜╕├╬─╝■╓╨╡──┌╚▌,╠╪▒≡╫ó╥Γ DEVICE=xxxx ╒Γ╥╗╧ε").
- cause("╙▓┼╠"):-
- write("╙▓┼╠╗≥╞Σ┐╪╓╞┐¿╙╨╬╩╠Γ,╥▓┐╔─▄╩╟╙▓┼╠╟²╢»╞≈╡τ╘┤╙╨╬╩╠Γ"),nl,
- write("╚⌠╙▓┼╠╘┌└⌐╒╣╡Ñ╘¬╓╨,╙ª╝∞▓Θ╡τ╘┤╩╟╖±╜╙═¿").
- cause("dos"):-
- write("╘┌╙▓┼╠╔╧░▓╫░ DOS 2.0╗≥╕ⁿ╕▀░µ▒╛").
- cause("╞⌠╢»╢┴╙▓"):-
- write("╚⌠▓╗─▄╢┴╙▓┼╠╔╧╡──┐┬╝,╗≥╨φ╢¬╡⌠┴╦╙▓┼╠╔╧╡─│╠╨≥╗≥╩²╛▌"),nl,
- write("╩╘╕±╩╜╗»╙▓┼╠▓ó╗╓╕┤╫¬┤ó╡─│╠╨≥,╩²╛▌").
- cause("bad_dos"):-
- write("╙▓┼╠╔╧╡─ DOS╙╨╬╩╠Γ").
- cause("AUTOEXEC"):-
- write("╘┌ AUTOEXEC.BAT ╓╨╡──│╨⌐╢½╬≈╫Φ╓╣╥²╡╝╡─═Ω│╔"),nl,
- write("╙ª╗│╥╔╜ⁿ╞┌╠φ╝╙╡╜╕├╬─╝■╓╨╡─╥╗╨⌐─┌╚▌").
- cause("δ֪"):-
- write("╬╩╠Γ─╤╥╘╚╖╢¿,╙ª╗│╥╔╚╬║╬╨┬░▓╫░╡─╙▓╝■╝░╚φ╝■"),nl,
- write("╥╞╚Ñ╦ⁿ├╟╘┘╥²╡╝╓«.╝∞▓Θ╧╡═│░σ╔╧╡─┐¬╣╪").
- cause("╟²╢»╞≈╡τ╘┤"):-
- write("╟²╢»╞≈╙╨├½▓í╗≥╡╜╟²╢»╞≈╡─╡τ╘┤▓╗═¿.╝∞▓Θ╡╜╟²╢»"),nl,
- write("╞≈╡─╡τ╘┤╡τ└┬.╚⌠╡τ╘┤╒²│ú, ╘≥╕ⁿ╗╗╗≥╨▐└φ╟²╢»╞≈").
- cause("physical_disk"):-
- write("╚⌠╚φ┼╠╙╨╬∩└φ╦≡╔╦,╘┌╙╨┴╦▒╕╖▌╓«║≤┼╫╞·╦ⁿ").
- cause("dirt"):-
- write("╢┴═╖╠½╘α╗≥╟²╢»╞≈╓╨╙╨╥∞╬∩,╙ª▒ú│╓┼╠╡─╟σ╜α").
- cause("twodisks"):-
- write("╩╫╧╚┤╙┴φ╥╗╕÷╟²╢»╞≈╥²╡╝,╚⌠│╔╣ª╘≥┤╦╟²╢»╞≈╙╨╬╩╠Γ"),nl,
- write("╝∞▓Θ╦≡╗╡╗≥╦╔╔ó╡─╟²╢»╞≈┤½╢»╫░╓├.╚⌠╥²╡╝╩º░▄╘≥┐╔─▄"),nl,
- write("┐╪╓╞┐¿╡τ└┬╙╨╬╩╠Γ.┐╔╜╗╗╗╟²╢»╞≈ A,B ╡╜┐╪╓╞┐¿╡─,▓σ"),nl,
- write("╫∙╬╗╓├,╚⌠╚╘▓╗─▄┤╙A ╟²╢»╞≈╓╨╥²╡╝,╘≥┐╔─▄┐╪╓╞┐¿╗≥╡τ"),nl,
- write("└┬╙╨╬╩╠Γ,╖±╘≥╟²╢»╞≈╙╨╬╩╠Γ.╟²╢»╞≈╬╩╠Γ║▄┐╔─▄╩╟┤½╢»"),nl,
- write("╗·╣╣,┬φ┤∩,╨ú╫╝╬╩╠Γ").
- cause("╚φ┼╠╟²╢»╞≈"):-
- write("╬╩╠Γ┐╔─▄╘┌┼╠╟²╢»╞≈,╡τ└┬╗≥┐╪╓╞┐¿.").
- cause("format"):-
- write("╕├┼╠╬┤╕±╩╜╗»╗≥╞Σ╔╧╬▐ DOS ,╩╣╙├║¼ DOS ╡─╕±╩╜╗»┼╠").
- cause("├┼"):-
- write("╕├┼╠╬┤╕±╩╜╗»╗≥╟²╢»╞≈├┼├╗╣╪,╣╪╔╧├┼╗≥╗╗┼╠").
- cause("├ⁿ┴ε"):-
- write("COMMAND.COM ╬─╝■▓╗╘┌┼╠╔╧,╙├╙╨┤╦╬─╝■╡─DOS┼╠").
- cause("unplugged"):-
- write("╓╪▓╝╗≥╕ⁿ╗╗╡τ└┬,▒▄├Γ╬╩╠Γ╘┘│÷╧╓").
- cause("╙▓╝■"):-
- write("╩╘┤╙╚φ┼╠╥²╡╝╥╘╝∞▓Θ╗╡ DOS,╚⌠╥²╡╝╩º░▄,╙ª╓╪╕┤╒Γ╓╓╒∩╢╧"),nl,
- write("╥╘╝∞▓Θ╥²╡╝╬╩╠Γ.╒Γ║▄┐╔─▄╩╟╧╡═│░σ,╝ⁿ┼╠╗≥─┌┤µ╨╛╞¼╬╩╠Γ").
- cause("╚φ╝■"):-
- write("╘╦╨╨╠╪╢¿│╠╨≥╩▒│÷┤φ┐╔─▄╙δ╫ñ┴⌠│╠╨≥╙╨│σ═╗,╩╘╚Ñ╡⌠╦∙╙╨╫ñ┴⌠"),nl,
- write("│╠╨≥╘┘╩╘╘╦╨╨.╚⌠│╠╨≥╩╟╨┬╡─╟╥╩╣╙├╨┬╡─╙▓╝■╘≥┐╔─▄╩╟╓╨╢╧│σ═╗").
- cause("static"):-
- write("╬╩╠Γ┐╔─▄╙╔╛▓╡τ╗≥╡τ╘┤└╦╙┐╥²╞≡,╙ª╩╣╙├└╦╙┐▒ú╗ñ╞≈╖└╡τ╘┤"),nl,
- write("└╦╙┐,╩╣╙├┐╣╛▓╡τ╡╪░σ╖└╛▓╡τ").
- cause("æ"):-
- write("╨φ╢α│╠╨≥╘╦╨╨╩▒╙╨╥Γ╦°╫í╝ⁿ┼╠╥╘╖└╦√╚╦╖╟╖¿╕─▒Σ╩²╛▌,╙╪╡╜"),nl,
- write("╒Γ╓╓╬╩╠Γ┐╔╙├╕ⁿ┐∞╗≥╓º│╓╢α╚╬╬±╡─╝╞╦π╗·").
- cause("drop_power"):-
- write("╬╩╠Γ┐╔─▄╙╔╛▓╡τ,╡τ╘┤└╦╙┐╗≥╙╨╚▒╧▌╡─╡τ╘┤╣⌐"),nl,
- write("╕°,╗≥╗╡╡─╧╡═│░σ╦∙╥²╞≡").
- cause("╞µ┼╝┤φ"):-
- write("╫ε╥╗░π╡─╘¡╥≥╩╟─┌┤µ╨╛╞¼┤φ,╒Γ┐╔╙├─┌┤µ╒∩╢╧│╠╨≥╚╖╢¿.┴φ╥╗"),nl,
- write("╕÷╘¡╥≥╩╟╩╣╙├╞µ┼╝╨ú╤Θ┤φ╡─╓╨╢╧,╚τ─│╨⌐EGA░σ.╚⌠╜ⁿ╞┌░▓╫░"),nl,
- write("┴╦╨┬╡─╙▓╝■╗≥╚φ╝■,╙ª╗│╥╔╦ⁿ╥²╞≡┴╦╞µ┼╝┤φ╨┼╧ó").
- cause("crashes"):-
- write("╬╩╠Γ┐╔─▄╩╟: 1)╘┌╠╪╩Γ│╠╨≥╓╨╙╨╚φ╝■┤φ╬≤(BUG); 2)╘┌╙▓╝■"),nl,
- write("╗≥╚φ╝■╟²╢»╞≈╓╨╙╨╚▒╧▌; 3)╧╡═│░σ╗≥╡τ╘┤╣⌐╕°╙╨╬╩╠Γ").
- cause("erratic_software"):-
- write("╝∞▓Θ╙δ╫ñ┴⌠│╠╨≥╡─│σ═╗.╚⌠╬▐│σ═╗╩╘┤╙╓≈┼╠╫≈│╠╨≥╡─▒╕╖▌,"),nl,
- write(" ╚╗║≤╘┘╝∞▓Θ│╠╨≥").
- cause("╗╖╛│"):-
- write("╝╞╦π╗·╕╜╜ⁿ╡─╬┬╢╚╙ª╬¬╔π╩╧ 16--32 ╢╚"),nl,
- write("╒Γ┐╔─▄╦µ▓·╞╖▓╗═¼╢°╥∞").
- cause("run_hard_disk"):-
- write("╡τ╘┤╡τ└┬╗≥╟²╢»╞≈╙╨╬╩╠Γ").
- cause("run_expansion"):-
- write("╚╖▒ú└⌐╒╣╡Ñ╘¬═¿╡τ.╚⌠╥╤═¿╡τ,╘≥╡τ╘┤╣⌐╕°,╞Σ╡τ└┬╗≥╙▓┼╠╙╨╬╩╠Γ").
- cause("run_harddisk_write"):-
- write("┐╔─▄╟²╢»╞≈,┐╪╓╞┐¿╗≥┐╪╓╞┐¿╡╜╟²╢»╞≈╡─╡τ└┬╙╨╬╩╠Γ").
- cause("run_harddisk_read"):-
- write("┐╔─▄╟²╢»╞≈,┐╪╓╞┐¿╗≥┐╪╓╞┐¿╡╜╟²╢»╞≈╡─╡τ└┬╙╨╬╩╠Γ").
- cause("run_harddisk_chkdsk"):-
- write("┐╔─▄┼╠╟²╢»╞≈╙╨╬╩╠Γ.╥▓┐╔─▄╩╟╙ª╙├│╠╨≥╔Φ╝╞╡─▓╗║├"),nl,
- write("╚⌠╘╦╨╨ CHKDSK ║≤╒╥▓╗╡╜╢¬╡⌠╡─CLUSTER╘≥┤╦│╠╨≥╙╨╬╩╠Γ"),nl,
- write("╨┬╡─ CHKDSK │╠╨≥(1985)└√╙├┴╦╜╧╨┬╡─ DOS ╣ª─▄╧√│²╬╩╠Γ").
- cause("run_harddisk_noise"):-
- write("┐╔─▄╓ß│╨╙╨╬╩╠Γ,┴ó╝┤╕ⁿ╗╗┤┼┼╠╜°╨╨╝∞▓Θ").
- cause("run_hard"):-
- write("┐╔─▄╟²╢»╞≈╗╡┴╦,┴ó╝┤╕ⁿ╗╗┤┼┼╠╜°╨╨╝∞▓Θ").
- cause("physical_move"):-
- write("╢╘╨φ╢α╝╞╦π╗·└┤╦╡,╥╞╢»┼╠╟░▒╪╨δ╩╣╟²╢»╞≈═╖ PARKED (═ú┴⌠"),nl,
- write("╘┌░▓╚½╬╗╓├),╒Γ┐╔╙├╒∩╢╧│╠╨≥╡─╥╗╕÷╤í╘±╧ε└┤╫÷.╚⌠─π╡─╧╡═│"),nl,
- write("╙╨╒Γ╓╓╨Φ╥¬,╘┌╥╞╢»┼╠╥╘╟░▒╪╨δ╧╚ PARK").
- cause("run_disk_software"):-
- write("─│╨⌐│╠╨≥─╤╘┌╙╨╨⌐┼╠╔╧╘╦╨╨,╚⌠╢╘╡Ñ╕÷│╠╨≥▓·╔·┤╦╓╓╬╩╠Γ"),nl,
- write("╙ª╒╥│╠╨≥┐¬╖ó╒▀▓Θ╬╩╠Γ").
- cause("run_resident"):-
- write("─│╨⌐╫ñ┴⌠╚φ╝■┐╔╙├╢┴╨┤┼╠└┤╜╙┐┌.╩╘╥╞╚Ñ╠╪╢¿╫ñ┴⌠│╠╨≥╗≥"),nl,
- write("╥╘▓╗═¼┤╬╨≥░▓╫░╦ⁿ├╟").
- cause("run_floppy_physical"):-
- write("╟º╖╜░┘╝╞┤╙┼╠╔╧╗╪╩╒╩²╛▌,╚╗║≤╢¬╞·╕├┼╠").
- cause("bad_floppy"):-
- write("┤╙┼╠╔╧╗╪╩╒╩²╛▌╚╗║≤╓╪╨┬╕±╩╜╗»╕├┼╠▓ó▓Γ╩╘╦ⁿ.╚⌠"),nl,
- write("╚╘╩º░▄╘≥╢¬╞·╗≥╕ⁿ╗╗╕├┼╠").
- cause("bad_floppy_drive"):-
- write("┐╔─▄╚φ┼╠╟²╢»╞≈╗╡┴╦╗≥╨Φ╨ú╫╝╚φ┼╠╟²╢»╞≈").
- cause("bad_floppy2"):-
- write("╚⌠╢╘═¼╥╗┤┼┼╠┴¼╨°╖ó╔·╬╩╠Γ,╘≥╢╘╕├┼╠╫≈▒╕╖▌║≤╢¬╞·╗≥╕ⁿ╗╗┤╦"),nl,
- write("┼╠.╚⌠╢╘═¼╥╗┼╞║┼╡─┼╠┴¼╨°╖ó╔·╬╩╠Γ,╕ⁿ╗╗┴φ╥╗┼╞║┼╡─┼╠").
- cause("run_floppy_disk_power"):-
- write("┤┼┼╠╡τ╘┤╡τ└┬╗≥╡τ╘┤╣⌐╕°╙╨╬╩╠Γ").
- cause("run_floppy_not_ready"):-
- write("┐╔─▄╩╟╚φ┼╠▓σ┤φ┴╦╗≥╟²╢»╞≈├┼┐¬╫┼,╥▓┐╔─▄╩╟╙╔╙┌┼╠╙╨╚▒╧▌"),nl,
- write("╗≥╞≤═╝╢┴├╗╕±╩╜╗»╡─┼╠.┐╔╘┌┴φ╥╗╟²╢»╞≈╗≥╝╞╦π╗·╩╘┤╦┼╠,╚⌠"),nl,
- write("┼╠┐╔╣ñ╫≈,╦╡├≈╟²╢»╞≈┤½╢»╗·╣╣╗≥╟²╢»╞≈▒╛╔φ╙╨╬╩╠Γ").
- cause("write_protect"):-
- write("┼╠╞¼╔╧╡─▒ú╗ñ┐╫╕┤╕╟╩▒▓╗─▄═∙┼╠╔╧╨┤").
- cause("floppy_noise"):-
- write("┐╔─▄╩╟╟²╢»╞≈╓╨╡─╞ñ┤°╢╧┐¬,╟²╢»╞≈╓╨╙╨╥∞╬∩╗≥╟²╢»╞≈┬φ┤∩"),nl,
- write("╙╨╬╩╠Γ").
- cause("floppy_load"):-
- write("┐╔─▄╩╟╟²╢»╞≈╓╨╙╨╥∞╬∩,├┼╬╩╠Γ╗≥┴φ╝■╦╔┴╦").
- cause("╘╦╨╨╣²╚╚"):-
- write("┐╔─▄╖τ╔╚,╖τ╔╚═¿╖τ╗≥╩Σ╚δ═¿╖τ┐╫╙╨├½▓í.╚⌠▒╪╥¬╩▒╟σ└φ"),nl,
- write("╖τ╔╚╣²┬╦╞≈,▓ó╚╖▒ú╖τ╔╚╫¬╢».▓╗╥¬╘┌╧╡═│░▓╫░╣²╢α╡─╗≥"),nl,
- write("╣ª┬╩╣²┤≤╡─╜╙┐┌┐¿").
- cause("run_software_dos"):-
- write("╘┌DOS╩╓▓ß╓╨▓Θ┐┤┤φ╬≤╨┼╧ó,▓ó╜°╨╨╩╓▓ß╦∙╜¿╥Θ╡─╣²│╠").
- cause("run_software_application"):-
- write("═¿╣²╨┼╗≥╡τ╗░╙δ╚φ╝■╣½╦╛┴¬╧╡").
- cause("╬▐╧╘╩╛"):-
- write("╚╖▒ú╝α┐╪╞≈═¿╡τ,╗╘╢╚║╧╩╩,▓ó╝∞▓Θ╩╙╞╡╡τ└┬╗≥╝α┐╪╞≈").
- cause("╧╘╩╛╡¡─