Having studied the Debuggin program on page 26 of Popular , July 3 , I would like to make a couple of simple suggestions about loading and saving it. The checksum at the end of each line is very useful and with the following additional lines added to the loader program will enable a complete check to be made when entering data. The data save command Save "debugcode", etc. will need abbreviating to dbugcode if saving to disc and saving can be made at any stage by multiplying the number of completed lines of data input by eight and using the resultant in place of 2048. After all. inputting all those numbers in one go can be a bit frustrating! Remember to make Y the number that it was when you saved the data and to change the start memory location in line 210 before saving the loader program again. 222 Let Z = Z +1: if Z = 9 Then Y = 0 224 Let Y= Y +1: If Z = 9 Then Z = 1 226 CLS 228 Print N,I," ";Z;" Line Checksum = ";Y 260 Print "checksum - " ;Total 270 Next N Note: Change 200 total = 0:Y = 0:Z= 0 Mike Muggeridge Petersfield , Popular Computing Weekly Binders are on their way.
|