HP Forums

Full Version: SHARP PC 1211
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi All,
I have a question to the owners of SHARP PC 1211 calculator, do you know about any site with some programs from the applications manual for this calculator in the audio wav files or could you please post some of your programs in audio files?
Thanks!
.
Hi,

(05-30-2018 12:21 PM)Michael Eckstein Wrote: [ -> ]do you know about any site with some programs from the applications manual for this calculator in the audio wav files

No. I've seen some audio files here and there but they were for some other SHARP models, not the 1211.

Quote:or could you please post some of your programs in audio files?

I wrote about 70-100 programs for the SHARP PC-1211 many years ago and stored them in cassette tapes but they're since long unreadable and I have no means of generating new audio files. I keep the program listings in paper, though.

V.
.
I have a proposal to create a software library for SHARP PC 1211 (= TRS80 PC-1) in audio format (WMA, WAV, mp3, ...)
If more enthusiasts are interested in this project, then contribute to this thread and we could create a library similar to the nice existing audio software library pro SHARP PC-1500.
I've wrote already a program to PC 1211, then connected CE-121 output to desktop PC with Windows 7 and used the simple standard Windows 7 program audio record.I tested the file by connecting CE-121 to PC plug for headphones. I have to use software sound booster and increased output volume to 250% of maximum volume and the program was flawlessly written into SHARP PC 1211.
I uploaded that program, it's memory test game, load it as MEMORY, press SHFT A and enjoy! It's here: hp35.wz.cz/1211/memory.wma
The idea of creating an audio repository for the 1210/11/12 would be a great one.
I own a 1211 but without the interface.
As a proposal, I even could host that repository, with the proper intellectual rights on my site.
It's only in Spanish but this part could be translated into English.

http://basic.hopto.org/basic/1211.php
(06-01-2018 05:52 AM)Michael Eckstein Wrote: [ -> ]I have a proposal to create a software library for SHARP PC 1211 (= TRS80 PC-1) in audio format (WMA, WAV, mp3, ...)
If more enthusiasts are interested in this project, then contribute to this thread and we could create a library similar to the nice existing audio software library pro SHARP PC-1500.
I've wrote already a program to PC 1211, then connected CE-121 output to desktop PC with Windows 7 and used the simple standard Windows 7 program audio record.I tested the file by connecting CE-121 to PC plug for headphones. I have to use software sound booster and increased output volume to 250% of maximum volume and the program was flawlessly written into SHARP PC 1211.
I uploaded that program, it's memory test game, load it as MEMORY, press SHFT A and enjoy! It's here: hp35.wz.cz/1211/memory.wma

Perhaps storing the programs in TRS-80 CAS format (same idea as the various TAP formats for Commodore and Sinclair home computers) would be an option. There is a list of conversion utilities at:
TRS-80 Disk and Tape Conversion Utilities.
In 80's were sold cassettes with recorded programs for SHARP PC 1211, such as Engineering Math I,II,III, Electrical Engineering, Aviation, Games I,II ... maybe could be found some laying in some socket somewhere? :-)

In the meantime enjoy another audio program for solving simultaneous equations, load A1 then press SHFT A and enter coefficients, then SHFT S solves equations. The program A1 is here
(06-01-2018 07:12 PM)ijabbott Wrote: [ -> ]Perhaps storing the programs in TRS-80 CAS format (same idea as the various TAP formats for Commodore and Sinclair home computers) would be an option. There is a list of conversion utilities at:
TRS-80 Disk and Tape Conversion Utilities.

Those turned out to be unsuitable, but these Pocket Tools for SHARP Pocket Computers (also available from Pocket-Tools) seem to work.

(06-03-2018 06:28 PM)Michael Eckstein Wrote: [ -> ]In the meantime enjoy another audio program for solving simultaneous equations, load A1 then press SHFT A and enter coefficients, then SHFT S solves equations. The program A1 is here

