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.227s
<1234567…34>
  • Convert x,y to Attribute Address in AssemblyWhat is the fastest way, given x,y (in hl) to return the attribute address?

    What is the fastest way, given x,y (in hl) to return the attribute address?
    robpearmain robpearmain December 2005 Development
  • Flood Fill ConundrumI have written a flood fill alogirithm. It uses the stack, but only with the y axis. It works quite well, but on large polygons it does take a while …

    ... 2 registers set with the x, y. They all use the stack ... the source (minus the initial x,y to screen address calculation).

    ... breadth-first filler as opposed to a depth-first recursive ... 900 bytes to fill an arbitrary region on screen. The black ...
    Alcoholics Anonymous Alcoholics Anonymous June 2008 Development
  • Z88DK NOOB cplot INK colorHi I am a complete NOOB with Z88DK, I am trying to draw colored circles. How does ink, paper and border work with Z88DK. I started trying to wo…

    ...
    ; de = screen address
    ; l = x coord
    ; h = y coord
    x y to screen address" the first param will be x, the second y. In ... "screen address to attribute address".

    zx_px2bitmask() stands for "pixel x to ...
    Alcoholics Anonymous Alcoholics Anonymous June 2016 Development
  • Beginner's z88dk help rqdI'm struggling to get my first z88dk C program to compile. My program is this: #include <spectrum.h> int main() { zx_border(INK_BLACK); } …

    ... /> for (y=0; y!=24; ++y)
    for (x=0; x!=32; ++x)
    *zx_cxy2saddr(x,y)=255 ... ;
    }
    [/code]

    cxy2saddr = "character x,y to screen ...
    Alcoholics Anonymous Alcoholics Anonymous June 2017 Development
  • 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 …

    ... how to convert an x,y coordinate pair (pointing to a specific pixel) to the ... the screen.

    Does anyone know of a way to do ... this? I imagine that once I understand the screen ... layout better then I will find it easier to do ...
    Scrapheap Scrapheap April 2006 Development
  • Sort 2 byte words (x, y) on ypos, also question about swap (DE), (HL)Well that was a lot of debugging ;) But if you want a routine which takes an array of 16 byte words x, y and then sort them on y (ignoring x), I'm…

    ... byte words x, y and then sort them on y (ignoring x), I' ... to an array of 16 byte values and those are x-coord, y ... that is in the wrong position relative to the others.
    < ... br />
    // Move current root to end
    swap(arr[0 ...
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • DRAW x,y,a Algorithm - how does the ROM do it?Hi all, Getting on with SpecOS, and one of the things I would love to do is to preserve the original ROM's behaviour when drawing Arcs. This is don…

    ... things I would love to do is to preserve the original ROM ... is done by using DRAW x,y,a where the alogorithm starts ... , finally ending up at point x,y.

    I've ... can help, I'd love to see a BASIC (or ... ) but I want to be able to reproduce the odd shapes ...
    Dunny Dunny August 2010 Sinclair Basic
  • X=Y=ZFirst public outing of X=Y=Z for the 48K Spectrum, a 4-level demo which can be download from: [as TZX] [URL="http://www.bobs-stuff.co.uk/extras/xyzd…

    First public outing of X=Y=Z for the 48K Spectrum, ... ]

    Many thanks already to Chris, Matt, and Einar for ... help in bringing the game to life.
    bobs bobs August 2014 Announcements
  • New Game : X=Y=ZFull version of X=Y=Z is now available from my site at: [URL="http://www.bobs-stuff.co.uk/extras/x=y=z.zip"]http://http://www.bobs-stuff.co.uk/extra…

    Full version of X=Y=Z is now available from ... .bobs-stuff.co.uk/extras/x=y=z.zip"]http://http://www ... .uk/extras/x=y=z.zip[/URL]

    Many thanks to Einar ...
    bobs bobs August 2014 Brand new software
  • Print (to screen) avalue held in a register pairHi guys, looking for a routine that will print any value from 0 to 65535 to the current position on the screen. I once heard that there was a PRIN…

    ... value from 0 to 65535 to the current position on the screen.

    to the current screen position.

    Cheers :D
    DEATH DEATH October 2016 Development
  • 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…

    ... loop counter for searching around position 'z'.
    k
    position 'w' is used later for 'backtracking' to flip player tokens.
    x ...
    y
    z the position of ... to a dummy failed move in the centre of the screen ...
    Digital Prawn Digital Prawn September 2007 Development
  • New member here. And a spider! :)Hello everyone. My name is Sekrets. I'm quite a lonely individual, searching for a digital home where I might find fellow speccy enthusiasts to adopt…

    ... So for example, zx_pxy2aaddr (pixel x,y to attribute address) takes a pixel ... done with adding one to the screen address (eg INC ... vertical pixel position, not just those aligned to character squares ... graphic right before drawing to screen. This is a more ...
    Alcoholics Anonymous Alcoholics Anonymous March 2010 Development
  • Simple SpriteHow do you draw a sprite on the screen? For example i want to draw a smiley face sprite and would like either a link to a tutorial or a very well com…

    ... a newbie who's started to learn asm recently I found ... the book itself (someone seems to have scrawled over the scans ... can calculate a screen display position from the x y ('PRINT AT') position.

    to write a simple maze game ...
    Morkin Morkin October 2011 Development
  • Editorless AGD Now for Spectrum as well as Next/TimexI've updated the editorless version of AGD to 0.3, fixing the Next/Timex CLS routine and adding a Spectrum engine and compiler. For those not alread…

    ... There's a PRINTMODE command to toggle between double height or ... There's AT X Y to change the cursor position and a new PRINT ... flipped X and Y around. Putting an object on the screen also ... requires coordinates.now and JUMP.requires an argument to ...
    jonathan jonathan February 2018 Brand new software
  • Matchpoint ball algorithmAnyone has any idea how Psions Matchpoint ball algorithm works? Are they calculating the balls' parabola (floating point for just the ball doesn't se…

    ... the ball position with the y position set to the same ... proper 3D working out screen coordinates involves a division ... you can do 2 things to avoid that:

    x, y on screen is just (ax, ... be 1 as well to make maths more efficient), ...
    Paradigm Shifter Paradigm Shifter July 2021 Development
  • Matchpoint ball algorithmAnyone has any idea how Psions Matchpoint ball algorithm works? Are they calculating the balls' parabola (floating point for just the ball doesn't se…

    ... bottom left in screen space
    p=(x,y,z) // initial position
    v ... they are on screen
    // can scale p.x, p.y and p ... reflect x & z if you want when they hit screen boundaries ... bit trickier if you want to take into account the time ...
    Paradigm Shifter Paradigm Shifter July 2021 Development
  • Dizzy X-Journey To Russia - English translation in 48/128 version & FIX of Abe's Mission-MissionHello there! Last week, there was discovered English translation of Russian game Dizzy X-Journey To Russia on the Internet. But it was available onl…

    ... translation of Russian game Dizzy X-Journey To Russia on the Internet ... Speccy 48k! So I decided to combine it with original Russian ... Russian version and added them to translated
    version... Here is ...
    Wixet Wixet December 2003 Announcements
  • Dizzy X-Journey To Russia - English translation in 48/128 version & FIX of Abe's Mission-MissionHello there! Last week, there was discovered English translation of Russian game Dizzy X-Journey To Russia on the Internet. But it was available onl…

    ... translation of Russian game Dizzy X-Journey To Russia on the Internet ... Speccy 48k! So I decided to combine it with original Russian ... Russian version and added them to translated
    version... Here is ...
    Wixet Wixet December 2003 Games
  • Converting jpeg/bmp/gif to SCREEN$ fileMight be a bit of a long shot, but is there any way of converting an image file with the correct dimensions/colours to SCREEN$ file that can be loade…

    ... with the correct dimensions/colours to SCREEN$ file that can be loaded ... up with a converter program to do this.

    Failing ...
    daveysludge daveysludge January 2012 Development
  • BBC to screen live game tournamenthttp://www.bbc.co.uk/news/technology-34475037 interesting, could be the start of something? [quote]The BBC is to stream live coverage of a majo…

    ... />
    [quote]The BBC is to stream live coverage of a ... /> maybe we can get them to screen a knockout manic miner tourny ...
    mel the bell mel the bell October 2015 Chit chat
  • I feel like such a moron having to post this but stillI started out to write a simple cursor move program to demonstrate how easy it is to program in Basic! Hah, serves me right. I started by setting…

    ... variables x and y at 10.15 followed by print * at x,y ... and ran it to check it worked. ... IF INKEY$=u THEN LET X=X-1. Followed by three ... to look for was changed as was the values of x and y ... added a line to print the values of X,Y to see what ...
    mik3d3nch mik3d3nch December 2017 BASIC
  • "La Abad?a del Crimen" - English versionOK, I've started a new thread for this, as the discussion about "La Abad?a" in the [url="http://www.worldofspectrum.org/forums/viewtopic.php?mode=vie…

    ... loader, make the dedication screen appear for X amount of seconds, ... 1 in a FOR x=y TO z ... NEXT x loop, rather than just ... during the dedication screen and skip to the loading screen. you could ... on time after the loading screen appears.

    "Some" ...
    Amigo Amigo March 2003 Games
  • 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…

    ... can
    a) handle your (y,x) to screen address and
    b) write ... x&y to a defined address. Is it too complicated to adapt it to ... transfer a window defined by x,y, width ...
    zxbruno zxbruno 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…

    ... x&y to a defined address. Is it too complicated to adapt it to ... restores the whole screen (excluding attributes if you wish) to a buffer ... good if you need to keep the rest of the screen unaffected)
    BloodBaz BloodBaz March 2007 Sinclair Basic
  • SpecBAS: Request for comment - SpritesHi all - Having been slaving away at the new SpecBAS release, I've decided to finally bite the bullet and implement a sprite engine. I've got a nice…

    ... display is composited. The main screen (window 0) is rendered, and ... n PATH x,y TO x1,y1 TO x2,y2 ... TO xn,yn to define a ... is a single colour. The screen is 8bpp, so changing colours ... you can sub-divide the screen, or are you talking about ...
    Dunny Dunny January 2011 Sinclair Miscellaneous
  • next pixelI searched the "Discussions" groups for the phrase "next pixel" and got no matches - and removing the quotes it discards the "next" and just searches…

    ... /> zx_cyx2saddr = character y,x coord to screen address
    zx_saddr2py = screen address to pixel y coord
    zx_saddrpup = screen address pixel ...
    Alcoholics Anonymous Alcoholics Anonymous September 2012 Development
  • smooth movement in basicWas trying to figure this out myself but i would like to be pointed in right direction now :-). How do I make something move in Basic without gettin…

    ... x=horizontal and y=vertical, so if using x & y in PRINT position ... variable names it's generally better to use x ... in 'column' names and y in ... all x/y names to use x=horizontal/column and y=vertical/ ...
    Battle Bunny Battle Bunny October 2012 Sinclair Basic
  • How to stop a flickering character erasure?I'm trying to figure out how to build a moving sprite. Eventually it will be made up of several UDG's. However its early days yet so I'm experimentin…

    ... are the distance to move in the x and y axes, or< ... br />
    SPRITE MOVE mysprite TO x,y

    To ... move it to a particular place on the screen ... ,x,y

    And it will be pasted onto the screen ...
    Dunny Dunny May 2018 BASIC
  • Some issues with my UDG programFor the sake of remembering how to do some things in Basic, I started coding a small program that could be used to create UDGs: [url]http://db.tt/tt…

    ... program that could be used to create UDGs:

    x and y are initially set, x1 is equal to x and y1 to y ...
    -If x ... or y change ... was expected (set c(x,y) to 1 if 0 and ...
    zxbruno zxbruno June 2011 Sinclair Basic
  • The Only Reason Sinclair Succeeded (Provoking Controversy)Although I love my Sinclairs dearly, I think that the only reason they succeeded was because at the time most people did not know any better (factori…

    ... take a couple hundred cycles to update your sprites with ... there is no technical advantage to having the sprite hardware ... takes a couple hundred cycles to update sprites in dedicated ... also don't have to convert from x,y to screenbuffer offset, no copying ...
    JamesD JamesD September 2006 Sinclair Miscellaneous
<1234567…34>

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