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.081s
<1…45678910…34>
  • Double Dragon 128k - The graphicsAs you are all probably aware, I tried gathering a team of people together a few years back to make a totally re-programmed version of Double Dragon …

    ... map (eg: what are the x,y coordinates of the enemies on ... generate all this data himself from scratch.. Perhaps we could do ... else in that kind of position.

    It may be ...
    AndyC AndyC January 2010 Development
  • Print at 128,87? :)The advanced search function didn't help me find the answer to this, and I don't remember seeing anything similar in magazines or books... so please …

    ... with the variables -

    x across screen - set automatically by ... use 9400 to avoid
    y - pixel start from top
    xs - size ...
    Geoff Geoff January 2010 Sinclair Miscellaneous
  • My first platformerHi all! How do you do? Been lurking here for a while, but never had the courage to join the forum. :) The Speccy was my first computer, so I've alw…

    ... an exact horizontal character coordinate (pixel position is a multiple of 8 ... />
    .column0

    defb x,x,x,x,x,x,x,x ; one char of graphics : 8 ... sp1_CreateSpr call and column offsets from the first column in sp1_AddcolSpr ...
    Alcoholics Anonymous Alcoholics Anonymous March 2010 Development
  • Rom Routines list ?Exist some document that show detailled the routines on the spectrum ROM ? Ad for the Spectrum +3 ? are they the same or exist more ? Example i was …

    ... new x/y values in COORDS
    CALL L22AA ; routine PIXEL-ADD gets ... address in HL,
    ; count from left 0 ... the plot-sub want the x and y parameters in the BC ...
    arfgh arfgh June 2010 Sinclair Basic
  • SpecOS progressOk, As you can all see, I'm back - and I've been working away on SpecOS for a while now. There's a few videos, which you can see on my blog: [url]h…

    ... command called "locate x,y" and/or function "location x,y" would be good ... ,row and "LOCATION" should be pixel oriented.

    [CODE]
    x,y in pixels
    30 ... Spin?
    -Option to export from SpecOS to Sinclair Basic. This ...
    Sparky Sparky August 2010 Sinclair Miscellaneous
  • 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…

    ... the typed LINE / ARC routine from [URL="ftp://ftp.worldofspectrum.org ... starting position
    30 INPUT "X value ";X: PRINT "X = ";X;
    40 INPUT "Y value ";Y ... REM 'DRAW A LINE' from lastposition to X,Y
    510 LET PlotX ...
    Marcelo Marcelo September 2010 Sinclair Basic
  • Sprite RoutineI was wondering if anyone could point me in the direction of a really basic example of a per-pixel sprite routine? Preferably commented. The screen …

    To calculate a screen address I usually take the Y pixel position, swap bits 2 to 0 with bits 5 to 3, shift to left 5 times (to multiply with 32) and add the start of screen (16384 or 49152).
    LCD LCD October 2010 Development
  • Games in machine codeHi everyone, How do go about doing multiple shots like a machine gun, do you have to store every x and y position of each bullet? When you kill som…

    ... frame number
    X position
    Y position
    X velocity
    Y velocity
    Width ... /> Y velocity

    The object X and/or Y position is subtracted from the ... scroll position. If the ...
    ASM ASM October 2010 Development
  • 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…

    ... like, but for pixel-by-pixel collision detection you' ... />
    Sorting by Y-coordinate would likely be handy ... like SPRITE SET id, x, y, w, h, (other ... any sprite's data records (x, y, gfx$, rotation, scaling)?
    from the 90s. I ...
    Dunny Dunny January 2011 Sinclair Miscellaneous
  • 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…

    ...
    As for the x/y offset, it's usually known ... to be describing the position of its top-left ... Now when you set a position for that sprite, you ... position of the centre, and the system knows to subtract 7 from ... the x and y values to find ...
    joefish joefish January 2011 Sinclair Miscellaneous
  • 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…

    ... ]
    As for the x/y offset, it's usually known ... to be describing the position of its top-left ... Now when you set a position for that sprite, you ... position of the centre, and the system knows to subtract 7 from ... the x and y values to find ...
    Dunny Dunny January 2011 Sinclair Miscellaneous
  • 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…

    ... (x,y) of (2,2) is specified, then when the sprite's position ... graphic design has a 2 pixel overflow around the edges.
    pixel in a mouse pointer graphic ...
    BloodBaz BloodBaz January 2011 Sinclair Miscellaneous
  • Recursive 4-way floodfillHi guys) Shortly, I wanna find out whether there's a way to some object. Perhaps some of you have already encountered such an issue which is relativ…

    ... routine which I once borrowed from some program via MERGE or ... PLOT x,y
    1010 IF NOT POINT (x+1,y) THEN LET x=x+1 ... POINT (x,y+1) THEN LET y=y+1: GO SUB 1000: LET y=y-1 ... (char-perfect as antonym to pixel-perfect), but how to see ...
    NRA NRA January 2011 Sinclair Basic
  • Recursive 4-way floodfillHi guys) Shortly, I wanna find out whether there's a way to some object. Perhaps some of you have already encountered such an issue which is relativ…

    ... there must be exactly one pixel per scan raster. For horizontal ... demo I've written suffers from the same kind of artifacts ... like shape that is drawn from 30 to 80 and substitute ... 2-1
    1020 LET y=n-r
    1030 ... LET alp=ASN (y/r)
    1040 LET x=r*COS alp ...
    mcleod_ideafix mcleod_ideafix January 2011 Sinclair Basic
  • Calculating the address of a pixel?Hi Folks, Is there an easy/quick way of calculating the memory address of a pixel? So for example, if I wanted to "plot" pixel at screen coordinate…

    ... attribute area is separated from the bitmap data because ... value can hold both X,Y values. Yes: you ... the X axis, but that would limit smooth pixel ... movements.
    - The fastest way to move from ... calculations for moving vertically from one scan to ...
    mcleod_ideafix mcleod_ideafix February 2011 Sinclair Basic
  • Calculating the address of a pixel?Hi Folks, Is there an easy/quick way of calculating the memory address of a pixel? So for example, if I wanted to "plot" pixel at screen coordinate…

    ... attribute area is separated from the bitmap data because ... value can hold both X,Y values. Yes: you ... the X axis, but that would limit smooth pixel movements ... The fastest way to move from a character to the ... calculations for moving vertically from one scan to ...
    TVzombie TVzombie February 2011 Sinclair Basic
  • Calculating the address of a pixel?Hi Folks, Is there an easy/quick way of calculating the memory address of a pixel? So for example, if I wanted to "plot" pixel at screen coordinate…

    ... attribute area is separated from the bitmap data because ... value can hold both X,Y values. Yes: you ... the X axis, but that would limit smooth pixel ... movements.
    - The fastest way to move from ... calculations for moving vertically from one scan to ...
    Paddy Coleman Paddy Coleman February 2011 Sinclair Basic
  • Move objectHi again, I am using paper colors to represent game objects. I have a "paddle" that is 4 pixels wide. I save its position as a 2 byte word in memory…

    Storing the position as an X coordinate (from 0 to 28, in your ... routine, which just works with X/Y coordinates and doesn't have ... to convert your X coordinate to a screen position might look something ...
    gasman gasman June 2011 Development
  • writing an emulator-newbie needs helpHi, this is my first post here. I decided to write a minimalistic emulator of ZX Spectrum-no emulation of advanced peripherals, no emulation of sound…

    ... m using 32-bit per pixel for RGBA value. Yours ... 8 bits in the 'pixel', if it's set ... value of the backbuffer pixel to the equivalent ink ... get equivalent attribute value for x,y positions of speccy display. ... run this "monitor program" from rom, will it allow me ...
    Arjun Arjun June 2011 Emulators
  • Can anyone see a way to speed up the following line of code?Hi Folks, Been looking at bottle necks in my code using BASin's Profiler and the following line (well the 2nd LET statement) is somewhat slow. [COD…

    ... CALCULATE tree STRING bytes , then make it in a number from which ... again, perhaps start with a X$, Y$ and Z$ for the different ... of the string manipulation dates from when the code used MicroPrint ...
    Paddy Coleman Paddy Coleman July 2011 Sinclair Basic
  • New WIP underway - 'Dingo'.Hi, Prepare for a long post. Perhaps I can even challenge ewgf here. :razz: Anyway, I've been meaning to get into Z80 programming and making a game…

    ... the player. All have X&Y coords and all entities are ... 're on the same X or Y coord, and in this ... (although it can be read from the picture above) - the ... able to shoot at 32 pixel intervals (although there's an ... and 24 pixels on the Y axis).
    So the ...
    Sokurah Sokurah August 2011 Development
  • line, plot and circle in whole 256x192 displayhi! are there some way to draw lines, or whatever, in the whole 256x192 display, than just the above 256x176 part? (this is the msx1 version i made o…

    ... of the plot routine come from one of the fine gentlemen ... and the 'gap' calculation comes from our own Dr.Beep.... The ... C,dod3 ;no swap if X>Y
    LD H,L ... /> ;--The coords are used to calculate the screen address ------------
    ;See ...
    roko roko September 2011 Sinclair Basic
  • RND CommandsExactly how random are they? Reason I ask is I'm using 4 of them to generate a random number, the value of which then assigns movement commands to f…

    ... noticed that with no input from the player....you could still ... to print the returned value from an RND*8 thing ... br /> 330 INPUT x$
    340 IF x$"y" THEN GO TO ... /> 560 INK 6: PRINT AT x,y;"\@"
    570 REM the blue ... br /> 670 IF y>18 THEN LET y=y-1
    ...
    Wookiee Wookiee January 2012 Sinclair Basic
  • Words of adviceHi all This is my first post on World of Spectrum and I'm gradually starting to discover the wonders of the machine. Just to give you a bit of bac…

    ... . I took what I learnt from BASin (which in turn was ... - PRINT MOVE x,y;"Hello!" will output at any pixel location, while AT ... of what it can do - from early alpha builds right up ...
    Dunny Dunny January 2012 Sinclair Basic
  • M/C mathsHow would I do the equivalent of LET A=B*7 in machine code?

    ... routine to calculate the memory address of any given pixel. [/QUOTE]

    LD A,Y-coord
    LD C,X ... -coord
    CALL #22B0

    where Y starts leftupper ...
    Dr BEEP Dr BEEP January 2012 Development
  • ZX-Paintbrush version 2.2 releasedDear readers, Today I released ZX-Paintbrush 2.2 with many new features. I hope you'll like it. Please refer to ZX-Paintbrush's section of my homepa…

    ... the byte address of the pixel? ie. [0,0] [16384 ... br /> 1. X,Y as it works now
    2. X,Y like Spectrum ... one picture section to another position. I'm just now ... with the 8x8 separate pixel grid that you can ... colours and the separate pixel grid is definitely a ...
    clausjahn clausjahn June 2012 Emulators
  • Basic Challenge NO.7Ok Boys and girls get your thinking caps on. IN BASIC how would you plot an arc of a ball falling to the ground? so it gets lower and lower and mov…

    ... lower and lower and moves from left to right?[/QUOTE]
    vxo : X component of velocity vector. The ... to the right.
    vyo : Y component of velocity vector. Initially ... m/s^2
    x,y : particle position in each time slice.
    mcleod_ideafix mcleod_ideafix July 2012 Sinclair Basic
  • real value of some of these books as learning aids?Ok, I admit perhaps it was a late night and frustration. :???: I could have been hallucinating when i was doing the typein. But I think not.. [url]…

    ... [/url] routine by Chris Pile from YS. It is quite fast ... the shape and the position of the x,y start point.

    Battle Bunny Battle Bunny August 2012 Sinclair Basic
<1…45678910…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
calculate 1.1K 1.4K
pixel 5.1K 8.3K
position 5.8K 7.8K
from 169.9K 237.3K
x 14K 31.7K
y 6.2K 15.7K

Related Threads

  • 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 …
  • 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?<br /> <br …
  • Spectaculator 5.x/6.x And Multiface 3Hi there, anyone had any trouble with this at all? The instructions say that it will auto-switch between a Multiface 128 and a Multiface 3 when choos…
  • Convert x,y to Attribute Address in AssemblyWhat is the fastest way, given x,y (in hl) to return the attribute address?
  • X-10 or X-20 schematics wantedDoes anyone have schematics for the Sinclair X-10 or X-20 amplifiers ?<br /> <br /> These amp-kits were sold back in 1964/65, and when I read about t…
  • Invaders from planext X (missing something?)[URL="http://www.worldofspectrum.org/infoseekid.cgi?id=0006489&amp;loadpics=3"]Invaders From Planet X[/URL]<br /> <br /> P.I.E. System upper right ..…
  • Searching for the artistes from The Power House / H.E.X.Hello, my name is Caroline Bren, and this is my first post. Recently, I put out an audio record which some of you may have heard of, under the Feedin…
  • DRAW x,y,a Algorithm - how does the ROM do it?Hi all, <br /> <br /> 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.…
  • Boxed ZX Spectrum + with 2 x ZX microdrives, Alphacom32 printer with 3 x thermal rollHi people.<br /> <br /> I found a bargain at a carboot on Sunday from somebody who didn't know what he was selling. (Im no expert by a long shot)<br …

Related Searches

  • lowest memory position for machine code
  • lowest memory position machine code
  • y first project
  • boy from space
  • from bedrooms to billions
  • get font from game
  • x files
  • loading 48k games from disk
  • x y z
  • x y
  • attr y x
  • screen address to x and y
  • screen x y r tape
  • screen x y
  • 2000 let atr attr y x tinta 8 int papel 63 return
  • draw x y a algorithm
  • calculate pixel position from row
  • draw x y z
  • pixel mask x
  • x y to screen position

Copyright © 2024 World of Spectrum