PROGRAM I is for those of you with Rainbird's Advanced Art Studio. It displays the saved screens from AAS, even those which have been compressed. This means that you can compress your screens to save room on your discs, and still use them outside the AAS environment. Palette files - .pal — are read (if present) to set up the correct mode, ink values and flash rate. It is always best to save a .pal file with your screens even if you don't change the ink values because the AAS default colours are different to Basic's. Lack of a .pal file can therefore result in the screen looking odd. The only real difference between my palette display routine and the one in AAS is the way flashing colours are handled. AAS allows a sequence of 12 colours for each ink, but Basic does not support this. My version only reads the first and seventh in the sequence to allow normal two-ink flashing. Although the utility is in machine code, it must be used in conjunction with some Basic which can easily be incorporated into a larger program. The important lines are 60, which lowers HIMEM and loads the machine code, line 90, which pokes the filename into memory, line 100, which calls the machine code, and line 110 which reads the exit conditions. If location 20415 holds 255, the screen was not displayed due to a loading error. If it holds zero, the screen was drawn successfully. The maximum length of a Basic program is restricted to about 19K due to the machine code locating at 20000. It isn't really possible to locate it any higher as the screens (which are loaded above the machine-code) would run out of the memory pool, probably resulting in a crash. CPC Computing
★ AMSTRAD CPC ★ DOWNLOAD ★ |
|
CPCrulez[Content Management System] v8.732-desktop/c Page créée en 239 millisecondes et consultée 1141 foisL'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. |
|
|