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.026s
<1…45678910…34>
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... pressed
    ; #FE - SHIFT, Z, X, C, & V
    ; ... bit 0, a
    ret z
    ; are we pressing ... br /> ret

    ; draw column aligned sprite, arbitrary row ... ret

    ; draw an 8x8 sprite arbitrary x, y position
    ; hl ...
    Paradigm Shifter Paradigm Shifter June 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... pressed
    ; #FE - SHIFT, Z, X, C, & V
    ; ... bit 0, a
    ret z
    ; are we pressing ... br /> ret

    ; draw column aligned sprite, arbitrary row ... ret

    ; draw an 8x8 sprite arbitrary x, y position
    ; hl ...
    Paradigm Shifter Paradigm Shifter June 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ...
    ; b = pixel y-coord
    ; c = pixel x-coord/8
    ; b = pixel y-coord
    ; c = pixel x-coord/8
    ret

    ; draw an 8x8 sprite arbitrary x, y position
    ; hl ... br /> ; b = pixel y-coord
    ; c = pixel x-coord/8
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ...
    ; b = pixel y-coord
    ; c = pixel x-coord/8
    ; b = pixel y-coord
    ; c = pixel x-coord/8
    ret

    ; draw an 8x8 sprite arbitrary x, y position
    ; hl ... br /> ; b = pixel y-coord
    ; c = pixel x-coord/8
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ...
    ; b = pixel y-coord
    ; c = pixel x-coord/8
    ; b = pixel y-coord
    ; c = pixel x-coord/8
    ret

    ; draw an 8x8 sprite arbitrary x, y position
    ; hl ... range 0-23 for both x and y)
    [/code]

    Paradigm Shifter Paradigm Shifter July 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ...
    ; b = pixel y-coord
    ; c = pixel x-coord/8
    ; b = pixel y-coord
    ; c = pixel x-coord/8
    ret

    ; draw an 8x8 sprite arbitrary x, y position
    ; hl ... range 0-23 for both x and y)
    [/code]

    Paradigm Shifter Paradigm Shifter July 2022 Development
  • ArtistryIn my younger days (and to a certain extent, now) I was always intrigued about how the loading screens were constructed. Back then I'd assumed it was…

    ... a lot of PLOT and DRAW statements. Not being an expert ... on PLOT and DRAW in those days, and even ... slightly hard to use Super Draw program from Sinclair Programs all ... />
    PAINT x,y,c1,c2

    ...where x and y are coordinates ...
    The Mighty Dopethrone The Mighty Dopethrone August 2003 Games
  • Machine Code Sprites Example Code Using Char Based SystemBelow is my WIP code to do smooth screen wrapping sprites using char positions and offsets, as opposed to writing direct to a line (0-191) and shifti…

    ... 0
    RET Z ; Leave right/left ... CP 0
    JR Z,ps1
    RRA ; ... CP 0
    RET Z

    ; ... bs1:

    ; Get x,y
    LD A,(IX+1 ...
    robpearmain robpearmain August 2004 Development
  • IM2 Machine Code Sprites Example Code Using Char Based SystemFurther to my earlier post, here are sprites running using char method with IM2 driving it Note, for 48k spectrum using TASM [code] ; ***********…

    ... 0
    RET Z ; Leave right/left ... CP 0
    JR Z,ps1
    RRA ; ... CP 0
    RET Z

    ; ... bs1:

    ; Get x,y
    LD A,(IX+1 ...
    robpearmain robpearmain August 2004 Development
  • New Functions for Sinclair BasicA total of 52 new functions can be added to Sinclair BASIC; 26 numeric functions (A-Z) and 26 string functions (A$-Z$). Owing to the internal structu…

    ... BASIC; 26 numeric functions (A-Z) and 26 string functions ( ... A$-Z$). Owing to the internal ... FN A(x,y)=(128 AND INT (x/128)+INT (y/128)=2 ... INT (FN V(FN V(x,128),64)/32)+INT ( ... FN V(FN V(y,128),64)/32)=2)+(16 ... V(FN V(FN V(x,128),64),32)/16)+ ...
    chev chev November 2004 Sinclair Basic
  • Help needed with drawing masked spriteI need to draw a small sprite (16 bytes) on to the screen using a mask. Its the only sprite that will be used so speed isn't too important. I was goi…

    I need to draw a small sprite (16 bytes) ... on the sprite x,y). I would then draw the sprite to the ... sprites x,y had moved to a different screen address then draw the ...
    Mr Millside Mr Millside November 2004 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 …

    ... create 6 different tiles and draw the whole screen with them ... sprite 1 drawn at coordinate (X,Y), and also at (X2,Y2 ...
    utopian utopian October 2005 Development
  • Amazing Short Type-InsHey all ! Been having some pretty stressfull days lately so I tought I would type in some games. There was a very nice type-in book here in Slovenia…

    ... : CLS
    40 LET x=10: LET y=19: LET a$=""
    70 LET z$=INKEY$: IF z$>"4" AND ...
    Tom-Cat Tom-Cat March 2006 Games
  • Problem with rotating procedureHi folks! I wrote a proc in z80 asm, based on: x' = x * cos (z) - y * sin (z) y' = x * sin (z) + y * cos (z) I used a precalculated table of sin a…

    ... /> x' = x * cos (z) - y * sin (z)
    y' = x * sin (z) + y * cos (z)
    x*cos(z)-y*sin(z)
    ;----------------------------------------------------------------------------< ... de ;yr=y*sin(z)+y*cos(z)
    ...
    xor xor July 2006 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…

    ... 2 ways of calculating the y-cord of a pixel row ... of shifting and masking the X & Y co-ords into the ... I suppose that holds the Y address of each pixel row ... other ways of determining the y co-ord of a pixel ...
    Arjun Arjun July 2007 Development
  • 4x4 matrix QI have a 4x4 matrix used for rotating a 3D object to rotate to face any point in one simple step, and looks something like: [code] a b c 0 e f g 0 h…

    ... />
    This rotates in X, Y and Z simultaneously (no translation in these ... how to extract just the Y-rotation angle out of that ...
    NickH NickH November 2007 Chit chat
  • 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…

    ... who would be willing to draw a new set of tiles ... know the full list of x/y offsets for Miner Willy's ...
    heng-di heng-di May 2008 Games
  • Bresenhams circle algorithmI post here my final circle code to replace, if you want, the one in the ROM. It only uses integer math and runs very fast and is very compact. It is…

    ... every pixel (x,y) it calculates

    ;we draw a pixel in ... />


    ;Assume x^2+y^2=r^2 represents the ... /> ld l,b ;L is y


    Loop: < ...

    inc h ;H é x



    ...
    rtunes rtunes September 2008 Development
  • Xor-shift random number generator for Z80[QUOTE=Patrik Rak;320244]Come on, people, [URL="http://www.jstatsoft.org/v08/i14/paper"]xor-shift generators[/URL] devised by Marsaglia, that's the w…

    ...
    ld a,h ; t = x ^ (x > 1)
    xor e ...
    Patrik Rak Patrik Rak December 2008 Development
  • reading Hex[code]1 DIM a$(20,20) 2 DIM g$(16) 3 LET g$="\::\ \' \ '\ .\. \.:\:.\:'\':\''\..\: \ :\'.\.'" 4 BORDER 4 20 LET a$(1)="00000000000000000000" 21 LET …

    ... (test only)
    101 FOR x=1 TO 2
    102 ... x,y;g$(VAL (a$(x,y)+1))
    104 NEXT y
    105 NEXT x ... prog I'm trying to draw a game map using the ...
    chop983 chop983 December 2008 Sinclair Basic
  • 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…

    ... matrix of A (x,y,a,b), where [I]x[/I] and [I ... ]y[/I] would be the ... ] would be the parameters for DRAW. Since PLOT is only necessary ... ]x[/I] was, for example, 256, the routine would skip PLOT, DRAW ...
    zxbruno zxbruno May 2009 Sinclair Basic
  • 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 …

    ... ]plot x,y[/B]. But what is the routine to handle a DRAW ...
    arfgh arfgh June 2010 Sinclair Basic
  • WTF stupid machine10 LET X = 28672 or 61440 depending on how much memory you have 20 LET A$ = ?? 30 IF A$ = ?? THEN INPUT A$ 40 LET Y = CODE A$ ? 48:IF Y>9 THEN LET Y …

    10 LET X = 28672 or 61440 depending on ... ;9 THEN LET Y = Y ? 7
    50 LET Z = CODE A$(2 ... LET Z = Z ? 7
    60 POKE X,16*Y + Z
    70 LET X = X + 1 ... GO TO 30

    x is out of range
    X is out of range my ...
    Robin Robin September 2010 Sinclair Basic
  • Best way to organise a multi screen game?Hi All, Does anybody know ay good ways to organise large multi screen game? Or any links to useful texts on the matter? In my previous single scr…

    ... ), cp 1, jp z,printscr1,cp 2, jp z....and so on ... an ix lookup table with x,y coords for each whole screen ...
    R-Tape R-Tape April 2011 Development
  • 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…

    ... was:

    -When x and y are initially set, x1 is ... equal to x and y1 to y ...
    -If x or y change [I ... what was expected (set c(x,y) to 1 if 0 and ... routine would sometimes fail to draw a pixel in the big ...
    zxbruno zxbruno June 2011 Sinclair Basic
  • New SpecBAS available - v0.710Been a while, but I've just uploaded the latest build of SpecBAS. This one now supports tilemaps (with rotation and scaling) and added OVER mode (XO…

    ... reset.
    Fixed bug in DRAW with only one distance parameter ... /> Added WINDOW PUT GRAPHIC ,winid,x,y support
    Added GRAPHIC SCROLL ...
    Dunny Dunny November 2011 Sinclair Miscellaneous
  • Problem with a small basic routineDear all; I have been messing about with a routine (originally published in Your Computer 1982, by Tim Langdell). The idea of the program is to simul…

    ... BORDER 1
    20 FOR X=-100 TO 100
    30 ... (SQR((10*4) ? X*X)/R)
    50 FOR Y=V TO ?V ... STEP ?R
    60 LET Z=INT ... (80+30*SIN((SQR(X*X+Y*Y))/12)-7*Y)
    70 IF Z
    Meurglys68 Meurglys68 November 2011 Sinclair Basic
  • yeah x 0.0.2first: [URL="http://www.yeah-unix.org/downloads/yeah_0.0.2.tar.gz"]the goods are at - http://www.yeah-unix.org/downloads/yeah_0.0.2.tar.gz[/URL] aft…

    ... with sdcc.

    yeah x 0.0.2 tue may ... /> - mouse device driver (just provide x,y and mouse buttons on read ...
    tstih tstih May 2012 Development
  • 40 Column Printing RoutineI've written a 40 column printing routine, which I'd like to share... It's my first piece of 'public' code so go easy on me! I don't think it is a…

    ... cp 22
    jr z,foundat ; recognises some control ... at, (followed by x,y coords as next two ... cp 13
    jr z,foundcr ; recognises some control ... or a
    ret z
    ld b,a ...
    uglifruit uglifruit August 2012 Development
  • BIFROST* Advanced Programming - part 6The purpose of this demo is somewhat different from previous ones. Instead of teaching a new technique, the main goal here is to demonstrate how much…

    ... #define MIN(x, y) ((x) < (y) ? (x) : (y))
    #define MAX(x, y) ((x) > (y) ? (x) : (y))
    ... }
    } else {
    // draw player facing to the left ... /> }

    // draw enemy at new position
    Einar Saukas Einar Saukas September 2012 Development
<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
draw 5.6K 8.5K
x 14K 31.7K
y 6.2K 15.7K
z 4.6K 11.6K

Related Threads

  • 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.…
  • X*Y*Z - A community project?Five years ago I wrote a game called [B]W*H*B[/B] ([URL="http://www.worldofspectrum.org/infoseekid.cgi?id=0023478"]http://www.worldofspectrum.org/inf…
  • X=Y=ZFirst public outing of X=Y=Z for the 48K Spectrum, a 4-level demo which can be download from:<br /> <br /> [as TZX]<br /> [URL="http://www.bobs-stuff…
  • New Game : X=Y=ZFull version of X=Y=Z is now available from my site at:<br /> <br /> [URL="http://www.bobs-stuff.co.uk/extras/x=y=z.zip"]http://http://www.bobs-stuff…
  • Spectrum 4Ever : X=Y=ZIts Monday and its time for a new video.<br /> [youtube]U1iW5NhaLug[/youtube]
  • 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?
  • 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 …
  • 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…

Related Searches

  • y first project
  • x files
  • asm draw character
  • x uno
  • draw line
  • as a zx spectrum inter networking enthusiast y
  • fuse for mac os x
  • draw command
  • 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 x y
  • spectrum z x
  • z x v m
  • x y to screen position

Copyright © 2024 World of Spectrum