World of Spectrum
  • Categories
  • Discussions
  • FAQ
  • Sign In
Home › Search
Title Search
@title beer Word 'beer' in title
User Search
  • @user admin Only posts by Admin
Text Search
  • @body beer Word 'beer' in the text
Phrase Search
"Hello World" Exact phrase match
Exclude Terms
  • car -red Search cars that are not red
"Or" Searches
  • honda | bmw 'honda' or 'bmw' results
Multi-Field
@(title,body) hello Both contain 'hello'
WildCard
  • hond* civ* Match all with an astrix
Combination
  • @title bmw @user admin
See more supported syntax examples
Search Again :: Adv Search 1000 results in 0.209s
<1…28293031323334>
  • Oh so BRIGHT!What is the SLOWEST way to change the attribute area to BRIGHT? It has to be legit! No meaningless instructions or doing stuff for the sake of it. …

    [CODE]
    10 FOR y = 0 TO 23
    20 FOR x = 0 TO 31
    30 LET b = ATTR (y,x)
    40 IF b>127 THEN LET b=b-127
    50 IF b>63 THEN GOTO 80
    60 IF y>21 THEN PRINT #0; AT y-22,x; PAPER 8; INK 8; BRIGHT 1; OVER 1; " "
    70 IF y
    monty.mole monty.mole November 2006 Development
  • Oh so BRIGHT!What is the SLOWEST way to change the attribute area to BRIGHT? It has to be legit! No meaningless instructions or doing stuff for the sake of it. …

    ... .mole and Matt_B's solution to use a Monte Carlo algorithm ... .
    [code]
    10 LET y=INT(RND*24)
    20 ... LET x=INT(RND*32)
    30 ... ;21 THEN PRINT #0;AT y-22,x; PAPER 8; INK 8 ... /> 40 IF y64 OR (ATTR(y,x)>127 AND ATTR ...
    gasman gasman November 2006 Development
  • Oh so BRIGHT!What is the SLOWEST way to change the attribute area to BRIGHT? It has to be legit! No meaningless instructions or doing stuff for the sake of it. …

    [code]
    9 REM box to fill
    10 LET boxposx= ... (y,x+1)>127 AND ATTR (y,x+1)64 OR (ATTR (y,x-1 ... )>127 AND ATTR (y,x-1 ... )64 OR (ATTR (y+1,x ... (y+1,x)64 OR (ATTR (y-1,x)>127 AND ATTR (y-1,x)
    Arda Arda November 2006 Development
  • The New SPIN releases ThreadOk, as I'm now working on SPIN again full-time, and as a very wise man once said, "Release Early, Release Often"[1]... I'm going to release new SPIN…

    ... be enhancements - a 640x480x8 screen with the adlib or ... />
    New commands to handle sprites, much improved faster ... 256 colours, PRINTing to any position on the screen (as there will ... be no attribute squares to ...
    Dunny Dunny November 2006 Emulators
  • Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …

    ... , posted by geoff.

    To use Kempston Mouse from basic ... />
    [code]
    10 LET x = IN 64479
    20 LET ... y = IN 65503
    30 IF ... IN 64223 = 255 THEN PLOT x,y AND y
    Arda Arda November 2006 Sinclair Basic
  • Issue 3 feedbackSome have noticed that Issue 3 is available. It wasn't announced at the time due to it being 5am.. You can leave feedback here....

    ... />
    for t = 0 to 1 step .01 /* or something ... * q1y

    plot (x,y)
    next t
    [/code ... in a notebook somewhere) to eliminate all the multiplication by ... it became nice and easy to implement in Z80. The ... url] if you want to have a poke around.
    gasman gasman December 2006 ZX Shed
  • Problems with Steam anyone?I've been unable to connect to the Steam servers for some time now. My net connection is working perfectly well and I can access other websites with …

    ... Well, it asked me to log in when I switched ... background doing, um, Steam-y stuff most of the time ... Hmm... funnily, it asked me to login too right before this ... that it doesn't manage to complete the login process. ... />

    Death, Merry X-mas to you too!
    Arjun Arjun December 2006 Chit chat
  • Who knows how to program a "pathfinder"?Hi all. I like to play games like "Colour Lines" and I think, I will create a version of this game for the SAM Coupe. It looks easy - until this "dam…

    ... ): FOR y=1 TO 9: FOR x=1 TO 9: LET b$(y,x)=a$(y,x): NEXT x ... : NEX
    T y
    x=x-1: IF b$(y,x)=" " THEN LET b$(y,x)=s$( TO 2): LET ... $(y,x,2)
    430 IF x$" " THEN LET y=VAL y$: LET …
    Dr BEEP Dr BEEP January 2007 Development
  • Battle of Games 7 - Shoot-emups 2Greetings ladies and gentlemen :) Welcome to Part 2 of the shoot-em-up battle. Again, as in battle 6, we'll have a [b]multichoice[/b] battle with som…

    ... scroller SEU, with [b]x-axis ship command[/b] possibilities ... , which shoots in the y-axis and z-axis. ... oriented game, with [b]x, y and z-axis Crosshair and ... is they both wish to destroy the death star ... br />
    Not enough to compare them, IMHO. :D[/QUOTE ...
    Matt_B Matt_B February 2007 Games
  • Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …

    ... br />
    DEF FN h$(x) = "0123456789ABCDEF"([B]1+[/B]INT ... to the perfect BASIC

    DEF FN h$(x) = "0123456789ABCDEF"(.5+x ... /16)+"0123456789ABCDEF"(1+x-16*INT (x/16 ... round your value given to the position in the string
    Dr BEEP Dr BEEP February 2007 Sinclair Basic
  • Kempston mouse emulationOK, so I've read the FAQ and can understand how to "do" a mouse in an emulator. Just to be clear about it though, perhaps someone could be kind enoug…

    [QUOTE=Laser;176247]The x/y counters roll round in the 8-bit byte (...254,255,0,1...) effectively just representing accumulated delta mouse movements, not just absolute screen x/y co-ords, right?
    [/QUOTE]

    Yes, that's right.
    Alcoholics Anonymous Alcoholics Anonymous March 2007 Emulators
  • Getting scr addresses from x and yCould someone please tell me how to calculate the 8 screen addresses corresponding to a character printed in basic at coordinates x and y? For examp…

    ... FN a(y,x)=16384+x+(y-INT (y/8)*8)*32+INT (y/8)*2048 ... /> Old age can do that to you [FONT=Times New Roman ...
    zx128k zx128k March 2007 Sinclair Basic
  • Getting scr addresses from x and yCould someone please tell me how to calculate the 8 screen addresses corresponding to a character printed in basic at coordinates x and y? For examp…

    ... The interpretter has to search the program to find the DEF ... /> LET a$="16384+x+32*y+1792*INT (y/8)"
    [/ ... code]

    And then use VAL a$ to ... then you have to use the x,y vars all the time ... as opposed to DEF ...
    Alcoholics Anonymous Alcoholics Anonymous March 2007 Sinclair Basic
  • Cybernoid editorSo, my long tern goal is to make my own Cybernoid or Rex like game (see an ancient thread about Sprite advice)...but my skills are somewhat lacking..…

    ... explosion triggered when the keys y-axis falls?[/quote]
    ... waiting for you to push it to that position. Without the ... br /> When it's ready to give you an item a ... random number is generated to choose which one it ... list. You therefore need to keep it out of ...
    Mr. Anonymous Mr. Anonymous March 2007 Development
  • Getting scr addresses from x and yCould someone please tell me how to calculate the 8 screen addresses corresponding to a character printed in basic at coordinates x and y? For examp…

    ... misunderstood what you would like to do. The following routine allows ... you to move a cursor around that ... . This would allow you to keep all the original attributes ... /> 3130 POKE 22528+x+(y*32), (z-PEEK (22528+x+(y*32)))
    3138 ...
    48K 48K March 2007 Sinclair Basic
  • Getting scr addresses from x and yCould someone please tell me how to calculate the 8 screen addresses corresponding to a character printed in basic at coordinates x and y? For examp…

    ... TO 4175

    3175 POKE 22528+x+(y*32), (z-PEEK (22528+x+(y ... -PEEK (22528+x+a+((y+b)*32)))
    3179 GO TO 3120
    TO 3175

    4175 POKE 22528+x+(y*32), (z-PEEK (22528+x+(y ... -PEEK (22528+x+a+((y+b)*32)))
    4179 GO TO 4120[/spoiler ...
    48K 48K March 2007 Sinclair Basic
  • Where to start?Hi all, I wanna start coding something for the speccy. I have good experience at C/C++ and some other languages. I have coded asm on pc too, and ma…

    ... /> I guess you'd have to ask Jonathan for the definitive ... 's just done that way to distinguish between loading two eight ... of the instruction which is to load the HL pair with ... />
    [CODE]LD HL, 256*x+y[/CODE]
    Matt_B Matt_B March 2007 Development
  • Where to start?Hi all, I wanna start coding something for the speccy. I have good experience at C/C++ and some other languages. I have coded asm on pc too, and ma…

    ... s just done that way to distinguish between loading two ... the instruction which is to load the HL pair ...
    [CODE]LD HL, 256*x+y[/CODE][/QUOTE]

    Not ... that I want the code to be ROMable and reentrant. ... evens makes it easier to follow as in this ...
    Alcoholics Anonymous Alcoholics Anonymous March 2007 Development
  • New Spectrum Game! Cannon BubbleAs some of you already know, our new game "Cannon Bubble" is available to download in our web page! Go get it and don't forget to tell us what you th…

    ... FOR x=32768 TO 32827
    50 READ y
    60 POKE x,y
    70 LET t=t+y
    80 NEXT x
    x=32768 TO 32832
    50 READ y
    60 POKE x,y
    70 LET t=t+y
    StuBruise StuBruise April 2007 Games
  • Bubble Bobble EditI thought I might have a go at editing Bubble Bobble myself after reading this... [url]http://www.worldofspectrum.org/forums/showthread.php?t=15452[…

    ... the level data before going to screen.

    [QUOTE= ... like to know how to edit the number, type and position of ... ) so it's better to work in hex. Use ... ? The 2nd to last byte points to another table which ... 858C and start a game to get the idea. Example ...
    Mr. Anonymous Mr. Anonymous April 2007 Development
  • My little first set of routines.Hi all, I just coded a little set of routines just to draw a screen on video mem and a fade out. I could have just copied the screen rendering rout…

    ... the accumulator, it's better to use one of "rla", ... you do a And XX to clean the possible bits ... tricks, but I prefer now to finish my little "pong ... a little routine to get Video Adres from a x,y coordinate. I ... bit rotation (because I want to multiply by 256, I ...
    HexDump HexDump April 2007 Development
  • Stopping autostart/autorun and entering POKEsHi, I want to enter some POKEs into a game on my ZX Spectrum, but whenever i do a LOAD "", my games always autorun. Is there any way I can get the pr…

    ... FOR x=32768 TO 32811
    30 READ y
    40 POKE x,y
    50 LET t=t+y
    60 NEXT x
    to use the SAVE WHOLE option ... the menu which is used to create a stand-alone game ...
    StuBruise StuBruise April 2007 Games
  • Help needed - UK lottery number generator in c++I'm trying to write a c++ program to generate 9 lines of 6 numbers for the uk national lottery. Anybody got any idea where I'm going wrong? I'm com…

    ... 0, which makes it harder to spot the off by one ...
    Alcoholics Anonymous Alcoholics Anonymous April 2007 Chit chat
  • New Game - JustinA new isometric 3D Game for ZX Spectrum, Justin: [url]http://cpce.emuunlim.com/justin.tap.zip[/url] It can be played in spanish and english languaj…

    ... FOR x=65024 TO 65046
    60 READ y
    70 POKE x,y
    80 LET t=t+y
    x=65047 TO 65535
    120 READ y
    130 IF y=999 ... 65024
    140 POKE x,y
    150 NEXT x
    160 DATA ...
    StuBruise StuBruise April 2007 Games
  • Oneliner contestHello to you all, I dare you to make a program on 1 BASIC line. Here is the place to sent your ONELINERS [url]http://www.zxspectrum.00freehost.co…

    ... /> FOR Y=1 TO COUNT: OVER 0: PLOT X(Y),64+(Y*2): NEXT Y:
    FOR Z=0 TO 1 STEP ... 0: FOR Y=1 TO COUNT:
    OVER 1: PLOT X(Y ... ),64+(Y*2):
    icabod icabod May 2007 Development
  • Reading the Kempston & AMX mouse...Does anybody know which ports & values are used to read the AMX and/or the Kempston mouse? I'm playing with developing a shoot-em-up at the moment, …

    ... registers interrupt service routines to field x and y movement interrupts:
    ... , unlike the AMX, tracks (x,y) coordinates itself so a read ... hardware returns the (x,y) coord. Unfortunately the x wraps across 0 ... 0 or 255 and limits y to 192. I should also ...
    Alcoholics Anonymous Alcoholics Anonymous May 2007 Development
  • Problems with FTP archive.Hi, this is a PC related problem I think. I'm having difficulty downloading from the archive when I'm at home. When I connect to the archive at work…

    ... " , "x", "y" or "z" directory at all.

    I was looking to ... directory from the
    CD to my new PC when I ...
    stvd stvd May 2007 Sinclair Miscellaneous
  • How does interrupts work?I am a little confused regarding the interrupts on the Spectrum. If I have some hundred bytes of machine code started with, say, [B]RANDOMIZE USR 300…

    ... /> The ULA knows which bytes to read at each time.[/QUOTE ... it converts the "real" TV screen position to the correct place in the ... Spectrum display file to get the bitmap and also ... calculates / reads the attributes to get the colours?

    Rickard Rickard May 2007 Development
  • How does interrupts work?I am a little confused regarding the interrupts on the Spectrum. If I have some hundred bytes of machine code started with, say, [B]RANDOMIZE USR 300…

    ... converts the "real" TV screen position to the correct place in ... the Spectrum display file to get the bitmap and ... / reads the attributes to get the colours?[/QUOTE]< ... counts the memory location to read. Instead of bit ... away in memory compared to the first byte of ...
    Winston Winston May 2007 Development
  • How does interrupts work?I am a little confused regarding the interrupts on the Spectrum. If I have some hundred bytes of machine code started with, say, [B]RANDOMIZE USR 300…

    ... it converts the "real" TV screen position to the correct place in the ... also calculates / reads the attributes to get the colours?
    [/ ... an interlaced fashion -- in even screen refreshes it draws on even ... TV lines and on odd screen refreshes it drawn on odd ...
    Alcoholics Anonymous Alcoholics Anonymous May 2007 Development
<1…28293031323334>

Latest Posts

  • How to return to basic properly from ASM
    Paradigm Shifter on 1:54AM
  • Minor British Sports that did become games on the ZX Spectrum
    dmsmith on April 8
  • Frankie's ZX Spectrum Digouts
    Zup on April 8
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 8
  • 1992 Spectrum Software
    harriusherbartio on April 7
  • Celebrity deaths...
    mel the bell on April 7
  • LONELY TZX files : software TZX'd on the online sites with NO ASSOCIATED DOCUMENTATION
    harriusherbartio on April 7
  • spectrum in netflix bomb and the cold war documentary
    zxbruno on April 7
  • Are there any decent Speccy Flight Sims?
    harriusherbartio on April 7
  • Who Has Got The Earliest ZX Spectrum Software?
    harriusherbartio on April 6

HitBox

Word Docs Hits
x 14K 31.7K
y 6.2K 15.7K
to 549.6K 1.6M
screen 45.8K 73.8K
position 5.8K 7.8K

Related Threads

  • How to get Grahics to wrap vertically around the screen?I am using the following code to draw an image to the screen.<br /> <br /> First I use HL to contain ROW and COLUM<br /> I then call the MapScreenFun…
  • Fastest way to write something to screen$Hi,<br /> <br /> I just got pasmo.exe and start playing with attr scrolling, well, not scrolling, just write different values to a block and see if I…
  • Convert x,y to Attribute Address in AssemblyWhat is the fastest way, given x,y (in hl) to return the attribute address?
  • Getting attribute location from a screen coordinates (x,y)I am having trouble figuring out how to convert an x,y coordinate pair (pointing to a specific pixel) to the location of the attribute for the block …
  • Fastest way to decide which pixel to paint in order to draw a straight line(after I saw "Bresenhams circle algorithm" in development forum, I decided to ask this in here)<br /> <br /> in fact, I want to accelerate a car towa…
  • Now seems to be a good time to add to your collectionsI have bought a few spectrum items to add to my collection recently, had i bought them a year or two ago they would have cost double. This is one of …
  • Update to Image to ZX Spec to 1.3.1I'm inbetween jobs at the moment and felt the need to add a new feature - the ability to export anim gifs.<br /> <br /> [IMG]https://lh6.googleuserco…
  • How to add a loading screen to my tap file[FONT=Calibri][SIZE=3]I?ve got my game created as a tap file generated by Pasmo. I now want to add a loading screen. Can anyone explaine the best way…
  • Is it possible to add a listing to a screen?I made this picture (see next message for link) deliberately in the bottom half of the screen hoping to be able to have another display in the upper …

Related Searches

  • fastest way to clear screen
  • find screen position of all attr
  • full screen fuse how to
  • loading screen poke to hide text
  • x y z
  • yellow hue to screen
  • elite save position to disk
  • push pop to the screen
  • shadow screen to c000
  • write to screen
  • copy picture to screen
  • screen chr position in mc asm
  • white screen no border when trying to load
  • 48k spectrum white screen no border when trying to load
  • x y
  • screen position
  • screen address to x and y
  • screen x y r tape
  • screen x y
  • calculate pixel position from x y

Copyright © 2024 World of Spectrum