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.021s
<1234567…34>
  • Print routine for BASIC (or BASin)For anyone interested there's a crappy binary here to print characters from BASIC at pixel positions. Import the binary at 60000, USR 60000 to initia…

    ... stream, then PRINT #4; AT y,x; etc. Probably the odd bug ...
    Woody Woody October 2006 Sinclair Basic
  • 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 …

    ... 't cope with 16-bit X/Y values. I'm trying to ... (or at least 9-bit) X/Y values so I can support ... and then compares X and Y - swapping them if Y is larger.
    JR C,gfxdraw2 ;X/Y ok as they are so ... C,A ;swap HL (Y) and BC (X)

    gfxdraw2:< ...
    Jimmy Jimmy August 2008 Development
  • Computer & Video Games Book of Adventure, TheBelow is the spectrum listing from the "[URL="http://www.worldofspectrum.org/infoseekid.cgi?id=2000078"]Computer & Video Games Book of Adventure, The…

    Below is the spectrum listing from the "[URL="http://www.worldofspectrum.org/infoseekid.cgi?id=2000078"]Computer & Video Games Book of Adventure, The[/URL]" book.

    I've had to add line 2 as there was a GO SUB 2 in the rest of the listing & ...
    c1541 c1541 October 2008 MIA/STP/SDP
  • Goldfinch - an open software stack for mass storageYep, another pet project of mine to compete with all the others I've started. But hey, if I didn't get distracted by things like this I'd just get di…

    ... buffer[512];
    unsigned int x,y;
    BLOCK_DEVICE *device;

    y = 0; y < 256; y += 16) {
    for (x = 0; x < 16; x++) {
    printf("%02x ", buffer[y|x ...
    gasman gasman May 2009 Announcements
  • 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 …

    ... me to use PRINT AT x, y (not y,x like the regular AT ... such routine would limit x to 248 and y to 184 to ...
    zxbruno zxbruno January 2010 Sinclair Miscellaneous
  • Hi Res Print Routine neededHas anyone seen code for a print routine with pixel accuracy? That is print(y,x,CHAR) that allows 0 < y < 192 and 0 < x < 255 - that takes a charact…

    ... ?

    That is print(y,x,CHAR) that allows 0 < ... ; y < 192 and 0 < x < 255 ...
    Gedlion Gedlion May 2010 Development
  • Manipulating attributes...Hi Folks, I have written a routine that allows a blue bar to be scrolled up and down a list to select an item. Each item in the list occupies two l…

    ... AT 14+a,0;"ATTR Line ";a;"=";ATTR (a,1):
    ... NEXT a
    190 LET y=0 ... 200 LET ar1=ATTR (y,0):
    LET ar2=ATTR (y+1,0):
    PAUSE 1:
    PRINT AT y, ... TO 32):
    LET y=y+(2 AND k=10)+(-2 ...
    Paddy Coleman Paddy Coleman November 2010 Sinclair Basic
  • (part of) screen to UDGHere is a routine to copy a Y,X-position on screen to a UDG. 0<=y<=23 0<=x<=31 144<=udg<=165 (UDG "A" to UDG "U") [code] ; start code with ; PRINT …

    Here is a routine to copy a Y,X-position on screen to a UDG.
    0
    Dr BEEP Dr BEEP June 2011 Development
  • A z88dk + sp1 demo (with source)Since nowadays people are still wondering about how difficult it is to make something in z88dk, I thought I just put a very simple demo to show how e…

    ... for Sprites
    // format is y,x,w,h!
    struct sp1_Rect ... ()
    uchar x; // sprite x coordinate
    uchar y; // sprite x coordinate
    uchar ...
    Timmy Timmy January 2012 Development
  • Dimming the screen...Hi Folks, I was hoping someone on here could help me with a wee machine code routine. I have written the following example in BASIC: [CODE]100 REM…

    ... x=0 TO 31: PRINT AT y,x; PAPER RND*7;" ": NEXT x: NEXT y ...
    Paddy Coleman Paddy Coleman May 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))

    int ...
    Einar Saukas Einar Saukas September 2012 Development
  • Graph Plothi! please, help with code: [PHP]For x=-100 To 100 For y=-100 To 100 If (x/2-25)*(x/2-25)+(y-50)*(y-50)<200 Or (x/2+25)*(x/2+25)+(y-50)*(y-50)<200 th…

    hi! please, help with code:
    [PHP]For x=-100 To 100
    For y=-100 To 100
    If (x/2-25)*(x/2-25)+(y-50)*(y-50)
    g0blinish g0blinish November 2012 Development
  • Raising to the powerA curiosity of ZX Basic I found yesterday is that you can't do this: [code] 10 LET x=-3 20 LET y=x^2 [/code] While you can for example do LET y=-3^…

    ... ]
    10 LET x=-3
    20 LET y=x^2
    [/code ... can for example do LET y=-3^2 (which incidentally gives ... answer, it evaluates it as y=-(3^2) )

    Searching ... powers you can always do y=ABS(x)^2 because an even ...
    Winston Winston April 2013 Sinclair Basic
  • array offset (z88dk)Im trying to simulate a 2 dimensional array by using an offset [code] #include <fzx.h> char scr[768]; int arrayoffset(char x,char y) { return (x*…

    ... /> int arrayoffset(char x,char y)
    {
    return (x*23+y);
    }
    void main()
    {
    char x,y;
    fzx.font = ff_Swiss;
    slenkar slenkar December 2013 Development
  • Help needed with calculating screen addressesCan anyone help me finally crack Jonathan Cauldwell's screen addressing calculator and, more to the point, is the reason I'm struggling because this …

    ... is a typical y,x coordinate and the ... br />
    Y (ycoord) = 128
    X (xcoord) = 2< ... /> rlca ; divide y by 8 and multiply ... br /> ld a,(xcoord) ; x coordinate.
    rrca ; only ...
    Jagd Tiger Jagd Tiger April 2014 Development
  • Venting....!!Grrrrr! Am convinved I'm being scammed by a past customer through Paypal. Apologies for venting and randomly banging on , but needed to get it out …

    ... me a-n-g-r-y :x

    I've put ...
    Amfoot Amfoot May 2014 Chit chat
  • Chompston Mazes in SpecBASAfter the discussion in ASH-II's Pacman thread, I checked out the link there about generating 2D Pacman style mazes. This one was quite good fun, …

    ... ))*2):
    IF m(x,y)=1 THEN
    LOOP < ... /> ELSE
    LET m(x,y)=1,n=INT(RND*3 ... FN d:
    LET x$=x$+CHR$ x,y$=y$+CHR$ y:
    NEXT g: < ... LEN x$:
    LET x(f)=CODE x$(f),y(f)=CODE y$(f ...
    Dunny Dunny October 2015 Sinclair Basic
  • 'Mike's' moon lander in SpecBAShttps://youtu.be/1mjwLD6juB8 As modified and turned into a video by Dunny. I put my name in single quotes because it really is only thanks to Dunn…

    ... ,0,0,0:
    x=scrw/2, y=0, acc=0, thrust ... a$,0,x,y,16,32
    50 print move x,y; trans 7 ...
    print trans 7; move x,y+16;ink 10+(int(rnd ... ="; thrust
    60 old_x=x: old_y=y:
    x+=keyst key_right - keyst key_left ...
    mik3d3nch mik3d3nch September 2019 Sinclair Basic
  • SpecBAS 0.971 now available!https://drive.google.com/open?id=0B6gXsz43xir_eV9JbWhUZ1Rxc0k Fixes a few occasional crashes and sorts out a few bugs in the editor. Also allows …

    ... /> FOR x=0 TO 9;y=0 TO 19:
    NEXT y;x
    Dunny Dunny October 2019 Sinclair Basic
  • how do i set this code up, so i can print more than one line of text?well i got it working but how do i set this code up, so i can print more than one line of text? with a loop or something? not sure where to start on …

    ... , 1, 18, 0 ;at command, y, x,**,
    ;paper, **,ink, **, flash
    digital digital June 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…

    ... /> ; ******************************************************************
    ; Plot pixel at (x,y) coordinate.
    ; The (0,0 ... br /> ; in: BC = (y,x) coordinate of pixel

    x,y) coordinate.
    ;
    ; in: bc = (y,x) coordinate ...
    rtunes rtunes October 2001 Sinclair Miscellaneous
  • 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…

    ...
    ; // The y-values are increasing
    ... ******************************************************************
    ; Plot pixel at (x,y) coordinate.
    ; The (0,0 ... /> ; in: BC = (y,x) coordinate of pixel
    ...
    rtunes rtunes October 2001 Sinclair Miscellaneous
  • 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…

    ... /> ;IN: HL = (x0,y) - x0 range is 0 to ... 255, y range is 0 to ... .
    ; DE = (x1,y) - x1 range is 0 to ... br /> horz: ld b,l; y
    ld a,h
    y,x) coordinate of pixel
    ex ...
    rtunes rtunes November 2001 Sinclair Miscellaneous
  • Random Smiley FacesAs promised, here's the Syntax: ;Startup 5 CLS 7 PAPER 0: BORDER 0 ;Graphics 10 FOR n=0 to 7 20 READ row: POKE USR "P"+n,row 30 NEXT n 31 DATA BI…

    ... is also allowed so his X and Y-coordinate should be defined ...
    LET X = INT (RND * 32) and
    LET Y = INT (RND ... />
    LET X = INT (RND * 32)
    LET Y = INT (RND * 24 ... Y,X;"P"
    IF Y > 21 then PRINT #1;AT 22-Y,X ...
    Dr BEEP Dr BEEP January 2003 Sinclair Miscellaneous
  • Making a mapI should learn Z80 assembly, but I don't have the time (really busy) and I feel like making a game. I've tried with Colt which gives me enough speed…

    ... 7; INK 0;AT y-1,x;" !";AT y,x;"$%": RETURN
    9002 PRINT ... 7; INK 0;AT y-1,x;"""#";AT y,x;"&'": RETURN
    9003 ... 7; INK 0;AT y-1,x;"()";AT y,x;",-": RETURN
    9004 PRINT ... 7; INK 0;AT y-1,x;"*+";AT y,x;"./": RETURN
    ... (etcetera, 30 ...
    na_th_an na_th_an March 2004 Development
  • Making a mapI should learn Z80 assembly, but I don't have the time (really busy) and I feel like making a game. I've tried with Colt which gives me enough speed…

    ... channel
    (Mind you AT Y,X doesn't work on printer).
    Dr BEEP Dr BEEP March 2004 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
attr 692 1.3K
y 6.2K 15.7K
x 14K 31.7K

Related Threads

  • 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…
  • 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 …
  • 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 …
  • Changing the colour Atributes at y,x (+3e BASIC)Hello there my fellow WoS'ers<br /> <br /> I am currently writing away on my +3e and I am wonder is there a way I can just effect the Paper / Ink att…

Related Searches

  • y first project
  • x files
  • find screen position of all attr
  • x uno
  • as a zx spectrum inter networking enthusiast y
  • fuse for mac os x
  • radastan 128 x 96 16 colours
  • zipi y zape
  • x y z
  • x com 2
  • fuse os x
  • x y
  • 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
  • draw x y z
  • x y to screen position

Copyright © 2024 World of Spectrum