10.02.2013 Views

a E i - Commodore Is Awesome

a E i - Commodore Is Awesome

a E i - Commodore Is Awesome

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

tween<br />

tually<br />

upted<br />

in a<br />

ut the<br />

awa<br />

y<br />

Inter<br />

( and<br />

s are<br />

•<br />

M any<br />

larger industrial computers<br />

offer a screen-dump facility. This<br />

means that whatever is printed on the<br />

screen can be reproduced exactly on<br />

paper. Permanent copies may be<br />

obtained of just about anything you<br />

like including: Pie charts, histograms,<br />

circuit diagrams, mechanical diagrams,<br />

partial stock lists, program<br />

modifications etc.<br />

There are programs around for text<br />

dumps, but most seem to be written in<br />

Basic and need to ask the user<br />

questions (like upper or lower case<br />

text) before they will do a printout.<br />

Enter then, the all singing, all<br />

dancing. intelligent screen dump program.<br />

This program will check automatically<br />

whether upper or lower case<br />

text is being displayed and print<br />

accordingly. Reversed characters are<br />

also recognised and dealt with by this<br />

program (automatically). There is, of<br />

course, one BUT...but it cannot print<br />

the double quotes symbol. This is due<br />

to an inherent function of the MPS-80 I<br />

printer. When the printer prints an odd<br />

number of double quotes, it starts to<br />

print ASCII tokens for the printer<br />

control codes used by this program.<br />

The result is a totally disorganised<br />

mess, which does not look much like<br />

the original. For this reason the double<br />

quotes symbol will be replaced by a<br />

single quote every time it appears. This<br />

is unfortunate but is the same method<br />

used by the word processor package in<br />

the Plus/4 itself.<br />

While I am on the had points. I<br />

should also mention that custom<br />

characters cannot be dumped from the<br />

text screen, though they can from the<br />

graphics screen. Also, when obtaining<br />

a graphics dump the last three rows of<br />

PLUS/4 AND MPS 801 NI<br />

Plus/4<br />

Dumper<br />

Non.' you can transfer what's on your screen to paper via<br />

your printer and obtain a hard copy of everything you do.<br />

By Mick Healey<br />

pixels on the screen will not be<br />

dumped. though this is usually unimportant.<br />

Great care has been taken to make<br />

this program 'invisible' to Basic and its<br />

variables. Once loaded this program<br />

can be considered as one of the computer's<br />

functions. It lives and works<br />

between locations $4000 and $467E.<br />

Some of the routines used need to<br />

change values stored in page zero. This<br />

would then upset important vectors<br />

stored in page zero and cause the<br />

computer to crash. For this reason the<br />

program will store page zero (in its<br />

entirety) in a safe place, before any<br />

damage is done. Page zero is then returned<br />

at the end of the program. The<br />

8192<br />

8193<br />

4)<br />

1- E 8195<br />

8<br />

14i•<br />

8196<br />

;al<br />

9<br />

8197<br />

4<br />

8198<br />

8199<br />

YOUR COMMODORE january 1987<br />

103<br />

end result of this is that the computer<br />

has been made to produce a printout.<br />

and will continue to do what it was<br />

doing before, as if nothing had<br />

happened (i.e.: this program is invisible).<br />

The function keys have also been<br />

re-assigned. This allows the text/<br />

graphics dump to be used in direct<br />

mode as well as program mode. Pressing<br />

function key Fl will cause a text<br />

dump to be produced. Function key<br />

F4 gives a graphics dump. To include<br />

these routines in a basic program then<br />

call the following:<br />

SYS 16384 for a text dump.<br />

SYS 16645 for a graphics dump.<br />

Bit number.<br />

7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0<br />

This shows the pattern of bytes and bits as they<br />

appear on the screen. (Two character spaces in<br />

top left of screen represented.)<br />

Figure 1.<br />

8200<br />

8201<br />

8202<br />

8203<br />

8204<br />

8205<br />

8206<br />

8207

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!