Last visit was: Thu Sep 04, 2025 3:11 pm
It is currently Thu Sep 04, 2025 3:11 pm



 [ 38 posts ]  Go to page Previous  1, 2, 3
 Harris RTX2000 Stack CPU Development Project 
Author Message
User avatar

Joined: Sun Dec 19, 2021 1:36 pm
Posts: 101
Location: Michigan USA
Hi, I discovered a few mistakes in my opcode list and have made an update. Main difference is how the unconditional jump instruction is used. Thanks! Michael


You do not have the required permissions to view the files attached to this post.


Mon Jul 07, 2025 8:07 pm WWW
User avatar

Joined: Sun Dec 19, 2021 1:36 pm
Posts: 101
Location: Michigan USA
Microprocessor Engineering (MPE) provides a modern Forth for the RTX2000 CPU's. They graciously provide a link to a legacy cross compiler, officially "MPE Forth Cross Compiler v5.1 for RTX2000/1/10". Here is a link to the zip file:

https://vfxforth.com/downloads/VfxCommunity/xrtx.zip

The documentation of the cross compiler is excellent, see the PDF in the Manual directory. Included in the manual is a convenient list of opcodes. I have taken a few screenshots of the opcode information, and share it here.

The legacy cross compiler has some challenges regards implementation. An installation key for the software is required, which was graciously provided by MPE upon request. The software has a windows installer, but the software itself runs in a DOS enviroment. I installed the software on a Windows 95 machine, and drop down to DOS in a window to run.

The software has an integrated development environment of sorts, based upon a DOS shell called Xs3. The shell is invoked from different directories, with each directory containing a separate configuration file for the current shell, depending upon the intended activity. The software can cross compile to create either a Tether Forth, ROM forth or RAM forth. The manual is excellent. I'm experimenting with the cross compiler presently.


You do not have the required permissions to view the files attached to this post.


Thu Jul 24, 2025 12:50 pm WWW
User avatar

Joined: Sun Dec 19, 2021 1:36 pm
Posts: 101
Location: Michigan USA
Here are a few miscellaneous points...

Attached is a screenshot of the MPE Forth Cross Compiler in action on a Windows 95 computer. The software seems OK with simply operating inside a MS-DOS window prompt. Notice the extensive menu.

The memory for the RTX is paged. Each page is 64 KB (32K Words). Special opcode invocations are required to work across page boundaries. I decided to avoid that issue by changing the memory layout on my development board. The board was rewired to provide a contiguous 16K of ROM words, and 16K of RAM words. My board is starting to get pretty messy, and I need to do another spin. See photo.

Finally, something simple. For months I was trying to use the large RTX Programmers Manual in PDF format. I finally had the PDF printed and bound. What a difference in convenience!


You do not have the required permissions to view the files attached to this post.


Thu Jul 24, 2025 1:28 pm WWW
User avatar

Joined: Sun Dec 19, 2021 1:36 pm
Posts: 101
Location: Michigan USA
Howdy. I have spent a lot of time researching opcodes for the RTX2000 CPU series from Harris. In the process I have found there are many forth words that are not defined. I just wanted to mention that it is very easy to work around that issue. The RTX instruction opcodes are 16 bit words. If the first bit of any word is a zero, the instruction is treated as a jump to a subroutine. This makes it very easy to define your own Forth words programmed in assembly.

Attached are some examples of words that I have defined. The code snippets are placed in ROM at the address of the subroutine. That address can thereafter be treated by the excel assembler as a valid opcode, so long as the routines are present in the ROM.

At some point I will program the mnemonics into the substitution formulas of the assembler. It is a great convenience to simply type the mnemonics and have the split codes assembled for you. The only really tedious part at this point is fixing up the addresses of the jumps. Other than that, it's almost like coding in Forth! Michael


You do not have the required permissions to view the files attached to this post.


Fri Aug 15, 2025 1:06 pm WWW

Joined: Mon Oct 07, 2019 2:41 am
Posts: 839
It might be nice to process the assembly using a macro processor.
FORTH directory format might be simplified permitting different versions
of FORTH to compile using the same core routines.


Fri Aug 15, 2025 11:56 pm
User avatar

Joined: Sun Dec 19, 2021 1:36 pm
Posts: 101
Location: Michigan USA
Just a quick update on the RTX2000 Development Board Project. I have been writing snippets of code in Assembly using my Excel Assembler Tool. I created a cheat sheet for logical control structures using the opcodes provided by hardware, which is attached.

Presently I am working on a native operating system, of sorts, which will allow me to more easily exercise and experiment with the RTX architecture. Considering my approach to serial terminal control, an editor and file transfer. Also updated the PCBs. Michael


You do not have the required permissions to view the files attached to this post.


Tue Aug 26, 2025 11:39 am WWW
User avatar

Joined: Sun Dec 19, 2021 1:36 pm
Posts: 101
Location: Michigan USA
Here is a quick update. I wrote a small application for the RTX2000 development board using assembly code. The application allows me to create, list, edit and execute machine code on the RTX2000. This is a great convenience for exploring the CPU architecture and opcodes. I have attached a screenshot of a brief editing session.

The total size of all the code I have written is 992 bytes. This includes Initializing the Serial Port UART, a NEXT Engine for the menu, Definition of an additional 27 words (bulk of code) and the Monitor Application (Type, Edit, List, Run). I have made no attempt to economize or streamline the code.

It occurred to me that this would be a good point to archive my project materials to date. I've zipped up the most important things and uploaded it to my website. Folders Include: PCB Files, Excel Assembler, Photos, Documentation and Binaries. There is a readme.txt in each folder describing what's there. Here is a link:

http://www.mtmscientific.com/rtx_mtm.zip

Michael


You do not have the required permissions to view the files attached to this post.


Wed Sep 03, 2025 2:00 pm WWW

Joined: Wed Jan 09, 2013 6:54 pm
Posts: 1838
A milestone! Thanks for sharing.


Wed Sep 03, 2025 2:08 pm
 [ 38 posts ]  Go to page Previous  1, 2, 3

Who is online

Users browsing this forum: alibaba-cloud, claudebot, SemrushBot and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software