Zx Breakout Type in Error
Zx Breakout Type in Error
so,after hours of typing, I got it to run. the ball sails to the top right and bounces, then I get an integer out of range error in 4020.
the thing is, I checked and double checked, there is nothing in the line about range. maybe I messed up somewhere. the Code is listed in pages 27 through 30 in the ZX Spectrum Games Code Club book by Gary Plowman. Any help would be appreciated. I don't want to have to redo the whole thing in z80 assembler. I would appreciate a prompt response
the thing is, I checked and double checked, there is nothing in the line about range. maybe I messed up somewhere. the Code is listed in pages 27 through 30 in the ZX Spectrum Games Code Club book by Gary Plowman. Any help would be appreciated. I don't want to have to redo the whole thing in z80 assembler. I would appreciate a prompt response
In Heck, there are two options for perpetual torment:
Eat the Puckerberry and suffer for eternity:
drink nothing but a cocktail of The Last Dab and Mexican Cake blended and served with
habanero slices

Eat the Puckerberry and suffer for eternity:
drink nothing but a cocktail of The Last Dab and Mexican Cake blended and served with
habanero slices

- 1024MAK
- Posts: 5527
- Joined: Mon Sep 26, 2011 10:56 am
- Location: Looking forward to summer in Somerset, UK...
- Contact:
Re: Zx Breakout Type in Error
Note that I have not got the program listing in front of me to refer to, so this is general advice.
If a BASIC program tries to position the curser position / print position or the graphics plot position outside the screen area, you may get this error.
After the error, BASIC lets you use direct commands to examine the contents of any of the variables. So use PRINT z where z is any variable you suspect may be causing problems.
Possible reasons for the cause of errors in programs entered from printed listings include (but are not limited to):
If a BASIC program tries to position the curser position / print position or the graphics plot position outside the screen area, you may get this error.
After the error, BASIC lets you use direct commands to examine the contents of any of the variables. So use PRINT z where z is any variable you suspect may be causing problems.
Possible reasons for the cause of errors in programs entered from printed listings include (but are not limited to):
- A line of code that was missed when the program was typed in,
- A typo in the code,
- The wrong character used, so for example a 1 in place of an I, or an i, or a missing symbol, e.g. a - (minus) sign left out,
- A misprint in the published listing,
- Part of the program listing missed out from the published listing.
ZX81 Variations
ZX81 Chip Pin-outs
ZX81 Video Transistor Amp
Standby alert 
There are four lights!
Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb
Spring approaching...
ZX81 Chip Pin-outs
ZX81 Video Transistor Amp


There are four lights!
Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb

Spring approaching...
Re: Zx Breakout Type in Error
probably a typo, because I typed everything exactly as written
In Heck, there are two options for perpetual torment:
Eat the Puckerberry and suffer for eternity:
drink nothing but a cocktail of The Last Dab and Mexican Cake blended and served with
habanero slices

Eat the Puckerberry and suffer for eternity:
drink nothing but a cocktail of The Last Dab and Mexican Cake blended and served with
habanero slices

Re: Zx Breakout Type in Error
Hi. Was there a code listing, picture or link to the document this program was shown?
C
C
5-TS1000,UK ZX81<-Sheelagh, US ZX81, 2-TS1500/KDLX , 3-TS2040 printer, 2-TS2020 cassette decks, ZXPAND+AY, ZeddyNET, ZXBlast, UDG, ZX8CCB, AERCO, BUILDS/REPAIRS ZX Spectrum, ZX80 Minstrel, ZXMAX48 v1 v2, 2-TS-2068, ROM, 16kRAM
Re: Zx Breakout Type in Error
gammaray wrote: ↑Thu Nov 08, 2018 3:05 am Hi. Was there a code listing, picture or link to the document this program was shown?
https://www.amazon.com/ZX-Spectrum-Game ... B018R4DS22
C
In Heck, there are two options for perpetual torment:
Eat the Puckerberry and suffer for eternity:
drink nothing but a cocktail of The Last Dab and Mexican Cake blended and served with
habanero slices

Eat the Puckerberry and suffer for eternity:
drink nothing but a cocktail of The Last Dab and Mexican Cake blended and served with
habanero slices

Re: Zx Breakout Type in Error
any luck?
In Heck, there are two options for perpetual torment:
Eat the Puckerberry and suffer for eternity:
drink nothing but a cocktail of The Last Dab and Mexican Cake blended and served with
habanero slices

Eat the Puckerberry and suffer for eternity:
drink nothing but a cocktail of The Last Dab and Mexican Cake blended and served with
habanero slices

Re: Zx Breakout Type in Error
Haven't received book yet from Amazon. 

5-TS1000,UK ZX81<-Sheelagh, US ZX81, 2-TS1500/KDLX , 3-TS2040 printer, 2-TS2020 cassette decks, ZXPAND+AY, ZeddyNET, ZXBlast, UDG, ZX8CCB, AERCO, BUILDS/REPAIRS ZX Spectrum, ZX80 Minstrel, ZXMAX48 v1 v2, 2-TS-2068, ROM, 16kRAM
Re: Zx Breakout Type in Error
In Heck, there are two options for perpetual torment:
Eat the Puckerberry and suffer for eternity:
drink nothing but a cocktail of The Last Dab and Mexican Cake blended and served with
habanero slices

Eat the Puckerberry and suffer for eternity:
drink nothing but a cocktail of The Last Dab and Mexican Cake blended and served with
habanero slices

Re: Zx Breakout Type in Error
What is a "book" ?

We haven't this book, this program and we can't debug your mind...

We haven't this book, this program and we can't debug your mind...
Xavier ...on the Facebook groupe : "Zx81 France"(fr)
Re: Zx Breakout Type in Error
Order stalled and I reactivated ...
5-TS1000,UK ZX81<-Sheelagh, US ZX81, 2-TS1500/KDLX , 3-TS2040 printer, 2-TS2020 cassette decks, ZXPAND+AY, ZeddyNET, ZXBlast, UDG, ZX8CCB, AERCO, BUILDS/REPAIRS ZX Spectrum, ZX80 Minstrel, ZXMAX48 v1 v2, 2-TS-2068, ROM, 16kRAM