mirror of
https://github.com/simh/simh.git
synced 2026-01-13 15:27:14 +00:00
This emulates the classic LINC. The design was settled in 1965, increasing memory to 2048 words, and adding a Z register, an overflow flag, and an interrupt facility.
54 lines
969 B
Plaintext
54 lines
969 B
Plaintext
SET CRT DISABLED
|
|
RESET
|
|
DELETE printer.txt
|
|
ATTACH TTY printer.txt
|
|
DEPOSIT 0020 RTA
|
|
DEPOSIT 0021 BSE i
|
|
DEPOSIT 0022 1
|
|
DEPOSIT 0023 ATR
|
|
DEPOSIT 0024 SET i 12
|
|
DEPOSIT 0025 -430
|
|
DEPOSIT 0026 XSK i 12
|
|
DEPOSIT 0027 JMP 26
|
|
DEPOSIT 0030 SET i 1
|
|
DEPOSIT 0031 57
|
|
DEPOSIT 0032 SET i 2
|
|
DEPOSIT 0033 -20
|
|
DEPOSIT 0034 LDA i 1
|
|
DEPOSIT 0035 STC 44
|
|
DEPOSIT 0036 RTA
|
|
DEPOSIT 0037 SET i 11
|
|
DEPOSIT 0040 -13
|
|
DEPOSIT 0041 BCL i
|
|
DEPOSIT 0042 1
|
|
DEPOSIT 0043 SRO i
|
|
DEPOSIT 0045 ADD 42
|
|
DEPOSIT 0046 ATR
|
|
DEPOSIT 0047 SET i 12
|
|
DEPOSIT 0050 -430
|
|
DEPOSIT 0051 XSK i 12
|
|
DEPOSIT 0052 JMP 51
|
|
DEPOSIT 0053 XSK i 11
|
|
DEPOSIT 0054 JMP 41
|
|
DEPOSIT 0055 XSK i 2
|
|
DEPOSIT 0056 JMP 34
|
|
DEPOSIT 0057 HLT
|
|
DEPOSIT 0060 3220
|
|
DEPOSIT 0061 3212
|
|
DEPOSIT 0062 3230
|
|
DEPOSIT 0063 3230
|
|
DEPOSIT 0064 3236
|
|
DEPOSIT 0065 3100
|
|
DEPOSIT 0066 3250
|
|
DEPOSIT 0067 3212
|
|
DEPOSIT 0070 3230
|
|
DEPOSIT 0071 3212
|
|
DEPOSIT 0072 3250
|
|
DEPOSIT 0073 3262
|
|
DEPOSIT 0074 3240
|
|
DEPOSIT 0075 3212
|
|
DEPOSIT 0076 3032
|
|
DEPOSIT 0077 3024
|
|
GO 20
|
|
QUIT
|