The monitor is unusual in thai it is written in Basic, but it provides some of the more fundamental facilities which are handy if you arc new to machine code. The program provides the following facilities:
- Query Memory — displays a row of eight bytes of data in hex, starting with the specified address. Hitting Space displays the next eight bytes, and Enter will terminate the command.
- Edit memory — displays the specified address in hex and the data held there, also in hex. Enter will step to the next address without changing any data, and ^ — unshifted £ — will step backwards to the previous address, again without changing any data. Entering a byte of data, i.e. two hex digits, will cause that value to be entered at the current address. The two digits are entered without a preceding &. Entering a q will terminate the command.
- Breakpoint — sets or clears a breakpoint. If setting, then a four-digit hex address is requested, if clearing, the address is remembered and cleared automatically. On encountering the breakpoint, the contents of all the registers are displayed — except for the alternate register set, which Amstrad discourages the use of.
- Goto — executes a machine-code program from a specified address.
- Load — loads a named binary file from cassette.
- Save — saves a named binary file to cassette.
Except for data entry during the edit command, all values must be entered in hex and preceded by the & character. As programmed, the monitor uses Window # 1 on rows 20 to 25 of the screen. Window # 0 is set to the remainder. Altering lines 25 and 30 will adjust this to your own requirements. The program occupies 2,700 Bytes.MONITOR BUGS Thank you for publishing my Amstrad monitor program in the April issue of Software File. Since sending you the program I hive identified a bug which occurs under certain conditions. The fix far this requires the lines listed below to be changed/added 34 FOR pointer = &ABB3 TO &ABDE:READ a:POKE pointer,a:NEXT 35 DATA &ed, &73, &ee, &ab. &d5, &c9, &00, &33, &33, &ed, &73. &ec &ab 39 DATA &ea, &ab, &ed, &7b,&ee, &ab, &c9 330 POKE &30,&C3:POKE &31,&BA:POKE &32,&AE:REM set restart 6 ready to jump to breakpoint hand er at &ABBA 420 CALL &ABB3, address |
★ AMSTRAD CPC ★ DOWNLOAD ★ |
|
CPCrulez[Content Management System] v8.7-desktop/c Page créée en 226 millisecondes et consultée 1618 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. |
|
|