Results 11 to 20 of 22
-
01-22-2015, 06:51 AM #11
- Join Date
- Sep 2009
- Location
- Winssen, The Netherlands
- Posts
- 5
Re: PDP11 for full flight simulator in '70-'80s
This is intended to delete my duplicate post.
-
01-26-2015, 08:58 PM #12
Re: PDP11 for full flight simulator in '70-'80s
I would say that any flight model running on a PDP-11 would be no better than the software written for it. I did assembly (good old octal!), FORTRAN and RSX BASIC on PDP-11/08 all the way up to the J-processors. I wrote software for central office telephone switches. The only I/O we had was the quad-port DLV-11J serial card. No graphics, just ASCII. VERY little memory (it was magnetic-core), and hard-pack drives, and RX02 floppy disc drives. DEC hardware was awesome, but I don't see it running much of a sim, not compared to modern home systems. The FORTRAN was decent, the assembly set on them was typical. There was no core OS, no kernel, no APIs, etc. The sims were math models that handed-off the graphics to another system. We had several programmers that had worked on various sims for DOD and NASA, just number-crunchers. The majority of systems in the sims were cardboard displays that you touched to simulate going through checklists and making observations on various indicators. The PDP family was awesome for the time, but in the last days of working on the J-processors, my Commodore 64 was a much richer environment for such things. A real OS, sound chips, video, a real API, and a joystick. I actually ran MS Flight Simulator, the first MS FS I ever ran, on a Tandy 1000. My first flight sim was a IFR simulator on the Commodore 64. It had a scenario where you had to fly through a valley, with a zigzag in the middle. I plotted a course on graph paper and calculated my turns with a stop watch.
-
01-26-2015, 09:02 PM #13
Re: PDP11 for full flight simulator in '70-'80s
Some information on the previously mentioned IFR flight simulator...
http://www.migman.com/sw/IFR/IFR.php
-
05-04-2015, 05:29 PM #14
- Join Date
- Aug 2010
- Location
- Norway
- Posts
- 123
Re: PDP11 for full flight simulator in '70-'80s
I investigated how it was possible to run those on PDP-11. It seems they are using some assembly trick and just load modules when it is necessary and maybe the program size is actually a small decompressing program to use the hard disk for that? Maybe also they using for example smaller increment for the flight model.
The .AIR file in FSX take just about 10kb in size, less in pure binary size. Or they are using predefined parameter, not measure of weight, wing size, flap degree, and such. for example temperatur then using just a part of 10 each time? I see in the, for example Il-62 flight characteristic, they are using graph at paper that show limit. So they are not calculating but using limit factor.
Each PDP-11/40 has 760.000 instructions per second, maybe they are actually using four pieces, thus about 3.4 millions of instructions per second; and maybe they are using extra Intel 8086 that is an optional add-on. And many logic circuit breakers as one user in the forum as mentioned. Almost near as this Intel i386DX 4.3 MIPS at 33 MHz. Then add some speed at logic for the physics, then I am sure that they are NOT using bloatware in the flight model. I am also sure that they do not include compiled code that it takes bigger size because I see that:
For example, I am programming a code to Arduino MEGA2560, it takes less than 1 Kb in pure text file in standard Arduino programming language, but smaller in assembly. But when compiled, it takes 2.5kb or some calculations that takes less than to store in memory; see it ? So 500kb * maybe 5 then 2,5 mb, enough in the old hard drive in PDP-11 CPU-C to boost math routines. But routines? Maybe it means to compile small modules assembly code?! Then when the computer knows that the training pilot surely SHALL landing the airplane because the fuel tank is low, then it compile from text to binary before it loads next module.
What do you thinking?
-
05-05-2015, 06:10 AM #15
- Join Date
- Aug 2010
- Location
- Norway
- Posts
- 123
Re: PDP11 for full flight simulator in '70-'80s
I made a small investigation in file size in asm and C++; clearly C++ takes much smaller size.Maybe they are using an exact C++ assembly to just compile a specific code for exact this system ?
-
01-07-2016, 08:03 AM #16
- Join Date
- Aug 2010
- Location
- Norway
- Posts
- 123
Re: PDP11 for full flight simulator in '70-'80s
I investigated a bit further, but will not do further because I do not want to copy.
An Arduino MEGA 2560 runs at 16 MHz and has 16 million instructions per second and 256kb.
An PDP-11/44 runs at 15 MHz and has just 0,76 million instructions per second and vary from 64-4mb.
If I should try to simulate similar behavior, then I must clock MEGA 2560 down to 1 MHz and care 256kb.
I asked in the Arduino official forum how fast an MEGA2560 that run 16 MHz can read memory per second; the user said roughly 128 kB per second. Then imagine that it must run roughly 20 cycles per second, then it is just 6 kB or less code to read each cycle. Multiply it with 2 to 4 pieces of PDP-11. Then it is just roughly 24 kB, which is not a lot data to calculate per cycle. So the flight model might is parameter based as the FSX is but with less accurate data. And they might use a lot of logic chips to make important circuit offload the PDP-11 and analog.
So, it is POSSIBLE but A LOT OF WORK with each logic circuit, bytes, instructions and make it compact; that's I asked my uncle that working with space technology. It is mainly waste of time for a standard inhabit in the world and uneconomically for today unless you are willing for hobby and free-time (I'm receive disability permanent pension) and limited resources because I, the user, haven't accessible to factory which I can make an decent integrated circuit which can be a fast computer that you buy in a shop on my own.
-
01-19-2016, 12:13 AM #17
Re: PDP11 for full flight simulator in '70-'80s
Are you trying to create a more dynamic flight model to accurately reflect the IL-62? If so, you could try AirWrench. I can vouch for it being a very powerful tool. Talk to the users on FSDeveloper too, many of them are very skilled at flight model creation.
-
02-07-2016, 07:28 PM #18
- Join Date
- Aug 2010
- Location
- Norway
- Posts
- 123
Re: PDP11 for full flight simulator in '70-'80s
I don't need AirWrench.I have investigated more about it.In forum in the www.arduino.cc they said I can using 74HC595 serial to parallell chip to get more output, but to transfer from memory then using bit and shift to get eight bytes array with bits from byte to parallell from ONE pin in the arduino MEGA2560 is very slow. Imagine transfer each bit from byte to array of bytes take instruction cycles. With 1-2 kB bytes multiply with eight then transfer serially with '595 takes too much speed in MEGA2560. And, read data input too then put to bytes value each right bits input. If I need to update ONE bit in whole '595 chips, I need to rewrite ALL chips which is a BAD idea as ****. Now I have found another solution. Using 2-3 pieces of 1:4-16 decoder/demultiplexer chip to connect with a lot of logic 8-bit flip flop. With multiple start-stop in array to determine this method:0 to 3, 10-11, 19-19, 114-240, 243-255 to put pointer to jump from 3 to 10, 11 to 19, 19 to 114, 240 to 243 to write to the PORT in the fastest method without for loop which is the slow method. That is nearest fastest option.The ABSOLUTE fastest option without instruction to change each latch gate flip flop from 4-16 demultiplexer chip, is to fit the logical flip flop to the exact memory address direct with the same place. For example, I want to write PWM speed using in servo motor, as in RC toys have but additional mechanic binary counter to determine how long it has been run and to read input to be sure it is in always correct position, in RAM. With digital to analog chip in paralell interface; that's the FASTEST option to see the instruments moving smoothly that can move forth and back and always in precise position with mechanical binary counter that can give the software a message how long it has been run that can stop if the software see it is necessary without need to using stepper motor.Let us do a small instruction math:Maybe it takes 20 instruction to put from byte to eight array lanes, then 2-3 kB * 20 = 41 kB of instruction cycles, then write to each 74HC595 chips, that takes 163 kB of instruction cycles. That's why some users in forums anywhere at the earth says I should get a decent computer but they don't know better. With 74HC595, if I want to update just only LED diode; thus, it need to rewrite the WHOLE '595 chips. But I found how able to using an MEGA2560 to run, it should.
-
02-08-2016, 12:30 PM #19
Re: PDP11 for full flight simulator in '70-'80s
Is a Mini Pro running SevSeg a smart 595 chip?
---CYXD ----- TWR --- GND ------ Closed
ILS-- NDB -- 119.1 -- 121.9 ---- 11/2013
-
02-09-2016, 07:48 AM #20
- Join Date
- Aug 2010
- Location
- Norway
- Posts
- 123
Explore Exciting Connections for a Night of Fun in Your City
Ready for an Unforgettable Night?...