APPLICATIONSDIVERS ★ WINDOW SAVER|Amstrad Action) ★

Window SaverApplications Divers
★ Ce texte vous est présenté dans sa version originale ★ 
 ★ This text is presented to you in its original version ★ 
 ★ Este texto se presenta en su versión original ★ 
 ★ Dieser Text wird in seiner Originalfassung präsentiert ★ 

As you know, it is possible to create windows under Amstrad Basic. These can open at any position on the screen a maximum of seven at a time. One annoyance, though, is that if one window is defined on top of another, the contents of the bottom one are lost forever. David Lincohi of Beeston, Nottingham, has produced a program that will save areas of the screen into memory These can be called back at any uime - not necessanly to the same position.

To load and save a window, you are provided with two RSX commands:

|W.SAVE,a,b,c,d,e

|W.LOAD,o,b,c,d,e

In both cases, a is the left position of the window, b its right, c top, d bottom.

The final parameter, e, is the memory address where the wmdow is to be stored. By varying it, you can store more than one window. Anywhere from &4000 to &6000 is as good a place as any to start storing a window. If the whole screen is saved, though, you need &4000 bytes and the start address must be near to &4000.

Obviously, the same address value must be used when restonng a window. It may be loaded back to a diffeient screen position, as long as the height and width are not altered. For example:

|W.SAVE,10,20,10,20,&4000

|W.LOAD,30,40,10,20,&4000

will generate a second copy of the first window, 10 characters to the right.

It is possible to catadate the number of bytes needed for the window in memory: L*D*8, where L is the number of rows of characters in the window, and D - (right of window - left of window)*(width of character).

The width of the character vanes accordmg to the current mode settmg. It will be 1 in mode 2, 2 in mode 1 and 4 in mode 0.

To save the program as a binary file , type: SAVE"WINDOW.BIN",B,&A080,&F9.

To reload, type in direct mode;

MEMORY &A000:LOAD"WINDOW.BIN":CALL &A080

AA#17

★ PUBLISHER: AMSTRAD ACTION
★ YEAR: 1987
★ CONFIG: AMSDOS + 64K
★ LANGUAGE:
★ LiCENCE: LISTING
★ AUTHOR: David Lincoln
 

★ AMSTRAD CPC ★ DOWNLOAD ★

Type-in/Listings:
» Window  Saver    (Amstrad  Action)    ENGLISHDATE: 2020-04-22
DL: 204
TYPE: ZIP
SiZE: 4Ko
NOTE: Uploaded by CPCLOV ; 40 Cyls
.HFE: Χ

» Window  Saver    (Amstrad  Action)    LISTING    ENGLISHDATE: 2018-08-05
DL: 201
TYPE: text
SiZE: 2Ko
NOTE: Uploaded by CPCLOV ;

★ AMSTRAD CPC ★ A voir aussi sur CPCrulez , les sujets suivants pourront vous intéresser...

Lien(s):
» Applications » Xen 3 (Popular Computing Weekly)
» Applications » Pro-Kalender
» Applications » Highterm v1 (CPC Magazin)
» Applications » Cartridge Flasher
» Applications » Scrolls Lacaux (Microstrad)
» Applications » 3D Studio
Je participe au site:
» Vous avez des infos personnel, des fichiers que nous ne possédons pas concernent ce programme ?
» Vous avez remarqué une erreur dans ce texte ?
» Aidez-nous à améliorer cette page : en nous contactant via le forum ou par email.

CPCrulez[Content Management System] v8.7-desktop/c
Page créée en 604 millisecondes et consultée 1066 fois

L'Amstrad CPC est une machine 8 bits à base d'un Z80 à 4MHz. Le premier de la gamme fut le CPC 464 en 1984, équipé d'un lecteur de cassettes intégré il se plaçait en concurrent  du Commodore C64 beaucoup plus compliqué à utiliser et plus cher. Ce fut un réel succès et sorti cette même années le CPC 664 équipé d'un lecteur de disquettes trois pouces intégré. Sa vie fut de courte durée puisqu'en 1985 il fut remplacé par le CPC 6128 qui était plus compact, plus soigné et surtout qui avait 128Ko de RAM au lieu de 64Ko.