After running the program below, you should find on your disc or tape a file called DATA.BIN. To load it into memory, type MEMORY 42000:LOAD “DATA.BIN”. What on earth does the program do? Well, if you have an area of memory full of code, and you wish to convert that to a list of DATA statements, then this is for you. The syntax for creating the DATA statements is: CALL 42001 , < start address > , < number or lines >where start address is the memory location where all the bytes you wish convened to DATA statements arc stored. Number of lines refers to the number of Basic DATA statements that will be produced. So, for example, this line will cause the bytes from address 7000 to be produced within six DATA statements: CALL 42001 , 7000 , 6Type in the listing and you should be well away. Data lines will be produced identical to these: 10 lin=11:size=(20*lin)-1:add=42001 20 FOR mark=add TO add+size ...AA#16 ★ AMSTRAD CPC ★ DOWNLOAD ★ |
|
CPCrulez[Content Management System] v8.7-desktop/c Page créée en 289 millisecondes et consultée 984 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. |
|
|