Home » Archimedes archive » Archimedes World » AW-1996-02-Disc2.adf » !Z80Dem_Z80Demo » Docs/TapeFiles

Docs/TapeFiles

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 » Archimedes archive » Archimedes World » AW-1996-02-Disc2.adf » !Z80Dem_Z80Demo
Filename: Docs/TapeFiles
Read OK:
File size: 07AE bytes
Load address: 0000
Exec address: 0000
File contents
Z80Em: Tapefiles
================

xzx Multiloads
--------------

I have implemented support for multiloads as originally
implemented in the X-Windows Spectrum emulator xzx.
(also supported by Z80, amongst other emulators)

To convert an xzx multiload so that it will run in Z80Em,
you should first create an application directory (eg !Gauntlet)
and then copy all the files into this.
Then set-type the snapshot file (eg Gauntlet.SNA or Gauntlet.Z80)
to SNA or Z80 as appropriate and put the data files in the same
application directory renaming them to "1", "2", "3", etc
(eg "Gaunt15.DAT" should be renamed to "1")
The snapshot itself (eg Gauntlet.SNA) should be renamed to !Run

The program can then be run by double clicking on the application

Ignore any warnings about not running on emulators apart from
xzx. (see 'XZXformat' for technical details)

TAP files
---------

I have also implemented support for TAP files, from the DOS
emulator Z80.
TAP files can be created from !Tapes by saving out as Spectrum
format.

Dragging a TAP file to the icon bar will set that
to be the current TAP file. You should then be able to
type LOAD "" in the emulator to load the program.
(type J Alt-P Alt-P, or J Alt-P Alt-P Tab I for
LOAD ""CODE if you get a "Bytes:" rather than a "Program:")

If no TAP file has been dragged to the icon bar, the file
!Z80Em.defaultTAP will be used, if it exists.
The utility testTAP in the Utils directory can be used
to tell whether a file is a valid TAP file or not.
(See 'TAPformat' for the exact file format)

NB for the above two methods the Tape option should NOT be selected

RAW files
---------

