Re: [Simh] best way to scan 172 column fanfold 80s printout?

2018-02-11 Thread Pär Moberg
Look at the diy book scanning community for inspiration and make sure that
the light comes at an angle that doesn't reflect in to the camera.
I just found a led light fixture that pumps out as lot of light and is long
as a "tube light" 1,2m (approximately 1,5 yards)
//Pär

Den 11 feb. 2018 5:09 PM skrev "Zane Healy" :

> On Feb 11, 2018, at 6:55 AM, Dan Gahlinger  wrote:
>
> I have several printouts like this,
> the one I was just trying to scan in is labelled "EMPIRE Version 4.0
> 18-Jan-81"
> with the notice: "Please send bug reports to ELROND::EMPIRE"
> This is a Vax/VMS Fortran conversion from TOPS-10/20 from sources from
> around fall 1979
> It seems I only have the first 95 pages of this printout
> and it's folded width-wise, making scanning more difficult, old folds are
> hard to get out.
>
> I also have Zork (Vax/VMS) and of course several different iterations of
> Trek7 (Vms)
> somewhere I have a copy of Adventure (Colossal Cave) and the "Castle" game
> I love so much.
>
> so I guess question 1: how best to get rid of the folds? my method so far:
> fold them the other direction and try and fold it out, but so far not much
> luck
> and 2: how best to scan 100s of wide fanfold printout pages?
>
> I wish someone in Toronto had converted an old teletype and put a camera
> on it, that would be brilliant!
>
> Dan.
>
>
> The best way might be a piece of glass (to keep the paper flat), a copy
> stand, and a high-MP DSLR.  Lighting in that situation would be…
> interesting.  I’m not sure how much a polarizer on the lens would help.
> One option might be to put it on a light table, but I think that would
> create an interesting/unreadable mess.  Actually less light might be
> better, and simply go with longer exposures.
>
> There are graphic arts scanners that will do large pages, but in the art
> reproduction world, the method above (normally minus the glass), is more
> normal.  You’re lucky, you’re looking to copy something that doesn’t need
> to be 1200dpi or better.  I know you can get up to at least 12x18 range
> with a scanner.  I’m currently looking for either one of these, or ideally
> a drum scanner capable of handling 11x14 negatives.  Right now the only way
> I have to get a digital copy of photo’s taken with my 11x14 camera, is to
> photograph the prints.
>
> Zane
>
>
>
>
> ___
> Simh mailing list
> Simh@trailing-edge.com
> http://mailman.trailing-edge.com/mailman/listinfo/simh
>
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

Re: [Simh] anyone know how to convert/translate turbo pascal to vax pascal?

2018-02-08 Thread Pär Moberg
There is a implementation of pascal called freepascal at freepascal.org
//Pär

Den 8 feb. 2018 14:45 skrev "Dan Gahlinger" :

Seems it was because I couldn’t figure out about needing to define output
in the program line
Turbo pascal doesn’t use that

I’m going to test some simpler code I have and see if I can get it going
and go from there

Get Outlook for iOS 
--
*From:* Simh  on behalf of Gary Lee
Phillips 
*Sent:* Thursday, February 8, 2018 8:19:20 AM
*To:* Tim Shoppa
*Cc:* simh@trailing-edge.com
*Subject:* Re: [Simh] anyone know how to convert/translate turbo pascal to
vax pascal?

It could, but the error message should make that clear. If the compiler
rejects the syntax that's a different message from a linkage error.

I wrote working system code in VAX Pascal but it was back in the 80s. Some
of my work was accepted for publication in fact. I also did some
substantial work in Turbo Pascal at about that time. But to be honest, I
haven't touched Pascal for years now. Even so, I do know that VMS Pascal
will support the language standards just as it always did. The problem with
writeln is likely to be non-standard syntax, as Turbo Pascal accepted a lot
of short cuts. I suspect the big issues with the project in question are
more likely going to be related to graphics.

--Gary


On Thu, Feb 8, 2018 at 7:10 AM, Tim Shoppa  wrote:

