Home » CEEFAX disks » telesoftware8.adl » 13-08-88/HOWMANY
13-08-88/HOWMANY
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 » CEEFAX disks » telesoftware8.adl |
Filename: | 13-08-88/HOWMANY |
Read OK: | ✔ |
File size: | 00FD bytes |
Load address: | 0800 |
Exec address: | 802B |
File contents
10REM: HOWMANY 20osword=&FFF1 30DIM mcode &100 40FOR pass = 0 TO 2 STEP 2 50P%=mcode 60[OPT pass 70LDA #&7E 80LDX #result MOD 256 90LDY #result DIV 256 100JSR osword 110RTS 120.result 130EQUD &00 140] 150NEXT 160CALL mcode 170PRINT"&";~result?2;~result?1;" Sectors"
�: HOWMANY osword=&FFF1 � mcode &100 (� pass = 0 � 2 � 2 2P%=mcode < [OPT pass FLDA #&7E PLDX #result � 256 ZLDY #result � 256 dJSR osword nRTS x.result �EQUD &00 �] �� �� mcode �'�"&";~result?2;~result?1;" Sectors" �
00000000 0d 00 0a 0e f4 3a 20 48 4f 57 4d 41 4e 59 0d 00 |.....: HOWMANY..| 00000010 14 10 6f 73 77 6f 72 64 3d 26 46 46 46 31 0d 00 |..osword=&FFF1..| 00000020 1e 10 de 20 6d 63 6f 64 65 20 26 31 30 30 0d 00 |... mcode &100..| 00000030 28 16 e3 20 70 61 73 73 20 3d 20 30 20 b8 20 32 |(.. pass = 0 . 2| 00000040 20 88 20 32 0d 00 32 0c 50 25 3d 6d 63 6f 64 65 | . 2..2.P%=mcode| 00000050 0d 00 3c 0d 5b 4f 50 54 20 70 61 73 73 0d 00 46 |..<.[OPT pass..F| 00000060 0c 4c 44 41 20 23 26 37 45 0d 00 50 15 4c 44 58 |.LDA #&7E..P.LDX| 00000070 20 23 72 65 73 75 6c 74 20 83 20 32 35 36 0d 00 | #result . 256..| 00000080 5a 15 4c 44 59 20 23 72 65 73 75 6c 74 20 81 20 |Z.LDY #result . | 00000090 32 35 36 0d 00 64 0e 4a 53 52 20 6f 73 77 6f 72 |256..d.JSR oswor| 000000a0 64 0d 00 6e 07 52 54 53 0d 00 78 0b 2e 72 65 73 |d..n.RTS..x..res| 000000b0 75 6c 74 0d 00 82 0c 45 51 55 44 20 26 30 30 0d |ult....EQUD &00.| 000000c0 00 8c 05 5d 0d 00 96 05 ed 0d 00 a0 0b d6 20 6d |...].......... m| 000000d0 63 6f 64 65 0d 00 aa 27 f1 22 26 22 3b 7e 72 65 |code...'."&";~re| 000000e0 73 75 6c 74 3f 32 3b 7e 72 65 73 75 6c 74 3f 31 |sult?2;~result?1| 000000f0 3b 22 20 53 65 63 74 6f 72 73 22 0d ff |;" Sectors"..| 000000fd