RAW files from !Tapes are also supported. You should drag them
onto Z80Em's icon and select the Tape option.
Then type LOAD "" in the emulator (as above) and the sampled
tape should load.
This may take some time, so you may wish to save a snapshot when
the program has loaded.
Deselect the Tape option when you have saved a snapshot.
00000000  5a 38 30 45 6d 3a 20 54  61 70 65 66 69 6c 65 73  |Z80Em: Tapefiles|
00000010  0a 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |.===============|
00000020  3d 0a 0a 78 7a 78 20 4d  75 6c 74 69 6c 6f 61 64  |=..xzx Multiload|
00000030  73 0a 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |s.--------------|
00000040  0a 0a 49 20 68 61 76 65  20 69 6d 70 6c 65 6d 65  |..I have impleme|
00000050  6e 74 65 64 20 73 75 70  70 6f 72 74 20 66 6f 72  |nted support for|
00000060  20 6d 75 6c 74 69 6c 6f  61 64 73 20 61 73 20 6f  | multiloads as o|
00000070  72 69 67 69 6e 61 6c 6c  79 0a 69 6d 70 6c 65 6d  |riginally.implem|
00000080  65 6e 74 65 64 20 69 6e  20 74 68 65 20 58 2d 57  |ented in the X-W|
00000090  69 6e 64 6f 77 73 20 53  70 65 63 74 72 75 6d 20  |indows Spectrum |
000000a0  65 6d 75 6c 61 74 6f 72  20 78 7a 78 2e 0a 28 61  |emulator xzx..(a|
000000b0  6c 73 6f 20 73 75 70 70  6f 72 74 65 64 20 62 79  |lso supported by|
000000c0  20 5a 38 30 2c 20 61 6d  6f 6e 67 73 74 20 6f 74  | Z80, amongst ot|
000000d0  68 65 72 20 65 6d 75 6c  61 74 6f 72 73 29 0a 0a  |her emulators)..|
000000e0  54 6f 20 63 6f 6e 76 65  72 74 20 61 6e 20 78 7a  |To convert an xz|
000000f0  78 20 6d 75 6c 74 69 6c  6f 61 64 20 73 6f 20 74  |x multiload so t|
00000100  68 61 74 20 69 74 20 77  69 6c 6c 20 72 75 6e 20  |hat it will run |
00000110  69 6e 20 5a 38 30 45 6d  2c 0a 79 6f 75 20 73 68  |in Z80Em,.you sh|
00000120  6f 75 6c 64 20 66 69 72  73 74 20 63 72 65 61 74  |ould first creat|
00000130  65 20 61 6e 20 61 70 70  6c 69 63 61 74 69 6f 6e  |e an application|
00000140  20 64 69 72 65 63 74 6f  72 79 20 28 65 67 20 21  | directory (eg !|
00000150  47 61 75 6e 74 6c 65 74  29 0a 61 6e 64 20 74 68  |Gauntlet).and th|
00000160  65 6e 20 63 6f 70 79 20  61 6c 6c 20 74 68 65 20  |en copy all the |
00000170  66 69 6c 65 73 20 69 6e  74 6f 20 74 68 69 73 2e  |files into this.|
00000180  0a 54 68 65 6e 20 73 65  74 2d 74 79 70 65 20 74  |.Then set-type t|
00000190  68 65 20 73 6e 61 70 73  68 6f 74 20 66 69 6c 65  |he snapshot file|
000001a0  20 28 65 67 20 47 61 75  6e 74 6c 65 74 2e 53 4e  | (eg Gauntlet.SN|
000001b0  41 20 6f 72 20 47 61 75  6e 74 6c 65 74 2e 5a 38  |A or Gauntlet.Z8|
000001c0  30 29 0a 74 6f 20 53 4e  41 20 6f 72 20 5a 38 30  |0).to SNA or Z80|
000001d0  20 61 73 20 61 70 70 72  6f 70 72 69 61 74 65 20  | as appropriate |
000001e0  61 6e 64 20 70 75 74 20  74 68 65 20 64 61 74 61  |and put the data|
000001f0  20 66 69 6c 65 73 20 69  6e 20 74 68 65 20 73 61  | files in the sa|
00000200  6d 65 0a 61 70 70 6c 69  63 61 74 69 6f 6e 20 64  |me.application d|
00000210  69 72 65 63 74 6f 72 79  20 72 65 6e 61 6d 69 6e  |irectory renamin|
00000220  67 20 74 68 65 6d 20 74  6f 20 22 31 22 2c 20 22  |g them to "1", "|
00000230  32 22 2c 20 22 33 22 2c  20 65 74 63 0a 28 65 67  |2", "3", etc.(eg|
00000240  20 22 47 61 75 6e 74 31  35 2e 44 41 54 22 20 73  | "Gaunt15.DAT" s|
00000250  68 6f 75 6c 64 20 62 65  20 72 65 6e 61 6d 65 64  |hould be renamed|
00000260  20 74 6f 20 22 31 22 29  0a 54 68 65 20 73 6e 61  | to "1").The sna|
00000270  70 73 68 6f 74 20 69 74  73 65 6c 66 20 28 65 67  |pshot itself (eg|
00000280  20 47 61 75 6e 74 6c 65  74 2e 53 4e 41 29 20 73  | Gauntlet.SNA) s|
00000290  68 6f 75 6c 64 20 62 65  20 72 65 6e 61 6d 65 64  |hould be renamed|
000002a0  20 74 6f 20 21 52 75 6e  0a 0a 54 68 65 20 70 72  | to !Run..The pr|
000002b0  6f 67 72 61 6d 20 63 61  6e 20 74 68 65 6e 20 62  |ogram can then b|
000002c0  65 20 72 75 6e 20 62 79  20 64 6f 75 62 6c 65 20  |e run by double |
000002d0  63 6c 69 63 6b 69 6e 67  20 6f 6e 20 74 68 65 20  |clicking on the |
000002e0  61 70 70 6c 69 63 61 74  69 6f 6e 0a 0a 49 67 6e  |application..Ign|
000002f0  6f 72 65 20 61 6e 79 20  77 61 72 6e 69 6e 67 73  |ore any warnings|
00000300  20 61 62 6f 75 74 20 6e  6f 74 20 72 75 6e 6e 69  | about not runni|
00000310  6e 67 20 6f 6e 20 65 6d  75 6c 61 74 6f 72 73 20  |ng on emulators |
00000320  61 70 61 72 74 20 66 72  6f 6d 0a 78 7a 78 2e 20  |apart from.xzx. |
00000330  28 73 65 65 20 27 58 5a  58 66 6f 72 6d 61 74 27  |(see 'XZXformat'|
00000340  20 66 6f 72 20 74 65 63  68 6e 69 63 61 6c 20 64  | for technical d|
00000350  65 74 61 69 6c 73 29 0a  0a 54 41 50 20 66 69 6c  |etails)..TAP fil|
00000360  65 73 0a 2d 2d 2d 2d 2d  2d 2d 2d 2d 0a 0a 49 20  |es.---------..I |
00000370  68 61 76 65 20 61 6c 73  6f 20 69 6d 70 6c 65 6d  |have also implem|
00000380  65 6e 74 65 64 20 73 75  70 70 6f 72 74 20 66 6f  |ented support fo|
00000390  72 20 54 41 50 20 66 69  6c 65 73 2c 20 66 72 6f  |r TAP files, fro|
000003a0  6d 20 74 68 65 20 44 4f  53 0a 65 6d 75 6c 61 74  |m the DOS.emulat|
000003b0  6f 72 20 5a 38 30 2e 0a  54 41 50 20 66 69 6c 65  |or Z80..TAP file|
000003c0  73 20 63 61 6e 20 62 65  20 63 72 65 61 74 65 64  |s can be created|
000003d0  20 66 72 6f 6d 20 21 54  61 70 65 73 20 62 79 20  | from !Tapes by |
000003e0  73 61 76 69 6e 67 20 6f  75 74 20 61 73 20 53 70  |saving out as Sp|
000003f0  65 63 74 72 75 6d 0a 66  6f 72 6d 61 74 2e 0a 0a  |ectrum.format...|
00000400  44 72 61 67 67 69 6e 67  20 61 20 54 41 50 20 66  |Dragging a TAP f|
00000410  69 6c 65 20 74 6f 20 74  68 65 20 69 63 6f 6e 20  |ile to the icon |
00000420  62 61 72 20 77 69 6c 6c  20 73 65 74 20 74 68 61  |bar will set tha|
00000430  74 0a 74 6f 20 62 65 20  74 68 65 20 63 75 72 72  |t.to be the curr|
00000440  65 6e 74 20 54 41 50 20  66 69 6c 65 2e 20 59 6f  |ent TAP file. Yo|
00000450  75 20 73 68 6f 75 6c 64  20 74 68 65 6e 20 62 65  |u should then be|
00000460  20 61 62 6c 65 20 74 6f  0a 74 79 70 65 20 4c 4f  | able to.type LO|
00000470  41 44 20 22 22 20 69 6e  20 74 68 65 20 65 6d 75  |AD "" in the emu|
00000480  6c 61 74 6f 72 20 74 6f  20 6c 6f 61 64 20 74 68  |lator to load th|
00000490  65 20 70 72 6f 67 72 61  6d 2e 0a 28 74 79 70 65  |e program..(type|
000004a0  20 4a 20 41 6c 74 2d 50  20 41 6c 74 2d 50 2c 20  | J Alt-P Alt-P, |
000004b0  6f 72 20 4a 20 41 6c 74  2d 50 20 41 6c 74 2d 50  |or J Alt-P Alt-P|
000004c0  20 54 61 62 20 49 20 66  6f 72 0a 4c 4f 41 44 20  | Tab I for.LOAD |
000004d0  22 22 43 4f 44 45 20 69  66 20 79 6f 75 20 67 65  |""CODE if you ge|
000004e0  74 20 61 20 22 42 79 74  65 73 3a 22 20 72 61 74  |t a "Bytes:" rat|
000004f0  68 65 72 20 74 68 61 6e  20 61 20 22 50 72 6f 67  |her than a "Prog|
00000500  72 61 6d 3a 22 29 0a 0a  49 66 20 6e 6f 20 54 41  |ram:")..If no TA|
00000510  50 20 66 69 6c 65 20 68  61 73 20 62 65 65 6e 20  |P file has been |
00000520  64 72 61 67 67 65 64 20  74 6f 20 74 68 65 20 69  |dragged to the i|
00000530  63 6f 6e 20 62 61 72 2c  20 74 68 65 20 66 69 6c  |con bar, the fil|
00000540  65 0a 21 5a 38 30 45 6d  2e 64 65 66 61 75 6c 74  |e.!Z80Em.default|
00000550  54 41 50 20 77 69 6c 6c  20 62 65 20 75 73 65 64  |TAP will be used|
00000560  2c 20 69 66 20 69 74 20  65 78 69 73 74 73 2e 0a  |, if it exists..|
00000570  54 68 65 20 75 74 69 6c  69 74 79 20 74 65 73 74  |The utility test|
00000580  54 41 50 20 69 6e 20 74  68 65 20 55 74 69 6c 73  |TAP in the Utils|
00000590  20 64 69 72 65 63 74 6f  72 79 20 63 61 6e 20 62  | directory can b|
000005a0  65 20 75 73 65 64 0a 74  6f 20 74 65 6c 6c 20 77  |e used.to tell w|
000005b0  68 65 74 68 65 72 20 61  20 66 69 6c 65 20 69 73  |hether a file is|
000005c0  20 61 20 76 61 6c 69 64  20 54 41 50 20 66 69 6c  | a valid TAP fil|
000005d0  65 20 6f 72 20 6e 6f 74  2e 0a 28 53 65 65 20 27  |e or not..(See '|
000005e0  54 41 50 66 6f 72 6d 61  74 27 20 66 6f 72 20 74  |TAPformat' for t|
000005f0  68 65 20 65 78 61 63 74  20 66 69 6c 65 20 66 6f  |he exact file fo|
00000600  72 6d 61 74 29 0a 0a 4e  42 20 66 6f 72 20 74 68  |rmat)..NB for th|
00000610  65 20 61 62 6f 76 65 20  74 77 6f 20 6d 65 74 68  |e above two meth|
00000620  6f 64 73 20 74 68 65 20  54 61 70 65 20 6f 70 74  |ods the Tape opt|
00000630  69 6f 6e 20 73 68 6f 75  6c 64 20 4e 4f 54 20 62  |ion should NOT b|
00000640  65 20 73 65 6c 65 63 74  65 64 0a 0a 52 41 57 20  |e selected..RAW |
00000650  66 69 6c 65 73 0a 2d 2d  2d 2d 2d 2d 2d 2d 2d 0a  |files.---------.|
00000660  0a 52 41 57 20 66 69 6c  65 73 20 66 72 6f 6d 20  |.RAW files from |
00000670  21 54 61 70 65 73 20 61  72 65 20 61 6c 73 6f 20  |!Tapes are also |
00000680  73 75 70 70 6f 72 74 65  64 2e 20 59 6f 75 20 73  |supported. You s|
00000690  68 6f 75 6c 64 20 64 72  61 67 20 74 68 65 6d 0a  |hould drag them.|
000006a0  6f 6e 74 6f 20 5a 38 30  45 6d 27 73 20 69 63 6f  |onto Z80Em's ico|
000006b0  6e 20 61 6e 64 20 73 65  6c 65 63 74 20 74 68 65  |n and select the|
000006c0  20 54 61 70 65 20 6f 70  74 69 6f 6e 2e 0a 54 68  | Tape option..Th|
000006d0  65 6e 20 74 79 70 65 20  4c 4f 41 44 20 22 22 20  |en type LOAD "" |
000006e0  69 6e 20 74 68 65 20 65  6d 75 6c 61 74 6f 72 20  |in the emulator |
000006f0  28 61 73 20 61 62 6f 76  65 29 20 61 6e 64 20 74  |(as above) and t|
00000700  68 65 20 73 61 6d 70 6c  65 64 0a 74 61 70 65 20  |he sampled.tape |
00000710  73 68 6f 75 6c 64 20 6c  6f 61 64 2e 0a 54 68 69  |should load..Thi|
00000720  73 20 6d 61 79 20 74 61  6b 65 20 73 6f 6d 65 20  |s may take some |
00000730  74 69 6d 65 2c 20 73 6f  20 79 6f 75 20 6d 61 79  |time, so you may|
00000740  20 77 69 73 68 20 74 6f  20 73 61 76 65 20 61 20  | wish to save a |
00000750  73 6e 61 70 73 68 6f 74  20 77 68 65 6e 0a 74 68  |snapshot when.th|
00000760  65 20 70 72 6f 67 72 61  6d 20 68 61 73 20 6c 6f  |e program has lo|
00000770  61 64 65 64 2e 0a 44 65  73 65 6c 65 63 74 20 74  |aded..Deselect t|
00000780  68 65 20 54 61 70 65 20  6f 70 74 69 6f 6e 20 77  |he Tape option w|
00000790  68 65 6e 20 79 6f 75 20  68 61 76 65 20 73 61 76  |hen you have sav|
000007a0  65 64 20 61 20 73 6e 61  70 73 68 6f 74 2e        |ed a snapshot.|
000007ae