> Could the writeln issue, be a link time and not compile time? I remember
> having to specify the Pascal runtime libraries (more than one?) at link
> time.
>
> Tim
>
> > On Feb 8, 2018, at 7:51 AM, Gary Lee Phillips 
> wrote:
> >
> > VMS Pascal conforms to the language standards. So does Turbo Pascal, if
> the code is written to standard.
> >
> > The problem with porting in Pascal comes when language extensions are
> used. These are often proprietary and/or hardware specific. On OpenVMS much
> of the extended capability depends on calling system libraries, all of
> which are supported. Turbo Pascal was designed specifically for the IBM PC
> and "compatible" systems, and contains a lot of proprietary extensions that
> will not be recognized by VMS Pascal's compiler.
> >
> > If your code depends on graphic functions, the ones in Turbo Pascal are
> almost entirely peculiar to that environment and will require a lot of
> rewriting. These use custom libraries that come with the compiler, and
> probably most can be duplicated by using OpenVMS system calls in some
> format. Some analysis will be required to identify the hardware specific
> code and select appropriate substitutions.
> >
> > As for "free pascal" there are several incompatible implementations that
> go by the name, so I'm not sure what you have used. However, all of them
> pretty much support the original language definition and code that stays
> within that standard definition will work without translation. Extensions
> that use library calls or custom units are going to be the area that
> requires (possibly a lot of) work.
> >
> > The full VMS Pascal manuals are available in PDF form online and you
> should begin there.
> >
> > By the way, VMS Pascal definitely supports writeln. It also has record
> structures, etc. Those are all part of the standard language definition.
> We'd need to see a sample of your code that doesn't work in order to figure
> out where your problem comes from.
> >
> > ___
> > Simh mailing list
> > Simh@trailing-edge.com
> > http://mailman.trailing-edge.com/mailman/listinfo/simh
>


___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

Re: [Simh] PDP for beginners

2018-02-03 Thread Pär Moberg
On 04/02/2018, Zane Healy  wrote:
>
>> On Feb 2, 2018, at 6:25 PM, Pär Moberg  wrote:
>>
>> I am looking to put up a PDP-# machine to play with. What machine and
>> OS should I use. I am looking for simple/beginner system, or as
>> beginner it got. Also, not *nix, it is still alive and therefore
>> boring.
>> Telnet terminals would be awesome but not necessary.
>> //Pär (or Paer)
>
> Reading this, I assume you’re looking to use SIMH, and not real hardware,
> but I’m honestly not 100% sure.
>
> I totally understand your UNIX comment.
>
> System and OS’s options that come to my mind are the following.
>
> PDP-10:
> TOPS-10
> TOPS-20
> ITS
>
> PDP-11:
> RSTS/E
> RSX-11M or M+
> TSX-plus
>
> There was talk of a Hobbyist License for TSX-Plus, which runs on top of
> RT-11, but I’m not sure if that happened or not.
>
> While it’s not a PDP system, realistically, from a “simple/beginner”
> standpoint, VAX/VMS would be a good option.  There is a great webpage out
> there on installing it, which means the hardest thing to do is to get
> registered for a Hobbyist License.
> http://www.wherry.com/gadgets/retrocomputing/vax-simh.html
>
> Zane
>
Yes, I am looking to use simh and a pi zero (w)
//Pär
Ps. the Chromecast Ethernet/power adapter works with the Zero for both
power and Ethernet.
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

Re: [Simh] Remote Console and Telnet Terminals

