APPLICATIONSPROGRAMMATION ★ TESTER (AMSTRAD ACTION) ★

Tester (Amstrad Action)Applications Programmation
★ 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 ★ 

Peter Shersby from Mablethorpe, Lincolnshire, has sent in a marvellous utility that will be of particular use to assembly language programmers Tester will allow you to insert breakpoints in your code - that is, the instruction rst 6 (RST #30) or byte &F7 - and display the state of the register. Very handy for debugging routines.

Once Tester has been installed simply load your own routine in memory and (with RST 6 instructions where ever you think they will be useful) when you are ready to test your routine. type i test, addr The variable addr refers to the start address of your code Every time an rst 6 instruction is encountered the contents of the registers, program counter and stack are printed Once the registers have been displayed you may press Esc to return to Basic or enter to continue with your program

Should you need to send parameters to your routine, include these before the address |TEST, a$, b$, &6000 for example.

To see how Tester works type in and run the long listing (don't forget to save it), enter and run the short listing below, and finally type |TEST, &4000 . After a beep the contents of the registers will appear on screen. Press return to continue.

AA#31

★ PUBLISHER: Amstrad Action
★ YEAR: 1988
★ CONFIG: 64K + AMSDOS
★ LANGUAGE:
★ LiCENCE: LISTING
★ AUTHOR: Peter Shersby

★ AMSTRAD CPC ★ DOWNLOAD ★

Type-in/Listing:
» Tester    (Amstrad  Action)    LISTING    ENGLISHDATE: 2018-08-04
DL: 179
TYPE: text
SiZE: 3Ko
NOTE: Uploaded by CPCLOV ;

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

Lien(s):
» Applications » FutureOS - CBM : Command Bar Menu
» Applications » Menu Master
» Applications » Arnor - Protext - Making the Most of Protext (Amstrad Computer User)
» Applications » Defcar (CPC Revue)
» Applications » Data Maker (Computing With the Amstrad)
» Applications » Perspectives et projections
Je participe au site:
» Vous avez des infos personnel ?
» 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
Page créée en 730 millisecondes et consultée 988 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.