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.082s
<1…3456789…34>
  • 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…

    Rob, in addition to this from earlier today.

    [QUOTE= ... />
    ld a,(hl) ; a = x byte (e.g. if xpos ... now has proper address for x,y position
    [/code]

    You ...
    Dr BEEP Dr BEEP September 2006 Development
  • Font centering problemA while back today, I started coding a simple Othello/Reversi game in BASIC, with the precious aid of BASin (great tool, hope it eventually becomes b…

    ... only other way to get pixel perfect alignment is via machine ... x,y;FLASH 1;" ";FLASH 0 command, where x,y denote the currently selected position ...
    Arjun Arjun October 2006 Development
  • 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..…

    ... it doesn`t effect the position of the aliens. Anyway, I ... PEEK the attribute, subtract it from 127, and POKE it back ... screen are POKED there directly from the memory location (PEEK and ... can be easily calculated directly x,y cursor coordinates by adding them ...
    48K 48K February 2007 Development
  • TommyGun 0.9.x updates** Should be available via the utilities page soon! Please be patient :-) ** I'll be posting all future updates in this thread, instead of creating …

    ... could investigate the 4:3 pixel ratio effects on the rotate ... values from the pixels for a palette.
    Some palettes use pixel ... colour is encoded in the pixel value.
    Remember TommyGun ... scale some palettes in the x/y directions its under the settings ...
    Kiwi Kiwi February 2007 Development
  • Reason for strange display layout?I have always wondered if there is any technical reason behind the strange layout of the display file or why did Sinclair choose to do it this way?

    ... still have to add the X position (0-31) [I]every time ... "playing field" from buffer where are no movements in X necessary. Example ... you need to move in X, just look at the second ... address from X and Y. So, don't need to bother about X position in ...
    omega omega May 2007 Development
  • Game Programming Source Code & Startup HelpHi there, I'm planning on porting an existing commercial title to the speccy. I'm in the process of disassembling the original code and commenting i…

    ... br /> - Test what step in X-axis you need for sprites ... move sprite by 1 pixel at 25 fps, it ... you'd use 2-pixel step in x-axis, thus you ... POP instruction to fetch graphics from memory:
    [code]
    ...
    - if you need to calculate, think what can be pre ...
    omega omega 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…

    ... /> call sprite_undraw ; rub out sprite from last pos
    call sprite_draw ... them in the order of y position. The last sprite to be ... number changes but not its (x,y) position, you may be able to ...
    BloodBaz BloodBaz May 2007 Development
  • Preferred way of determining Y co-ord in assembly?I know of 2 ways of calculating the y-cord of a pixel row for the speccy in assembly. One is to calculate the address by ways of shifting and masking…

    ... a pixel row for the speccy in assembly. One is to calculate ... the address by ways of shifting and masking the X & Y ... suppose that holds the Y address of each pixel row.

    y co-ord of a pixel row efficiently? It ...
    Metalbrain Metalbrain July 2007 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…

    ... night, I typed the above from scratch again.

    ... p(n), rather than x(n),y(n), saving further space ... have maintained variables for ghost X and Y movement directions, and they ... /> y
    z

    c$=map [C]haracter under current position ...
    Digital Prawn Digital Prawn July 2007 Development
  • Project: M.u.l.e.Wokani came up with a great idea about trying an open-development approach for spectrum games, and I thought why not try with a game I have under dev…

    ... a bunch of numbers from group A then hop ... never printed at certain (x,y) coordinates and you can ... wave in the random (x,y) coordinates selected for the ... it is now, results from u_binomial() are quite skewed. ... [B]
    #1 Redo pixel scroller to act directly on ...
    Alcoholics Anonymous Alcoholics Anonymous July 2007 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…

    ... /> 1 DIM a(5): READ x,y,m,p,d,s:
    k$=INKEY$: LET x=x+(k$="p")*(x1): LET y=y+(k$="
    a ... above also saves one extra position using 2e3 instead of 2000 ... down in value (For example from three digits to two digits ...
    Digital Prawn Digital Prawn August 2007 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…

    ... keep updating the current biscuit position this way.
    ... the opposite way round from your earlier suggestion for ... ), erase the last position even if it didn ... dimensional variables instead of X,Y? I doubt this idea ... best when printing at Y,X coordinates can be ...
    Digital Prawn Digital Prawn September 2007 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…

    ... of working with a pair X,Y, and you will never ... to clearly indicate the chosen position before reprinting the entire board ... the most "strategically important" position available, regardless of the current ... move at an empty position t(z) from player p (either ...
    Einar Saukas Einar Saukas September 2007 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
    ... player tokens.
    x
    y
    z the position of the potential ... needed to test diagonal direction from corner square = 91 squares ... 'f'. Step back from the current check position in 'w', one ...
    Digital Prawn Digital Prawn September 2007 Development
  • Packing numbers in as least memory as possibleI am writing some code for drawing vector lines etc. on the screen. These need to be stored in memory and I want to pack them in a smaller area as po…

    ... 16 unique values in both X & Y you could use 4 ... />
    So for a square from (5, 5) to (25, 100 ... used values. You have to calculate what will be the shortest ...
    Dr BEEP Dr BEEP March 2008 Development
  • Disappearing/appearing effectI remember doing a small routine in BASIC which could be used to cover the attributes section randomly, until all 704 characters were filled with the…

    ... to be to do a pixel version of this routine?
    position;
    5 bits for the x char position; and
    ~8 bits for the y pixel position.
    BloodBaz BloodBaz March 2008 Sinclair Basic
  • Manic miner remake....Hi all. I just started a Manic Miner remake using Python + Pygame. The aim is to be as pixel perfect as possible (except perhaps I won't have colour…

    ... know the full list of x/y offsets for Miner Willy's ... representation rather than trying to pixel position the sprite.

    The ...
    AndyC AndyC May 2008 Games
  • Bresenham's line algorithmHelp - I really am struggling to get my head around this algorithm. I don't know why, I coped with Cordic (SIN/COS) and integer divide routines (/10 …

    ... ]

    for all 8 pixel position
    i dont know if ... routine takes perhaps 50T per pixel and it is possible due ... . BASICs CIRCLE is just DRAW x, y, arc command with specific parameters ...
    Fikee Fikee September 2008 Development
  • Filmation... how does it work?Does anyone know exactly how Ultimate's Filamtion works? There's an explantion of the room layout and graphics at [url]http://retrospec.sgn.net/users…

    ... box that covers the current position of
    the object ...
    buffer) in order from the back of the room ...
    Copy the box area from the small buffer to the ... linked an object I moved from the back of the ... )
    on either the X, Y or Z planes and linking ...
    DanSolo DanSolo September 2008 Games
  • what were the things the Speccy architecture was good for?I don't know a hell of a lot about all the different computers hardware and I wanted to know if the way the Spectrum was built lent itself to certain…

    ... will be generated with different position, you get paralax. so CPU ... character basis rather than on pixel basis. Which is cheaper on ... /> -6502 has three registers A,X,Y
    -Z80 has two banks ...
    Fikee Fikee November 2008 Sinclair Miscellaneous
  • A scrolling starfield - help needed!I have been messing on my speccy again recently and tried to do a scrolling (parallax - maybe) starfield. I know how to scroll using machine code but…

    ... them in reverse order
    ; from bottom of screen upwards
    X,Y on the screen.
    ; y co-ordinate in ... in a
    AND %00000111 ; calculate y mod 8
    ADD A ...
    Digital Prawn Digital Prawn December 2008 Development
  • A scrolling starfield - help needed!I have been messing on my speccy again recently and tried to do a scrolling (parallax - maybe) starfield. I know how to scroll using machine code but…

    ...
    LD HL,STARPOS_X ; store X position of star
    ADD HL ...
    LD HL,STARPOS_Y ; store Y position of star
    ADD HL ... ) ; Increment every star by 1 position

    LD A ... in a
    AND %00000111 ; calculate y mod 8
    ADD A ...
    Digital Prawn Digital Prawn December 2008 Development
  • A scrolling starfield - help needed!I have been messing on my speccy again recently and tried to do a scrolling (parallax - maybe) starfield. I know how to scroll using machine code but…

    ...
    LD HL,STARPOS_X ; store X position of star
    ADD HL ...
    LD HL,STARPOS_Y ; store Y position of star
    ADD HL ... ) ; Decrement every star by 1 position

    LD A ... in a
    AND %00000111 ; calculate y mod 8
    ADD A ...
    Digital Prawn Digital Prawn December 2008 Development
  • Introduce yourself[SIZE=3][FONT=Comic Sans MS]This is the thread to stop by & introduce yourself.[/FONT][/SIZE]

    ... the geometry information into discrete pixel information (X, Y, Z, U, V, ... Information of the triangle going from the top, left to right ... colour for pixel based on loaded a texture from cache or ... -

    The resultant pixel data was then passed through ...
    Parky Parky April 2009 Chit chat
  • Best way to store vector images in Sinclair BASIC?Let's forget for a moment that Sinclair BASIC is slow. If I have a picture made entirely of vector images, what would be the best way to store that d…

    ... of data can be stored from 57343 upwards.

    X, Y follow)
    2=[B]DRAW +X +Y [/B](two parameters: X, Y follow ... commands which you can call from different starting points etc.. ... move the cursor position relative to its current position. [B]DRAWABS ...
    BloodBaz BloodBaz May 2009 Sinclair Basic
  • PitPatI am coding the digital version of PIT-PAT [IMG]http://www.berg-en-dal.be/images/thumb/pitpat_spelen_2_kleur.jpg[/IMG] In fact it is golf on a tabl…

    ... (don't need an 8 pixel border for the cue to ... .
    2 bytes: PLOT position of start of draw.
    X/Y and read new Y or X the next byte ... you can change the PLOT-position with a value 0, ... by two a two bytes position. Everything starts as above.< ...
    Dr BEEP Dr BEEP September 2009 New game ideas
  • POKING graphicsI remember using binary code (in BASIC) to POKE graphics (thanks Input magazine!) Using a FOR..NEXT loop you would POKE each square in the 8X8 charac…

    ... says 'the Square at position 12 across 3 down ... 12 into the appropriate pixel X, Y values for you and ... print the text to any pixel position you wanted to.
    position on screen where the ... the screen with single pixel rather than "character" ...
    Turkwel Turkwel November 2009 Games
  • Dim commandI try o find a BASIC COMPILER for ZX SPECTRUM 128 that use DIM command with two or more letter as 10 DIM AB(10) instead of 10 DIM A(10) Any iforma…

    ... do people feel is missing from Sinclair BASIC?[/QUOTE]
    I ... , with syntax LET n= WCHOICE x,y,z, a$,b$,c$, etc ... a window on screen at position x,y and size depending on number ...
    roko roko December 2009 Sinclair Basic
  • Dim commandI try o find a BASIC COMPILER for ZX SPECTRUM 128 that use DIM command with two or more letter as 10 DIM AB(10) instead of 10 DIM A(10) Any iforma…

    ... , with syntax LET n= WCHOICE x,y,z, a$,b$,c$, etc ... a window on screen at position x,y and size depending on number ... /> [code]
    DEF FN w(x,y,a$)=USR 32768
    [/code ... involved in passing this information from the function to machine code ...
    chev chev December 2009 Sinclair Basic
  • 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 …

    ... were broken down into 16x16 pixel blocks
    - duplicate blocks ... cutting out the extras, culled from your DDForever sheets actually, ... map (eg: what are the x,y coordinates of the enemies on ... generate all this data himself from scratch.. Perhaps we could ...
    kgmcneil kgmcneil January 2010 Development
<1…3456789…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