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.020s
<1234567…34>
  • 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…

    ... what I guess is a screen address calculation problem.

    I ... need to calculate the screen address of a tile based on ... I have tile 0 its address would be 16384, tile 1 ... to calculate for the other screen thirds.

    Could someone ...
    Mr Millside Mr Millside April 2005 Development
  • 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…

    ... to convert a screen address to an attribute cell address...

    ... ; get the high byte of screen address
    rra ; divide h ... ; de now contains the attribute address
    [/CODE]

    Sokurah Sokurah January 2014 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;…

    ... system variable to extrac the screen address for a PRINT position.
    Paddy Coleman Paddy Coleman September 2016 Sinclair Basic
  • Smooth Screen Scrolling RoutineHi everyone, this is a follow up to the thread on smooth screen scrolling. As promised here is the code for the routine. It's pretty long and fairl…

    ... /> SCRMODA LD DE,16388 ;screen address of top left
    ; ... /> LD BC,1760 ;adjust screen address for
    SBC HL,BC ... /> ;HL=screen addr.
    ;DE=address of tile graphics ... /> EX DE,HL ;DE = SCREEN ADDRESS AGAIN

    SKIPB ...
    dmsmith dmsmith September 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 …

    Does 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 this.
    Mr Millside Mr Millside November 2004 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…

    I have the screen address (say 0,0 i. ... (4433 TStates to copy from screen to store)



    ; Clear the screen to show we are bringing ... ; Copy from store to the screen

    ld hl, ...
    robpearmain robpearmain November 2005 Development
  • Help with calculating screen addresses[SIZE=3][FONT=Calibri]I?m having a bit of a coding session whilst at work so can?t spend too much time on my current problem. I?m sure someone on thi…

    ... just inc or dec the screen address by one. Up and down ... to cross one of the screen thirds. Assuming my cursor starts ...
    Mr Millside Mr Millside October 2013 Development
  • 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…

    ... />
    I have a bitmap screen address in DL, character aligned (the ... address of the top byte of ... the corresponding attribute address fiddling with that bitmap address?

    I ...
    na_th_an na_th_an November 2013 Development
  • Help needed with calculating screen addressesCan anyone help me finally crack Jonathan Cauldwell's screen addressing calculator and, more to the point, is the reason I'm struggling because this …

    ... the low byte of the screen address.

    Finally, ... will give us our vertical screen address. From there we take ... a routine which returns a screen address for (ycoord, xcoord) in ...
    X (xcoord) = 2
    Screen Address = 20482


    ...
    Jagd Tiger Jagd Tiger April 2014 Development
  • Double-Buffer ScreenFor my Alien Breed Speccy re-write I decided to use a Double Buffer (DB) or 'Back Screen' to draw all the game action onto, before shuffling the whol…

    ... Buffer (DB) or 'Back Screen' to draw all the ... onto the main display screen. This allows me to ... />
    The DB screen sits at mem 25000d and ... hl, 25000 ;Start of DB Screen
    ld de, 16384 ... d $40/$48/$50 for screen address
    ld a,(cline) ...
    LuMan LuMan April 2014 Development
  • Spectrum Screen RAM layoutHi there The spectrum screen layout is rather odd. It seems to be arranged into 3 256 byte groups. If I have an x (horizontal) coordinate (from…

    ... there

    The spectrum screen layout is rather odd. It ... BASIC) to generate the appropriate screen address?

    I'll see ...
    Willsy Willsy December 2015 Development
  • need help with speed optimization. this procedure draws a sprite with mask from memory onto the screen with x-coordinate in pixels. it doesn't shift sprites in realtime, it just uses …

    ... A ;| so, in HL - address for shift table into one ... side, in DE - address for shift into another side ... LD HL,(SPRADR) ; taking precalculated screen address where to draw sprite
    address of next bottom line on the screen.
    ...
    moroz1999 moroz1999 August 2004 Development
  • Machine Code Sprites Example Code Using Char Based SystemBelow is my WIP code to do smooth screen wrapping sprites using char positions and offsets, as opposed to writing direct to a line (0-191) and shifti…

    ... HL Contains Screen Address
    ; DE Contains Char Address
    ...

    ; Calculate address of char

    ...
    ; HL Contains Screen Address
    ; BC preserved
    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 Contains Screen Address
    ; DE Contains Char Address
    ... ACHAR

    ; Calculate address of char

    ...
    ; HL Contains Screen Address
    ; BC preserved
    robpearmain robpearmain August 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 …

    ... />
    ; CONVERTS A SCREEN ADDRESS TO AN ATTRIBUTE ADDRESS
    LD A,H ... :
    ; HL CONTAINS SCREEN ADDRESS
    ; DE CONTAINS CHAR ADDRESS
    ; ON EXIT ...
    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 …

    ... #DEFINE SCREENTABLE 0FB00H ; SCREEN ADDRESS LOOKUP TABLER
    # ... ; ; CONVERTS A SCREEN ADDRESS TO AN ATTRIBUTE ADDRESS
    ; LD A ... ; HL CONTAINS SCREEN ADDRESS
    ; DE CONTAINS CHAR ADDRESS
    ; ...
    robpearmain robpearmain September 2004 Development
  • Help needed with drawing masked spriteI need to draw a small sprite (16 bytes) on to the screen using a mask. Its the only sprite that will be used so speed isn't too important. I was goi…

    ... 16 bytes) on to the screen using a mask. Its the ... a small area of the screen (based on the sprite ... draw the sprite to the screen using the mask. On ... the next screen update I would erase the ... had moved to a different screen address then draw the sprite ...
    Mr Millside Mr Millside November 2004 Development
  • ANN: SP1 for Z88DK (aka splib3, Sprite Pack v3.0)Well it's finally arrived, after a month of "a few days from now" release deadlines. SP1 is the lastest version of splib, a flicker-free software sp…

    ... number of sprites on-screen, aside from non-functional ... animated sprites and backgrounds on screen.

    It ... small portions of the screen changes between updates. This ... /> - #defines for colours, border(), screen address calculations have been added to ...
    Alcoholics Anonymous Alcoholics Anonymous 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…

    ... 8x8 pixel spaceship on the screen based upon x,y pixel ... Cybernoid in a totally black screen

    I have two ... /> 1/ Currently, I calculate the screen hl coordinates for each pixel ... errors due to the funky screen address system), but seems long-winded ...
    48K 48K May 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…

    ... /> call get_screen_address_and_draw ; hl has screen address

    madp_poke ... call get_screen_address_and_draw ; hl has screen address

    madp_dec ... ; h now = screen address (left hand column)
    robpearmain robpearmain September 2006 Development
  • Aggravating problem with screensI've rewritten my Sam C runtime emulator code ( well almost ) to allow me to use my own routines for blitting sprites onto the screen, storing tiles …

    ... the physical location of a "screen" address in memory, or if Sam ...
    compiled to run at address 32768.
    [/QUOTE]

    screen memory ( yes, I reference count ... keep forgetting I can only address 64k at once.

    DonkeyPong DonkeyPong January 2007 Development
  • RFC: 64 column font codeIn BASIC, type CLEAR 49999 then import the code at 50000. Then type RANDOMIZE USR 50000. This will create a new channel and attach stream #4 to it. A…

    ... added to the base
    ; address to give the correct location ... the row to the base screen address

    ld a,( ... /> pop hl ; restore the font address

    jr nc,odd_col ... the first byte of the screen address

    ; left nibble on ...
    chev chev January 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 ;next ... right
    ld hl,16384 ;screen address to start at

    screen address)

    ld e, ...
    Rickard Rickard May 2007 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…

    ... The SP1 engine divides the screen into character squares, each of ... print double-width text to screen occasionally but the game ... and scrolls that on the screen.

    The code ... h library for the strange screen address manipulators seen in this program ...
    Alcoholics Anonymous Alcoholics Anonymous June 2007 Development
  • TOP 10 information that a speccyfan must knowI'm trying to write another article about speccy in a local scene magazine, and I need your help (again). Can you post your opinions about "very imp…

    ... user?

    eg.
    Screen address starts from 16384.
    zx ...
    Arda Arda January 2008 Sinclair Miscellaneous
  • Fastest Block Drawing Code?Following on from my scrolling thread [URL="http://www.worldofspectrum.org/forums/showthread.php?p=351304#post351304"](http://www.worldofspectrum.org…

    ... in order to scroll the screen.

    Now I am ... ) to the screen.

    Assuming HL holds the address of the ... Block, and DE holds the screen address, does anyone have an example ... to BLIT this to the screen as quickly as possible?
    robpearmain robpearmain May 2009 Development
  • Rainbow Generator for 48K Spectrum using PUSHThis is what I came up with from [B]gasman[/B]'s suggestions. It's stable in ZXSpin and ZX32 simulating a 48K Speccy. Anyone like to try it on the …

    ... holds the
    and 1 ; address that was called.
    JR ... bc,colour_map ;This puts the address of the colour
    ; ... bc,colour_map ;Give you the address again
    ret ;Return ... 8 lines using the same screen address
    ENDM ;Repeat 24 ...
    joefish joefish May 2009 Development
  • Tips on optimizing some newbie assembly routinesI'm starting to learn some assembly language. The best way to learn is to actually code something you are going to use, so I'm creating a very simple…

    ... />
    ; This address is calculated by:
    ; ...
    ; Next character screen address:
    pop de
    ... we just start on another screen address:

    ld ...
    na_th_an na_th_an June 2009 Development
  • Z80 Machine Code Question...Hi Folks, I know not strictly a BASIC question but I have started to learn Z80 machine code - 25 years too late! :smile: I have been reading a book…

    ... is intended to paint the screen black (nothing complex) and looks ... is FFh in the first screen address i.e. it seems that ...
    Paddy Coleman Paddy Coleman August 2010 Sinclair Basic
  • Optimization for this codeHello, I have done and submitted a small program for the CSS Crap Game Compo which involves a machine code routine. The z80 with BASIC and MC is av…

    ... /> ; above to get the correct screen address into HL
    ; did not ...
    Rickard Rickard October 2010 Development
<1234567…34>

Latest Posts

  • I am currently watching.....
    Paradigm Shifter on 12:49AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Fixed Speccy Software. And which games remained unfixed?
    John Elliott on April 21
  • Happy 40th Birthday to the Amstrad CPC464!
    rich_chandler on April 21
  • Another Birthday! The Game Boy Is 35!
    mel the bell on April 21
  • European Software Titles with an English version
    harriusherbartio on April 21
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 21
  • 1992 Spectrum Software
    harriusherbartio on April 21
  • +3 Disk drive motor
    AndyC on April 21
  • Celebrity deaths...
    mel the bell on April 20

HitBox

Word Docs Hits
screen 45.8K 73.8K
address 11.8K 21.2K

Related Threads

  • 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…
  • Real Spectrum screen flicker with SCREEN$I've written a basic loader to simply do a 'load "" screen$' based video from a divide+ however I'm finding the Spectrum can't render a screens and a…
  • Wow! Splitscreen gaming goes full screen!!! One screen gives two fullscreen views!Sounds a bit Alice in Wonderland (If Lewis Carroll had written it in the twenty-first century) but aparently, using 3D glasses you can get two full s…
  • ULAPlus: showing different screen modes in one screenI wanted to write a demo showing the same screen, converted to various screen modes available on the Spectrum (well, a Spectrum clone capable of show…
  • 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 ;…
  • Best Side Screen/Screen-Surrounds?I've been researching side-art/screen-surrounds for my own game, so at the risk of asking a question that has probably been asked in the last 20-odd …
  • Type a screen of text from the start screen.I've forgotten all the combo's of symbol-shift and so on, but is there a way, from Spectrum Basic to just type out a load of text? Problem is, as soo…
  • Screen address of PRINT position...Hi Folks,<br /> <br /> The following code uses DF CC system variable to extrac the screen address for a PRINT position.<br /> <br /> <br /> [cod…
  • Mixed bag - Mangled in-game screen and/or loading screen.[url="http://www.worldofspectrum.org/infoseekid.cgi?id=0012757&amp;loadpics=3"]Black Raven[/url]<br /> <br /> Mangled in-game screen and loading sc…

Related Searches

  • fastest screen routine
  • screen routine
  • screen routines
  • fastest way to clear screen
  • issue 2 yellow screen
  • title screen
  • screen
  • basic scr screen
  • loading screen
  • preload screen
  • basic start address
  • screen address wrap
  • attribute address to screen
  • screen address c b l
  • screen address aa
  • row to screen address
  • pixel row screen address
  • screen address to buffer
  • screen address to x and y
  • screen address to attribute

Copyright © 2024 World of Spectrum