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.134s
<1234567…34>
  • 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... [CODE]AttrDE: ld a, d ; get the hig…

    ... snippet of code to convert a screen address to an attribute cell address...

    screen address
    rra ; divide h by ... ]OR 0xFD[/B] to get me the address of an ATTR cell ...
    Sokurah Sokurah January 2014 Development
  • Map to screen address problemCan anyone help me out with what I guess is a screen address calculation problem. I need to calculate the screen address of a tile based on a number…

    ... a screen address calculation problem.

    I need to calculate the screen address of ... a tile based on a number from 0 to ... I have tile 0 its address would be 16384, tile ... when I have to calculate for the other screen thirds.
    ...
    Mr Millside Mr Millside April 2005 Development
  • Loading a screen in to memory...Hi Folks, I want to load a SCREEN$ in to memory and save it out to RAM disk without it being displayed on the screen. I am worried about over writi…

    ... to load a SCREEN$ in to memory and save it out to ...
    [CODE]100 LOAD “SCREEN” CODE RAMTOP+1,6192
    110 SAVE !”SCREEN” CODE RAMTOP+1,6192 ... /> Where RAMTOP is the address held in the equivalent System ... a simple [B]LOAD!"SCREEN" SCREEN$[/B] or does the ...
    Paddy Coleman Paddy Coleman December 2010 Sinclair Basic
  • bitmap address to attribute addressI've searched, but I don't seem to find the proper keywords. I have a bitmap screen address in DL, character aligned (the address of the top byte of…

    ... to find the proper keywords.

    I have a bitmap screen address ... in DL, character aligned (the address of the ... a quick way to get the corresponding attribute address fiddling with that ...
    na_th_an na_th_an November 2013 Development
  • Screen address of PRINT position...Hi Folks, The following code uses DF CC system variable to extrac the screen address for a PRINT position. [code]100 CLS 110 PRINT AT 10,16;…

    ... DF CC system variable to extrac the screen address for a PRINT position ... /> I was expecting the bar to appear at the top of ...
    Paddy Coleman Paddy Coleman September 2016 Sinclair Basic
  • Smooth Color Masked Sprites using fast page flip on 48kHere is a quick demo of using char based sprites using the Page flip method: a) Background is copied to buffer b) Sprites drawn on buffer c) Buffer …

    ... copied to buffer
    b) Sprites drawn on buffer
    c) Buffer copied to screen

    This is to be ... br />
    ; CONVERTS A SCREEN ADDRESS TO AN ATTRIBUTE ADDRESS
    LD A,H ...
    robpearmain robpearmain September 2004 Development
  • Smooth Masked Sprites using fast page flip on 48k Part 2Ok, After all the suggestions in Part 1, which were all excellent (Thankyou), I opted on the following: I have 2 x 6k Offscreen areas (Yes, that's …

    ... /> COPY BACKGROUND TO BUFFER
    MOVE AND DRAW SPRITES TO BUFFER
    SET UPDATED ... FLAG TO 1

    ;
    ; ; CONVERTS A SCREEN ADDRESS TO AN ATTRIBUTE ADDRESS
    ; LD A,H ...
    robpearmain robpearmain September 2004 Development
  • Smooth Color Masked Sprites using fast page flip on 48kHere is a quick demo of using char based sprites using the Page flip method: a) Background is copied to buffer b) Sprites drawn on buffer c) Buffer …

    ... INITIM2

    ; Fill Back buffer with a bright stripy pattern ...
    ;
    ; ; CONVERTS A SCREEN ADDRESS TO AN ATTRIBUTE ADDRESS
    ; LD A,H ...
    robpearmain robpearmain September 2004 Development
  • Smooth Color Masked Sprites using fast page flip on 48kHere is a quick demo of using char based sprites using the Page flip method: a) Background is copied to buffer b) Sprites drawn on buffer c) Buffer …

    ... INITIM2

    ; Fill Back buffer with a bright stripy pattern ...
    ;
    ; ; CONVERTS A SCREEN ADDRESS TO AN ATTRIBUTE ADDRESS
    ; LD A,H ...
    robpearmain robpearmain September 2004 Development
  • Smooth Color Masked Sprites using fast page flip on 48kHere is a quick demo of using char based sprites using the Page flip method: a) Background is copied to buffer b) Sprites drawn on buffer c) Buffer …

    ... INITIM2

    ; Fill Back buffer with a bright stripy pattern ...
    ;
    ; ; CONVERTS A SCREEN ADDRESS TO AN ATTRIBUTE ADDRESS
    ; LD A,H ...
    robpearmain robpearmain September 2004 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…

    ... to print
    // buf = destination address for printed bitmap (screen or buffer)< ... br /> // f = uchar *(*f)(uchar *)
    // adjusts destination address to ... formula will have to be applied to the screen address to move down ...
    Alcoholics Anonymous Alcoholics Anonymous June 2007 Development
  • Screen routinesHello. For my games I?m using the sprites routine method of a screen buffer and when I finish to print all the sprites I dump all the buffer in the …

    ... a dirty buffer. Instead of copying the whole screen each time ... screen address and you need cpu cycles to compute the next screen address to draw to ... engine reduces the double buffer to just 8 bytes (one ... copying the 8-byte buffer to screen is small, tearing is ...
    Alcoholics Anonymous Alcoholics Anonymous January 2012 Development
  • Screen routinesHello. For my games I?m using the sprites routine method of a screen buffer and when I finish to print all the sprites I dump all the buffer in the …

    ... screen address and you need cpu cycles to compute the next screen address to draw to ... engine reduces the double buffer to just 8 bytes (one ... the character into that buffer. Only when the completed ... in copying the 8-byte buffer to screen is small, tearing is ...
    climacus climacus January 2012 Development
  • 50Hurts - Full-screen 50Hz 1-pixel scrolling on a 128K Speccy50Hurts - Full-screen 50Hz 1-pixel horizontal scrolling on a 128K Speccy. Graphics are an obvious nod to Joffa, whose games and banter were a big ins…

    ... ; Copy 15 byte buffer from level to buffer
    ld de,buffer ;
    ldi ... ,(spstore2) ; Load screen address to push to
    ; Self modified push to screen
    buffer: defs 15 ... ;
    ;
    ld hl,sp ; Move to ...
    robpearmain robpearmain June 2019 Development
  • Comments for small "sprite" routine wantedI have just written my first machine code program and I am quite happy (and proud) to get it working! :smile: As a child I never learned anything e…

    ... ld hl,16384 ;screen address
    ld de,35000 ;address of graphic loaded ... h ;down one row on screen address
    inc de ; ... characters to move to right
    ld hl,16384 ;screen address to start ... into h (high byte of screen address)

    ld ...
    Rickard Rickard May 2007 Development
  • Problem with BC corrupting after DJNZJust for fun, I'm messing around trying to get the level maps from Lemmings to display on the screen with machine code. It's been ages since I did an…

    ... the screen I have to add 32 to the map address to get to ... the next line.

    To ... INC E ; ADD 256 TO SCREEN ADDRESS TO GET TO NEXT LINE
    LD ... ; ADD 32 TO THE MAP ADDRESS TO GET TO THE NEXT LINE ...
    mulder mulder January 2016 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] ; ***********…

    ... char to the screen

    ; On Entry:
    ; HL Contains Screen Address
    ; converts a screen address to an attribute address
    ; on entry: de = screen address
    ; on ...
    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] ; ***********…

    ... HL
    ; converts a screen address to an attribute address

    ld a ... /> ; converts a screen address to an attribute address
    ; on entry: de = screen address
    ; on ...
    robpearmain robpearmain August 2004 Development
  • Can Anyone explain sprites in Jet Pac/Atic Atac etcJet Pac was 16k, and yet the sprites were impressively fast. I notice they had a slight flicker at times, but were notmally pretty flicker free. W…

    ... ; converts a screen address to an attribute address
    ; on entry: de = screen address
    ; ... af

    ; generate screen address without using tables :)
    ; store ... the sprite data to display.
    ; de = screen address to draw at.
    robpearmain robpearmain October 2004 Development
  • 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 …

    ... To convert a screen address to an attribute address, you want to go from #1 to ... Computes the attribute address corresponding to a screen
    ; address such as returned by ... /> ; enter: hl = screen address
    ; exit : hl = address of attribute square
    Alcoholics Anonymous Alcoholics Anonymous April 2006 Development
  • Comments for small "sprite" routine wantedI have just written my first machine code program and I am quite happy (and proud) to get it working! :smile: As a child I never learned anything e…

    ... hl,16384 ;screen address
    ld de,35000 ;address of graphic loaded ... h ;down one row on screen address
    inc de ; ... characters to move to right
    ld hl,16384 ;screen address to start ... of screen address)

    ld b,8 ;reset b to ...
    Rickard Rickard May 2007 Development
  • Comments for small "sprite" routine wantedI have just written my first machine code program and I am quite happy (and proud) to get it working! :smile: As a child I never learned anything e…

    ... ld hl,16384 ;screen address
    ld de,35000 ;address of graphic loaded ... h ;down one row on screen address
    inc de ; ... characters to move to right
    ld hl,16384 ;screen address to start ... into h (high byte of screen address)

    dec ...
    Dr BEEP Dr BEEP May 2007 Development
  • Fast screen writesI wondered what the faster than LDIR methods of writing to the screen were.

    ... br />
    According to [url=http://www.worldofspectrum.org ... way to write to screen is to move the SP to the ... to scroll the Spectrum screen.[/b]
    [code]DW graphic, screen address 1, screen ... br /> POP DE ; get screen address to dump it at
    ...
    FrankT FrankT October 2008 Development
  • Maps in progressIf you are working on some map, this thread is just for you! Post here the name of that game for which you are creating a map. Only then we can preve…

    Can I ask a question? Do you map a game by playing it through fully, or do you hack a "current screen" address to move between screens?
    bobs bobs November 2008 Support files
  • Maps in progressIf you are working on some map, this thread is just for you! Post here the name of that game for which you are creating a map. Only then we can preve…

    ... do you hack a "current screen" address to move between screens?[/QUOTE]
    Pavero Pavero November 2008 Support files
  • Graphics problemHi guys. Finally got a REAL zx spectrum, cost ?20 from a friend. When i draw plots and circles, it takes time to do it, but how do i do it instantly…

    ... it is very quick to modify a screen address to move over by single ... where successive points are next to each other.

    ... any fast graphics library needs to be. It is not ideal ... it slower!!) and it computes screen addresses from pixel coordinates.
    Alcoholics Anonymous Alcoholics Anonymous February 2010 Sinclair Basic
  • 50Hurts - Full-screen 50Hz 1-pixel scrolling on a 128K Speccy50Hurts - Full-screen 50Hz 1-pixel horizontal scrolling on a 128K Speccy. Graphics are an obvious nod to Joffa, whose games and banter were a big ins…

    ... loc_A1CC:
    ; go to the next screen line
    ; A ... contains the offset into the line address ...
    ; HL now holds screen$ address
    byte_A1D8:
    db ... /> ld sp,hl ; put screen address to SP
    exx
    ...
    Ketmar Ketmar April 2011 Development
  • Newbie says 'Alreet?'Hiya dudes, Just dropping a line to say hello as i've decided at 33 to try and fulfill a long time ambition to write a speccy game in machine code..…

    ... test would be modifying a screen address to move down one pixel. As ... existing position represented by a screen address. The solution is below (hint ... screen address
    9 ; exit : carry = moved off screen
    10 ; hl = new screen address ...
    Alcoholics Anonymous Alcoholics Anonymous November 2011 Development
  • Up/Down Left/Right scrollCan anybody give a newbie some pointer to simple one char scrolling by pixel? I've looked at a lot of resources, but as you can imagine, it's all a …

    ... de = current sprite graphic definition address (point to GGGGGGGG)

    ... to screen somehow maybe like this
    ; exx ; hl = current screen address ... MSB of the table address to use must be ... you fixing the screen address to write to by moving down ...
    Alcoholics Anonymous Alcoholics Anonymous November 2011 Development
<1234567…34>

Latest Posts

  • Your Favorite Magazine Cover Tapes.
    Your Spec-chum on 2:19PM
  • Where to Buy the New or Fairly Recent , Excellent ZX Spectrum Games Software?
    Your Spec-chum on 1:34PM
  • 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

HitBox

Word Docs Hits
screen 45.8K 73.8K
address 11.8K 21.2K
to 549.6K 1.6M
buffer 2.6K 4.9K

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…
  • Writing to the screen from a bufferI?m designing a game and am spending a bit of time trying different ideas before I commit my self. I?m currently thinking of writing data to a buffer…
  • 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 ;…
  • 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
  • comparison screen buffer
  • screen buffer time
  • screen buffer compare time
  • white screen no border when trying to load
  • attribute address to screen
  • row to screen address
  • screen address to x and y
  • screen address to attribute
  • blit buffer to screen contention
  • routine to scroll screen buffer by 1 pixel
  • faster copy to screen from buffer

Copyright © 2024 World of Spectrum