• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Systasis Computer Systems

Systasis Computer Systems

The Infusionsoft Medics – We get it working right!

  • +1 520.399.8886
  • Keap
    • Infusionsoft by Keap
  • Gravity Forms Infusionsoft Feed
    • About
    • Gravity Forms Infusionsoft Feed Configuration
  • Services
    • Software Development
      • Infusionsoft
      • Gravity Forms
  • About
  • Messages
You are here: Home / simh / rtx2001A / Implementation

Implementation

August 7, 2022 by Jeff Chimene Leave a Comment

Makefile integration via  cargo build

bindgen for FFI bindings

arrayVec for RAM allocation

The RTX_2000 simulator from Phil Koopman has the instruction decoding logic. It also nicely integrates the zero-cycle “;” word.

Use Rust’s “no-std” feature flag. After all, this is an embedded system. SIMH provides virtual file I/O, debugging support, virtual console, virtual display.

See if instruction decoding can be accomplished via Rust’s enum type.

Rust’s Borrow Checker will verify memory read/write access.

Rust’s array slices should be useful.


You fill in sim_instr do the instruction decoding and execution.
sim_load will typically take some input file and put it in memory.
cpu_reg should contain all machine state.
parse_sym/fprint_sym is to assemble (with DEPOSIT) and disassemble (EXAMINE-M) instructions.
sim_devices is an array of DEVICE * for peripherals. Something like
build_dev_tab will go through the array and initialize data structures
at run time.
Refer to this: simh doc
Make use of asynchronous events. sim_activate posts a future event.
The “svc” routine will be called.

sub/readme.txt

parse_sym invokes Forth interpreter
print_sym invokes Forth disassembler


Build with SIM_ASYNCH_IO=0


Filed Under: rtx2001A, simh

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Recent Posts

  • Status
  • Implementation
  • Chip Inputs
  • On-Chip Peripherals
  • Bus Interfaces

Purchase Our Services

We’ve discussed your project, now it’s time to get your project started.
Purchase time by the hour. When you purchase eight or more hours, you’ll save 20%.

Contact Us

Systasis Computer Systems, Inc.
Sonoita, Arizona  85637-0778
USA
+1 520.399.8886

© 2023 · Built on the Genesis Framework