I was able to convert your audio file, after first converting to WAV format, to a BASIC program and back to a WAV file using those Pocket Tools utilities on a Windows machine.

Here is the result of converting to a BASIC program:

Code:
   10 "A": INPUT "ORDER?";A
   20 GOSUB 600
   30 B=A: END 
   40 "S": GOSUB 570
   50 D=A(K): IF D<>0 GOTO 160
   60 FOR G=1 TO B-1
   70 GOSUB 500
   80 D=A(C): IF D<>0 LET A(K)=D: GOTO 110
   90 NEXT G
  100 BEEP 2: PRINT "NO SOLUTION": END 
  110 FOR H=1 TO B-1
  120 GOSUB 520
  130 A(K)=A(K)+A(C): NEXT H
  140 GOSUB 540
  150 A(K)=A(K)+A(C)
  160 FOR G=1 TO B-1
  170 GOSUB 500
  180 E=A(C)/D: FOR H=1 TO B-1
  190 GOSUB 520
  200 A(C)=A(C)-E*A(K): NEXT H
  210 GOSUB 540
  220 A(C)=A(C)-E*A(K): NEXT G
  230 B=B-1: IF B>1 GOTO 40
  240 FOR B=1 TO A-1
  250 GOSUB 570
  260 A(C)=A(C)/A(K):E=A(C)
  270 FOR G=B+1 TO A
  280 GOSUB 550
  290 A(C)=A(C)-E*A(K)
  300 NEXT G: NEXT B
  310 B=A: GOSUB 570
  320 A(C)=A(C)/A(K)
  330 "B": FOR G=1 TO A
  340 GOSUB 550
  350 I=A(C)
  360 BEEP 1: PRINT USING "####";G;"    ";USING ;I
  370 NEXT G
  380 END 
  500 K=A*B+B+11:C=A*G+B+11
  510 RETURN 
  520 K=A*B+H+11:C=A*G+H+11
  530 RETURN 
  540 K=B+11:C=G+11: RETURN 
  550 C=G+11:K=A*G+B+11
  560 RETURN 
  570 C=B+11:K=A*B+C: RETURN 
  600 C=12:K=A+12
  610 FOR G=1 TO A
  620 FOR H=1 TO A
  630 PAUSE USING "####";G;H: INPUT I
  640 A(K)=I:K=K+1: NEXT H
  650 BEEP 1: INPUT I
  660 A(C)=I:C=C+1: NEXT G
  670 RETURN
(06-05-2018 07:46 PM)ijabbott Wrote: [ -> ]Those turned out to be unsuitable, but these Pocket Tools for SHARP Pocket Computers (also available from Pocket-Tools) seem to work.

Yes, Pocket Tools for SHARP Pocket Computers are great and they are working perfectly, thank you for the link :-) I scanned program from the book by scanner, applied OCR program and then created WAV by PockTools, It was then loaded correctly to PC 1211 by interface CE121.

The only problem is with OCR program, which makes many substitutions, such as 5 <-> S, O <->0, - <-> — etc. Still, it's better than to manually type program by PC 1211 keyboard.
.
Hi, Michael:
(06-06-2018 08:14 PM)Michael Eckstein Wrote: [ -> ]I scanned program from the book by scanner, applied OCR program and then created WAV by PockTools, It was then loaded correctly to PC 1211 by interface CE121. The only problem is with OCR program, which makes many substitutions, such as 5 <-> S, O <->0, - <-> — etc. Still, it's better than to manually type program by PC 1211 keyboard.

It depends on the size of the program. If not too big, it might actually be faster and preferable to key in the program right away at the keyboard instead of that cumbersome and error-prone multi-step procedure you indicate (scan, OCR, QC of the OCR'ed text, WAV creation, reading the WAV ...).

I know I'd simply type the program in, easier and even more fun. But that's just me.

Regards.
V.
.
Reference URL's