• RTX2001A simulator in simh

    From Jeff Chimene@21:1/5 to All on Mon Jan 30 10:25:59 2023
    I've ported Phil Koopman's RTX2000 simulator to the simh framework for the purpose of visualizing the RTX (nee Novix) parallel data / instruction bus architecture.

    In its current state, the simulator runs the Forth engine, AppForth cross-compiled for the RTX2000, to the point of executing the canonical command \r\n\BYE\r\n
    It currently crashes with an illegal opcode when going any farther. For example, "SEE QUIT" crashes. In other words, I've ported enough of the word set to successfully boot and shutdown the simulator.

    I'm asking for visualization ideas, and implementation improvements that aid such visualization. For example, I'd like to peer into the execution of a word such that I can interrupt the current simulator state and resume at that breakpoint. Simh
    implements a history mechanism, but I'm not sure I can save all machine state only in the registers. For example, such state doesn't include the ALU. Note that I'm not referring to simulated interrupts; which are supported by simh, but not yet by this
    simulator.

    The simulator reports the following bus states to the simh framework: ASIC bus read/write, Parameter Stack Bus read/write, Return Stack Bus read/write; Memory Bus read/write.

    The simulator performs console I/O via simh facilities. It can also perform virtual disk I/O, though it doesn't now. Writes to certain ASIC ports via G! and G@ perform such byte-oriented external data I/O

    Simh provides a logging facility that's been hijacked to provide semi-structured text data to something reading STDOUT. At this point, it's the virtual console; simh provides Telnet support.

    My current visualization ideas are Oscilloscope with a clock trace and up to 4 bus traces or Blinkenbone.

    For various reasons (support for compilation under Windows a big one), the simulator will not be in the official openSimh repository. It can currently be found on gitlab: https://gitlab.com/jchimene/rtx2001a

    Comments, crticisisms, brickbats welcome.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jeff Chimene@21:1/5 to Marcel Hendrix on Mon Jan 30 13:13:28 2023
    On Monday, January 30, 2023 at 1:42:07 PM UTC-7, Marcel Hendrix wrote:
    On Monday, January 30, 2023 at 7:26:01 PM UTC+1, jchi...@gmail.com wrote: [..]
    Comments, crticisisms, brickbats welcome.

    Let's start with applause.
    /me bows

    I note it is all in 'C' ?

    -marcel
    Yes, I am afraid so.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marcel Hendrix@21:1/5 to jchi...@gmail.com on Mon Jan 30 12:42:05 2023
    On Monday, January 30, 2023 at 7:26:01 PM UTC+1, jchi...@gmail.com wrote:
    [..]
    Comments, crticisisms, brickbats welcome.

    Let's start with applause.

    I note it is all in 'C' ?

    -marcel

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)