{"action":"closed","issue":{"url":"https://api.github.com/repos/simh/simh/issues/401","repository_url":"https://api.github.com/repos/simh/simh","labels_url":"https://api.github.com/repos/simh/simh/issues/401/labels{/name}","comments_url":"https://api.github.com/repos/simh/simh/issues/401/comments","events_url":"https://api.github.com/repos/simh/simh/issues/401/events","html_url":"https://github.com/simh/simh/issues/401","id":207601048,"number":401,"title":"PDP11 Cannot boot TDCn where n>0 (TU58)","user":{"login":"PDP-1170","id":25668986,"avatar_url":"https://avatars.githubusercontent.com/u/25668986?v=3","gravatar_id":"","url":"https://api.github.com/users/PDP-1170","html_url":"https://github.com/PDP-1170","followers_url":"https://api.github.com/users/PDP-1170/followers","following_url":"https://api.github.com/users/PDP-1170/following{/other_user}","gists_url":"https://api.github.com/users/PDP-1170/gists{/gist_id}","starred_url":"https://api.github.com/users/PDP-1170/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PDP-1170/subscriptions","organizations_url":"https://api.github.com/users/PDP-1170/orgs","repos_url":"https://api.github.com/users/PDP-1170/repos","events_url":"https://api.github.com/users/PDP-1170/events{/privacy}","received_events_url":"https://api.github.com/users/PDP-1170/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-02-14T18:43:03Z","updated_at":"2017-02-17T09:51:51Z","closed_at":"2017-02-17T09:51:51Z","body":"- #### Context\r\nThe PDP11 simulator does not correctly handle BOOT of TDC devices with non-zero unit numbers.\r\nIt will always try to load from the first DL11 (at address 17776500) and will always load from unit 0 (or whatever is in R0 at the time of entering the BOOT command).\r\n\r\n- #### the output of \"sim> SHOW VERSION\" while running the simulator which is having the issue\r\n```\r\n    PDP-11 simulator V4.0-0 Beta\r\n        Simulator Framework Capabilities:\r\n                32b data\r\n                32b addresses\r\n                Threaded Ethernet Packet transports:PCAP:NAT:UDP\r\n                Idle/Throttling support is available\r\n                Virtual Hard Disk (VHD) support\r\n                RAW disk and CD/DVD ROM support\r\n                Asynchronous I/O support\r\n                Asynchronous Clock support\r\n                FrontPanel API Version 4\r\n        Host Platform:\r\n                Compiler: Microsoft Visual C++ 15.00.30729.01\r\n                Simulator Compiled as C arch: x86 (Release Build) on Feb 11 2017 at 10:52:53\r\n                Memory Access: Little Endian\r\n                Memory Pointer Size: 32 bits\r\n                Large File (>2GB) support\r\n                SDL Video support: SDL Version 2.0.5\r\n                PCRE RegEx support for EXPECT commands\r\n                OS clock resolution: 1ms\r\n                Time taken by msleep(1): 1ms\r\n                OS: Microsoft Windows [Version 10.0.14393]\r\n                Architecture: x86 on AMD64, Processors: 4\r\n                Processor Id: Intel64 Family 6 Model 42 Stepping 7, GenuineIntel, Level: 6, Revision: 2a07\r\n        git commit id: bce72b2b\r\n\r\n```\r\n- #### how you built the simulator or that you're using prebuilt binaries\r\nPre-built Windows simulator.\r\n\r\n- #### the simulator configuration file (or commands) which were used when the problem occurred.\r\nSee below.\r\n\r\n- #### the expected behavior and the actual behavior\r\nsim> set tdc ena,cont=16\r\nsim> att -e tdc30 nul\r\nTDC: buffering file in memory\r\nsim> ;\r\nsim> ; **OBSERVED BEHAVIOR**\r\nsim> boo tdc31\r\n^E\r\nSimulation stopped, PC: 002060 (BPL 2056)\r\nsim> e -m 2000/10\r\n2000:   MOV #**176500**,R1  ; _INCORRECT CSR ADDRESS_\r\n2004:   MOV #1,**R2**       ; _INCORRECT REGISTER (R0 is correct)_\r\nsim> ;\r\nsim> ; **EXPECTED BEHAVIOR**\r\nsim> att -e tdc0 nul\r\nTDC: buffering file in memory\r\nsim> boo tdc0\r\n\r\nHALT instruction, PC: 000002 (HALT)\r\nsim>\r\n"}}
{"actor":{"display_login":"PDP-1170"}}