Munching squares - display hack on PDP1 (simh)
17.03.2018 в 10:39 (64905 Просмотров)
[video=youtube;f133-nx3920]https://www.youtube.com/watch?v=f133-nx3920[/video]
Ранее пытался запустить эту программу, но получалась только точка на экране.
Выглядела программа так:
[CODE]
foo, lat /load the 18-bit AC from the Test Word
add v /add the contents of memory location v to the AC
dac v /deposit the contents of the AC into v
rcl 9s /Rotate the combined AC-IO 9 bits to the left
xor v /exclusive-or the contents of v into the AC
dpy-i 300 /plot point at x = high ten bits of AC, y = high ten bits of IO
jmp foo
[/CODE]
Запуск программы: код пишется на macro1(ассемблер, доступный на simh):
[CODE]
/
1000/
foo, lat
add v
dac v
rcl 9s
xor v
dpy-i 300
jmp foo
v,0
start foo
[/CODE]
скачать эмулятор можно [URL="http://simh.trailing-edge.com"]здесь[/URL]
Запустить pdp1.exe, набрать:
[CODE]
set dpy enable
attach ptr sf.rim
boot ptr
[/CODE]
Здесь sf.rim - полученный образ.
Для удобства можно создать текстовый файл, например ms.txt и запустить [B]pdp1.xe[/B] ms.txt
нажимайте клавиши 1-0, qwer.
Узнал о подобной фиче случайно, когда прочитал описание. Продраться сквозь длинный мануал эмулятора сложно.





