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.126s
<1…22232425262728…34>
  • z88dk multicolour enginesI've been trying to work out how the multicolour sprite engines have been implemented in z88dk. It's not obvious. Looking in the source, I found …

    ... should be setting the screen colour to white on white but ... the now bottom cleared row to be set to the crazy text colour ... use the foreground colour to clear the screen and set the background ... colour to the foreground colour ...
    Alcoholics Anonymous Alcoholics Anonymous July 2017 Development
  • what is wrong with this loop?here is the loop: ld b,12 ld a,31 ld de,right_screen_array right_screen_array_label call charaddress ex de,hl ;de now contains screen address…

    ... /> amateur mistake.
    Im used to languages with local variables where ... you dont have to worry about that.
    < ... br /> So the solution is to either push a and b ... de,hl ;de now contains screen address hl contains array location
    slenkar slenkar July 2017 Assembler
  • Interrupts, 16k Spectrums and snowI'm writing something for the 16k Spectrum and I want to use interrupts. The avilable documentation doesn't seem clear enough for me to figure out ho…

    ... also have the option to catch the beginning of ... of the bottom attr row to BLACK+BLACK+BRIGHT+FLASH ... to re-use that colour by mistake elsewhere on the screen ... top attr row (just BLACK+BLACK) to make the screen "even". ... that I only have to do 176p which... you ...
    evilpaul evilpaul August 2017 Development
  • Interrupts, 16k Spectrums and snowI'm writing something for the 16k Spectrum and I want to use interrupts. The avilable documentation doesn't seem clear enough for me to figure out ho…

    ... whole of the bottom attr row to BLACK+BLACK+BRIGHT+FLASH so ... to re-use that colour by mistake elsewhere on the screen ... the top attr row (just BLACK+BLACK) to make the screen "even". This ... to this stuff. For instance, looking for the beginning of the screen ...
    Hikaru Hikaru August 2017 Development
  • Thought this would be simple... Z80Hi Folks, Started to read "Beyond simple BASIC, Delving Deeper into your ZX Spectrum" by Dilwyn Jones. This is a great book and I came across the…

    ... LD HL,16384 ; start of screen address
    LD B,12 ; ... A ; place it on the screen
    INC HL ; ... 0 again, so no need to redo it
    LD ...
    MatGubbins MatGubbins August 2017 Development
  • Thought this would be simple... Z80Hi Folks, Started to read "Beyond simple BASIC, Delving Deeper into your ZX Spectrum" by Dilwyn Jones. This is a great book and I came across the…

    ... /> ld hl,$4000 ;start of screen file
    ld bc,$18 ... ),a ;pattern into screen address
    inc hl ;next screen address
    djnz loop ... ;repeat 256 times and set B to 0 ...
    Ast_A_Moore Ast_A_Moore September 2017 Development
  • Thought this would be simple... Z80Hi Folks, Started to read "Beyond simple BASIC, Delving Deeper into your ZX Spectrum" by Dilwyn Jones. This is a great book and I came across the…

    ... br /> HASH LD HL,MainScreen ; screen address
    LD B,12 ; ... a ;pattern into screen address
    inc hl ;next screen address
    djnz ... loop ;repeat 256 times and set B to ...
    MatGubbins MatGubbins September 2017 Development
  • Need help from people with a +2A/+3Started a topic [url="https://www.worldofspectrum.org/forums/discussion/55141/need-help-from-people-with-a-2a-3"]here[/url] to get a broader reach, b…

    ... [/i] identical values in a row to break out of the loop ... of 100 T states (corresponding to the border at the sides ... might want to think of the sides of the screen as your ... />
    The following loop seems to work in SpecEmu with minimal ...
    Hikaru Hikaru September 2017 Development
  • 1k Chess (was the 924 bytes thing!)Hi, I've decided to do a major rewrite of large parts of the code for the isometric Chess thing that I've been messing with. It got to the point, …

    ... to RRC the mask bit for the screen and adjust the screen address ... Lo byte accordingly.

    If that was perhaps changed to ... That would unfortunately mean having to save a further 51 ... that takes fewer bytes to decode, probably about 25 ...
    Arkannoyed Arkannoyed November 2017 Development
  • 1k Chess (was the 924 bytes thing!)Hi, I've decided to do a major rewrite of large parts of the code for the isometric Chess thing that I've been messing with. It got to the point, …

    ... ld a,e ;reset data address to FD1Eh
    calc_lp1:
    ... /> put_bit:
    push hl ;backup screen address
    xor (hl) ;
    Arkannoyed Arkannoyed November 2017 Development
  • im looking for a double size, height and width character programi want to be able to stretch and scale up udg's

    ... de,$4000 ;load DE with screen address
    ld a,"X ... 3c00 ;add $3c00 to get the base address of character
    to screen addr
    add hl,bc ... ;to move 8 px down
    to only increment E)
    ;if font base address ...
    Ast_A_Moore Ast_A_Moore November 2017 Development
  • im looking for a double size, height and width character programi want to be able to stretch and scale up udg's

    ... de,$4000 ;load DE with screen address
    ld a,"X ... 3c00 ;add $3c00 to get the base address of character
    to screen addr
    add hl,bc ... ;to move 8 px down
    to only increment E)
    ;if font base address ...
    digital digital November 2017 Development
  • Other than using attributes what other ways to detect collisions, when using char based movement?So I'm slowly working out the bits and pieces to write a game completely in assembly. I've been using attributes when writing in BASIC to detect whet…

    ... in with B = Y-position (row), C = X-Position (column ...
    add hl,bc ;Add to attribute address

    ld b ...
    add hl,bc ;Add to attribute address

    ld a ... jumps to the routine and PUSHes the address to return to onto ...
    joefish joefish November 2017 Development
  • Cubic RevealI just though I'd develop this a little further. Written a while ago on a whim! [img]https://dl.dropbox.com/s/p44y5dda49ucmop/square_reveal_1_1.gi…

    ... point to stored screen address
    ld d,a ;DE = stored screen address
    to screen

    ld ... ,l ;point DE to screen equivalent ATTRs address
    ldi ...
    Arkannoyed Arkannoyed November 2017 Development
  • Cubic RevealI just though I'd develop this a little further. Written a while ago on a whim! [img]https://dl.dropbox.com/s/p44y5dda49ucmop/square_reveal_1_1.gi…

    ... point to stored screen address
    ld d,a ;DE = stored screen address
    to screen

    ld ... ,l ;point DE to screen equivalent ATTRs address
    ldi ...
    Arkannoyed Arkannoyed November 2017 Development
  • Cubic RevealI just though I'd develop this a little further. Written a while ago on a whim! [img]https://dl.dropbox.com/s/p44y5dda49ucmop/square_reveal_1_1.gi…

    ... ;pushed DE = stored ATTRs address

    ld ... res 7,d ;point DE to screen

    ld ... /> pop hl ;ATTRs address now into HL
    pop hl ;plasma address into HL
    nxt_block ...
    Arkannoyed Arkannoyed November 2017 Development
  • Cubic RevealI just though I'd develop this a little further. Written a while ago on a whim! [img]https://dl.dropbox.com/s/p44y5dda49ucmop/square_reveal_1_1.gi…

    ... ;pushed DE = stored ATTRs address

    ld ... res 7,d ;point DE to screen

    ld ... /> pop hl ;ATTRs address now into HL
    pop hl ;plasma address into HL
    nxt_block ...
    Arkannoyed Arkannoyed December 2017 Development
  • Cubic RevealI just though I'd develop this a little further. Written a while ago on a whim! [img]https://dl.dropbox.com/s/p44y5dda49ucmop/square_reveal_1_1.gi…

    ... de ;pushed DE = stored ATTRs address
    push bc
    ... br />
    pop de ;ATTRs address restored into DE
    ld ... /> res 7,d ;point DE to screen

    ld (de ...
    Arkannoyed Arkannoyed December 2017 Development
  • Cubic RevealI just though I'd develop this a little further. Written a while ago on a whim! [img]https://dl.dropbox.com/s/p44y5dda49ucmop/square_reveal_1_1.gi…

    ... />
    pop de ;ATTRs address restored into DE
    ld ... />
    pop hl ;plasma address back Into HL
    nxt_block ... /> res 7,d ;point DE to screen

    ld (de ...
    Arkannoyed Arkannoyed December 2017 Development
  • Cubic RevealI just though I'd develop this a little further. Written a while ago on a whim! [img]https://dl.dropbox.com/s/p44y5dda49ucmop/square_reveal_1_1.gi…

    ...
    ld d,l ;ATTRs address restored into DE
    ld ... />
    pop hl ;plasma address back Into HL
    nxt_block ... /> res 7,d ;point DE to screen

    ld (de), ...
    Arkannoyed Arkannoyed December 2017 Development
  • Fast Binary to Text DisplayI've done this thing that takes some memory contents and converts it to a Binary version of 0's and 1's on screen. However, I've no idea what to use …

    ... can simply keep incrementing the screen address (held in the DE ... that in order to arrive at the address of the byte ... br />
    Adding one to a screen address will move us one character ... cell to the right; hence ...
    Ast_A_Moore Ast_A_Moore December 2017 Development
  • Loading Images/Screens mid-gameHi all, Looking to get back into a bit of coding and I couldn't figure out a way to do the following: I have an image/SCREEN that I'd like to b…

    ... +1): REM copy pixel row from a$() to screen
    99 NEXT r ... :
    REM initialise FN s$() to hold screen data
    1991 GO ... +1)=s$: REM copy pixel row from screen to a$()
    2016 NEXT ...
    Battle Bunny Battle Bunny April 2018 Sinclair Basic
  • Fast Binary to Text DisplayI've done this thing that takes some memory contents and converts it to a Binary version of 0's and 1's on screen. However, I've no idea what to use …

    ... address in (HL) and prints the CPL'd Binary text
    ;to screen ... address from where to get data
    ld de,4200h ;SCReen ... inc e ;next byte on screen

    djnz ... ve crossed into a new SCReen 1/3rd
    ...
    Arkannoyed Arkannoyed July 2018 Development
  • Cubic RevealI just though I'd develop this a little further. Written a while ago on a whim! [img]https://dl.dropbox.com/s/p44y5dda49ucmop/square_reveal_1_1.gi…

    ... l,d ;use L to create the SCReen address Hi-byte from the ... 7,d ;RES d to point to actual SCReen
    ld (de),a ... DE address
    mlp1:
    ld a,(de) ;get SCReen buffer byte ...
    Arkannoyed Arkannoyed August 2018 Development
  • Reading DEFB for backgroundsHi all I suppose the question is kind of silly but I'm a completely newbie with assembler :-S I'm drawing some side backgrounds with ZX Paintbrus…

    ... hl,$4000 ; start position scr address
    ld de,spritedata
    ld (hl),a ; write to screen
    inc hl ; next character ... /> ld a,l ; move back to start of line
    sub ...
    FrankT FrankT December 2018 Assembler
  • Printing text, part MMXIIXI'm pretty sure there's been a zillion threads about this already, and I don't think it's the first one by myself either, but here goes. Proportiona…

    ... br />
    ; calculate pointer to screen, yofs from table
    ld ...
    ; "or" the pixels to screen
    ld a,(hl)
    screen
    ld a,(bc) ... 94 are the top row of glyphs, next 94 ...
    Sol_HSA Sol_HSA December 2018 Development
  • Drawing LinesHas anyone got any experience of coding a Bresenham line drawing algorithm on the Speccy? I've had a go and I find the algorithm has quite a few s…

    ... sure though as it seems to use a lot of 16 ... screen address). It's doing something different with horizontal sequences of pixels to ... diagonal the width of the screen and 2/3 the height ... in around 128 scanlines. To me that seems a lot ...
    joefish joefish March 2019 Development
  • Drawing LinesHas anyone got any experience of coding a Bresenham line drawing algorithm on the Speccy? I've had a go and I find the algorithm has quite a few s…

    ... takes around 3 scanlines to plot each pixel. Mine ... m holding onto the screen byte until the loop ... m not read/writing to the screen once for every ... noted, I'm adding to the screen address (only when required) ... and may be willing to sacrifice +-1 pixel endpoint ...
    joefish joefish March 2019 Development
  • Drawing LinesHas anyone got any experience of coding a Bresenham line drawing algorithm on the Speccy? I've had a go and I find the algorithm has quite a few s…

    ... it's a bit wasteful to have two buffers, but ... the other gives me something to do in the top- ... the interrupt and the copy-to-screen.

    I'm ... it going to copy 2/3 of the screen ahead of ... has to be slower. I like how you're indexing the address ...
    joefish joefish March 2019 Development
  • Drawing LinesHas anyone got any experience of coding a Bresenham line drawing algorithm on the Speccy? I've had a go and I find the algorithm has quite a few s…

    ... it's a bit wasteful to have two buffers, but ... the interrupt and the copy-to-screen.[/quote]
    With a ... it going to copy 2/3 of the screen ahead of ... to be slower. I like how you're indexing the address ... from "ld ix,copy_addr_table" to the next op after "jp ...
    Lethargeek Lethargeek March 2019 Development
<1…22232425262728…34>

Latest Posts

  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 1:34PM
  • Happy 40th Birthday to the Amstrad CPC464!
    Your Spec-chum on 7:28AM
  • Your Favorite Magazine Cover Tapes.
    Paradigm Shifter on 1:28AM
  • Simple Sprite Routine
    dmsmith on 1:25AM
  • I am currently watching.....
    zx1 on April 11
  • Today's BASIC program: visit attribute cells I am interested in, in pseudorandom order
    Paradigm Shifter on April 11
  • How do you share programs online?
    firelord on April 11
  • Celebrity deaths...
    Ælita on April 11
  • Who Has Got The Earliest ZX Spectrum Software?
    harriusherbartio on April 11
  • Footballer of the year - translated version
    firelord on April 11

HitBox

Word Docs Hits
row 3.2K 6.5K
to 549.6K 1.6M
screen 45.8K 73.8K
address 11.8K 21.2K

Related Threads

  • How to get Grahics to wrap vertically around the screen?I am using the following code to draw an image to the screen.<br /> <br /> First I use HL to contain ROW and COLUM<br /> I then call the MapScreenFun…
  • Map to screen address problemCan anyone help me out with what I guess is a screen address calculation problem.<br /> <br /> I need to calculate the screen address of a tile based…
  • Fastest way to write something to screen$Hi,<br /> <br /> I just got pasmo.exe and start playing with attr scrolling, well, not scrolling, just write different values to a block and see if I…
  • Fastest way to decide which pixel to paint in order to draw a straight line(after I saw "Bresenhams circle algorithm" in development forum, I decided to ask this in here)<br /> <br /> in fact, I want to accelerate a car towa…
  • Now seems to be a good time to add to your collectionsI have bought a few spectrum items to add to my collection recently, had i bought them a year or two ago they would have cost double. This is one of …
  • Update to Image to ZX Spec to 1.3.1I'm inbetween jobs at the moment and felt the need to add a new feature - the ability to export anim gifs.<br /> <br /> [IMG]https://lh6.googleuserco…
  • bitmap address to attribute addressI've searched, but I don't seem to find the proper keywords.<br /> <br /> I have a bitmap screen address in DL, character aligned (the address of the…
  • Calculating screen address to alternative ATTR area?I'm using this small snippet of code to convert a screen address to an attribute cell address...<br /> <br /> [CODE]AttrDE: ld a, d ;…
  • Column and row numbers to attr address?[FONT=Calibri][SIZE=3]Can anyone provide me with a code snippet the will convert the column and row numbers into the screen attribute address. For ex…
  • How to add a loading screen to my tap file[FONT=Calibri][SIZE=3]I?ve got my game created as a tap file generated by Pasmo. I now want to add a loading screen. Can anyone explaine the best way…

Related Searches

  • fastest way to clear screen
  • full screen fuse how to
  • loading screen poke to hide text
  • yellow hue to screen
  • push pop to the screen
  • shadow screen to c000
  • screen address
  • write to screen
  • copy picture to screen
  • white screen no border when trying to load
  • 48k spectrum white screen no border when trying to load
  • screen address wrap
  • save more than 1 screen to memory
  • fastest way to clear a screen
  • convert screen to png
  • attribute address to screen
  • pixel row screen address
  • screen address to buffer
  • screen address to x and y
  • screen address to attribute

Copyright © 2024 World of Spectrum