For anyone who wants to play with the old MCS-BASIC?, I have it online now

10 pr10 print b Then the program will print b.

I am gonna leave it online for a while while doing some other stuff.

Reply to
Jan Panteltje
Loading thread data ...

Neat, heres some docs to go along with that...

Cheers

Reply to
Martin Riddle

What's the syntax for running a shell command that will erase the hard drive?

--
Paul Hovnanian  paul@hovnanian.com
----------------------------------------------------------------------
Have gnu, will travel.
Reply to
Paul Hovnanian P.E.

On a sunny day (Sun, 03 Jan 2010 13:25:28 -0800) it happened "Paul Hovnanian P.E." wrote in :

MCS BASIC runs on a 8052AH microcontoller box. This one has 32 KB of SRAM and 32 kB of SRAM that functions as ROM. Battery backup, it can program EPROMS too, and 7849 EPROM versiosn of the 8049 IIRC. All data, including the diagrams, pictures, is here: ftp://panteltje.com/pub/8052AH_BASIC_computer/

So what shell, what harddisk, and what did you want to erase? If you know MCS BASIC you can erase the listing, or make a new one. You cannot erase the SRAM part I think. That needs a switch flipped here locally.

10 PRINT A 12 A=A+1 20 GOTO 10

READY

READY

READY

READY

READY

10 PRINT A 12 A=A+1 20 GOTO 10

READY

See, you can just get back that program. If you want to store to ROM (which is SRAM), then write some program, and type: prog

It is a vert nice microcontroller BASIC, with commands to let it auto-start on power up, clock, timers, everything.

Now go try crash it :-)

Reply to
Jan Panteltje

Paul is no beginner, but I have had "beginners" ask me if my embedded PIC systems every get viruses ??!!

don

Reply to
don

On a sunny day (Sun, 03 Jan 2010 15:54:49 -0700) it happened don wrote in :

Funny... Nice thing is that in running Linux for lets see, insering my old SLS rescue floppy disk to look at the dates: drwxr-xr-x 2 root root 32 1992-09-23 05:27 mnt/ drwxr-xr-x 2 root root 32 1993-03-10 07:47 proc/ drwxr-xr-x 2 root root 32 1993-03-10 07:47 user/ drwxr-xr-x 2 root root 2000 1993-07-01 12:17 dev/ drwxr-xr-x 2 root root 608 1993-07-04 17:57 bin/ drwxr-xr-x 2 root root 80 1993-08-01 19:32 lib/

-rw-r--r-- 1 root root 326148 1993-08-03 12:12 zImage drwxr-xr-x 4 root root 64 1995-08-18 04:00 root/ drwxr-xr-x 3 root root 592 1995-08-18 22:51 etc/ drwxr-xr-t 2 root root 48 1995-08-18 22:54 tmp/

2010 - 1993 = 17 years!!! I never ever had a virus or even successful hack.

This system has now been online 24/7 for more then 5 years I think. Many have tried...

If you connect to the MCS-BASIC box, you connect via this Linux PC, running my ethernet-to-serial server e2s like this: e2s -d /dev/ttyS0 -b 9600 -p 8192 The box is connected to /dev/ttyS0, or COM1 for the MS DOS people, and listens on port 8192, forwarding all traffic from / to the MCS-BASIC box. e2s is here for download:

formatting link

I think I have made e2s secure enough...

Reply to
Jan Panteltje

On a sunny day (Sun, 03 Jan 2010 23:20:55 GMT) it happened Jan Panteltje wrote in :

PS: I am taking it offline in half an hour or so, 23.59 UTC, because I need the DC adaptor for my LED-lights:-) I have more DC adaptors (wall-warts), but none that fits this power connector. I do not like cutting of connectors... Will have to install a better power connector in this box. Tomorrow afternoon you can hopefully try again. That will allow me to test if the SRAM data holds with the 25 years or so old nicad battery.

Reply to
Jan Panteltje

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.