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.110s
<1…6789101112…34>
  • An emulator(another on of my projects) Does anyone know how to write an emulator? The emulated computer is very simple (a MK14, infact -also by Sir Clive) and a…

    ... anyone in the SAM community to write a compiler :( Plus also ... br />
    I could print to a backscreen, but am waiting ... , you mean like working out screen address for a pixel and setting ... />
    -----------------

    I want to join the club, do I ...
    CKay CKay August 2004 Development
  • Help required to calculate screen addressesDoes anyone have some code that calculates the screen address one pixel below the given address ? Is it best to use a lookup table ? Any examples of …

    ... the screen address one pixel below the given address ? Is it best to use ... metric on which "best" is to be measured.

    [quote ...
    Philip Kendall Philip Kendall November 2004 Development
  • Help required to calculate screen addressesDoes anyone have some code that calculates the screen address one pixel below the given address ? Is it best to use a lookup table ? Any examples of …

    ... the screen address one pixel below the given address ? Is it best to use ... :cool:, it is faster to modify the screen address rather than using a ... table or the stack to pop off screen ...
    Alcoholics Anonymous Alcoholics Anonymous November 2004 Development
  • Help required to calculate screen addressesDoes anyone have some code that calculates the screen address one pixel below the given address ? Is it best to use a lookup table ? Any examples of …

    ... "Routine to generate a Screen Address Table". I had to change the ... inc l to ... l was rolled back to zero it wrote all ... br /> inc l ; Changed to inc hl
    ld ( ...
    inc l ; Changed to inc hl

    ...
    Mr Millside Mr Millside November 2004 Development
  • Turbo Imploder Anyone clued up on how to use this ? I've managed to pack a few of my own games, but I notice the default start address is always 24576, can you go…

    ... often have the option to depack to a different address than it was ... loaded at. So, to pack a screen ... /> (If it asks for an address to use as a workspace, keep ...
    gasman gasman July 2005 Sinclair Miscellaneous
  • how do i read the keyboard in assembly? here is the code i tried writting to find out the value of a key call 28f (hex) loop: ld a,255 cp e jr z loop ld (50000),e ret notes from what i …

    ... /> Firstly, you should be calling address 028e (hex), or 654 if ... />
    Secondly, put the call to the ROM inside the loop ... moveable sprite go around the screen, according to keypress.

    hopefully ...
    mestor mestor August 2005 Development
  • z88dk+splib2 sprites question.I'm creating a game and I have several "states" for my main sprite, such as jump, facing left, facing right, etcetera. All those states require a dif…

    ... enough info into a small buffer to set registers in the next ... Sprite but just blit it to the screen and forget about it ... is inside sp_UpdateNow when the screen is drawn. Whatever the tile ... The alternative was to store an entire Spectrum-size screen in memory ...
    Alcoholics Anonymous Alcoholics Anonymous October 2005 Development
  • z88dk+splib2 sprites question.I'm creating a game and I have several "states" for my main sprite, such as jump, facing left, facing right, etcetera. All those states require a dif…

    ... its aim is to be able to do something like Green ... quote]It would be great to see more people share their ... that. We all learned to code looking at some ... when I manage to add paging to a splib2-driven ... [...]are only 256 8x8 tiles to build these tile strings from ...
    na_th_an na_th_an October 2005 Development
  • z88dk+splib2 sprites question.I'm creating a game and I have several "states" for my main sprite, such as jump, facing left, facing right, etcetera. All those states require a dif…

    ... of altering the order the screen is drawn. I've ... that ultimate used to update the screen bottom to top to somewhat use the ... retrace to eliminate shearing - ... everything drawn in a back buffer and are copying or if ...
    Alcoholics Anonymous Alcoholics Anonymous October 2005 Development
  • Optimisation Needed! Is this the Fastest way to copy bytes from screen and back again?I have the screen address (say 0,0 i.e 16384) I want to copy 4 bytes wide by 32 bytes high from the screen to an area of memory. I then want to cop…

    ... Rob,

    Another way to speed this up would be ... to use the b reg for ... then it would be quicker to roll out the code for ... - then you don't need to check if you cross a ... low byte of the screen address you need to preserve for each line ...
    dmsmith dmsmith December 2005 Development
  • Convert x,y to Attribute Address in AssemblyWhat is the fastest way, given x,y (in hl) to return the attribute address?

    ... want the attr address and have the screen address the code is ... Attribute Address
    ;
    ; Computes the attribute address corresponding to a screen
    ; address ... ;
    ; enter: hl = screen address
    ; exit : de = address of attribute square
    rtunes rtunes December 2005 Development
  • Convert x,y to Attribute Address in AssemblyWhat is the fastest way, given x,y (in hl) to return the attribute address?

    ... want the attr address and have the screen address the code is ... Attribute Address
    ;
    ; Computes the attribute address corresponding to a screen
    ; address ... ;
    ; enter: hl = screen address
    ; exit : de = address of attribute square
    Dr BEEP Dr BEEP December 2005 Development
  • Convert x,y to Attribute Address in AssemblyWhat is the fastest way, given x,y (in hl) to return the attribute address?

    ... assumption that HL contains the screen address, but as the poster originally ... add on a routine to calculate the screen address from the XY coord ... add a good few T to the timing.
    icabod icabod December 2005 Development
  • 128k Screen Flipping - Sample Code PleaseI know this has been covered before, but I cannot find out code to do the following: On a 128k Spectrum tell the speccy to display from address 4915…

    ... /> If I want to draw a sprite to the screen, say the top ... screen to 49152
    Write to 16384
    Then "Flip" the screen back to ... 16384

    Or do I use one address all ... the time.

    Sorry to be dumb ...
    robpearmain robpearmain February 2006 Development
  • Any examples of Proportional Font (Dark Star)Dark star had a cool proportionally spaced way of displaying text. Does anyone know of any code to do this? Cheers

    ... have finished the whole function to print a message at x ... />
    ret

    ; HL = screen address
    printchar:


    robpearmain robpearmain March 2006 Development
  • Run Length DecodingRun length encoding/decoding is far less efficient than using a modern compression program.

    ... to do. Two pointers (say, ooh, HL = your data, DE = your screen ... compression code then write it to (DE), increment HL, DE, ... unless you're expanding a screen that's all about rocket ... depack routines to depack them to either the screen, or to a buffer for ...
    icabod icabod March 2006 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 …

    ... information that I was trying to figure out.

    Thanks ... also to Alcoholics Anonymous (Who posted while ... the fact I was trying to calculate it from the X ... Y coords and not the screen address.
    Scrapheap Scrapheap April 2006 Development
  • Sprite adviceHello. So, I'm slowly getting to grips with Z80 assembly - currently equal parts frustration and enjoyment. Now looking for some advice to help shift…

    ... ;
    ; ;
    ; Moves the screen address down 1 line ;
    ; Written ... Incy: inc h ; try to move down 1 line in ...
    Kiwi Kiwi May 2006 Development
  • Sprite adviceHello. So, I'm slowly getting to grips with Z80 assembly - currently equal parts frustration and enjoyment. Now looking for some advice to help shift…

    ... could maybe be adapted for screen addressing, or may trigger ... br />
    Lets say that screen address is composed of:

    ok so... we need to increment CCC and when it ... , make it directly add to AA instead of BBB... ... the value we want to add.
    windenNTW windenNTW May 2006 Development
  • Sprite adviceHello. So, I'm slowly getting to grips with Z80 assembly - currently equal parts frustration and enjoyment. Now looking for some advice to help shift…

    ... edges of the screen. It is now modified to incorporate multiple ... sprite position calculation part seems to be fine because I ... It needs hl to contain sprite screen address, and de to contain databyte pointer ... is enough for the compile to fail.

    The ...
    48K 48K May 2006 Development
  • Extended Microdrive FormatterHello all, After a few months on a steep learning curve, some heavy duty reading and plenty of trial and error I?ve written an extended microdrive f…

    ... /> 1. Buffer at $4000
    In an effort to make the ... code relocatable, I've started to use the screen ... as a buffer. Works well ... validation within the code to check where it is ... but would like to be able to carry on in ...
    jp jp July 2006 Development
  • Pixel Explosion CodeJust a little snippet to cause explosive effects. It uses table lookups for the screen address, and can handle up to 32 pixel particles. A particle…

    ... /> inc h ; Move h to beginning of screen address tablw

    ld ... /> inc h ; Move h to beginning of screen address tablw

    ld ...
    Dr BEEP Dr BEEP September 2006 Development
  • Pixel Explosion CodeJust a little snippet to cause explosive effects. It uses table lookups for the screen address, and can handle up to 32 pixel particles. A particle…

    ... h ; Move h to beginning of screen address

    ... h ; move to lo bytes of screen
    ld ... screen

    ret ; DE now has proper address ...
    Dr BEEP Dr BEEP September 2006 Development
  • Pixel Explosion CodeJust a little snippet to cause explosive effects. It uses table lookups for the screen address, and can handle up to 32 pixel particles. A particle…

    ... ; if not, check to see if we need to move "Y"
    to the counter idea and using ... exactly zero to know if the particle went off screen. This only ... />
    Also, although computing the screen address from scratch using tables is ...
    Alcoholics Anonymous Alcoholics Anonymous September 2006 Development
  • Pixel Explosion CodeJust a little snippet to cause explosive effects. It uses table lookups for the screen address, and can handle up to 32 pixel particles. A particle…

    ... h ; Move h to beginning of screen address

    ... h ; move to lo bytes of screen
    ld ... screen

    ret ; DE now has proper address ...
    Dr BEEP Dr BEEP September 2006 Development
  • Whatcha listening to now?I'm listening to Audioslave's Revelations album. Fantastic work! Belting it at 12 in the night! Neighbours must be going crazy! :lol: Also listening…

    I`ll deffo have to pop in soon then...
    < ... `ll need the speccy`s screen address or summit won`t I ... /> Oh, and I`m listening to Paolo Nutini finally... great unusual ...
    CKay CKay September 2006 Chit chat
  • Spectrum Screen Memory MapWhat's the advantage (mistery?) behind ULA's spectrum screen memory interpretation? 6144 bytes divided into 3 blocks, 2048 bytes long. if you want t…

    ... you just add 256 to the current screen address (or perform an INC ... simple ways to "avoid" the odd screen layout, I tend to generate a ... table of screen Y ... H to the start of your table, and get the screen address with ...
    icabod icabod October 2006 Development
  • Timex Sinclair 2068Hi guys. This is my first post here, the first of many, I hope.. :) I have a Timex Sinclair 2068 but don?t know much about it. It was given as a gif…

    ... (as opposed to having to remember what the last frame address was and ... and the screen address stored in the struct_sp1_update for the char to figure ... was using this to alter sprite colours depending on screen position and ...
    Alcoholics Anonymous Alcoholics Anonymous November 2006 Games
  • The New SPIN releases ThreadOk, as I'm now working on SPIN again full-time, and as a very wise man once said, "Release Early, Release Often"[1]... I'm going to release new SPIN…

    ... of code, click relocate, enter address to relocate too. Could probably fix ... games that use the printer buffer area, to run on my +3 ...
    FrankT FrankT November 2006 Emulators
  • tips on optimizing assemblyI wrote a small routine to rotate right a whole screen character line complete with attributes. This is my third ever assembly routine, so I guess i…

    ... sure if you wanted to see another solution or ... code]
    call gethl ; hl = screen address at column 31
    ld ... pop hl ; restore column 31 address
    ld (hl),a ; ...
    ; convert hl to attr address, not shown
    ld ...
    Alcoholics Anonymous Alcoholics Anonymous November 2006 Development
<1…6789101112…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