2018-02-03 Thread Pär Moberg
On 03/02/2018, Pär Moberg  wrote:
> My problem is solved, by doing nothing.
> The ports shows up as ipv6 but I can connect to it over ipv4 it seems.
> //Pär
>
> On 03/02/2018, David Wijnants  wrote:
>> Actually, on my machine netstat(8) only shows a tcp6 socket in LISTEN
>> state
>> (there is no corresponding 0.0.0.0:1170 LISTEN).
>>
>> Nevertheless, telnet connects just fine. While connected, I can see my
>> tcp/ipv4 [telnet] socket in ESTABLISHED state, and tcp6 socket that
>> connects the two.
>>
>> David.
>>
>>
>> On 3 February 2018 at 15:09, Mark Pizzolato  wrote:
>>
>>> On Saturday, February 3, 2018 at 6:11 AM, Pär Moberg wrote:
>>> > I am trying setup remote console and telnet terminals but it only
>>> > shows
>>> up as
>>> > ipv6 ports and not ipv4 ports.
>>> > I will telnet in using old systems that only have ipv4.
>>>
>>> Please provide some details about exactly what you tried and precisely
>>> what actually happened, and precisely how you determined what you are
>>> thinking happened.
>>> ___
>>> Simh mailing list
>>> Simh@trailing-edge.com
>>> http://mailman.trailing-edge.com/mailman/listinfo/simh
>>
>
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

[Simh] Remote Console and Telnet Terminals

2018-02-03 Thread Pär Moberg
Hello,
I am trying setup remote console and telnet terminals but it only
shows up as ipv6 ports and not ipv4 ports.
I will telnet in using old systems that only have ipv4.
//Pär
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

Re: [Simh] PDP for beginners

2018-02-03 Thread Pär Moberg
On 03/02/2018, Bob Eager  wrote:
> On Sat, 3 Feb 2018 11:41:38 -
> "Dave Wade"  wrote:
>
>> > -Original Message-
>> > From: Simh [mailto:simh-boun...@trailing-edge.com] On Behalf Of Pär
>> > Moberg
>> > Sent: 03 February 2018 02:26
>> > To: simh@trailing-edge.com
>> > Subject: [Simh] PDP for beginners
>> >
>> > I am looking to put up a PDP-# machine to play with. What machine
>> > and OS should I use. I am looking for simple/beginner system, or as
>> > beginner it got.
>>
>> I think I would start with a PDP-8. NO telnet terminal. Simple OS,
>> lots of software and support. If you want blinken lights try one of
>> these:-
>>
>> http://obsolescence.wixsite.com/obsolescence/pidp-8-get-one
>>
>> its SIMH with a nice panel
>
> I was going to suggest the same thing. Be warned that there's quite a
> lot of soldering in a PiDP-8 - although not as much as an SBC-6120! (I
> have both)

Why I want terminal support is so I can use some of my old clunkers as
terminals and access the server from different places in the house.
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

[Simh] PDP for beginners

2018-02-02 Thread Pär Moberg
I am looking to put up a PDP-# machine to play with. What machine and
OS should I use. I am looking for simple/beginner system, or as
beginner it got. Also, not *nix, it is still alive and therefore
boring.
Telnet terminals would be awesome but not necessary.
//Pär (or Paer)
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

[Simh] Terminal Emulator

2018-01-25 Thread Pär Moberg
Hello,
I am looking for good terminal emulators for my 286.
I will attach to Linux and simh/pdp-11 and simh/pdp-8.
I got a vga card for my 286.
//Pär
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

Re: [Simh] Graphics on SimH

2010-07-10 Thread Pär Moberg
I just remembered that there is a implementation of vnc in the contiki 
OS, it should be light weight since it runs on 8-bit machine. It is 
under a BSD licence. home page: http://www.sics.se/contiki/

2010-07-09 03:34, Bob Supnik skrev:
> There is actually an implementation of the PDP-1's frame buffer on SimH,
> done several revs ago.  I believe that it relies on native Windows calls
> for the Windows family, and native X Windows call for everyone else.
> That's certainly a viable approach.
>
> I've consulted with experts (ie, my children, who write computer games)
> on possibilities for truly OS independent graphics packages.  One
> possibility is Java, but the issues of interfacing a single-threaded C
> program - SimH - to the inherently multithreaded Java environment are
> not trivial.  Portable packages, like Qt, usually omit one of the
> supported host systems (Windows, VMS, Unix, Linux, MacOS).
>
> I can post the PDP-1 work somewhere, if people are interested in looking
> at it.
>
> /Bob Supnik
>
> ___
> Simh mailing list
> Simh@trailing-edge.com
> http://mailman.trailing-edge.com/mailman/listinfo/simh
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh


