/************************** I2ICE TUTORIAL SCREEN #42 **************************/ menu=1 define literally P = 'include scr.41 nolist' define literally R = 'include scr.42 nolist' define literally RTN = 'include scr.42 nolist' define literally N = 'include scr.43 nolist' define literally M = 'include scr.2 nolist' cls /*******************************************************************************/ ' ------------------------' 'To be able to read the value of DECIMAL_DIGIT, we | SCR42: DECIMAL_DIGIT 2 |' 'need to break emulation just before the procedure | M = Go to main menu |' 'CONVERT_DECIMAL_DIGIT passes hex 61 ("a") to WRITE. | N = Next screen |' 'We can''t simply break at line 30; if we did, the | P = Previous screen |' 'program would break the first time line 30 was ex- | Q = Quit tutorial |' 'ecuted--that is, it would break when 31 hex ("1") | R Rewrite SCR42 |' 'was ready to be passed to the WRITE procedure. We | SCR# = Screen desired |' 'need to break the second time line 30 is executed. ------------------------' 'We can do this in one of two ways. ' '1. Use two GO commands. First you would enter ' ' GO FROM TOP TIL :CMAKER#30; WAIT ' ' Then, enter 150 and 108 ; resume emulation by entering' ' GO TIL :CMAKER#30;WAIT ' 'NOTE: In the second command use GO rather than GO FROM TOP--using GO con-' 'tinues execution starting at the address where emulation broke. Also, in the' 'second command we do not really need the TIL phrase, because the break ' 'specification remains from the previous use. You can enter GO;WAIT .' '2. Use one GO command. Enter 150 for Paid and 108 for Price.' ' GO FROM TOP TIL ARM :CMAKER#30 TRIG :CMAKER#30;WAIT ' 'Use one of these methods for achieving the desired breakpoint--or try both.' '-------------------------------------------------------------------------------'