Type in the following program, save it then run it and correct any errors. You will now have two new commands added to Locomotive Basic. Gcol , paper , pen will set the graphics paper and pen colours, which cannot be done directly on the CPC464. The other new command is Sprint which will print the specified text at graphics co-ordinates x,y in the current graphics colour, but in specially defined half width characters which double the number of columns available. The command should be used thus: 464 : a$="text"+Chr$(0): |Sprint,x,y,a$664/6128:|Sprint,x , y, "text''+Chr$(0)The utility was designed for use in Mode 0 but can be used in any mode if the following Pokes are implemented after every change.Poke &9D5B,8 for Mode 1 Poke &9D5B,4 for Mode 2 Poke &9D5B,16 for Mode 0 Also note that this utility cannot be used with programs which utilise the Memory or Symbol After commands. In addition, any other machine code routines must be placed beneath Himem. PCW
| ★ AMSTRAD CPC ★ DOWNLOAD ★ |
|
|
CPCrulez[Content Management System] v8.732-desktop/c Page créée en 300 millisecondes et consultée 348 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. |
|