Products: ZXzine Issue 4
Developer(s): Tim Swenson
Date: July 2017
Type: Program
Platform(s): TS 1000
Tags: Magazine
This ZIP file contains the programs and code samples from ZXzine issue 4, the newsletter by Tim Swenson (July 2017). It goes with the issue’s articles on an orbit simulation, random number routines in assembly, saving screen blocks and the Berch assembler. Programs come in ZX81 BASIC (text for zxtext2p), in C for Z88DK, and in Z80 assembly, each with its .P file.
What’s in the download
orbit.bas/orbit_bas.p,orbit.c/orbit.Pandorbit2.c/orbit2.P: Orbit, an object circling a planet under gravity, leaving a trail of its last ten positions; keys 5–8 give thrust. The BASIC version is slow,orbit.cadds a delay, andorbit2.cis the C version without it.block.bas/block_b.pandblock.c/block_c.P: routines that save a block of the screen into an array and put it back, by reading and writing the display file directly.rnd.asmtornd5.asm, withrnd.Ptornd5.P: five Z80 random number generators found online, each in a test program that prints random characters. The article counts how evenly each spreads 100 numbers from 0 to 7: RND3 did best, RND2 next, and the first failed.berch.zip: the Berch assembler and disassembler by Bob Berch of Rochester, New York, in 16K and 64K versions (ASMB16K.P,ASMB64K.P,BERCH16K.P,BERCH64K.P).Berch Assembler E-book.pdf: a scan of the Berch assembler manual.testberch.bas/TESTBERCH.P: a short assembly source in REM lines to try with the Berch assembler; it prints a character with the ROM print routine.
The same four Berch files are archived on their own as #51826 ZX81 Assembler and Disassember.
Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.