Skip to content

Commit

Permalink
Major update
Browse files Browse the repository at this point in the history
  • Loading branch information
Isysxp authored Jan 25, 2023
1 parent 68cb0c9 commit 427b079
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,5 +97,29 @@ Update Jan 2023

Ian Schofield Jan 2023


Update Jan 2023<br>
This is a major update with many minor change. The most important point is that the app has now gone multi-user!<br>
I have added and extra DL11 interface. If you use a SparkFun board, upload the .uf2 in the images directory.<br>
2 comm ports will appear ... connect a terminal instance to both of them.
For thse who wish to build the code .... edit tusb_config.h in Pico-SDK\src\rp2_common\pico_stdio_usb\include\<br>
#define CFG_TUD_CDC (2)<br>
(I hope this works for you)<br>
This required quite a lot of changes to the app and to the supported operating systems:<br>
1. RT11. RT11_V5_CFB: Fortran/Basic/C.<br>
2. RT11_V5_MUBasic: Multi user basic. Boot to RT11XM and run MUBASX. Type '2user' for the config file.<br>
3. Unix_V6: I have rebuilt the kernel to add an extra DL11 device. You should see a login in both terminal windows.<br>
4. RSX_31_Fortran: This image boot RSX11/M in 2 user mode. This is a very complex OS. Best of luck!<br>
5. MINC_BASIC is as before and boots to a 'READY' prompt.<br>
6. Rsts_DL: This boot Rsts/E in multi user mode. A bit easier to use than RSX/11.<br>
<br>
You may note that these operating system have one thing in common (except Unix) ... this is BASIC.<br>
The history and logic behind this is very interesting in that DEC's view of the language to use was Basic!. This was at a time just prior to c
appearing and it was believed that Fortran was not the language of the future. As it happens, I am a Basic fan and I still use VB.Net for
a number of projects. But c was in the pipeline and one of the RT11 disc contains DECUS c. The rest as they say is history but I have to say
that I am not keen on Rust etc.!

Ian Schofield Jan 2023


It is most

16 comments on commit 427b079

@guidol70
Copy link
Contributor

@guidol70 guidol70 commented on 427b079 Jan 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dear Ian,
with your precompiled .UF2 I do get 2 serial (COM 36&37 - new TinyUSB numbers) ports, but when I do compile for myself then I did get only one serial port (COM25) like on the compile before the change in tusb_config.h)

My pico-sdk is cloned from https://github.com/raspberrypi/pico-sdk.git

INSTALL PICO-DSK:
===============================
cd /home/pi/
mkdir pico
sudo chmod -R 777 pico
cd pico
git clone -b master https://github.com/raspberrypi/pico-sdk.git
cd pico-sdk
git submodule update --init
cd ..
git clone -b master https://github.com/raspberrypi/pico-examples.git

So the tusb_config.h is on my system at /home/pi/pico/pico-sdk/src/rp2_common/pico_stdio_usb/include

I changed the line
#define CFG_TUD_CDC (1)
to
#define CFG_TUD_CDC (2)

