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.004s
<1234567…34>
  • Struggling with this routine... Any ideas?I'm trying to write a routine that plots 3 pixels to decrease the energy bar in the top right corner by 5 units, but it just wont have it! There mus…

    ... clears the Screen and sets ATTRIBUTES to the value given in ... br /> ld a,(de)
    xor l
    and h
    xor l
    ld (de),a ... br /> ld (ATT),a
    xor a
    SET MASK TO ... ?0? using the classic ?XOR A?
    ld (MASK),a ...
    Shando Shando July 2013 Development
  • generating a pre-defined list in an un-defined sequenceI've decided to become a drunkard, to which end I've been drinking a whole bottle of beer in one day (whereas normally I'd make it last 2 or 3 days).…

    ... = LFSR( HL )
    BC = HL xor DE
    call Magenta ( BC ...
    Einar Saukas Einar Saukas July 2013 Sinclair Basic
  • generating a pre-defined list in an un-defined sequenceI've decided to become a drunkard, to which end I've been drinking a whole bottle of beer in one day (whereas normally I'd make it last 2 or 3 days).…

    ... /> This one is doing the attributes 1 bit at a time ... />
    ld a,l
    xor $2d
    ld l,a ...
    Alcoholics Anonymous Alcoholics Anonymous July 2013 Sinclair Basic
  • Experimenting with turboloadersHello, My first post, having lurked here for a while. I'm a lifelong computer nerd, Spectrum fan since childhood in the eighties, and have recently…

    ... />
    LD A,E
    XOR L
    AND 7
    XOR L with NOPs. So the ... /> CALL 85E4

    ;; load attributes into screen RAM, forwards, without ... to, say, load the screen attributes into high memory somewhere, blit ...
    stephenw32768 stephenw32768 July 2013 Development
  • RCS (Reverse Computer Screen)[B]RCS[/B] ("Reverse Computer Screen", or simply SCR written backwards) is a small utility I'm about to release, that reorders bytes from the ZX-Spec…

    ... wrong position just before copying attributes.

    Your routine can ... /> loop ld a,h
    xor l
    and $F8
    ld d,a
    xor h
    xor l
    rlca
    Einar Saukas Einar Saukas September 2013 Development
  • RCS (Reverse Computer Screen)[B]RCS[/B] ("Reverse Computer Screen", or simply SCR written backwards) is a small utility I'm about to release, that reorders bytes from the ZX-Spec…

    ... E6F8 and $f8
    A9 xor c
    57 ld d ... looks different since it copies attributes first:

    [CODE]; ... loop: ld a,b
    xor c
    and $f8
    ld d,a
    xor b
    xor c
    rlca
    Einar Saukas Einar Saukas September 2013 Development
  • RCS (Reverse Computer Screen)[B]RCS[/B] ("Reverse Computer Screen", or simply SCR written backwards) is a small utility I'm about to release, that reorders bytes from the ZX-Spec…

    ... looks different since it copies attributes first:

    [CODE]; HL ... /> loop: ld a,b
    xor c
    and $f8
    ld d,a
    xor b
    xor c
    rlca
    jamorski jamorski September 2013 Development
  • Movin And A Groovin Horizontal Flip improvementOn the left is the flip horizontal portion from Andy Pennell'S excellent Movin' & a Groovin' machine code screen routines from Your Spectrum #19 (Oct…

    ... posted flip screen with attributes routine. Moved LD ... rrca ;a=GHABCDEF
    xor c
    and %10101010 ... rrca ;a=CFEHGBAD
    xor c
    and %01100110 ...
    MatGubbins MatGubbins September 2013 Development
  • display file addressing; screen slicingWhile working on this Compendium I'm updating or rewriting a lot of stuff. One thing I eventually came to appreciate was the simple & clever way in w…

    ... ]GETATTR:ld de,$5800 ;DE=attributes area base address
    ld ...
    ld h,b
    xor a
    srl h
    Einar Saukas Einar Saukas October 2013 Sinclair Basic
  • SCREEN$ bug fixI've been using the SCREEN$() function recently for reading data off the screen rather than taking up space with an array and I got fed up with the s…

    ... interfere with the screen attributes and as long ... /> and %00011000
    xor %01000000
    ld d, ... inverse character code (=CHR$ XOR $0f),
    ;as ... jr z,Matched
    xor $0f ;change to graphic ...
    Battle Bunny Battle Bunny November 2013 Sinclair Basic
  • How to print logo onto screen at chosen coordinates?Hi, I've just got back into zx spectrum games after all these years and after seeing some of the great games on here I would like to start learning p…

    ... row B column C with attributes A'
    push af
    xor a
    srl h
    ld (hl),a ;copy attributes for graphic

    ld ...
    Battle Bunny Battle Bunny February 2014 Development
  • Animated attribute revealA new challenge to solve next. I would like to create an animated attribute reveal in machine code by having my 768 byte attributes held in ram whic…

    ... (A) & 10 (E)
    xor e
    and %00000001 ;mask ... nc,SKIPDE ;skip if beyond attributes area (>=$5b00)

    Battle Bunny Battle Bunny February 2014 Development
  • Animated attribute revealA new challenge to solve next. I would like to create an animated attribute reveal in machine code by having my 768 byte attributes held in ram whic…

    ... a useful complement to the attributes code.

    xor e
    rra
    ... amp; 12 (E)
    xor e
    rra ;align ... amp; 13 (E)
    xor e
    and %00000001 ; ...
    Battle Bunny Battle Bunny February 2014 Development
  • Animated attribute revealA new challenge to solve next. I would like to create an animated attribute reveal in machine code by having my 768 byte attributes held in ram whic…

    ... selectively incrementing the colour attributes on each pass until ... and inc/decrement the attributes accordingly - but then ... & 10 (E)
    xor e
    and %00000001 ; ... 13616 ;offset to stored attributes
    add hl, ...
    Battle Bunny Battle Bunny February 2014 Development
  • ZX Alien BreedNot sure if this has been mentioned already (I did trawl the threads but couldn't see anything :smile: ), but I've always hankered after a Speccy Ali…

    ... ' (collectibles) are added, with their attributes being fired straight to the ... by the aliens (with their attributes) and then the player sprite ... with their attributes. It seems long-winded, ... used a bit of fancy XOR'ing and some other logic ...
    LuMan LuMan March 2014 New game ideas
  • Block RoutineHi Folks, I want to draw a block on the screen dependent on providing the X,Y,W,H values. I came up with the following: [CODE]100 LET l$=" …

    ... it does not clear the attributes. I have disassembled the MC ... )
    LD B,A
    XOR A
    LD (HL),A ...
    Paddy Coleman Paddy Coleman July 2014 Sinclair Basic
  • clear a windowed area of the screenHi everyone! Ain't been on here for donkeys, but have recently started messing around with a little game. I'm looking for ideas/opinions on the bes…

    ... segment, mask the line
    xor %00011000 ;if the segment is ... clear both bitmap pixels and attributes:

    [CODE] di
    If you want to clear attributes only, change the code above ...
    Atari_Jetman Atari_Jetman October 2014 Development
  • FZX: a new standard format and driver for proportional fonts[B]FZX[/B] is a very compact and efficient (although extremely flexible and powerful) standard format to create new fonts for the ZX-Spectrum. It sup…

    ... different print modes available: or, xor, reset. I had to get ... is I have to apply attributes in every pixel row then ...
    Alcoholics Anonymous Alcoholics Anonymous January 2015 Brand new software
  • Vertical XOR filler.. anyone?Hi, I was just wondering whether a vertical filler using XOR has ever been used on Speccy demos/games and if yes when for the first time? Just tryin…

    ... L, X in H)
    xor e
    ld (hl),a ...
    inc h
    xor d
    ld (hl),a ... whole characters, filling them with attributes.
    Alone Coder Alone Coder May 2015 Development
  • Vertical XOR filler.. anyone?Hi, I was just wondering whether a vertical filler using XOR has ever been used on Speccy demos/games and if yes when for the first time? Just tryin…

    ... L, X in H)
    xor e
    ld (hl),a ...
    inc h
    xor d
    ld (hl),a ... whole characters, filling them with attributes.

    Nice. Thanks for ...
    mr.spiv mr.spiv May 2015 Development
  • Buddy 0.1 demo[url="http://wischner.co.uk/downloads/app.tap"]The tape is here[/url]. Load it, then enable kempston mouse emulation, then reload it. [url="https://g…

    ... to character coordinates so that attributes are lined up and the ... like line spacing, draw mode (xor, reset, or), colour, colour mask ...
    Alcoholics Anonymous Alcoholics Anonymous August 2015 Development
  • DEFFNder: a small library of BASIC functions written in Z80I've published a small library of 15 Sinclair BASIC functions written in Z80. I wrote it last year for a project of mine. Some of them are generic, s…

    ... 16 bit AND, OR and XOR bitwise functions and also
    attributes are corrupted and the system ...
    programandala.net programandala.net December 2015 Sinclair Basic
  • LgK image compressorOk people, i decided to make it proper thread since i've finally got something tested & useful for everyone. Here is my "chunky" ZX image compressor …

    ... applies one of several useful xor-filters (not like joefish's ... 1-2 pixels shift then xor or with any already ... but maybe never).

    Attributes are compressed differently, basically there ... to LgK-sfx to have attributes intermixed with tile data (as ...
    Lethargeek Lethargeek January 2016 Development
  • Help needed with MIA software with custom (?) loaderHi, I've got into my hands recently a bunch of Polish educational software which are unknown MIA on WOS. I believe they are protected with some…

    ... Get current parity
    0xEAA0 XOR L ; Update parity
    ... color (ROM)
    0xEB28 XOR 03 ; Alternate border between Blue ... 22527 0x5000-0x57FF 01010xxxxxxxxxxx
    ;Attributes goes from
    ;22528- ...
    lfaria lfaria August 2016 MIA/STP/SDP
  • Examples of severe colour clash?I'm looking at making a video of ZX Spectrum games - both good and bad, and making it accessible for the layman. One thing I'd like to do is brief…

    ... places when it scrolls the attributes are mostly OK. The problem ... that the sprites are being XOR'd over detailed backgrounds, which ...
    AndyC AndyC September 2016 Games
  • Flicker-free animationTrying to create flicker-free screen update, but... Where I'm wrong? [url="https://dl.dropboxusercontent.com/s/pfywhfejfmwt2zq/test_128.sna"]Snaps…

    [quote="Hikaru;883280"]Try with XOR %00001010[/quote]

    Thanks, it works! But additionally I added clearing of shadow screen attributes to avoid black screen flashing.
    Bedazzle Bedazzle October 2016 Development
  • RCS (Reverse Computer Screen)[B]RCS[/B] ("Reverse Computer Screen", or simply SCR written backwards) is a small utility I'm about to release, that reorders bytes from the ZX-Spec…

    ... Expand RLE-encoded array of attributes into multicolor area. The ... ((length = *array++) != 0) {
    xor a
    cp b
    jr nz, paint_skip
    xor a ; col = 0;
    Einar Saukas Einar Saukas December 2016 Development
  • How would you do a negative image ?So I want to invert a Speccy bitmap. What would be the fastest and easiest way to this ? I've been using this a lot but I can't see how I could achi…

    Invert attributes instead, i.e. swap the ...
    rlca
    rlca
    xor e
    and c
    xor e
    ld (hl),a< ...
    Hikaru Hikaru December 2016 Assembler
  • A Neat Redefine Keys RoutinePreviously, I’ve only shared this routine with a couple of people via PM, but I’ve now decided to make it public. I optimized it for size, so it uses…

    ... (23693),a ;set ATTR_P
    xor a ;BORDER = 0
    call ... /> ld a,(23693) ;read current attributes
    and 248 ;leave them ... ;load ATTR_T with the new attributes

    call key_check ;decode ...
    Ast_A_Moore Ast_A_Moore October 2017 Development
  • ive found an attr scrolling routine but i want to remove the smaller scroller within it, etc.https://pastebin.com/K4nG3xbX also i would like to be able to change the colours and not have a shadow. http://www.worldofspectrum.org/pub/sin…

    ... ; attribute message scroll
    XOR A ; FA1D AF
    ... C9

    L_FAD6: XOR A ; FAD6 AF
    LD ...
    PUSH DE ; DE=attributes address
    LD D, ...
    Battle Bunny Battle Bunny November 2017 Development
<1234567…34>

Latest Posts

  • Where to Buy the New or Fairly Recent , Excellent ZX Spectrum Games Software?
    harriusherbartio on 11:40AM
  • i am currently listening to........
    mel the bell on 11:34AM
  • Mis-labeled cassette titles or a name change?
    harriusherbartio on 11:06AM
  • Ways to preserve Speccy Tapes in the loft
    harriusherbartio on 10:58AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 10:47AM
  • Minor British Sports that did become games on the ZX Spectrum
    harriusherbartio on 10:30AM
  • How to return to basic properly from ASM
    Paradigm Shifter on 1:54AM
  • 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

HitBox

Word Docs Hits
attributes 2.6K 3.7K
xor 1.9K 4.8K

Related Threads

  • Screen AttributesNot sure if this is a devolopment question but here goes...<br /> <br /> In my limited understanding, the 'attribute file' of a speccy is 5800h to 5A…
  • Removing the attributes from a loading screenAnyone able to tell me how to do it in 'Fuse' of 'Zxsp' fos OSX? I just need to be able to see the actual pixels with no colour added.
  • A logic game "XOR"I am a student from Sebastopol (Ukraine), - that's why sometimes my posts may sound funny or or something like that...<br /> 8 years ago (whan I was …
  • XOR - dodgy magazine referenceThe magazine reference section for Logotron's XOR has a link to a Spanish(?) magazine 'MicroHobby Especial'. All well and good, but the magazine arti…
  • 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…
  • Manipulating attributes...Hi Folks,<br /> <br /> 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 oc…
  • Storing and displaying attributes...Hi Folks,<br /> <br /> I have a requirement to store and then redisplay a line of attributes from the screen. For example:<br /> <br /> 100 DIM a$(1…
  • AND,XOR,OR,BIT,RES,SET,CPL,NEG,RLC,RRC,SLA,SRL,RL, RR,SRA for BASICAs this was drifting away from the original INKEY$ thread I thought that I'd create a new one. So here's a routine to provide all of the above mentio…
  • Quickest way to fill the attributes using LDIRI'm looking for a small routine to fill the entire attribute area of the memory with a single value, I've used LDIR in the past, but forgotten how to…
  • Fast and easy read/write of attributes?What are the fastest or easiest ways to check the attributes of tiles on the screen, in BASIC? It seems to be a great way of storing object info. <b…

Related Searches

  • xor sprite
  • algorithm na_th_an attributes
  • algorithm einar attributes
  • 128k sprites attributes
  • xor erase
  • xor and or
  • xor sprites
  • xor masked sprite erase
  • sprite xor and
  • masked xor
  • xor sprite mask
  • scroll attributes down
  • sprite attributes
  • xor c
  • xor c loop
  • ld a b xor c loop
  • attributes file
  • chr attributes
  • nirvana xor
  • permanent attributes

Copyright © 2024 World of Spectrum