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.075s
<1234567…34>
  • PLOTTER - display file utilityI've been disassembling Gyron and needed something to help with working out where things were being put on the screen, so I wrote this program. I was…

    ... c coordinates
    P = point x,y coordinates
    H = hexadecimal values ... extended to the
    rightmost pixel of that byte.
    [/ ...
    As can be seen from the instructions, it addresses the ... />
    It always draws from top left to bottom right ...
    Battle Bunny Battle Bunny August 2014 Development
  • z80 assembly helpEver since I was a child I wanted to program my zx81 then my zx spectrum + 2. However, it was such a mystical beast and I only ever used BASIC not kn…

    ... up our x/y coords.
    ld hl,xcoord ; vertical position.
    from ld x, (xcoord)?
    ... defb 0 - initial starting position. of x - if we have ... ycoord defb 15 - initial starting position of y

    The ...
    antonyjones101 antonyjones101 September 2015 Development
  • Help With AY Music Program in BASICHi, last year I started writing a BASIC program for making and recording AY Music. I thought it would be easier than learning how to use Soundtracker…

    ... /> 172 READ y
    174 POKE USR "p"+x,y: REM Play Symbol ... /> 182 READ y
    184 POKE USR "q"+x,y: REM Pause Symbol ... /> 192 READ y
    194 POKE USR "r"+x,y: REM Stop Symbol ... READ y
    204 POKE USR "s"+x,y
    206 NEXT x
    RetroPhase2014 RetroPhase2014 December 2015 Sinclair Basic
  • A sped up pixel-shift routine for 1-byte–wide spritesHere’s an optimized (for speed) real-time sprite shifting routine for sprites that are one byte wide. It uses no memory variables for storage of inte…

    ... address and A holding the pixel position (the usual deal).
    position (0-7) within cell ... ex af,af' ;restore pixel position (number of shifts) into ... B with sprite data from A
    ex de ... sub 8 ;subtract 8 from it
    ld h, ...
    Ast_A_Moore Ast_A_Moore February 2017 Development
  • A game from an other machine.if someone interesting, this is a game I created in 1989. this is the basic source, maybe somebody can convert to specy. An image: http://www.ep128.…

    ... LET X$(X,Y)=A$(Y)
    660 IF X$(X,Y)=" " THEN 760
    670 IF X$(X,Y ... X,Y:"š":LET X$(X,Y)=" ":LET A=X:LET S=Y:GOTO 760
    680 IF X$(X,Y ... IF X$(X, endi endi June 2017 Sinclair Basic
  • Printing text, part MMXIIXI'm pretty sure there's been a zillion threads about this already, and I don't think it's the first one by myself either, but here goes. Proportiona…

    ... ),#((_propfont_data - 0x0100))
    ; Multiply input y by 8
    ld a ... (ix),#0x08

    ; calculate destination offset (from lookup table)
    ld ... width
    fastwidthloop:
    ; Rotate pixel through carry to output byte ...
    Sol_HSA Sol_HSA December 2018 Development
  • ZEsarUX 8.1 stableHi! I've uploaded a new ZEsarUX 8.1 stable version. Go to the github released webpage to download it: https://github.com/chernandezba/zesaru…

    ... support: can be converted from file selector menu pressing space ... -snapshot: get a ZSF snapshot from ZRCP
    -print-footer: ... less cpu
    -added scroll x,y on ula layer
    -added ... located at the most right position
    -cpu transaction log: ...
    chernandezba chernandezba February 2020 Emulators
  • why am i getting b integer out of range in this code?ive tried running this in spin but thats what i get [code]main org 40000; ; We want a black screen. ld a,71 ; white ink (7) on black paper (0…

    ... /> dec (hl) ; subtract 1 from y coordinate.
    ret
    ; ... /> dec (hl) ; subtract 1 from x coordinate.
    ret
    ; ... the x and y coordinates for the player's gunbase position,
    from location.
    inc hl ; ...
    digital digital June 2020 Assembler
  • this code wont give me a random starfieldim using a peice of code that ive copied from a book, ignore most of it as it is redundant. for some reason i get a strange random starfield instead …

    ... /> dec (hl) ; subtract 1 from y coordinate.
    ret
    ; ... /> dec (hl) ; subtract 1 from x coordinate.
    ret
    ; ... the x and y coordinates for the player's gunbase position,
    from location.
    inc hl ; ...
    digital digital July 2020 Assembler
  • line routineWondered if anyone can help me out. I have been programming a 3d graphics library for the spectrum, in Machine code. The line routine that I have i…

    ... br /> ;
    ; Draw a pixel line from (x0,y0) defined (H,L ... />
    ; ******************************************************************
    ; Plot pixel at (x,y) coordinate.
    ; The (0,0 ...
    rtunes rtunes October 2001 Sinclair Miscellaneous
  • Bloody Jet Set WillyThis game suffers from the same problem that many others from that time do: it's too damn hard? Anyone got any pokes that will make the game easier, …

    The position of Willy is important because his x,y coordinates are carried ... jump to. If the x,y coordinates just happen to be ... from moving (he's surrounded by impassable objects). Conversely if the x,y ... limit! Willy can also fall from "thin-air" in one room ...
    choccy48K choccy48K May 2002 Games
  • Anyone got a copy of 'Z80 for primates'?This Z80 lark isnt easy, in fact it makes me feel very much like Washoe the chimp trying to learn learn sign language, I just dont think I've got the…

    ... your assembler where to calculate jumps and whatnot from. In other words ... routine rather than simply do X,Y,Z to get a tone ...
    cyborg cyborg November 2002 Sinclair Miscellaneous
  • AMX MouseDoes anybody knows how the AMX-mouse works? Is it like a mouse for the Atari ST/Amiga? And if so which IN-port uses the software Which programs can …

    ... /> IM2 vector when an X movement of one
    ... on another vector when a Y movement
    is made. ... the
    mouse's "position" from these deltas.
    The ... You can see
    more from the code above.
    ... the
    absolute X and Y positions of the mouse ...
    Alcoholics Anonymous Alcoholics Anonymous May 2003 Sinclair Miscellaneous
  • Text compressionI'm sure I remember seeing a short machine code routine published in a (very random) multi-machine listings magazine way back in the mists of time, w…

    ... the actual character is (+ 1 pixel of space)

    Could ... />
    Then to render at pixel x,y you'd need to do ... on the lookup table and pixel position then OR it into the ...
    Jon Needle Jon Needle October 2003 Games
  • need help with speed optimization. this procedure draws a sprite with mask from memory onto the screen with x-coordinate in pixels. it doesn't shift sprites in realtime, it just uses …

    ... bytes as follows: 3 x 16 x 2 x 8.
    The sprite ... xcoord. AND 7 to find pixel position and multiply by 96. Then ... so you can draw it from left to right, then right ...
    dmsmith dmsmith August 2004 Development
  • Zecut0r and ZAFA while ago (about 2 yrs)i took VbSpec and tried to port it to Delphi 6. Althought it was pretty weak, it. Meanwhile DelphiSpec 0.1 appeared and i wa…

    ... paper
    ;"resets paper colour from var j"

    ?k ...
    ;"resets the ink colour from var k"

    0 ... /> 6 add
    ;"find print position y"

    dup
    ;"make ... /> ;"we now have an y and x print position on the stack"
    Steve(spt) Steve(spt) October 2004 Emulators
  • Pixel LimitIF Y3&lt;192 THEN : LET x2=INT (128+X*A*SIN A): LET y2=INT (Y3): DRAW INK

    ... have to be anchored to pixel 0,0? If not, how ... ?

    DRAW will continue from the last PLOTted point, which ... no previous point. Adding PLOT x,y before each call will ensure ... the lines are drawn starting from point x,y.
    monty.mole monty.mole November 2004 Sinclair Basic
  • New Compo IdeaI've had this idea and would like to know what do you think about it. I think that most of us here know how to code in BASIC. The problem with Specc…

    ... and 0).

    * LOADing from tape
    -------------------

    To ... to appear when loading blocks from tape (so they don't ... /> 20 PRINT AT Y,X;"*": LET OY=Y: LET OX=X
    30 PAUSE ... a mode change made normally from the keyboard. So if you ...
    na_th_an na_th_an April 2005 Development
  • Trig questionI'm trying to write a function that describes a 2D circle in 3D space - that's not important, just a bit of background! I've almost done it, but the…

    ... to calculate the plane, where that plane intersects with the X/Y/ ... in each of the x/y/z axes the plane ... function for each of X,Y and Z coords that ... to calculate the starting angle that I can work from when ... three formulae are known, apart from A, so I'm ...
    NickH NickH June 2005 Sinclair Miscellaneous
  • Trig questionI'm trying to write a function that describes a 2D circle in 3D space - that's not important, just a bit of background! I've almost done it, but the…

    ... 2D circle around (0,0) ( x = RcosA, y = RsinA, z=0 ), then ... the X, Y and Z = 0 axes), then a final translation from (0 ... along X/Y/Z == 0 that the plane slopes in, I can calculate ...
    NickH NickH June 2005 Sinclair Miscellaneous
  • sprite making in +3 BASIC?Any sprite tutorial I come across is far too complicated! Can someone help me? For instance, how do you create a person-shaped animated sprite which …

    ... the 1x2 character sprite into position on the 2x2 character positions ... to walk across 8 pixels from 1 chr square into another ... positions and multiply x 8.
    For the X position add 2 * ... frame num.
    You now have the pixel position ...
    Kiwi Kiwi September 2005 Development
  • z88dk + splib2: another question (sprite instancing)I'm making some tests with z88dk+splib2, with the idea of creating a game sometime in the future, and I have come across a problem. Let's suppose I …

    ... sprite 1 drawn at coordinate (X,Y), and also at (X2,Y2 ... sp_CS and sp_SS structs contain position and rotation information that can ... tile sprites from off-screen and move it to the position of ...
    Alcoholics Anonymous Alcoholics Anonymous October 2005 Development
  • Code sheetsI sure most speccy owners spent an hour or so copying the code sheet to jet set willy at the back of the classroom, but did anyone ever copy the shee…

    ... selection to choose from (or use some algorythm to calculate what a ... code should be based on the x,y postion ...
    Neil^P Neil^P March 2006 Games
  • Code sheetsI sure most speccy owners spent an hour or so copying the code sheet to jet set willy at the back of the classroom, but did anyone ever copy the shee…

    ... selection to choose from (or use some algorythm to calculate what a ... code should be based on the x,y postion ... anyway) asks for a word from the novella, chances are it ...
    robert@fm robert@fm March 2006 Games
  • Timex 80 column display driverI subsequently wrote an 80 column font driver for 512x192 mode.

    ... display file address (corresponds to x,y below)

    .nextstate ... /> ; now compute display file address from (xcoord, ycoord) vars
    ; ... okay

    ; went from odd -> even column so ... to update the row,col position AFTER the char is ...
    Alcoholics Anonymous Alcoholics Anonymous March 2006 Development
  • how to pass arguments from Basic to MC ?can someone explain me (or give some link) how to pass arguments from basic to machine code? i mean something like this: PRINT USR xxxxx, arg1, arg2:…

    ... to find the image address from a look up table...
    Y POSITION
    20 poke 30001, 20: REM X POSITION
    30 ... code routine passing in the x,y position the size of the image ...
    Kiwi Kiwi April 2006 Development
  • Alien8 style 3D Tiles - TheoryHello, Are there any articles etc explaining how to do 3d style tiles, i.e. when to redraw those in front etc. I would guess you would need to work…

    ... ) you find the lowest item from either list and draw and ... you HoH editor picture.
    From what is available in KnightLore ... move, move in either the x/y plane at the same level ... be on a different grid position ie. 1 complete block height ...
    Kiwi Kiwi August 2006 Development
  • CLEAR does not RESTORE the DATA pointer??According to the Spectrum manual, one of the things that a CLEAR command does RESTORE the DATA pointer. Either it doesn't actually do this, or some…

    ... is loaded it runs itself from the beginning" - not accepted.
    Geoff Geoff September 2006 Sinclair Basic
  • Pixel Explosion CodeJust a little snippet to cause explosive effects. It uses table lookups for the screen address, and can handle up to 32 pixel particles. A particle…

    ... for x,y position
    ; Tell PASMO to run from 32768< ... ld d,h ; set hibyte from graphics
    inc h ; ... for x,y position
    ; Tell PASMO to run from 32768< ...
    Dr BEEP Dr BEEP September 2006 Development
<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
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