- "Miz.B4" (A Mizzery Saver) - Converts an in-memory machine language program into a BASIC loader, with machine program stored as decimal numbers in DATA statements.
- "S" and "Q" Keys with "CAT*" Command - Documents and investigates a problem with pausing and resuming a directory listing with the Zebra FDD.
- 2068 Cassette Directory - I hope no one out there has the same problem I have. Over the years I have amassed lots of tapes containing saved programs and data for the T/S 2068. Though my intentions have been good, most of these tapes do not have a complete log of their contents.
- 2068 Code Bytes #3 - Third installment in a series on interrupt-driven Z80 machine language programming for the Timex/Sinclair 2068. Covers a BLINK routine that alternates two User Defined Graphics characters on screen using variables for timing, position, and attributes, followed by three sound-effects routines: a border-toggle BEEP, a gun/bomb effect, and a whistle-and-bang bomb effect. Full machine code listings with addresses and mnemonics are provided throughout.
- 2068 Code Bytes #4 - Fourth installment in Lloyd Dreger's Z80 machine language series for the Timex/Sinclair 2068, presenting the general menu system used in his CONQUEST wargame. Covers the SetTV and GetTV screen-switching routines, PrintMENU for rendering menu text to screen, MoveCURsor for arrow-key cursor movement, and GETINPut for accepting both keyboard and joystick input. Full assembly listings with addresses and mnemonics are provided throughout.
- 2068 Code Bytes #5 - Fifth installment of the Z80 machine language series, presenting the world-map printing routine for CONQUEST. Covers FMO (find map start based on player position), PMAP (print map to screen), WRAP (horizontal and vertical wrapping logic for a 64x64 toroidal map), FINDAT (attribute address calculation), and PRUDG (print User Defined Graphic characters for map symbols). Full assembly listings with addresses and mnemonics.
- 2068 Code Bytes #6 - Sixth installment of the Z80 series, providing corrections to the issue #5 map routine plus the FINDAT color-attribute routine that assigns display colors to map units and cities for three players, a PAPER routine for background attribute setting, and the PRUDG UDG printer used throughout the CONQUEST map display system. Full assembly listings with addresses and mnemonics.
- 2068 Code Bytes #7 - Seventh installment of the Z80 series, presenting the map-cursor and map-editor routine for CONQUEST. Covers PRCURS and PRCUR (cursor initialization and main loop), PIXLOC (screen address from XY coordinates), ATTR (attribute address calculation), PRCHA (print character), INTJOY (joystick-to-cursor translation), TRANS (cursor-to-map coordinate conversion), PUTX (place map element), DOIT (dispatch table using JP(HL)), and four scroll routines (SCROLL L/R/U/D). Full assembly listings.
- 2068 Display Block Moves - In the Z80 microprocessor used in the 2068 is a command called LDIR that may be used to quickly move defined blocks of data from one RAM location to another. The routine listed below moves all or portions of the screen display (DFILE1) to RAM address 30000 from which it may then be moved back to the display file.
- 2068 Expanding Array - If you create an array for the storage of data, the chances are that you will dimension the array to be as large as it might need to be some time in the future. In this way, data can be added as needed without having to worry about ‘outgrowing’ the array.
- 2068 Home ROM Corrections - Part I - Corrections to the ROM, in part to support bank-switched memory.
- 2068 Home ROM Corrections - Part II - Corrections to the ROM, in part to support bank-switched memory.
- 2068 Larken Disk Menu Maker - A couple of years ago, George Chambers put together a super program which permitted files on a Larken disk to be loaded with a single keystroke. My kind of utility. I modified it somewhat. With George’s permission, here it is.
- 2068 Machine Code in a DATA Statement - Program allows you to place machine code located anywhere in memory into a DATA statement in line 1 of your BASIC program.
- 2068 Memory Partitioning - Basic allows you to MERGE a second program with one already existing in memory but the line numbers of the two programs must be different or else the old lines are lost. It might be useful to be able to have two different BASIC programs in memory at the same time but totally independant of each other.
- 2068 Notes: A Tutorial on Machine Code Programming -
- 2068 Notes: A Tutorial on Machine Code Programming -
- 2068 Notes: A Tutorial on Machine Code Programming -
- 2068 Notes: A Tutorial on Machine Code Programming, Part 5 - Sometimes it’s useful to be able to print a character sideways.
- 2068 Notes: A Tutorial on Machine Code Programming, Part 6 - Tutorial on relative jumps.
- 2068 Notes: A Tutorial on Machine Code Programming, Part 9 -
- 2068 Notes: A Tutorial on Machine Code Programming, Parts 3 & 4 - Programs to help peek and poke code.
- 2068 Peculiarities - I discovered something very peculiar about the 2068 when I tried to put some machine code into the area of memory normally occupied by the RAM-resident code “function dispatcher”. It seems as if machine code routines in this area (6200 Hex or greater ) run more slowly than identical routines elsewhere in memory !!!
- 2068 Print Command Compiler - Program that compiles PRINT statements into machine language equivalent that uses the ROM's PRINT routine.
- 2068 ROM Disassembly - Spectrum ROM entry points indexed by address.
- 2068 Second Screen (with a 1000 supplement) - Most of us know that the 2068 has a second independent screen (known as Display File 2-see pg 248 of the 2068 User Manual), but methods to easily use this screen are not widely known.
- 2068 SOFTWARE REVIEW - I had hopes of getting more done on the 2068 machine code routines I was working on but having taken my summer vacation this month, I am a bit behind on just about everything.
- 2068 to Spectrum Cross-Reference - Ed. note: The following was submitted as an aid to John Conger‘s machine code class. It is printed here because I feel that it has a more general appeal. Other versions of this list have appeared before: Mike Morris of CATS worked this out, and the LIST group, and Syntax, have both run versions.
- 2068 Turboloader - Program to double loading speed from tape. Adapted from original Spectrum program, written by Esben Krag Hansen.
- 2068 Window - The text for this tutorial is included in the program itself, and is displayed on the screen as the program is run. The various printouts are reproduced here. The program gives an interesting insight into the way the TS2068 handles the various “attributes” (color, flash, etc.) of the screen display.
- 2068 Windows - With the wave of new micros touting their window abilities maybe other 2068 owners like myself have been keeping quiet. Well, if you have been feeling sorry for yourself because you have a computer that “won’t do windows” then cheer up! Those windows are painlessly easy on the mighty 2068!
- 2068 Word Wrap Utility - When printing a text to the screen by using the PRINT statement, words at the end of the screen often will be cut off in the middle and continued on the next line. This makes the text difficult to read.
- 2068: Langage Machine - We will undertake a series on machine language programming on the 2068. These articles will be published with the idea that the reader already possesses some basic knowledge of Z80 programming.
- 2068: Langage Machine (2) - In this article, we will examine how we can exploit the sound capabilities of the 2068 via machine language.
- 2K-SDP: A Serial Data Port - A system which allows transfer of data between ZX/TS and ТS2068 computers and cassette tape operations in TS2068 format.
- 40 Best Machine Code Routines for the ZX Spectrum - Title: 40 BEST MACHINE CODE ROUTINES FOR THE ZX SPECTRUM Author: JOHN HARDMAN & ANDREW HEWSON Publisher: HEWSON CONSULTANTS, OXON, UK. Price: 5.95 POUNDS STERLING, SOFTCOVER, 144 PAGES. This book was first published in 1983 and turned out to be not only a bestseller but an award winning trend-setter to boot ( ahem!
- 64 Column BASIC - The 64 column utilities in the 2068 technical manual do work, but they are not easy to use from Basic. There are far too many things to remember, and debugging your programs is a nightmare. This program allows the use of they Basic PRINT command without having to rewrite the ROM.
- A 2068 Printer Driver - In reply to the request from Mr. George Cary in the May/June SyncWare News for a big printer driver for the Spectrum mode 2068, the accompanying machine-code program is submitted.
- A Cozy Nook for Machine Code in the TS2068 - Identifies a 323-byte area starting at address 25365 (in single-display mode) used for bank switching that can safely store machine code when bank switching is not in use. The author tested loading zeros and machine code there without difficulty to normal TS2068 operation. Also notes unused fixed addresses in the system variable area at 23681.
- A Cross-Correlation of the Spectrum ROM Versus TS2068 Part 1 - As most of us have noticed , machine code (MC) programs written for the Spectrum rarely work on the TS2068 . TIMEX Corp. in an attempt to upgrade the Spectrum’s performance, included extra Basic commands , sound chip support , joystick support and more importantly bankswitching capability , which resulted in a redesign of the machine .
- A Cross-Correlation of the Spectrum ROM Versus TS2068, Part 3 - Now that SYNTAX has finally published the ROM Atlas in their Nov. issue, for those of you who subscribe to SYNTAX, you are already in posession of the whole Atlas. For the benefit of those of you who are not subscribers, I will continue the series.
- A Cross-Correlation of the Spectrum ROM Versus TS2068, Part 4 - As promised last month, a short routine for copying the contents of EXROM to RAM will be presented. The routine bank switches to the EXROM bank. This is achieved by outputting the EXROM chunk number (i.e. 01) to the Horizontal Select Register,HSR.
- A Fast Well-Behaved Pattern Flood Fill - Recursion has always held a certain fascination for me because it seemed that it made very complex problems solvable with a simple, almost magical step. I have written about recursion before in a back issue of ZQA!
- A Practical Guide to Machine Language Programming on the Timex/Sinclair - I like this book. It’s well written, stays on point, applies directly to your ZX/TS, includes operable program listings and lets you learn painlessly. Using only 16 chapters and 8 appendices, Dave takes you on a guided tour of the Z80 in Sinclair country, distinguishing the CPU properties from the system behavior with clarity and flair.
- A Right-to-Left Pixel-by-Pixel Screen Scroll - The following machine code program can be located anywhere you wish. It is very easy to double a number that is given in binary, just as it is very easy to multiply a number by 10 if it is given in decimal — in each case, you Just add a 0 on the right.
- A Right-to-Left Pixel-by-Pixel Screen Scroll - Machine code program to scroll pixels on the screen.
- A Save Nothing File - Save a blank "CODE" file that can later be used to clear a machine code program.
- A Utility that uses System Variables - The following utility really should be in the EXTRA MEMORY section, because it is so useful be able to MOVE a BASIC program to a specific STARTING MEMORY ADDRESS. It is a take off from the “MOVE” utilities given in the January issue of UP-DATE.
- Accessing LKDOS from Machine Code - The DOS is easy to access from machine code using the internal jump table starting at address 120 in the cartridge. The jump table is a list of 20 or so entry points to the most often used sub-routines in the dos.
- Activating the NMI on TS2068 - In the July ’85 LIST, mention was made of a special SIG meeting in which member-designed hardware was demonstrated. In that meeting I demonstrated a hardware tracer for the TS2068. The tracer specs. were drawn by me, and I supervised two of my associates in the design and testing.
- AERCO FD-68 Disc System - Tips for using the AERCO disk system.
- Assembly Language and Hardware Notes - Commentary on machine code and assembly language articles in Vancouver TSUG newsletter: V. Lee’s ongoing TS2068 assembly language series, and Wilf Rigter’s techniques for speeding up the ZX-81/TS1000 by modifying display routines—achieving greater gains than the roughly 15% boost from a 4MHz clock speed increase.
- Auto Fade for the TS-2068 - The April 1986 issue of YOUR SINCLAIR had an article and a program listing for a feature which provides for a screen black-out if you don’t do anything for a while. It has an adjustable time-out interval of up to 20 minutes.
- Automating the Data Line - Some programs in Basic call in M/C routines for repetitive or special functions. In such cases it is often convenient to create a joint record. The Basic program can include a decimal loader, as shown in lines 9955 to 9975, below. The details of the M/C routine are contained in the Data lines.
- Bank Switching the 2068 - The 2068 was introduced to us as a memory manager, capable of handling up to 256 banks of 64K memories, a veritable elephant among small plastic boxes. Close inspection revealed that an item called a BEU (meaning either Bus Expansion Unit or “hello” in Elephant) was necessary to access most of the extra memory banks, but not all.
- Bank Switching The Timex/Sinclair 2068 Computer - The TS2068 contains a thin black rectangular chip that is the “boss”–the central processing unit (CPU). It is of the popular variety Z80A which has a long history of success. It runs just about everything, but it takes orders from you.
- Bank Switching... The Timex/Sinclair 2068 Computer, Part I - The TS 2068 contains a thin black rectangular chip that is the “boss” — the Central Processing Unit (CPU). It is of the popular variety Z80A which has a long history of success. It runs just about everything but it takes orders from you.
- Bank Switching... The Timex/Sinclair 2068 Computer, Part III and IV - Before discussing the roll of the SCLD in bank switching, it is desirable to summarize the known functions. 1. SCREEN MAINTENANCE This is the highest priority operation. The HOME RAM with addresses in chunks 2 & 3 (DRAM) belongs to the SCLD. The CPU has to beg permission to access it.
- Bankswitching, etc.... - Located at location 6200H (or FA50H if D/FILE/2 is open), is a function dispatcher which will, when passed two arguments on the machine stack, perform various functions for applications and systems programmers. The arguments passed to the function dispatcher are contained in a single word.
- BASIC2text .... Extending the use of MTERM II - Program to remove non-ASCII control codes and expand tokens to full ASCII equivalents so that programs may be uploaded to BBSes and shared with other users.
- Basil's Compendium: "Painless" MC Development - This chapter will give you a look into “real life”, and will show you how to make a “rough draft” of your programs in BASIC. I always find it easier to debug my programs in BASIC before actually translating them into machine code, as the results of an error are much less drastic in BASIC.
- Basil's Compendium: TS1000 and TS 2068 - That's right--Basil's Compendium is going to add the TS2068 to its repertoire. But you ZX81/TS1000 enthusiasts need not lose heart. The two computers use the same microprocessor, the Z80, and are really not awfully different from each other. Sort of like brothers born a year or two apart.
- Beginning Z80 Machine Code Part Eleven - The last instructions we have to discuss are the group that deal with interrupts. This will of necessity be a brief discussion, as it is a most difficult subject and volumes could be written. In addition, use of the interrupts are very hardware dependent.
- Beginning Z80 Machine Code, Lesson 1 - First in a series of articles about programming Z80 machine code on the 1000 and 2068.
- Beginning Z80 Machine Code, Lesson 10 - The subject this time is the Z-80 Block instructions. There are block instructions for I/O, search (compare), and transfer (assignment). We listed the block I/O instructions last lesson but they are detailed again in chart 1. Before we look at the instructions, we need to review one of the Z-80’s flags.
- Beginning Z80 Machine Code, Lesson 2 - Last issue we discussed Hexidecimal (Hex) numbers and I left you with a machine code (MC) hex loader. You should have noticed that these are very simple programs. That’s to allow you to enter and debug them easily, as well as make whatever changes you desire. Please feel free to change them.
- Beginning Z80 Machine Code, Lesson 3 - Before we get to our first MC instructions, lets take another look inside our CPU. Inside we will find registers that are called A,F,B,C,D,E,H,L,I,R,IX,IY,SP,PC,A’,F’,B’,C’,D’,E’,H’ and L’. These are not the alphabet soup, that the CPU had for lunch. Registers are merely storage places within the CPU as opposed to external memory (ROM and RAM).
- Beginning Z80 Machine Code, Lesson 5 - I left the last lesson with a challenge to you to rewrite the sample disassembly from Lesson 2 to eliminate the overflow error it contained. If you had difficulty, refer to Lesson 4. The answer was given in the comparison which explained the ADC instruction.
- Beginning Z80 Machine Code, Lesson 6 - Lesson focuses on the stack and instructions that use the stack.
- Beginning Z80 Machine Code, Lesson 7 - One of the series of introductory machine code programming articles.
- Beginning Z80 Machine Code, Lesson 8 - Unusual Z80 instructions that don't have a common theme or set.
- Beginning Z80 Machine Code, Lesson 9 - This time we will discuss the I/O instructions. For those of you that are wondering what I/O means, it is Input and Output. When I was new to computerdom, I thought I/O referred to my financial status
- Beginning Z80 Machine Code, Part Four - Math on the Z80 with addition and subtraction functions.
- Beginning Z80 Machine Code: Final Lesson - This is it folks. I leave it to you to progress from here. There are many other instructions I could have discussed, such as CP (Confuse Programmer), but they will be discovered soon enough, without my assistance. As a wrap-up to this series, I present a special treat…a full fledged MC program.
- Big Printer Banner Program - A BASIC plus machine language program for the Timex/Sinclair 2068 that prints large banner-style text using the Tasman printer interface. Includes DATA statements for the machine code routine embedded in the BASIC listing.
- Bob's Notebook: Convert Numbers to VAL$ - Short machine language program to convert numeric values to VAL expressions.
- Bob's Notebook: Digital Clock for the TS 2068 - This bit of code will provide a digital 24-hour clock which can be used in various applications. It uses the Z80’s Interrupt Mode 2 to allow the clock to appear, via multitasking, while another program is operating. The clock will show hours, minutes and seconds (eg, 14:06:52) in the upper right corner of the screen.
- Bob's Notebook: Dot Matrix Printer Copy of SCREEN$ - Providing your TS2068 is equipped with the LKDOS version 3 EPROM, the program listed below will do the following: 1. make a copy of any SCREEN$ on a dot-matrix printer in normal size, ie, about the same size as a TS2040 copy; 2. copy all 24 lines; 3.
- Bob's Notebook: Jumping Backwards Relatively Speaking - The Z80 machine language instruction JR e means Jump Relative by e addresses. JR cc,e does the same thing but only if condition cc is met; cc may be any one of: NZ, NC, Z or C. The relative jump may be forward or backward and in the latter case, the convention used is that
- Bob's Notebook: Machine language routines for Spectrum - Machine language routines for Spectrum. First emulates the block DELETE function in the TS2068. Second emulates ON ERR.
- Bob's Notebook: Quicksort - Quicksort; title line in display; machine code with examples.
- Bob's Notebook: Rewrite: Autoboot & Grafix24 - This issue, I am presenting rewrites of two utilities which are mainly the work of Steven Gunhouse, our club member in Bowling Green, Ohio. These are the autoboot and graphics 24 utilities which I have used in the Omnibus collection but which can certainly be used in other applications.
- Bob's Notebook: Toolkit, Part 1 Renumber Functions - This is the first of a series of tutorials designed to give TS2068 users some guidance on using the various TOOLKIT options. This article will focus on the renumbering functions: RENUMBERING, MOVING and COPYING BLOCKS of LINES. Do NOT use any of the renumber functions with programs that have machine code in REM lines.
- Bob's Notebook: TS2068 Interrupts - The Z80 has three Interrupt modes (IM) two of which are of special interest to the programmer. An “interrupt” is a signal sent to the microprocessor which generally suspends the execution of the current program, without the program being aware of it.
- Book Review: The Complete Spectrum ROM Disassembly - The Complete Spectrum ROM Disassembly by Ian Logan and Frank O’Hara is an annotated assembly language listing of the Spectrum ROM routines.With some additions and modifications to implement the improvements in capability made by Timex,all of the Spectrum routines can be found in the 2068 as well.The book is therefore valuable to any 2068 user
- Breaking and Saving Programs on the TS2068 - Step-by-step instructions for breaking auto-running machine code programs to save them separately to tape or disk. Load the program with the MC (machine code only) command; PEEK the start address from RAND USR and calculate length (65535 minus start); SAVE the machine code with SAVE “NC” CODE start,length, the BASIC loader as SAVE “BASIC”, and the screen as SAVE “SCREEN”.
- BufPrint - Machine code program to print MTERM buffers.
- Byte-Mapped Scroll - Most printing to the screen involves just 22-lines and 32-columns. One line scrolling is quickly done with RANDOMIZE USR 2361 (TIMEX Tech Manual). This program takes scrolling a bit further. It will scroll each scan-line row of any defined block of graphics or text on the screen.
- Character Set Rotation - This machine code routine allows you to rotate the character set in any of four directions, with or without mirror imaging it.
- Check the VARS Area - VARS_DIS is a utility to MERGE to any BASIC program to give you a disassembly of the entire VARS area.
- Checker: A short Lesson on SPDOS - The SPDOS system call is one that checks for a filename's existence on a disk. If you try to load a file that is not on your disk, SPDOS will create an error that cannot be trapped by the usual ON ERR GOTO.
- Circle Demo - Well, it’s May, so it must be time for me to write again. Not quite; I haven’t gotten my May Sinc-Link yet. But I did recieve my May issue of Byte recently, and it had something I thought was so interesting I just had to try it.
- Classy Front End, Part III - Welcome to another installment of CLASSY FRONT END. And “thank you!” to all who have written and who have sent in sample listings, tapes and comments on past CFE articles. It is certainly a thrill to see how much interest this segment has spawned. It makes all those late nights worth it!
- Classy Front End: Windows - Continues article from prior issue with window and porthole code.
- Classy Front End: Windows - Two kinds of windows options are described. The first are rectangular with shadows down two sides and the second are round windows for quick footnotes, status reports et cetera. Bingham calls the later "portholes".
- CLASSY Part Four - The concluding installment of a series on a custom font-printing machine-code routine for the TS2068, providing code for lines 100-220 and demonstrating keywords including AT, OR, TO, and NOT. Describes a user-definable jump table for STEP, AND, THEN, and STOP. Readers will need earlier installments to assemble the complete routine.
- Colorsort - Basic and machine language programs to demonstrate sorting speeds.
- Comparative ROM Atlas: From ZX Spectrum to 2068 - To convert SPECTRUM software to the 2068, you need the location and function of ROM routines in each. You can buy the annotated ROM disassembly from Melbourne House or Zebra Systems. Timex sells the 2068 technical manual. Our cross-index links the two ROMs.
- Compass Compiler Assembler Package - After trying to use the COMPASS Compiler for three days, and becoming very frustrated, I decided to give up. This compiler is the best I have seen for the Timex computer, but it still has a lot of shortcomings.
- Corrupted Disks??? - Occasionally you might come across a disk that has become corrupted in its file storage pointer area (track zero) that will simply refuse to load any file at all. What will usually cause this is a glitch on power up of either the drive or computer, with the disk installed.
- CPYPRT - Program to print screens to 24-pin printers - This is an assembly language program to copy T/S 2068 screens to an EPSON compatible 24 pin printer. The program resides in the printer buffer area of system RAM and it can copy screens in either the normal 32 column mode or the expanded 64 column mode.
- Cryptograms on the Computer - Let me start out by saying what this program does NOT do. In spite of the title, it does not solve cryptograms, I enjoy working those little fellows far too much to surrender the fun to a computer. This program is designed, rather, to do the clerical jobs for me, while I save the creative work for myself.
- Customize Your Sign Designer - Most, if not all, of you should have heard about the famous Print Shop program for computers such as Apple and IBM. It is a graphics package which allows you to create cards, signs, and banners for various occasions. Well, how about our Timex Sinclair computers?
- Customized Catalog Command for LKDos - This is an alternative catalog command that can be added to your programs or to use when modifying an existing program for disk. It only prints the selected filenames in a single column without any other info such as disk name of disk parameters. It works very well with windows such as the ones in LKdos or in a program like Art Studio that uses pulldown menus.
- Customizing Your Word Processor - TASWORD TWO has, justifiably, proved to be the most popular word processor program for the Spectrum. One of its attractive features is the ease with which you can modify it. The ideas which follow will allow you to customise Tasword in a number of ways and all will work on any version.
- Dec-Hex-Binary Lookup Table Program - A BASIC program for the TS-2068 that generates a printed Dec-Hex-Binary lookup table using the LPRINT command. Designed as a reference aid when writing assembly code; especially useful for visualizing bit patterns for logic commands and bit manipulation.
- Did You Know? - Larken ROM disassembly and cartridge schematic. 0000-05BC section of ROM.
- Did You Know? - Discussion of LKDOS ROM disassembly.
- Did You Know? - Discussion of LKDOS ROM disassembly. 164E-1FFF section of LKDOS ROM.
- Digitize Sound from Tape - AT THE FEB MEET WES GAVE A LITTLE TALK ON HOW TO DIGITALIZE SOUND FROM THE TAPE RECORDER. USING THE FOLLOWING CODE ONE CAN ADD SPECIAL SOUND EFFECTS OR WORDS TO A PROGRAM-OF COURSE WITH A BIT OF ADDING TO WHAT IS HERE. IF YOU WANT TO LEARN MC HERE’S A START.
- DISA-Z: A Z80 Disassembler - Disassembler for the TS2000, written and debugged on the 1000.
- Dual-Screen Mode - I have been intrigued by the idea of the Dual-Screen Mode as mentioned in the 2068 User Manual (p.248). That uses a second display file which may be shown on the screen instantneously on command. The simplified M/C program in Figure 1 will set that up.
- Enlarged Character Modes - The ability to print characters larger than normal size, easily and rapidly, could substantially enhance the text and graphical displays of many programs. I created the following machine code routine, and associated procedures, with this ability in mind.
- Enlarged Character Modes 2068 - The ability to print characters larger than normal size, easily and rapidly, could substantially enhance the text and graphical displays of many programs. I created the following machine code routine, and associated procedures, with this ability in mind.
- Entering and Recalling Text in Machine Code - This subroutine will allow the user to enter up to 277 characters into machine code and recover them at will. The routine consists of four parts. The first part is the machine code loader program. RUN the above program then DELETE it.
- Entering and Recalling Text in Machine Code - Tutorial and code for storing text in machine code.
- Entering and Recalling Text in Machine Code - This subroutine will the user to allow enter up to Characters to 277 into machine code and recover them at will. The routine consists of four parts. The first part is the machine code loader program. RUN the above program then DELETE it.
- Extra Memory - Discussion about using extra RAM in HOME and DOCK banks; errors in the EXROM that affect extended memory usage.
- Extra Memory Programming - Most of us can visualize the computer's "regular" memory. We know that the ROM part of memory has "fixed" machine programming put there by Timex when they built the computer, and that there Is a section called RAM that we store our own programs in.
- Fade Away - Machine code screen-saver type-in program originally published in the April issue of Your Sinclair. After a user-set delay of 1 second to 20 minutes the display blacks out to prevent TV screen burn-in; pressing any key restores the image. Includes machine code DATA statements and instructions for setting delay time.
- Fast Banners - TS2068 BASIC program reproducing the banner-printing section of Bob Orrfelt’s WP32 word processor, adapted for compilation with TimeMachine for much faster execution. Generates large horizontal banners in 1-inch or 2.5-inch letter sizes using LPRINT to the TS2040 printer.
- FIND Routine for Programs - Recently, I was helping translate SODA (Small Optical Design Aid, soon to be available free from Jonathan Vanderwall) from Radio Shack to Sinclair BASIC. In order to cope with its “sphaghetti” code, I wrote a short BASIC program to serve as the utility that most computer operating systems have, a “FIND” command.
- Firstloader - Syntax commissioned a custom program, written by David Ornstein, to convert your existing programs for the 2068 or 48K Spectrums. This program translates input bytes from ZX/TS tapes to an equal number of output bytes in your 2068 that you must edit, and then save.
- Firstloader -- From ZX/TS to 2068 - Syntax commissioned a custom program, written by David Ornstein, to convert your existing programs for the 2068 or 48K Spectrums. This program translates input bytes from ZX/TS tapes to an equal number of output bytes in your 2068 that you must edit, and then save.
- For Fun: Life in Machine Code -
- FREE Blocks - This routine allows you to find the number of free blocks with out displaying the catalog. It will return the number of free blocks in the BC register, so it can be accessed from basic with PRINT USR FREEBL or LET K=USR FREEBL.
- From Members' Letters - Code to copy memory contents to Larken disk.
- From Members' Letters - Continuing with excerpts from Steven Gunhouse‘s letters to me, (see last newsletter issue) here is a discussion on joystick routines, and mouse-type routines for the TS2068. Let’s hear from you if you enjoy these tidbits. I’m sure Steven would appreciate it. G.F.C. Oh, I stumbled across a rather strange problem.
- Give your power pills more punch - Tony Rickwood demonstrates how much faster a game will work when Basic is replaced by machine code in key areas. IF YOU have followed this series on machine code so far, you will by now, be raring to go with some practical games applications.
- Graphic Pointer - Use this machine code routine to quickly specify the PLOT position on the 2068 screen.
- Headscan - Program to read and reveal the information from the 17-byte header of a program.
- Hints & Tips - 1. Herbert W. typed in the “piano” program from last month, but wanted to get up and running faster. He revised piano to use SCREEN $ to LOAD the keyboard and cut LOAD time in half. Try it. 2. Marty J., has been entering some Microsoft BASIC programs into his 2068.
- Hints for Timex/Sinclair Users - Reprint from Computer Shopper, Sept 1988
- HOT Z-2068 - Once again, Ray Kingsley has brought out one of the most powerful machine-code monitors I have ever seen. Everyone planning to write machine code routines on the 2068 owes it to himself to buy a copy of this package.
- HOT Z/Zeus Comparison - Comparison between the two machine-language utility programs.
- How a Compiler Works - A compiler is a program that takes a high level language like BASIC and converts it to machine code. The miracle of a compiler is that people who just have a slight knowledge of machine code can write complex programs that execute much faster than ordinary BASIC programs.
- IMAGE EDIT - image.C1 23296 – PRINTER BUFFER 23681 – UNUSED BYTE IN SYSTEM VARS
- In Sync: 2068 Screen-Save - When you are writing a Basic program it is often necessary to be able to swtich between two screens of information. This program solves that problem.
- In Sync: Exploring 2068 Video Modes - One of the reasons I bought a 2068 was to use the advanced video modes described in appendix C of the basic manual. I was disappointed when I found it impossible to access these modes using only BASIC. After learning machine code I was able to use the Dual Screen Mode in my BASIC programs.
- Initiation Au Machine Language - Introduction to machine language.
- Instant Sorting - In the May-June ’86 issue of SyncWare News, I went through several sort routines for the 2068 and 1000 computers. For general use, I decided that the Shell-Faulk was the best all-round choice, but I also asked readers to send in any better ideas. One reader did, Larry Crawford of London Ontario, Canada.
- Interrupt Mode 2 - The purpose of this paper is to bring together many of the details on the Interrupt Mode 2 (IM2) that I have gathered over the past several years. References are included in brackets, eg [1], to indicate source material detailed at the end of the text.
- Interrupts - Introduction to interrupts.
- Introduction to 2068 Machine Code - The book (Introduction to 2068 Machine Code Programming) comes in a paper backed loose leaf binder and has easy to read type. There were some typing errors in the first printing issue that I received that will probably be corrected in later printings.
- Inverting Screen Display — Corrections - Three hex corrections to the TS2068 screen-inverting routine published in a previous issue. Address 16822 should contain 06; 16835 should contain 82; 16842 should contain C9. Brief erratum with no surrounding explanation.
- Jack in the Redwoods Heard From - SYNX is a 46-byte relocatable machine language reoutine for Aerco disk users. It allows you to turn off the BASIC syntax checker when writing or editing BASIC lines and to turn it back on. Syntax checking during program execution remains in effect.
- Keyboard Scanning - Your 2068 uses ports to scan its keyboard, as do all Sinclairs. Each uses the same addresses, but the data differs. As you know, Sinclair uses the CPU to scan its matrix keyboard. Forty keys, arranged as 8 half-rows of 5 keys each, provide all the functions.
- Langage Machine: Graphisme sur 2068 - In this article, we will discover how to exploit the graphical capabilities of the 2068 via machine language, mostly using ROM routines.
- Language Machine Initiation - Introduction to machine language.
- Larken Load/Save Routines - Machine code utility for loading and saving tracks on the original Larken system.
- Larken NMI-F Autorestart Menu - In the last issue of our newsletter Les Cottrell had a m/c routine to restore an AUTOSTART menu by pressing the NMI and F keys. This month we have an improvement to that routine.
- LDIR Demonstration Program - I’m enclosing an article I wrote for S.U.N. last year which never got published. Feel free to doctor it or use it in any way you like. As we have all heard many times, machine language is good for doing things much much faster than BASIC.
- Letter about Sorting - It seems to me like last time, you asked me something about sorting a database. Something about several people were trying to write a database to take advantage of the RAMDISK, with records of about 64 or 256 bytes.
- Letter from Steve Gunhouse - I received the Sept/Oct Sinc-Link a few days ago. Oh, sorry the copy on the article was too light; I have since replaced my printer ribbon. I noted a few minor errors of various types, and as usual I am informing you about them. The most glaring was at the top of page 10.
- Letter from Steve Gunhouse - I had to write about your “discan” program in the latest newsletter. Naturally it would be faster in ml, but that’s another story. There are two major difficulties I see – maybe more. The first is that you can’t use it to find any K mode tokens – NEW through COPY.
- Letter from Steve Gunhouse - First, I do know about things like putting a space instead of a blank REM and two different ways to get a “PRINT comma”. I don’t usually use them in things I am writing for other people, especially if they will be sent on paper, since I am not certain if all the people I write to would recognize those and press the same things.
- Letter from Steve Gunhouse: Tasword -> MScript - Here is the ml version of Tas>MS, as I talked about in my second letter past. I have gotten Bob Mitchell to test it out for me, and he says it “works very well and very fast.” You will also find a pseudo-assembly listing of the two code routines.
- Letters - User attempting to build a printer interface; user views on QL; disassembly of the BEEP routine from ROM.
- LKDOS Disassembly - 11FF-164C section of LKDOS ROM.
- LKDOS Disassembly - 05BD-0BBF section of LKDOS ROM.
- LKDOS Machine Language CALLs Explained - Several years ago (see the Sept. ’89 issue), I sent in a list of routines I had discovered by examining my LKDOS cartridge ROM (at that time, version A2). No real explanations were included, an unfortunate oversight on my part.
- Location for Machine Code - When you turn on your TS2068 computer, POKE 23730, 255 and ENTER. Then press NEW and ENTER. This will put RAMTOP at address 65535 which is as high as possible.
- Looping in Machine Code - Suggestions looping and operating on data in the loop.
- Machine Code Corner -
- Machine Code Demo for the 2068 -
- Machine Code Graphics Loop - Thoughts on programming graphics with machine code.
- Machine Code into MTerm (again) - Last month I wrote an article on loading machine code into the buffer area of MTERM. Everything was fine except that I forgot to mention that the POKES should be done twice. So here it is again!
- Machine Code Joystick Routine - Short program to accurately read the joystick.
- Machine Code Loader - Programs for typing in machine code.
- Machine code refreshes parts Basic cannot reach - Last month we showed how machine code can add speed to a Basic game. Tony Rickwood gives more details. LAST MONTH, I showed how a piece of machine code programming could dramatically improve the speed at which four ghosts could chase Pacman. Much of the programming is still in Basic.
- Machine Code Topics: 2068 BASIC ROM Calls - This is the first of an occasional and indefinite series on machine-code programming for the 2068. I do not intend to take you through the rudiments of Z80 instructions, nor even the discovery and invention of the poked REM statement, but if you know how to do it even a little bit, then maybe I
- Machine Code Trace - Coventry’s Carol Brooksbank wrote this utility to find bugs in her programs and she thought she’d share it with us. From ZX Computing 1986 I don’t know about you, but I don’t think that I have ever written a machine code program which ran perfectly first time. You know the feeling.
- Machine Code Track Reader - Program to read disk tracks on the Zebra/Timex FDD system.
- Machine Code Tutor - Review of The Complete Machine Code Tutor by Malcom Evans, available from Knighted Computers.
- Machine Code Tutor: A Comprehensive Review - MACHINE CODE TUTOR for the 2068 is a program on two cassettes and consists of 35 lessons. The advertising states 33 lessons. Most of the lessons have demonstration and examples following them. The 34th just explains the interrupts and the 35th is just a sign off message.
- Machine Language Program to Read T/S 2068 Tape Headers - The T/S 2068 program presented here reads the header of a program or code that is stored on tape, and tells what command was used to save it. Suppose you have a BASIC program on tape that was saved for automatic start.
- Macro Makes Notes Book - Programmable function keys utility for the TS2068 using Interrupt Mode 2, allowing macro key sequences to be triggered from within any program. Originally written for the ZX Spectrum and adapted for the TS2068. Includes full machine code DATA listing.
- MacroLife - As with most life programs Macrolife is a computer simulation of the birth,growth and death cycle of a colony on cells living on a grid. The difference lies in the size of the grid. Macrolife uses a 256 x 192 grid compared with the usual 32 x 24 sized grid.
- Making Code Relocatable - Most machine code programs for T/S computers will only run from a single location in RAM. This is because programs usually have absolute addresses imbedded in them, and is a source of frustration. If 2 peograms overlap, for example, they can’t both reside in memory, and so can’t both be used.
- MC Loader - Here’s a short, direct, MC LOADER from Chuck Russell. We’ve used it to input Dick Scoville‘s “Printer Darkening Routine”. You can see the results of this routine in the second decimal printout. LOAD & RUN MCLOADER and then follow the prompts. Your MC is stored in Strings B$.
- MEMSCAN - A short machine code routine for the TS-2068 that displays a memory map of the computer by scanning every other address and plotting a dot if non-zero content is found. Relocatable; called with RANDOMIZE USR n. Also includes POKE modifications for Spectrum compatibility and for scanning every byte rather than every other.
- Micro Review - Review of The Complete Machine Code Tutor.
- Mike's Notebook: BITS - I like to work with computer graphics on the TS2068 and Ifrequently need to look up bit patterns for User Defined Graphics characters. Knowing the bit patterns of a specific byte can also help to better understand machine code among the many other uses.
- Mike's Notebook: CMPRES - Machine language routine to compress a typical SCREEN$ file up to 1/2 its usual size.
- Mike's Notebook: MKDATA - Program to convert data in memory (machine code, fonts, etc) into a series of DATA statements.
- Mike's Notebook: PARSE64 - Occasionally I have a need to print text in 64 column format. Most print methods in common use resort to either setting-up the 64 column mode (using machine code + OUT 255,6), using the Taswide utility, or using the OS-64 cartridge.
- More About Mscript - MSCRIPT uses the true 64 column mode of TS-2068, and therefore, the border does not change color during loading and saving. It would be better if a message is printed after “Start tape & press ENTER” to indicate the acceptance of the keystroke.
- More on Darkening the Printer - My original plan was to make the following program an example in this month’s machine code tutorial and explain it line by line, but it requires some familiarity with so many things that it’s best just to give it as is. The idea is very simple: write a new character set.
- Move Catalog to Upper Ram - This routine loads the catalog from the disk, and then moves it from the dos ram to address 50000 where you can search or examine it from basic.
- Multi-Tasking on the Timex-2068 Using Z80 Interrupt Mode 2 - In-depth technical article on implementing Z80 interrupt mode 2 on the TS-2068 for multi-tasking. Explains the 257-byte interrupt table, vector table, and service routine structure. Author used the technique in his machine code word processor to run a print spooler, input buffer, clock/calendar display, and clock display simultaneously. Includes assembly code listing.
- Navigating Through the Display File Jungle - At least one reader was disappointed with my April Fool article on display files, last issue. He’d first thought that someone finally got around to making the whacky display file more navigable. Well, we can do that too!
- Navigating Through the Display File Jungle - At least one reader was dissappointed with my April Fool article on display files, last time. He’d first thought that someone finally got around to makint the whacky display file on the TS 2068 more navigable. Well, we can do that too!
- New Commands Effective with JLO Safe v2.6 - Updates to the disk operating system.
- NVM and the 2068 - Often while folks gather and talk about their computers I hear something like this, “Why don’t you try this” and the almost standard reply is “I didn’t know you could do it that way, thanks” This article is the result of my being in that same boat and finding an answer by myself.
- ON/OFF status of TS2040 printer - Banta Software has provided an interesting program to us. “As must be obvious, the REMark statement is a short machine code routine which must be the first line of the program. The other lines can be anywhere in the program and could be modified to give other messages.
- Pages missing from Larken ROM Disassembly - Oops! These are the missing pages from Les Cottrell’s excellent Larken ROM Disassembly. See also vols. 11-2, 11-3, 11-5 & 11-6.
- Pallet - After reading your article on “TS2068 Video Bells and Whistles” in the October, 1992 issue of UPDATE, I decided to write a sample program which incorporated incorporated your your ideas on using the high resolution color graphics mode. The result is the enclosed program on disk in LKDOS format.
- Peeking and Poking About - Warning! Dont start this one if you’re sleepy. It requires concentration. -ed. One of the fun things about using the TS2068 is the ability to PEEK and POKE about in amongst the machine code and particularly when using TIMACHINE.
- Penetrator - A TS2068 game - Modifying for Larken.
- Picture Popper - Instructions for using the various display modes available on the 2068 seem to be beyond the scope of every book that I have come across. Display Mode 3 is described in the manual as instantly switching between two display files, but in my short experience with the 2068 I haven’t been able to find the proper incantation to conjure up this “second page” mode.
- PLOT, CLS and SCROLL on the TS2068 - How to use access the machine code versions of these routines.
- President's Column - Short of mailing First Class, there seems to be no way immediately to speed up the Newsletter to you before the monthly meeting date, except occasionally. However, starting January we plan to take out the bulk mailing permit at a local post office rather than go thru the Baltimore office where Jules now has the permit.
- Printer On/Off Detection Programs - Two short TS2068 BASIC programs using machine code REM statements and USR calls to detect whether the TS2040 printer is currently on or off, printing a corresponding status message. Program 1 uses POKE 26516,73 and tests USR 16514 against 16383; Program 2 (with FLASH) uses a similar approach with CLS reset.
- Printing Sideways with the 2068 - Here is a helpful article written for you by Dick. In it he makes use of the techniques that he talked about in the Machine Code Tutorial. This is where we can actually “do something” with what we have been learning in the Tutorials.
- Psi Chess and the Larken - The Psi CHESS is an excellent chess program. It was put out in 1983 by “The Edge”, Covent Garden, London England. It is designed for the Spectrum, and can be played on a Spectrumized TS2068. By use of the NMI-key it can be saved to disk with the Larken system.
- Published Program Survey of Newsletters - A digest of notable programs published in other Timex/Sinclair user group newsletters: Vancouver TSUG December 1989 (Dominoes for ZX-81, BASIC line trace, Vector Screen Calculator), Sineus November-December 1989 (octal/decimal converter in machine code), Boston Computer Society September-October 1989 (TS2068 machine code screen utilities including screen-flip, scroll, and attribute-invert routines), Harrisburg TSUG September 1989 (USA Medicare Income Tax for TS2068), and SMUG (TS2068 State Lotto program, Chaos Demo).
- Put MSCRIPT on EPROM - MSCRIPT is a very useful program. This article is for improving MSCRIPT, although it does not change any of the coding. What we are going to do is make it load faster by transferring it to an EPROM. The following for putting MSCRIPT on an EPROM is only for the original tape version.
- Put Those Extra Banks To Work - Several recent developments in the Timex 2068 hardware have made our computers much more flexible and powerful. Extra memory banks available to us now give us room to do things never before possible. Such extra memory banks are available on the AERCO disk interface and RAM cartridges. Relocate ZEUS assembler to a different bank.
- Quick Directory Sorter - If you have seen any recent version of Omnibus, then you have seen my program “dsort”, a Larken directory sort written in BASIC, and possibly the version Bob Mitchell compiled. For some reason I haven’t figured out, the compiled version doesn’t work on my system – I have LKDOS for the AERCO disk interface.
- Re-Number - THIS MACHINE code Re-number routine will re-number a program in steps of 10 from line 1 to 9999. Line 9999 must be included or the program will crash. Type-in the re-number program and RUN. The 38-character REM statement will then contain the machine code and lines 10 to 40 can be deleted.
- Read a 2068 Header - Program to read the information block/header of a TS 2068 program saved to tape.
- Relocate -
- Relocating Machine Code Programs - TS-2068 - Why would one want to relocate machine code? Many machine code programs written for the TS2068 are located in the same area of RAM. Sometimes one might want to use both if they can be used that way. If you relocate one, you may be able to use both.
- Relocating Machine Code Programs in the TS-2068 -
- Relocating Machine Code Programs in the TS2068 -
- ROM Atlas, Part II - Beside Logan‘s book mentioned in Part 1, one needs to have a good disassembler . There are various disassemblers available for the TS2068. In an earlier issue of LIST Paul had reviewed the one written by Dick Scoville of Triangle Users Group. Scoville’s diassembler is written in Basic.
- Saving a Headerless File Using a Machine Code Routine - Short code and technique for saving headerless files.
- Screen Display Storage and Memory Relocate - Terminal program for the TS 2068 and TS 2050 modem.
- Screen Display Storage and Memory Relocate - The following is a routine that will work on the TS 2068, and with address modifications, on the TS 1000. You can save screen displays, or use it to relocate a program in memory from one address to another.
- Screen Reader - Fast and versatile machine code subroutine that reads a character off the screen from any print location.
- Screen$ Dump Software for the Tandy 105 Printer - For over a year and a half I have been using the TANDY 105 printer for all my personal and business printing duties and have found the unit to be extremly reliable and an excellent value for the thrifty (cheap) TIMEX COMPUTER owner.
- Send a 2068 Message - Describes how to use ROM calls and machine language to print built-in error messages.
- Setting up LKDOS User-Defined Commands - In the May issue of Sinc-Link (vol.9 no.3), Bob’s Notebook discusses using the LKDOS user defined command to invoke an NMI-F routine, but points out that he usually gets an error when he does this. There are ways around this, however. The problem is that the routines end with a RET instruction.
- Some More Little Goodies for 2068 (Edition 4) - Fourth installment of a recurring collection of short programs, POKE tricks, and machine code snippets for the TS-2068. Includes: printer on/off check; absolute line drawing PLOT/DRAW idiom; SCREENSAVE machine code routine; line edit at top of screen POKE; free memory in Spectrum mode; screen invert loop; COPY all 24 lines to printer; border color from
- Spectramonitor Revisited - I find the SPECTRAMONITOR program in Vol.7 of the CATS library works fine on my 2068 and I use it a lot for disassembly. But there is one problem (on either machine);it does not recognize the literals which follow the calculator opcode (Restart 28h). It gives erroneous read-outs which may even affect the following opcode.
- Spectrum Machine Code on 2068 - Some Spectrum MC tapes will run on your 2068, The Fruit Machine, for example. Your chances are better if the program is written for 48K. Programs that call keyboard scan routines–as IN 64510, 61438, 32766, or 65278–will run if you change these to INKEY$ or STICK commands on your 2068.
- Spectrum MC on 2068 - The Ocean State Users Group reports that they successfully entered and used Spectrum machine code programs from the UK magazine Your Computer.
- Stacking the Calculator - In writing programs in Machine Code it is sometimes necessary to bring in data from a BASIC program or from direct input. A simple way is to go to M/C with RANDOMIZE X+USR 65000. That puts X on the calculator stack, from which it may be drawn and used within the M/C program.
- Star Tip - Assembly language routine to read the keyboard.
- Storing and Recalling Screens - Here is a fairly short but extremely powerful machine code utility that enables you to instantly store and recall up to five screens (including attributes) at the touch of a button. Listing 1 sets up the BASIC variables and pokes the machine code routine into memory.
- Synx - Machine code routine for AERCO disk users to turn off syntax checking when writing or editing programs.
- T/S 2068/Spectrum Down Under - If your computer’s memory is clear from 58300 to 65290 (most are) you can now experience April First in Australia by entering the program listed below. Save the program to tape before running to insure that the data statements have been entered correctly. After running, the special effect can be called with RANDOMIZE USR 58300.
- TasPak - File compression utility for Tasword.
- Tasword Plus - John Wall shows how to add Wordcount, Paragraph-count and Header facilities to Tasword II. Word Count Tasword Two has rapidly become the standard Word Processor for the Spectrum and has most of the features that purpose built WP’s have. two features that are missing however are a current word count and automatic header.
- Tech Draw and the Larken - A club member mentioned that he was using the artist program Tech Draw Jr., and asked whether anyone had modified it to allow for saving screen images to disk. This prompted me to look at the program a little more closely. Tech Draw Jr.
- Techniques for Calling USR Routines - Describes how each of the technique for calling USR routines work.
- The Centronics Interface - There have been quite a few articles written recently on the CENTRONICS interface. While there is some difference in printer design, only one variation is of any significance. Some printer designs provide RESET as a separate connector pin. Others use the ASCII escape code.
- The FD-68 Update - Program/routines to switch between Sinclair/Timex mode and CP/M mode on the FD-68.
- The Function Dispatcher - Introduction to the function dispatcher, comparison to dispatcher in MS DOS.
- The J-Utilities - How can one name a program that has six diverse functions? J-Util combines most "number functions" needed in computing.
- The Programming Corner - Questions about Larken disk system; programming in machine code; recovering from data loss.
- Throwing the Baby Out With the Washwater? - When the ZX81 appeared on the market, it was such a sensation that it didn’t matter that it had some less desirable features. It is less satisfying to find that two of these questionable features remained in the SPECTRUM and the TS2068.
- Timachine - A Fix - The purpose of this write-up is to explain what was done and why to enable large printer printing of the LIST report after compiling a program with TIMACHINE. The first obstacle was getting the large printer to print anything.
- Timex Tips - Here is something that puzzles me. I understand most of the terms in machine code, but what does SET do? When would we use it? Each location in memory can hold a number from 0 to 255. When we PEEK a location, the computer gives us the number stored in that location.
- To Change Screen Attributes Without Affecting Display - Routine to change an entire screen's attributes without disturbing the display.
- Topsy Turvey - This routine is an interesting means of turning the display upside down, the code is loaded to 32000 but it is relocatable and can be placed anywhere you wish. Use it by RANDOMIZE USR address. This one came from the I.O.W. and was written by David Hiscock. ZX Computing Monthly · November 1986
- Transferring Machine Code from a TS1000/ZX81 REM Statement to the TS2068 Using Upload 2000 or Firstloader - How to use either program to transfer the program without the program interpreting the machine code as BASIC tokens.
- Trivial Pursuit: Converting to Larken Disk Operation - Trivial Pursuit is a computer program which is played much like the original board version. In addition to the initial program load, there are 6 further blocks of code which may be loaded, to provide additional game questions. Capturing the initial program to the Larken disk format was relatively easy.
- TS 2068 - Copying a Screen$ to the TS-2040 Printer Using the Larken User-defined NMI/F-key Option - I wanted to copy Spectrum games screens to the 2040 printer. I knew it was possible to SAVE a SCREEN with the NMI/S-key routine; then reload it and use the 2068 COPY command. But I wanted to be able to copy a picture directly as it was being loaded or being played on the computer.
- TS-2068 Data Input - This is an audacious attack upon the most famous weaknesses of the TS-2068, slow data input and poor screen editing. The result is a INPUT SECTION of programming that can be used for many purposes. Programmers have overcome the problems mentioned by developing their own independently running Machine Code in RAM.
- TS-2068 Data Input (re-visited) or "A new hiding place for code" - Concatm.C1 relocated to an area other than print buffer.
- TS2068 Joystick Operation - The two joysticks are controlled via Register 14 (I/O Port A) of the Programmable Sound Generator Chip (see Sections 2.1.6 and 2.1.7). Address and data are passed via Ports 0F5H and 0F6H respectively. The joysticks are read by first addressing Register 14 in the PSG by writing a 14 (0EH) to Port 0F5H.
- TS2068 Machine Code Helpers - Two programs to help with machine code programming.
- TS2068 Modem Port 119 Tips - Short technical note from CompuServe describing machine code OUT commands for TS2068 port 119 used for pulse dialing. Explains how the TS2050 modem dials each digit using two OUT 119 pulses and a short delay, with loops for multi-digit numbers. Asks about port 115 for incoming carrier detection.
- TS2068 ROM Disassembly - Recently, I decided to develop a disassembly of the code contained in the TS2068 ROM. The procedure required the use of the Larken Sequential/Random filing system which is a software product available from Larry Kenny.
- TS2068 ROM Disassembly - TS2068 ROM entry points indexed by address.
- TS2068-Larken NMI-F Key: Another Application - While incorporating an NMI-F key function in the OMNIBUS menu program (TTSUC Library Disk #2) I realized I had another application for it. This NMI-F function is one where by pressing the NMI- button, followed by the “F” key on the computer, an AUTOSTART load is initiated on the target drive.
- TS2068/Spectrum Down Under - Short, amusing program.
- Turbo Loaders - Perhaps one of the best ways to circumvent the ease with which a hacker can BREAK into your programs, is the use of the so-called “turbo” or “hyper” loader. Turbo loaders are machine code routines which change the way in which your computer reads tapes.
- TYD*BYTS: 2068 REM Generator - Here is a REM generator USR routine that I would like to share with other avid TS2068 fans.
- Ultra Hi-Res Graphics on the Timex 2068 - Amongst the differences between the Spectrum and the 2068, there are the 2068’s video modes. These modes are not directly reached by BASIC. To use them, we must write some routines in machine language. This machine code toolkit is for the mode called “extended color”.
- Undocumented Z-80 Instructions - Explains that the Z80 processor supports undocumented 8-bit operations on the IX and IY index registers using the DD and FD prefix bytes. Any standard H or L register instruction preceded by DDh operates on the high/low bytes of IX (XH, XL), and FDh for IY (YH, YL), providing 4 additional 8-bit registers.
- Unplotting on the 2068 - Recently, while writing a “Drawing” program, I started to realize the limitations of character oriented color graphics. My problem was that I wanted to unplot points, but there isn’t an UNPLOT command. PLOTing over existing points with PAPER color is an alternative, but in my application the idiosyncracies of character oriented color caused unwanted effects.
- UPD Modifications - "Print an ASCII character" routine for Centronics interface from EPROM Services. Patch for the "Universal Printer Driver".
- Useful ROM Routines in the TS 2068 - Assembly routines that enable error reporting, character printing, beeping, screen manipulation, drawing, string handling, and numeric operations efficiently.
- Using 2068 Report Codes - This may sound like just another dry ROM article to some 2068 owners, But I promise you it is not. Now to prove this to you, type in and run the short program called "Fun Report Codes" (Listing 1). Instead of the old "0 , OK", you will see a smiley face in front of the line and statement number! How did we do that?
- Using a Large Printer with the TS2050 Modem and Aerco Interface - Technique from the T/S Users Group of Cincinnati for redirecting the TS2050 modem’s built-in screen-copy routine (normally calling addresses 54025-54026 for the Timex printer) to instead call the Aerco Interface’s printer driver at address 64628.
- Using BASIC String/Arrays in Machine Code Programs - I looked over your letter concerning the use of BASIC variables and arrays inside machine code programs. You said that you needed to locate a specific variable in the BASIC VARS area of memory in order to use the data in a machine code program.
- Using the Larken Sequential/Random Filing System to Produce a TS2068 ROM Disassembly - Recently, I decided to develop a disassembly of the code contained in the TS2068 ROM. The procedure required the use of the Larken Sequential/Random filing system which is a software product available from Larry Kenny.
- Wire Frame Sprites with Magnification - Using pattern tables to draw wireframe type characters is used a lot with the Apple II computers since they don't have sprites. This program uses letters stored in a string variable to draw graphics characters with a magnification parameter.
- Z80 Extra Op Codes - Op codes for machine language programmers. Reprinted from T-S Horizons n12.
Machine Language Programming on the Timex/Sinclair 2068
Here’s a concise list of articles about machine language programming on the TS 2068.