Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_28.ADF » P/+27kAS1
P/+27kAS1
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_28.ADF |
Filename: | P/+27kAS1 |
Read OK: | ✔ |
File size: | 066A bytes |
Load address: | 2B204556 |
Exec address: | 416B3732 |
File contents
6 Bollinbrook road, MACCLESFIELD, Cheshire. SK10 3DJ. 27KASM UPDATE ============= Hands up who noticed the typing mistake in this program??? During development here on my BBC I assemble the source to 27KASM in RAM then save it to disk as "OUTPUT". This is fine during development, except when I'm not concentrating and go and run the test program (TEST1 and TEST2 as I gave you) which overwrites the 27KASM program. The work around I used (rather than the more obvious of saving the source code to 27KASM instead!) was to make 27KASM write to a file called OBJECT. This is reflected in the TEST programs which use *DUMP OBJECT at the end. The outcome is that it works perfectly except if using the test programs I sent! To fix either: 1.COPY 27KASM from this issue disk onto last issue's disk.The new version has it saving to OBJECT as it should. *OR* 2.LOAD TEST1 and TEST2 changing the references to OBJECT at the end to references to OUTPUT then resave. I suggest that 1 is the easier.The only other thing is that it wouldn't run from the menu program and only the hardy amongst you will have dared go further. It is machine code hence needs to be *RUN as detailed in the instructions and not CHAINed into BASIC like I guess the menu tried.Most of you will have received the "Bad program" error as a result. Sorry,my fault,hope it hasn't put you off using the utility...and sorry if I've made fixing the problem sound hard. See you next issue, R.P.Sprowson.
00000000 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 00000010 20 20 20 36 20 42 6f 6c 6c 69 6e 62 72 6f 6f 6b | 6 Bollinbrook| 00000020 20 72 6f 61 64 2c 20 0d 20 20 20 20 20 20 20 20 | road, . | 00000030 20 20 20 20 20 20 20 20 20 20 20 20 4d 41 43 43 | MACC| 00000040 4c 45 53 46 49 45 4c 44 2c 20 0d 20 20 20 20 20 |LESFIELD, . | 00000050 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 00000060 43 68 65 73 68 69 72 65 2e 20 0d 20 20 20 20 20 |Cheshire. . | 00000070 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 00000080 20 53 4b 31 30 20 33 44 4a 2e 20 0d 20 0d 32 37 | SK10 3DJ. . .27| 00000090 4b 41 53 4d 20 55 50 44 41 54 45 20 0d 3d 3d 3d |KASM UPDATE .===| 000000a0 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 20 0d 20 0d 48 61 |========== . .Ha| 000000b0 6e 64 73 20 75 70 20 77 68 6f 20 6e 6f 74 69 63 |nds up who notic| 000000c0 65 64 20 74 68 65 20 74 79 70 69 6e 67 20 0d 6d |ed the typing .m| 000000d0 69 73 74 61 6b 65 20 69 6e 20 74 68 69 73 20 70 |istake in this p| 000000e0 72 6f 67 72 61 6d 3f 3f 3f 20 0d 20 0d 44 75 72 |rogram??? . .Dur| 000000f0 69 6e 67 20 64 65 76 65 6c 6f 70 6d 65 6e 74 20 |ing development | 00000100 68 65 72 65 20 6f 6e 20 6d 79 20 42 42 43 20 49 |here on my BBC I| 00000110 20 0d 61 73 73 65 6d 62 6c 65 20 74 68 65 20 73 | .assemble the s| 00000120 6f 75 72 63 65 20 74 6f 20 32 37 4b 41 53 4d 20 |ource to 27KASM | 00000130 69 6e 20 52 41 4d 20 0d 74 68 65 6e 20 73 61 76 |in RAM .then sav| 00000140 65 20 69 74 20 74 6f 20 64 69 73 6b 20 61 73 20 |e it to disk as | 00000150 22 4f 55 54 50 55 54 22 2e 20 0d 20 0d 54 68 69 |"OUTPUT". . .Thi| 00000160 73 20 69 73 20 66 69 6e 65 20 64 75 72 69 6e 67 |s is fine during| 00000170 20 64 65 76 65 6c 6f 70 6d 65 6e 74 2c 20 0d 65 | development, .e| 00000180 78 63 65 70 74 20 77 68 65 6e 20 49 27 6d 20 6e |xcept when I'm n| 00000190 6f 74 20 63 6f 6e 63 65 6e 74 72 61 74 69 6e 67 |ot concentrating| 000001a0 20 61 6e 64 20 0d 67 6f 20 61 6e 64 20 72 75 6e | and .go and run| 000001b0 20 74 68 65 20 74 65 73 74 20 70 72 6f 67 72 61 | the test progra| 000001c0 6d 20 28 54 45 53 54 31 20 61 6e 64 20 0d 54 45 |m (TEST1 and .TE| 000001d0 53 54 32 20 61 73 20 49 20 67 61 76 65 20 79 6f |ST2 as I gave yo| 000001e0 75 29 20 77 68 69 63 68 20 6f 76 65 72 77 72 69 |u) which overwri| 000001f0 74 65 73 20 0d 74 68 65 20 32 37 4b 41 53 4d 20 |tes .the 27KASM | 00000200 70 72 6f 67 72 61 6d 2e 20 0d 20 0d 54 68 65 20 |program. . .The | 00000210 77 6f 72 6b 20 61 72 6f 75 6e 64 20 49 20 75 73 |work around I us| 00000220 65 64 20 28 72 61 74 68 65 72 20 74 68 61 6e 20 |ed (rather than | 00000230 0d 74 68 65 20 6d 6f 72 65 20 6f 62 76 69 6f 75 |.the more obviou| 00000240 73 20 6f 66 20 73 61 76 69 6e 67 20 74 68 65 20 |s of saving the | 00000250 73 6f 75 72 63 65 20 0d 63 6f 64 65 20 74 6f 20 |source .code to | 00000260 32 37 4b 41 53 4d 20 69 6e 73 74 65 61 64 21 29 |27KASM instead!)| 00000270 20 77 61 73 20 74 6f 20 6d 61 6b 65 20 0d 32 37 | was to make .27| 00000280 4b 41 53 4d 20 77 72 69 74 65 20 74 6f 20 61 20 |KASM write to a | 00000290 66 69 6c 65 20 63 61 6c 6c 65 64 20 4f 42 4a 45 |file called OBJE| 000002a0 43 54 2e 20 0d 54 68 69 73 20 69 73 20 72 65 66 |CT. .This is ref| 000002b0 6c 65 63 74 65 64 20 69 6e 20 74 68 65 20 54 45 |lected in the TE| 000002c0 53 54 20 70 72 6f 67 72 61 6d 73 20 0d 77 68 69 |ST programs .whi| 000002d0 63 68 20 75 73 65 20 2a 44 55 4d 50 20 4f 42 4a |ch use *DUMP OBJ| 000002e0 45 43 54 20 61 74 20 74 68 65 20 65 6e 64 2e 20 |ECT at the end. | 000002f0 0d 20 0d 54 68 65 20 6f 75 74 63 6f 6d 65 20 69 |. .The outcome i| 00000300 73 20 74 68 61 74 20 69 74 20 77 6f 72 6b 73 20 |s that it works | 00000310 70 65 72 66 65 63 74 6c 79 20 0d 65 78 63 65 70 |perfectly .excep| 00000320 74 20 69 66 20 75 73 69 6e 67 20 74 68 65 20 74 |t if using the t| 00000330 65 73 74 20 70 72 6f 67 72 61 6d 73 20 49 20 0d |est programs I .| 00000340 73 65 6e 74 21 20 0d 20 0d 54 6f 20 66 69 78 20 |sent! . .To fix | 00000350 65 69 74 68 65 72 3a 20 0d 20 0d 31 2e 43 4f 50 |either: . .1.COP| 00000360 59 20 32 37 4b 41 53 4d 20 66 72 6f 6d 20 74 68 |Y 27KASM from th| 00000370 69 73 20 69 73 73 75 65 20 64 69 73 6b 20 0d 6f |is issue disk .o| 00000380 6e 74 6f 20 6c 61 73 74 20 69 73 73 75 65 27 73 |nto last issue's| 00000390 20 64 69 73 6b 2e 54 68 65 20 6e 65 77 20 76 65 | disk.The new ve| 000003a0 72 73 69 6f 6e 20 0d 68 61 73 20 69 74 20 73 61 |rsion .has it sa| 000003b0 76 69 6e 67 20 74 6f 20 4f 42 4a 45 43 54 20 61 |ving to OBJECT a| 000003c0 73 20 69 74 20 73 68 6f 75 6c 64 2e 20 0d 20 0d |s it should. . .| 000003d0 2a 4f 52 2a 20 0d 20 0d 32 2e 4c 4f 41 44 20 54 |*OR* . .2.LOAD T| 000003e0 45 53 54 31 20 61 6e 64 20 54 45 53 54 32 20 63 |EST1 and TEST2 c| 000003f0 68 61 6e 67 69 6e 67 20 74 68 65 20 0d 72 65 66 |hanging the .ref| 00000400 65 72 65 6e 63 65 73 20 74 6f 20 4f 42 4a 45 43 |erences to OBJEC| 00000410 54 20 61 74 20 74 68 65 20 65 6e 64 20 74 6f 20 |T at the end to | 00000420 0d 72 65 66 65 72 65 6e 63 65 73 20 74 6f 20 4f |.references to O| 00000430 55 54 50 55 54 20 74 68 65 6e 20 72 65 73 61 76 |UTPUT then resav| 00000440 65 2e 20 0d 20 0d 49 20 73 75 67 67 65 73 74 20 |e. . .I suggest | 00000450 74 68 61 74 20 31 20 69 73 20 74 68 65 20 65 61 |that 1 is the ea| 00000460 73 69 65 72 2e 54 68 65 20 0d 6f 6e 6c 79 20 6f |sier.The .only o| 00000470 74 68 65 72 20 74 68 69 6e 67 20 69 73 20 74 68 |ther thing is th| 00000480 61 74 20 69 74 20 77 6f 75 6c 64 6e 27 74 20 0d |at it wouldn't .| 00000490 72 75 6e 20 66 72 6f 6d 20 74 68 65 20 6d 65 6e |run from the men| 000004a0 75 20 70 72 6f 67 72 61 6d 20 61 6e 64 20 6f 6e |u program and on| 000004b0 6c 79 20 74 68 65 20 0d 68 61 72 64 79 20 61 6d |ly the .hardy am| 000004c0 6f 6e 67 73 74 20 79 6f 75 20 77 69 6c 6c 20 68 |ongst you will h| 000004d0 61 76 65 20 64 61 72 65 64 20 67 6f 20 0d 66 75 |ave dared go .fu| 000004e0 72 74 68 65 72 2e 20 0d 20 0d 49 74 20 69 73 20 |rther. . .It is | 000004f0 6d 61 63 68 69 6e 65 20 63 6f 64 65 20 68 65 6e |machine code hen| 00000500 63 65 20 6e 65 65 64 73 20 74 6f 20 62 65 20 0d |ce needs to be .| 00000510 2a 52 55 4e 20 61 73 20 64 65 74 61 69 6c 65 64 |*RUN as detailed| 00000520 20 69 6e 20 74 68 65 20 69 6e 73 74 72 75 63 74 | in the instruct| 00000530 69 6f 6e 73 20 0d 61 6e 64 20 6e 6f 74 20 43 48 |ions .and not CH| 00000540 41 49 4e 65 64 20 69 6e 74 6f 20 42 41 53 49 43 |AINed into BASIC| 00000550 20 6c 69 6b 65 20 49 20 0d 67 75 65 73 73 20 74 | like I .guess t| 00000560 68 65 20 6d 65 6e 75 20 74 72 69 65 64 2e 4d 6f |he menu tried.Mo| 00000570 73 74 20 6f 66 20 79 6f 75 20 77 69 6c 6c 20 0d |st of you will .| 00000580 68 61 76 65 20 72 65 63 65 69 76 65 64 20 74 68 |have received th| 00000590 65 20 22 42 61 64 20 70 72 6f 67 72 61 6d 22 20 |e "Bad program" | 000005a0 65 72 72 6f 72 20 0d 61 73 20 61 20 72 65 73 75 |error .as a resu| 000005b0 6c 74 2e 20 0d 20 0d 53 6f 72 72 79 2c 6d 79 20 |lt. . .Sorry,my | 000005c0 66 61 75 6c 74 2c 68 6f 70 65 20 69 74 20 68 61 |fault,hope it ha| 000005d0 73 6e 27 74 20 70 75 74 20 79 6f 75 20 0d 6f 66 |sn't put you .of| 000005e0 66 20 75 73 69 6e 67 20 74 68 65 20 75 74 69 6c |f using the util| 000005f0 69 74 79 2e 2e 2e 61 6e 64 20 73 6f 72 72 79 20 |ity...and sorry | 00000600 69 66 20 0d 49 27 76 65 20 6d 61 64 65 20 66 69 |if .I've made fi| 00000610 78 69 6e 67 20 74 68 65 20 70 72 6f 62 6c 65 6d |xing the problem| 00000620 20 73 6f 75 6e 64 20 0d 68 61 72 64 2e 20 0d 20 | sound .hard. . | 00000630 0d 53 65 65 20 79 6f 75 20 6e 65 78 74 20 69 73 |.See you next is| 00000640 73 75 65 2c 20 0d 20 20 20 20 20 20 20 20 20 20 |sue, . | 00000650 20 20 20 20 20 20 20 20 20 52 2e 50 2e 53 70 72 | R.P.Spr| 00000660 6f 77 73 6f 6e 2e 20 0d 20 0d |owson. . .| 0000066a