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.018s
<1234567…34>
  • Scrolling Bi-Colour Engine for 4-Player GamesJust putting this code up for people to have a look at. Far from finished. Should simply compile and run a bit of a demo. Only good for 128K and +…

    ... add a,a ;a = y*16
    rl b ;catch ... br /> sla c ;bc = y*2
    ld hl,char_address ... /> ld bc,(SPRITE_BASE) ;b=X,c=Y

    ld h ... /> ld a,(SPRITE_BASE) ;sprite Y
    sub l
    ...
    ;now b=X, hl=attrs, sp=attr row table
    REPT ...
    joefish joefish March 2014 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…

    ... /> $i sptword.fth

    ;"ATTR Table Demo by Steve Parry ... /> ;"set print location"

    ."ATTR TABLE PAPER "
    ;"print message ... "
    ;"because we have y,y,x and x on the stack"
    ;" ... print the value of the attr"
    ;"in the current ...
    Steve(spt) Steve(spt) October 2004 Emulators
  • BASin release 12b available for downloadOk, there were a few nasty bugs in the last release, so in fine SPIN team tradition here's a new release that possibly fixes those errors. In this r…

    Another bug (a very very very small and insignificant one):

    The syntax helper for ATTR wrongly indicates (X,Y), but the function uses (Y,X), just like AT
    Metalbrain Metalbrain October 2005 Sinclair Basic
  • BASin release 12b available for downloadOk, there were a few nasty bugs in the last release, so in fine SPIN team tradition here's a new release that possibly fixes those errors. In this r…

    ... helper for ATTR wrongly indicates (X,Y), but the function uses (Y,X), just like ...
    Dunny Dunny October 2005 Sinclair Basic
  • BASin release 12b available for downloadOk, there were a few nasty bugs in the last release, so in fine SPIN team tradition here's a new release that possibly fixes those errors. In this r…

    ... helper for ATTR wrongly indicates (X,Y), but the function uses (Y,X), just like ... [/url]:

    "ATTR: two arguments, x and y, both numbers; enclosed in ...
    Philip Kendall Philip Kendall October 2005 Sinclair Basic
  • BASin release 12b available for downloadOk, there were a few nasty bugs in the last release, so in fine SPIN team tradition here's a new release that possibly fixes those errors. In this r…

    ... helper for ATTR wrongly indicates (X,Y), but the function uses (Y,X), just like ... [/url]:

    "ATTR: two arguments, x and y, both numbers; enclosed in ...
    Dunny Dunny October 2005 Sinclair Basic
  • BASin release 12b available for downloadOk, there were a few nasty bugs in the last release, so in fine SPIN team tradition here's a new release that possibly fixes those errors. In this r…

    ... for ATTR wrongly indicates (X,Y),
    > but the function uses (Y,X), just ... properly in Chapter 16 as ATTR(line column). Well spotted. Ditto ...
    Geoff Geoff October 2005 Sinclair Basic
  • Background image with SP1 and Z88DKWhat is the prefered way to place an entire (or very large) image in the background when using SP1? Should I convert it to a long (32*24=768 ) list o…

    ... current attribute mask
    uchar attr; // +6 current attribute
    struct ... as the current print position (y,x); the current attribute and attribute ... by the corners (y=10,x=15) and (y=15, x=24) inclusive.
    Alcoholics Anonymous Alcoholics Anonymous May 2006 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…

    ... ;

    case 0x14:
    attr = *(++s);
    break;

    y,x) coordinate and returns the corresponding ...
    Alcoholics Anonymous Alcoholics Anonymous July 2007 Development
  • Something completely different (new game tech-demo)Since finishing Stranded 2.5 (available soon from Cronosoft - plug!) I've been playing with the idea of doing an attribute-based, rather than pixel-b…

    ... the SPACE INVERSErs

    ATTR-ATTACK

    ATTRIBUTE CLASH ...

    B-ATTR-ies

    B-ATTR-y Charger

    x 13). I've also slowed ...
    bobs bobs July 2007 Games
  • 'Hello World' in ASM ?Can someone show how to make the classic 'Hello World' print with ASM code ? I cant figure at this moment how to insert and handle strings with the s…

    ... =fog;447728]it would be "ATTR" ? $AB? for bright
    $DA ... $y;CHR$x; will select AT y,x
    PRINT CHR$23;CHR$y;CHR$x ... ; will select TAB x ...
    Jonathan Harston Jonathan Harston June 2010 Sinclair Basic
  • Frank N SteinThis one > [url]http://www.worldofspectrum.org/infoseekid.cgi?id=0001849[/url] Always seems to crash about level 7 (maybe a bit more) or so with an …

    ... ATTR(x+2,y)=15 THEN GOSUB 3205: GOTO 1211
    1205 IF ATTR(x ... ATTR(x+2,y)=6 THEN GOSUB 3500: GOTO 1211
    1207 IF (ATTR(x ...
    1208 IF (ATTR(x+2,y)2 AND ATTR(x+2,y)=69) THEN POKE ... /> 1217 IF (ATTR(x+2,y)>64 AND ATTR(x
    Jimmy Jimmy May 2011 Games
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ...
    ld a, b ;compute attr address
    and %0011000
    ld a, 1 ;current attr
    ld (bc), a
    Control codes? 22(AT), y, x; 16(ATTR), attribute; 0(END)
    Any ...
    catmeows catmeows June 2012 Development
  • Changing the colour Atributes at y,x (+3e BASIC)Hello there my fellow WoS'ers I am currently writing away on my +3e and I am wonder is there a way I can just effect the Paper / Ink attributes at Y…

    ... of an existing element at Y,X

    such that at ... bright ?

    perhaps using ATTR ?
    Zetr0 Zetr0 July 2012 Sinclair Basic
  • Changing the colour Atributes at y,x (+3e BASIC)Hello there my fellow WoS'ers I am currently writing away on my +3e and I am wonder is there a way I can just effect the Paper / Ink attributes at Y…

    ... of an existing element at Y,X

    such that at ... on the screen as well. ATTR will only tell you what ...
    Battle Bunny Battle Bunny July 2012 Sinclair Basic
  • zx invaders on a real spectrum problemok i have not been using spectrum basic in years and i am rusty. I am making a space invaders type game and i got the movement on my ship (left and …

    ... y=rowstart to rowfinish step -1
    * check for collision at y,x ... (eg. with ATTR)
    * if true, leave ... in new square
    * next y until rowfinish reached or collision ...
    Battle Bunny Battle Bunny March 2013 Sinclair Basic
  • Russian Pascal CompilerHello,<div><br></div><div>Unfortunately I started a discussion (as OutBush) on the Temporary Forum Board not knowing how long it would be until the W…

    ... x,y) - x=0..63, y=0..23TextColor(color)TextBackGround(color)Border(color)Color(attr ... ) - set a current attributes, attr=attribute ... screen is 0..31 x 0..23WindowClearWindowScrollUpWindowScrollDownWindowScrollLeftWindowScrollRightWindowGet - get ...
    Andrew771 Andrew771 June 2015 Sinclair Miscellaneous
  • Small Machine Code Routines Which Maybe UsefulAs part of creating Flynn's Adventure in Bombland I created a lot of little routines to do all sorts of things. A lot of these I created based on inp…

    ... new seg
    ;
    get_char: ;x 8 by 8, BC at ... ;print at 1,y,x
    dw setfontcolour ;2,ATTR
    dw setdisplacement ...
    R-Tape R-Tape December 2015 Development
  • Screen$ (x,y)Hi everyone As you know, Screen$ doesn't recognize UDG characters. Is there any way to solve this problem? I want to "identify" an UGD character o…

    ... ) because then you can use ATTR to detect something; it's ... not my safe, empty space ATTR colour, GOTO (or GOSUB) other ... , it's (y,x), when printing on the screen, not (x,y) in Spectrum ...
    joefish joefish March 2018 Sinclair Basic
  • 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…

    ... equ %00111000

    attr equ 22528 ; start screen attribute ... ink equ 16 ; ink , x (0-7,8)
    paper ... equ 17 ; paper , x (0-7,8,9)
    y , x (0-255,0-255)
    Kotek Kotek 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…

    ... equ %00111000

    attr equ 22528 ; start screen attribute ... ink equ 16 ; ink , x (0-7,8)
    paper ... equ 17 ; paper , x (0-7,8,9)
    y , x (0-255,0-255)
    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…

    ... equ %00111000

    attr equ 22528 ; start screen attribute ... ink equ 16 ; ink , x (0-7,8)
    paper ... equ 17 ; paper , x (0-7,8,9)
    y , x (0-255,0-255)
    Kotek Kotek 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…

    ... equ %00111000

    attr equ 22528 ; start screen attribute ... ink equ 16 ; ink , x (0-7,8)
    paper ... equ 17 ; paper , x (0-7,8,9)
    y , x (0-255,0-255)
    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…

    ... equ %00111000

    attr equ 22528 ; start screen attribute ... ink equ 16 ; ink , x (0-7,8)
    paper ... equ 17 ; paper , x (0-7,8,9)
    y , x (0-255,0-255)
    Kotek Kotek 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…

    ... equ %00111000

    attr equ 22528 ; start screen attribute ... ink equ 16 ; ink , x (0-7,8)
    paper ... equ 17 ; paper , x (0-7,8,9)
    y , x (0-255,0-255)
    Paradigm Shifter Paradigm Shifter June 2022 Development
  • 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…

    ... ( RND* 7)
    50 LET X = 1+INT ( RND* 30)
    60 LET Y = 1+INT ( RND* 20)
    71 PRINT AT Y,X; "P"
    72 GO TO ...
    Takashi64 Takashi64 January 2003 Sinclair Miscellaneous
  • Calculate screenaddressWho knows where the topic about the fastest screenaddressroutine is? I can't find it in a search.. The fastest routine was to load a large table of …

    ... .


    BC holds Y/X

    [code]
    LD ... part of lo-byte is X-dependent
    LD L,B ... ; second part is Y-dependent
    INC H
    Dr BEEP Dr BEEP 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…

    ... FN A(x,y)=(128 AND INT (x/128)+INT (y/128)=2)+( ... 64 AND INT (FN V(x,128 ... 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)+ ... V(FN V(FN V(y,128),64),32)/16)= ... V(FN V(FN V(x,128),64),32),16)/ ...
    chev chev November 2004 Sinclair Basic
  • 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 ... ld (xr),de ;xr=x*cos(z)-y*sin(z)
    ...
    ; in: e - x, l - y
    ;============================================================================
    putpx1: ld ...
    xor xor July 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
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