5-20MAR88REV-READ ME SQCPM ZZ0 }CRC CRC"TUDAISY ZZ0' FOOL ZZ03 dMACROS LZB?Y3MUSIC ZZ0MMUSICBOXINF]:MUSICBOXZZXc UeMUTILS ZZ0oNOTES LZB SCALE ZZ0 xbZMUSIC ZZ0b >>>> M U S I C B O X <<<< This library contains a group of files intended to help the novice Z-system user understand and use the SLR relocating macro assembler and linker (Z80ASM and SLRNKP). They are intended to demonstrate relocatable code, PUBLIC and EXTERN referances and use of the CSEG, DSEG and COMMON pseudo-ops. They assemble to produce files that generate "music" on any AM radio placed close to the computer (FCC Class B not withstanding). The programs contained here are fairly simple in their individual construction and may be easily assembled, edited and linked. A ZEX command file is included to perform this step automatically for these files - it may be run by typing "ZEX MUSICBOX" and adding the name of the file that you wish to build eg. To build DAISY.COM you would type.... ZEX MUSICBOX DAISY This will use Z80ASM to assemble a number of files, these files will then be linked together by SLRNKP to produce a single output file (in this case named DASIY.COM). The output file may then be run in the same manner as any other program and will produce music on any AM radio placed close to the computer - you may need to adjust the radio tuning and position for maximum effect. Those of you who are musically inclined should find it possible to transcribe other pieces of music for this system. If you place the Z-system libraries (VLIB, Z3LIB and SYSLIB) in the same directory as the MUSICBOX files then the ZEX command file will detect their presence and will build a ZCPR3 compatible version of the requested file - otherwise a CP/M 2.2 compatible program is produced. For further details examine (or print) the enclosed files. Files included. 1. -READ .ME - General package information. 2. CRC .CRC - CRC info. 3. DAISY .Z80 - Musical score #1 4. FOOL .Z80 - Musical score #2 5. SCALE .Z80 - Musical score #3 6. MUSICBOX.INF - Text file used by ZEX command file. 7. MUSICBOX.ZEX - ZEX command file for building programs. 8. CPM .Z80 - Equates required for final link. 9. MACROS .LIB - Macros used in various individual files. 10. NOTES .LIB - Equates defining three octaves of notes. 11. MUSIC .Z80 - CP/M compatible source code. 12. ZMUSIC .Z80 - ZCPR3 compatible source code. 13. MUTILS .Z80 - Utilities required by ZMUSIC.Z80 vCPM.Z8[20-MAR-88 SLR DEMO]$ CI@v2fy@1  P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XɊKUZқp *`Xk (IAff@MVzMH 菑jJmhm͟W-$tvyOJA񭍦Ub~ ׳(.2*krTڎ1m!aH0B?!]> &(C+%E3?aB:X D-X <' ~eN@4*MfmɔAJ- BL\fS a&W\^LM٪tٰY3Rk=[u}ԑ+u b`FrNtΰ>S޸H2Uj p̷(N3 H This builds a .COM file for the musical selection requested. It is invoked by the line:- ZEX MUSICBOX . The basic code for these routines was taken from an old Dr Dobbs from Feb 1976. To receive the output tune your AM radio to about 960kHz and run the .COM file produced by this command file with the radio placed close to your computer - you may have to experiment a little to find the best position/tone. These programs are primarily intended to demonstrate some of the SLR assembler/linker functions. Current selections available are: 1. DAISY - HALs theme. 2. FOOL - The Fool on the hill. 3. SCALE - A musical scale (covers three octaves). Please feel free to add to these. vMUSICBOX.ZEX[20-MAR-88 SLR DEMO]$ AC| &JdXHr-&NBqCA 3ya7cI 9N'SLTs:mG 1l7&8C(Mo7PI$,e,I).%"GYX^[%L-b^†\1Tt φ1e9{8.Ha>FGmA9JXcY1L4A|&^LbFG'!1VNFEGbZ׼g 1> :д-6Nǣajv'Qܛ.aQыs*##1 Nƾ.Ti% Q|t3G|lMr< }1S5iX.V!as?`RNAs)>W | xK~tsE&GJKb1[ !AN8H(^XD?bl5@X%>& N!WC :3,ҬNJ)xNKL'ޜSJk.i;FQ+!8!_a QhwyR4&F b{Cň I $I 3 % rzDy`Ę"\aNLe&䭖鰾ǙE'%ԺLtSb p x}Y)]/ N:i1Q5.N&BtxXXaȡ!4$vMUTILS.Z80[20-MAR-88 SLR DEMO]$ CI@v2fy@1 PT%E1h *0 jyt$e1LFQu=$DGA6fzѕE,-$DDRfiHpZֽlP Faria.mg-Vx8fe]4anaC#Wz_-:x23"mvӘ6[k6JƟU3 c|]7k=iwTK^tpC7R;-ns(찝wi#@QRXUOiTlu݄Wߓ04Sՙa:KP5Tn 7 Ke0$ɰv=.ziZa2Q<u}a sN5ʝCO$-kƩl[w6E ={pO=][PQxlRYHMy ufzަ]0v;ٴNy)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