Sharp Pocket Computer PC-1251 Resources
|
Sharp Pocket Computer PC-1251 Resource Page
Should also work for the PC-1250.
Note: The PC-1251 was also sold as "Radio Shack TRS-80 PC-3" (in the
united states, I think).
Books and Online Documentation
-
The "Pocket Computer PC-3 Operations Manual" (same as PC-1251) is available from TRS 80 Hardware Manual Download Page.
-
The book "Pocket Computer Programs" is available from TRS 80 Software Manual Download Page.
-
Historic Computing: Let's see: A MCS48 assembler listing (comments in german) for the emulation of a CE 125 printer
for the PC-1245 (but should work also for other PC-12XX models). Maybe I will dig out my MCS48 evaluation board ...
Maybe it is easy to port to a modern AVR controller ... Unfortunately the link is broken, but the Computer Cabinett Göttingen
gave me the permission to publish the file here.
For manuals and documentation related to Sharp pocket computers in general also have a look at the Documentation Section.
Calls to the System ROM
Command
|
Description
|
CALL 53
|
Turns the pocket computer off. Warning: If you use this, turn your
PC on with the BREAK Button (Don't use the sliding switch, or the whole
memory will be deleted)
|
CALL 4576
|
Turns the display on
|
POKE 50905,0
|
Turns the password protection off
|
POKE 50905,32
|
Turns the password protection on
|
Memory map
|
PC-1245/50
|
PC-1251
|
PC-1255
|
PC-1260
|
PC-1261/62
|
Inner CPU ROM
|
&0000 - &1FFF
|
ROM
|
&4000 - &7FFF
|
&8000 - &FFFF
|
RAM
|
&C000-&C7FF
|
&B800-&C7FF
|
&A000-&C7FF
|
&5800-&67FF
|
&4000-&67FF
|
Video RAM
|
&F800-&F87F
|
&2000-&287F
|
There are some very nice memory maps also on Yagshi's page.
Accessing the display
Even the display is very small (5x7x24), you can access every block on
the display, and very confusing, the special functions display. Here are
the pokes for the special function display:
POKE &F83C,X
|
1
|
DEF
|
2
|
P
|
4
|
G
|
8
|
DE
|
16
|
-
|
32
|
-
|
64
|
-
|
128
|
-
|
|
POKE &F83D,X
|
1
|
BUSY
|
2
|
SHIFT
|
4
|
RAD
|
8
|
E
|
16
|
-
|
32
|
-
|
64
|
-
|
128
|
-
|
|
|
Remember, that switching the display may activate the corresponding mode
e.g. switching "RAD" on will cause "SIN", "COS" and "TAN" to calculate
in RAD-mode.
To access the display blocks just do the following:
-
Erase the display:
WAIT 0:PRINT " "
-
Turn the display on:
CALL 4576
-
Write to the display memory:
POKE Addr,Pattern
The display columns have addresses as shown in the table below:
Characters pos. 1-12
|
Characters pos. 13-24
|
|
|
As you can see, the display is divided into two block, the first on
is addressed bottom up, the second one top down.
Calculating the column pattern:
The pattern is calculated by adding the value of every pixel you want
to display in black together, e.g. the second column in the picture at
the right side would be 4+32+64=100. If you want to display the figure
at the right side at character position 1, you would use
POKE &F800,2,100,29,100,2
If you want to display the figure at the right side at character position
10, you would use
POKE &F832,2,100,29,100,2
|
|
If you want to keep the display stable for a while, just insert a waiting
loop:
FOR I=0 TO 200:NEXT I
Like most of the Sharp pocket computers, the PC-1251 also has some nasty
side effects at the right side of the display while doing direct access
to the display memory. This can only prevented by writing a machine language
program.
Here's an example which fills the display from the left to the right
with black columns:
10 CALL 4576:REM DISPLAY ON
20 FOR I=0 TO &3B
30 POKE &F800+I,&FF
40 NEXT I
50 FOR I=&7B TO &40 STEP -1
60 POKE &F800+I,&FF
70 NEXT I
Programs
Have a look at the PC-1251 File Archive.
To avoid mini keyboard typing, first have a look at Tools to link your pocket computer to your big PC.
Application Tapes
Note that it's only allowed to download the content of the tapes if
you own the original tape (or you think you did own it in the past...).
I'm publishing this because the PC-1251 is now an obsolete computer. If
someone doesn't like this to be published here, he can tell me and I'll
remove it immediately.
I have extracted the files from the application tape shown below.
The content is not complete, because the tape drive
from my CE-125 or the application tape are gone forever while restoring
the tape. I don't know what this software is good for, maybe it's only
usable with a manual (which I don't own). Enough words, you can download
the zipped content from here. The
numbers in the filenames refer to the tape counter at the start of the file.
Michel Jubault has contributes an application tape. It contains the same
files as the tape mentioned before (the are some small differences, maybe
it's an older/newer version). It's complete and you can download it
here. I have made a hardcopy
of the "portrait" program output, as you see on the right side
of this page (cool ascii art, isn't it?).
I converted an applikation tape which was included in a
PC-1251/CE-125 set I got from ebay. The content of the application tape
are programs to calculate the size of heating systems (size of radiators
or something like that). The program interface and the documentation is
in german. You can download it here.
|
|
|
|
|