I also recloned the pico-sdk to have the acutal version - but no change :(

Is there anything else to change? (I cleared also the build directory before recompiling)

PS: cmake says
TinyUSB available at /home/pi/pico/pico-sdk/lib/tinyusb/src/portable/raspberrypi/rp2040; enabling build support for USB.

Kind regards
Guido

@Isysxp
Copy link
Owner Author

@Isysxp Isysxp commented on 427b079 Jan 27, 2023 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@guidol70
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dear Guido, I wondered if this might happen. I had updated the Pico SDK in order to sort out this problem.
Replace the old file with the attached file in:
\Pico-SDK\src\rp2_common\pico_stdio_usb\ In combination with the changes to tusb_config.h, this should give you 2 USB comm ports.....

Dear Ian,
Hmm - cant see the attachment :(

Kind regards
Guido

@Isysxp
Copy link
Owner Author

@Isysxp Isysxp commented on 427b079 Jan 27, 2023 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@guidol70
Copy link
Contributor

@guidol70 guidol70 commented on 427b079 Jan 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dear Guido, Lets try this.... Regards, Ian.

Dear Ian,
for me it looks like that github is blocking your attachments when you did replay via email to github and not using github directly :(

After some clicking around I did found the content of the attached .txt file, but this didnt work as replacement for tusb_config.h

tusb_file.txt

Kind regards
Guido

@spoofy-zz
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello, I am interested in the project because I like pdp-11, and I am interested in microcontrollers. One question regarding the rsx11 image. I am interested in where it comes from and how it is configured and generated. It is quite an old version and there is no DCL, I would like to try to adapt the newer version to see if it will work. Even 3.2 would be enough. Do you have that information? Thank you.

@Isysxp
Copy link
Owner Author

@Isysxp Isysxp commented on 427b079 Jan 28, 2023 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@guidol70
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As you can see, this is a bit involved and would have to be done using Simh. Also, I suspect that for a half reasonable build, the app has only 96KW of core which is marginal. I have emailed Johnny Billquist about adding more DL11s without a sysgen. But I haven't heard anything yet. Regards, Ian.

Dear Ian,

maybe the follwing instructions - for a PDP 11/40 build - are a better/shorter way for getting RX-11 onto a RL02 .dks image?:
Build a bootable RSX11/M on RL02 disk

Or this RK07-image (RSX-11M V3.2 for 11/45, 124KW, 50HZ (RK07 image)) could be downstripped?

PS: cant also see the second attachment :(

Kind regards,
Guido

@Isysxp
Copy link
Owner Author

@Isysxp Isysxp commented on 427b079 Jan 29, 2023 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@guidol70
Copy link
Contributor

@guidol70 guidol70 commented on 427b079 Jan 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dear Guido,
Sorry about the file, something must be blocking it.
Try: https://drive.google.com/file/d/15NvRZVKWLnPXwKXaAqGPE0oyCQNemiab/view?usp=share_link
Regards, Ian.

Dear Ian,
this link did work and also the file stdio_usb_descriptors.c for the path
/pico-sdk/src/rp2_common/pico_stdio_usb/
did help to get 2 serial ports displayed ;)

The second port (on my system the COM37) is the first terminal port (for the boot-menu).
I assume then the first port (COM36) will work as the second terminal port (havent tested it yet).

Pico_1140_2serial_ports

stdio_usb_descriptors.zip

BUT with the changes for 2 CDC-Terminals my changes for a serial port version doesnt compile anymore, because I have to disable tinyusb (because I oly use 1 serial/terminal) - so this will stall the serial verison!? :(

[ 13%] Building CXX object CMakeFiles/Pico_1140.dir/dl11.cxx.obj /home/pi/pico/Pico_1140/Pico_1140_DC_serial/dl11.cxx: In function 'int _kbhit()': /home/pi/pico/Pico_1140/Pico_1140_DC_serial/dl11.cxx:29:16: error: 'tud_cdc_n_available' was not declared in this scope 29 | return tud_cdc_n_available(1); | ^~~~~~~~~~~~~~~~~~~ /home/pi/pico/Pico_1140/Pico_1140_DC_serial/dl11.cxx: In member function 'void DL11::serial_putchar(char)': /home/pi/pico/Pico_1140/Pico_1140_DC_serial/dl11.cxx:34:9: error: 'tud_cdc_n_write_char' was not declared in this scope 34 | tud_cdc_n_write_char(1,c); | ^~~~~~~~~~~~~~~~~~~~ /home/pi/pico/Pico_1140/Pico_1140_DC_serial/dl11.cxx:35:9: error: 'tud_cdc_n_write_flush' was not declared in this scope 35 | tud_cdc_n_write_flush(1); | ^~~~~~~~~~~~~~~~~~~~~ /home/pi/pico/Pico_1140/Pico_1140_DC_serial/dl11.cxx: In member function 'char DL11::serial_getchar()': /home/pi/pico/Pico_1140/Pico_1140_DC_serial/dl11.cxx:39:16: error: 'tud_cdc_n_read_char' was not declared in this scope 39 | return tud_cdc_n_read_char(1); | ^~~~~~~~~~~~~~~~~~~ make[2]: *** [CMakeFiles/Pico_1140.dir/build.make:258: CMakeFiles/Pico_1140.dir/dl11.cxx.obj] Error 1 make[1]: *** [CMakeFiles/Makefile2:1403: CMakeFiles/Pico_1140.dir/all] Error 2 make: *** [Makefile:91: all] Error 2

Kind regards
Guido

@spoofy-zz
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HI, I am made a rsx11-v4.0-bl32 image on rl02 disk with DCL, 2 users (system and user), for now, without compilers but this part come soon.
rsxm32.rl02.zip

@Isysxp
Copy link
Owner Author

@Isysxp Isysxp commented on 427b079 Feb 11, 2023 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@spoofy-zz
Copy link

@spoofy-zz spoofy-zz commented on 427b079 Feb 11, 2023 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Isysxp
Copy link
Owner Author

@Isysxp Isysxp commented on 427b079 Feb 12, 2023 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@spoofy-zz
Copy link

@spoofy-zz spoofy-zz commented on 427b079 Feb 12, 2023 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Isysxp
Copy link
Owner Author

@Isysxp Isysxp commented on 427b079 Feb 12, 2023 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.