-
Petrol Station FoolsWhy is it that when queueing for petrol pumps at the petrol station that some people will stubbornly not go to the pump if the nozzle is not on the s…
... ]I've cocked up my calculation haven't I heh[/QUOTE ... -
RFC: 64 column font codeIn BASIC, type CLEAR 49999 then import the code at 50000. Then type RANDOMIZE USR 50000. This will create a new channel and attach stream #4 to it. A…
... ; clear the carry flag before calculation
sbc hl, de ; the ... -
SE Basic Type-ins^Pete suggested creating a sticky thread for SE Basic discussion. I thought a Type-ins thread might also be useful. Up to the mods if they want to ma…
... the carry flag before
; calculation
sbc hl, de ; the ... -
New platform game: Sid SpannersHi all, here is my Christmas present. A new platform game (well, more of a mini-game really). [url=http://java.cms.livjm.ac.uk/homepage/staff/cmspc…
Spectrum +3 Help pleaseI bought a +3 from a bootsale today, and when I got it back it didnt work (shock!) However after working out the +5V line on the PSU line was about …
... my time in the cost calculation. Next project I will stick ...Random numbers...Hi Folks, I am not an expert when it comes to random numbers. If I have the RANDOMIZE statement the beginning of a program and then proceed to gene…
... [/B]. The [B]RND [/B]calculation is at the end of ... considerably.
The RND calculation looks like:
[FONT ... prefix the [B]RND [/B]calculation with [B]RANDOMIZE [/B]e ...Something impossible has happened.Scientists have discovered a new force emitting from the core of the Sun. It is responsible for accelerating the decay rate of matter. It has been …
... skew age and make the calculation give a younger or older ...enJine: a fast tilemap enginetile engine based on excellent work by Joffa Smifff. here you can download first tech demo. [url=http://ketmar.no-ip.org/tmp/enJine.tap]Get It Now![…
... />
and i can add attr scrolling, i just don't ... , etc. i'll show 2px/attr scroller soon in Fort Apocalypse ...Your Views on... GhostbustersI dusted off the Master System version of this and inspired me to try out the Speccy version. It's a good game with it's strong and weak points. I …
... should be quicker - a quick calculation shows :
old code ...Proportional Print Routine...Hi Folks, Does anyone know of a good proportional printing routine for the ZX Spectrum? Ideally I am looking for something that prints with charact…
... the carry flag before
; calculation
sbc hl,de ; the ...AY Magic version for ZX81 was bornModified Ay magic ,my previous interface for zx48. On board, ay chip based on Zonx interface but with stereo output and rampack 16 or 32 kilo on boa…
... need to do the note calculation.
So here's ...Serial protocol, help!Hi, simply trying to find best way to transfer programs from PC to real ZX Spectrum for testing purposes. Under Windows I tried using Spxfr and it w…
... use the cycles.
Calculation: if interrupt occurs 50 times ...Serial protocol, help!Hi, simply trying to find best way to transfer programs from PC to real ZX Spectrum for testing purposes. Under Windows I tried using Spxfr and it w…
[QUOTE=tstih;539411]Calculation: if interrupt occurs 50 times ...Proportional Print Routine...Hi Folks, Does anyone know of a good proportional printing routine for the ZX Spectrum? Ideally I am looking for something that prints with charact…
... run faster by doing this calculation outside the critical section, using ...Proportional Print Routine...Hi Folks, Does anyone know of a good proportional printing routine for the ZX Spectrum? Ideally I am looking for something that prints with charact…
... the carry flag before
; calculation
sbc hl, de ; the ...Frank N SteinThis one > [url]http://www.worldofspectrum.org/infoseekid.cgi?id=0001849[/url] Always seems to crash about level 7 (maybe a bit more) or so with an …
... THEN RETURN
415 IF ATTR(x+1,y)>64 ... THEN RETURN
420 IF ATTR(x,y)7 THEN GOTO ... 260
425 IF ATTR(x+1,y)7 THEN ... THEN RETURN
510 IF ATTR(x+1,y+1)> ... THEN RETURN
515 IF ATTR(x,y+1)>64 ... THEN RETURN
520 IF ATTR(x,y+1)7 THEN ...Frank N SteinThis one > [url]http://www.worldofspectrum.org/infoseekid.cgi?id=0001849[/url] Always seems to crash about level 7 (maybe a bit more) or so with an …
... GOTO 219
212 IF ATTR(x,y)>64 THEN ... 219
213 IF ATTR(x+1,y)>64 ... GOTO 219
214 IF ATTR(x,y)7 THEN GOTO ... 260
215 IF ATTR(x+1,y)7 THEN ... 229
223 IF ATTR(x,y+1)>64 ... 229
224 IF ATTR(x,y+1)7 THEN ... 260
225 IF ATTR(x+1,y+1)7 ...Frank N SteinThis one > [url]http://www.worldofspectrum.org/infoseekid.cgi?id=0001849[/url] Always seems to crash about level 7 (maybe a bit more) or so with an …
... GOTO 1211
1202 IF ATTR(x+2,y)=4 THEN ... GOTO 1211
1203 IF ATTR(x+2,y)=5 THEN ... GOTO 1211
1204 IF ATTR(x+2,y)=15 THEN ... GOTO 1211
1205 IF ATTR(x+2,y)=3 THEN ... GOTO 1211
1206 IF ATTR(x+2,y)=6 THEN ... GOTO 1215
1209 IF (ATTR(x+2,y)=69 AND ...Frank N SteinThis one > [url]http://www.worldofspectrum.org/infoseekid.cgi?id=0001849[/url] Always seems to crash about level 7 (maybe a bit more) or so with an …
... THEN RETURN
415 IF ATTR(x+1,y)>64 ... THEN RETURN
420 IF ATTR(x,y)7 THEN [B ... THEN RETURN
515 IF ATTR(x,y+1)>64 ... THEN RETURN
520 IF ATTR(x,y+1)7 THEN ... THEN RETURN
415 IF ATTR(x+1,y)>64 ... THEN RETURN
420 IF ATTR(x,y)7 THEN [B ...Pixel Color IncorrectHello i am new to the ZX Spectrum and z80 assembly language. I am coding my first game and am having a small problem. I am trying to make the botom r…
What FrankT said.
You can set the attribute for any combination by using the formula:
attr = 128*flash + 64*bright + paper*8 + ink
where, flash = 1/0 (on/off), bright = 1/0(on/off), paper = 0..7, ink = 0..7
