ZX Spectrum Assembly: Z80 code on the 48K and the 128K, measured on the machine: two complete games, and every screen photographed (code&books)
Lingua: inglese
Editore: Independently published, 2026
Serie: Libro 4 di 14 - code&books
- Brossura
- Nuovo

Da: California Books, Miami, FL, U.S.A.California Books
Venditore AbeBooks dal 27 ottobre 2023
Condizione: Nuovo
EUR 44,09
Quantità: Più di 20 disponibili
Aggiungi al carrelloDescrizione dell’articolo da parte del venditore
Print on Demand.
Codice articolo I-9798161629673
- Titolo
- ZX Spectrum Assembly: Z80 code on the 48K and the 128K, measured on the machine: two complete games, and every screen photographed (code&books)
- Autore
- Deshmukh, Aravind J.; Radclyffe, Henry
- Editore
- Independently published
- Anno di pubblicazione
- 2026
- Condizione
- New
- Rilegatura
- Brossura
- Lingua
- inglese
- ISBN 13
- 9798161629673
- Serie
- Libro 4 di 14: code&books
On the ZX Spectrum, colour does not belong to the pixel. It belongs to the cell, eight pixels by eight, which has two colours to share; and the processor is made to wait when it reaches for the memory the picture is read from. This book teaches Z80 assembly language on the Spectrum 48K and 128K by facing those two facts head on, and it measures what it claims.
It begins before the beginning. Chapter 2 explains binary and hexadecimal; chapter 4 installs the sjasmplus assembler and the Fuse emulator on Windows, macOS and Linux; Part II teaches the Z80 one family of instructions at a time and prices each in T-states. From there the book takes the machine apart and puts it to work, and it ends with two original games, built from the first line of a specification to a tape that a Spectrum loads.
What you will learn
- The Z80 language: registers and flags, every addressing mode, arithmetic, logic, the stack, block instructions, the index registers, the undocumented instructions, and what each instruction costs.
- The screen and the bus: interrupts and IM 2, a frame of 312 lines of 224 T-states, the screen memory's odd layout, attributes and attribute clash, software sprites, drawing against the beam, contended memory, the border, scrolling, racing the beam, the floating bus, fast copies with the stack.
- A game machine: the frame loop, keyboard and joysticks, sound on the beeper, memory discipline, collisions, score, random numbers, game states and the frame budget.
- Two complete games: GRIN ALLEY, a single-screen arcade game in which a runner crosses four alleys of faces to pick up gems, and LANTERN KEEP, a keep of sixteen rooms with thirty-two lanterns to light and guards on their rounds. Appendices K and L go through their sources from the first line to the last.
- Beyond the 48K: 128K paging and the second screen, the AY-3-8912 sound chip and a music player that runs from the interrupt, tape loaders of your own, five machines and their timings, optimisation.
- Releasing your work: compression, title and loading screens, testing on real hardware, TAP and TZX files, a cassette inlay.
Every screen is real
The book has 233 figures, and 206 of them are frames captured from the Fuse emulator while it ran a program from the book's repository, which the caption names. No screen was drawn or redrawn. Every number the book measured was produced by a program written to produce it, on the emulated machine, and a verification program reassembles every program in the book and compares it, byte for byte, with the files the book was made from. The code is free to use under the MIT licence.
Learning from the broken screen
Fifty-seven boxes called Where it breaks take a mistake and show what it does to the machine; fifty-one called Count the T-states work out what a routine costs; and each of the fifty-six chapters ends with a Workshop, whose answers are in appendix I.
Inside
- Seven parts, fifty-six chapters and thirteen appendices
- The Z80 instruction set with measured T-states, the undocumented Z80, the ULA and its ports, screen address tables and contention tables
- A sjasmplus and Fuse command reference, troubleshooting by symptom, a glossary with five reading paths, and an index
Who it is for
Readers who have never written a line of assembly language, programmers who know another processor and want the Spectrum's timing, and Spectrum veterans who want the numbers measured rather than remembered.
Printed in black and white. Appendix E measures each of the Spectrum's fifteen colours and the grey this book prints it in.
"Riassunto" può appartenere a un’altra edizione di questo titolo.
California Books
Miami, FL, U.S.A.
Venditore AbeBooks dal 27 ottobre 2023
Tariffe di spedizione nazionale per U.S.A.
| Articolo | Da 3 a 7 giorni lavorativi | Da 2 a 5 giorni lavorativi |
|---|---|---|
| Primo articolo | EUR 0,00 | EUR 10,70 |
Metodi di pagamento
Descrizione dello Store
We have 20 years experience selling books worldwide! Friendly customer support. Your satisfaction guaranteed!
Specializzazione
All authorized categoriesInformazioni sull’azienda del venditore
Miramar International Services LLC
FL, U.S.A.
Diritto di recesso
Se sei un consumatore puoi recedere dal contratto in conformità con quanto segue. Per Consumatore si intende qualsiasi persona fisica che agisce per scopi estranei alla propria attività commerciale, imprenditoriale, artigianale o professionale.
Informazioni sul diritto di recesso
Diritto legale di recesso
Hai il diritto di recedere dal presente contratto entro 14 giorni senza fornire alcuna motivazione.
Il periodo di recesso scade dopo 14 giorni dal giorno in cui tu o una terza parte, diversa dal vettore e da te indicata, acquisisce il possesso fisico dell'ultimo bene o dell'ultimo lotto o pezzo.
Per esercitare il diritto di recesso, compila e invia elettronicamente una dichiarazione esplicita sul nostro sito Web, alla voce “I miei acquisti” nella sezione “Mio account”. Ti comunicheremo senza indugio una conferma di ricezione di tale recesso su un supporto durevole (ad es. via e-mail).
Per rispettare il termine di recesso, è sufficiente inviare la comunicazione relativa all'esercizio del diritto di recesso prima della scadenza del periodo di recesso stesso.
Effetti del recesso
In caso di recesso dal presente contratto, ti rimborseremo tutti i pagamenti ricevuti, compresi i costi di spedizione (ad eccezione dei costi supplementari derivanti dalla tua eventuale scelta di un tipo di spedizione diverso dal tipo meno costoso di consegna standard da noi offerto).
Potremo effettuare una detrazione dal rimborso per la perdita di valore dei beni forniti, qualora tale perdita sia il risultato di una manipolazione non necessaria da parte tua.
Eseguiremo il rimborso senza indebito ritardo e non oltre 14 giorni dal giorno in cui saremo informati della tua decisione di recedere dal presente contratto.
Il rimborso sarà effettuato utilizzando lo stesso mezzo di pagamento da te usato per la transazione iniziale, salvo che tu non abbia espressamente concordato altrimenti; in ogni caso, non dovrai sostenere alcun costo quale conseguenza di tale rimborso.
Possiamo trattenere il rimborso finché non avremo ricevuto i beni oppure finché non avrai fornito la prova di averli rispediti, a seconda di quale condizione si verifichi per prima.
Dovrai rispedire i beni o consegnarli a California Books, Fort Wayne, Indiana, U.S.A., senza indebito ritardo e, in ogni caso, entro 14 giorni dal giorno in cui ci hai comunicato la tua volontà di recedere dal presente contratto. Il termine è rispettato se rispedisci i beni prima della scadenza del periodo di 14 giorni. I costi diretti della restituzione dei beni saranno a tuo carico. Sei responsabile solo della diminuzione del valore dei beni risultante da una manipolazione diversa da quella necessaria per stabilire la natura, le caratteristiche e il funzionamento dei beni stessi.
Eccezioni al diritto di recesso
Il diritto di recesso non si applica a:
- La fornitura di giornali, periodici o riviste ad eccezione dei contratti di abbonamento; e
- La fornitura di contenuto digitale non fornito su un supporto materiale (ad es. su un CD o DVD), se al momento dell'invio dell'ordine hai accettato l'inizio dell'esecuzione e hai riconosciuto che non avresti potuto recedere una volta iniziata l'esecuzione.