Re: [Simh] [PATCH] tun/tap networking support

2010-04-29 Thread Pär Moberg
I am looking forward to this, cheering from the user bench.
//Pär

ucs...@gmail.com wrote:
> This patch lets simh read/write the ethernet frames from/into
> a file descriptor, instead of injecting them with pcap into an interface.
> 
> That file descriptor could be obtained by opening a tun/tap device
> (ex. 'att xq tap:tap0' on linux does the necessary magic of opening
> /dev/net/tun, attaching it to 'tap0' and setting ethernet mode),
> opening some other path in the filesystem, or it could be opened by a
> helper program and passed down to simh via an environment variable.
> 
> The main advantage of this is being able to run simh with networking
> as a regular user.
> 
> to build it:
> $ make USE_TAP_NETWORK=1
> 
> to use it, run as root:
> # tunctl -u regular_user -t tap0
> 
> then configure the host as if tap0 were a real interface and simh a real
> machine connected to it (ex. enable forwarding+NAT, run dhcp on tap0, etc).
> 
> finally, running as regular_user:
> $ vax
> ...
> sim> att xq tap:tap0
> 
> diff -Nrup simhv38-1-orig/makefile simhv38-1/makefile
> --- simhv38-1-orig/makefile   2008-11-19 21:53:48.0 +0200
> +++ simhv38-1/makefile2010-04-28 04:53:02.0 +0300
> @@ -13,8 +13,9 @@ ifeq ($(WIN32),)
>  endif
>endif
>CC = gcc -std=c99 -U__STRICT_ANSI__ -g $(OS_CCDEFS) -I .
> -  ifeq ($(USE_NETWORK),)
> -  else
> +  ifneq ($(USE_TAP_NETWORK),)
> +NETWORK_OPT = -DUSE_NETWORK -DUSE_TAP_NETWORK sim_ether_tap.c opentap.c
> +  else ifneq ($(USE_NETWORK),)
>  NETWORK_OPT = -DUSE_NETWORK -isystem /usr/local/include 
> /usr/local/lib/libpcap.a
>endif
>  else
> @@ -35,7 +36,6 @@ BIN = BIN/
>  SIM = scp.c sim_console.c sim_fio.c sim_timer.c sim_sock.c \
>   sim_tmxr.c sim_ether.c sim_tape.c
>  
> -
>  #
>  # Emulator source files and compile time options
>  #
> diff -Nrup simhv38-1-orig/opentap.c simhv38-1/opentap.c
> --- simhv38-1-orig/opentap.c  1970-01-01 02:00:00.0 +0200
> +++ simhv38-1/opentap.c   2010-04-28 04:42:21.0 +0300
> @@ -0,0 +1,34 @@
> +#ifdef __linux
> +#include 
> +#include 
> +#include 
> +#include 
> +#include 
> +#include 
> +#include 
> +#include 
> +#include 
> +
> +int opentap(char *fn){
> + int fd;
> + struct ifreq ifr;
> + if(snprintf(ifr.ifr_name, sizeof ifr.ifr_name, "%s", fn)
> + >= sizeof ifr.ifr_name){
> + errno = ENAMETOOLONG;
> + return -1;
> + }
> + if((fd = open("/dev/net/tun", O_RDWR)) == -1)
> + return -1;
> + ifr.ifr_flags = IFF_TAP|IFF_NO_PI;
> + if(ioctl(fd, TUNSETIFF, &ifr) == -1){
> + close(fd);
> + return -1;
> + }
> + return fd;
> +}
> +
> +#else
> +int opentap(char *fn){
> + return -1;
> +}
> +#endif
> diff -Nrup simhv38-1-orig/sim_ether.c simhv38-1/sim_ether.c
> --- simhv38-1-orig/sim_ether.c2008-04-24 17:11:42.0 +0300
> +++ simhv38-1/sim_ether.c 2009-02-20 22:55:54.0 +0200
> @@ -606,10 +606,17 @@ void ethq_insert(ETH_QUE* que, int32 typ
>  }
>  
>  
> /**/
> +/*Simple tap network 
>  */
> +/**/
> +#if defined (USE_TAP_NETWORK)
> +
> +/* use sim_ether_tap.c */
> +
> +/**/
>  /*Non-implemented versions   
>  */
>  
> /**/
>  
> -#if !defined (USE_NETWORK) && !defined(USE_SHARED)
> +#elif !defined (USE_NETWORK) && !defined(USE_SHARED)
>  t_stat eth_open(ETH_DEV* dev, char* name, DEVICE* dptr, uint32 dbit)
>{return SCPE_NOFNC;}
>  t_stat eth_close (ETH_DEV* dev)
> diff -Nrup simhv38-1-orig/sim_ether_tap.c simhv38-1/sim_ether_tap.c
> --- simhv38-1-orig/sim_ether_tap.c1970-01-01 02:00:00.0 +0200
> +++ simhv38-1/sim_ether_tap.c 2010-04-28 05:46:42.0 +0300
> @@ -0,0 +1,139 @@
> +#include 
> +#include 
> +#include 
> +#include 
> +#include 
> +#include 
> +#include 
> +#include "sim_ether.h"
> +
> +extern FILE *sim_log;
> +void eth_add_crc32(ETH_PACK* packet);
> +int opentap(char*);
> +
> +static void
> +errf(char *fmt, ...)
> +{
> + va_list va;
> + va_start(va, fmt);
> + vprintf(fmt, va);
> + if(sim_log) vfprintf(sim_log, fmt, va);
> + va_end(va);
> +}
> +
> +t_stat
> +eth_open(ETH_DEV *dev, char *fn, DEVICE *dptr, uint32 dbit)
> +{
> + int fd, t;
> + if(!dev || !fn)
> + return SCPE_ARG;
> + if(!strncmp(fn, "fd:", 3)){
> + char *v;
> + if(fn[3] == '$'){
> + if(!(v = getenv(fn + 4))){
> + errf("no such environment variable '%s'\n",
> + fn + 4);
> + return SCP

Re: [Simh] NetBSD VAX and Ubuntu networking

2010-04-27 Thread Pär Moberg
Oki doki then:

I have a vanilla Ubuntu 9.10 with all the default packages that are 
needed for simh vax with networking.
I compiled using:
$> mkdir BIN
$> make USE_NETWORK=1 vax
and if I run it as root it finds the network cards on my computer.

Now I am looking for a way to do this as user.

Thanks for the help any way.

Jason Stevens wrote:
> Usually it's not all that involved libpcap does a great job of 
> injecting packets onto
> the wire...  Naturally I'm a big fan of the whole slirp thing for tcp/ip 
> but then not
> everyone uses tcpip for their networking...
> 
> 
> 
> On Tue, Apr 27, 2010 at 10:32 AM, Vince Mulhollon  > wrote:
> 
> On Tue, Apr 27, 2010 at 03:23:12PM +0200, Lennert Van Alboom wrote:
>  > And equally important...
>  >
>  > 1) is your package capable of doing networking? the debian package is
>  > built WITHOUT networking.
> 
> The pre-version 3.8.1-2 packages, to be exact...
> 
> I admit I don't have much experience with networking on simh, the
> machines
> I use the most are more or less pre-ethernet.
> ___
> Simh mailing list
> Simh@trailing-edge.com 
> http://mailman.trailing-edge.com/mailman/listinfo/simh
> 
> 
> 
> 
> 
> ___
> Simh mailing list
> Simh@trailing-edge.com
> http://mailman.trailing-edge.com/mailman/listinfo/simh
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh


[Simh] NetBSD VAX and Ubuntu networking

2010-04-27 Thread Pär Moberg
Hello
I can't get the vax simulator to network with my ubuntu 9.10. What am I 
missing?
//Pär
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh