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.024s
<1…9101112131415…34>
  • Robospec (new project, hopefully useful as a tutorial as well)Starting a new project after my graphics investigations. * It's gonna be a Robotron clone since that's not too ambitious (although I'd like to hav…

    ...
    ; convert row -> offset of row in screentable (= tbl_scraddr + row*16)
    ; look up screen address from the table
    ld ...
    ; convert row -> offset of row in screentable (= tbl_scraddr + row*16)
    Paradigm Shifter Paradigm Shifter July 2022 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
  • 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
  • mea culpa!I have just sent Digital Prawn another entry for CCG 2008 which might shock a few people! It is a program which emulates a Commodore Vic 20 - yes, yo…

    ... tricky though, and the 25 row screen is just that bit too ...
    Jimmy Jimmy July 2008 Development
  • 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
  • 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
  • Getting the contents of tablesHi All, I'm risking a potentially daft question here as it seems pretty fundamental but here goes: What's the best way of pointing register pairs a…

    ... with hl pointing at a screen address and de at the graphic ...
    R-Tape R-Tape October 2011 Development
  • Moving a line down the display in assembler?...It's not a "[I]how can I do it[/I]" question, it's more a "am I missing something in trying to do it a new way" kinda question. What I've been doing…

    ... , how do I get a screen address from that. It seems easy ... code and you get the screen address in HL.

    [CODE ...
    Sokurah Sokurah June 2012 Development
  • 40 Column Printing RoutineI've written a 40 column printing routine, which I'd like to share... It's my first piece of 'public' code so go easy on me! I don't think it is a…

    ... with hl pointing at the screen address
    ld de, ... shift, then AND with screen contents
    ld b ... hl pointing at the screen address
    ld de, ... character before printing to screen
    defb 0, ...
    uglifruit uglifruit August 2012 Development
  • Plea for new hardwareI'm posting this as a poll as I want to judge if I'm a solo loon going on about this, or if people really are interested in either of the following S…

    ... memory into its own screen buffer and generates a ... -read from an alternative address, so that it could ... reads to the ROM address space, and treat them ... able to place its screen address at least on any ... the ROM and lower 16K address spaces. (That the ROM ...
    joefish joefish April 2014 Hardware
  • Drawing some spritesI figured I want to draw some sprites. My target was to do a 16x16 masked sprite. There's no clearing here, just drawing the sprites. My first ite…

    ... /> ld a, (de) ; load pixel from screen
    and (hl) ; and the ... /> ld (de),a ; put modified pixel to screen
    inc hl ; increment ... ), a ; plot pixel to screen
    inc hl ; increment screen ptr
    < ...
    Sol_HSA Sol_HSA November 2015 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 ... /> INC E ; ADD 256 TO SCREEN ADDRESS TO GET TO NEXT LINE ... TO ADD TO THE MAP ADDRESS
    ADD HL,BC ; ... ADD 32 TO THE MAP ADDRESS TO GET TO THE NEXT ... out how to get the address of the next character ...
    mulder mulder January 2016 Development
  • Function with push and popIm trying to see if I understand push and pop when it comes to using to pass parameters to functions: [code] LD HL,16384 LD A,5 Push AF Ld A…

    ... of the add function to screen address 16386
    its always zero ...
    slenkar slenkar April 2016 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…

    ... de,hl ;de now contains screen address hl contains array location
    screen,
    the charaddress function works ...
    slenkar slenkar July 2017 Assembler
  • Work out screen address from attribute cellAttribute cell 22529 is equivalent to PRINT 0,1 position value. Is it possible to obtain these two values from the number 22529 in a simple MC rou…

    Attribute cell 22529 is equivalent to PRINT 0,1 position value.

    Is it possible to obtain these two values from the number 22529 in a simple MC routine?
    daveysludge daveysludge October 2018 Development
  • Fighting Warrior's protection systemThis is one of those bizarre cases where cracking the loading system is orders of magnitude more fun than playing the game. (Indeed, discovering I wa…

    ... bytes off tape for a screen address, then 8 bytes for that ... the attribute. This allows the screen to be drawn in a ... .

    3) After the screen is loaded, the remaining bytes ... takes the code hidden on screen, puts in the top of ...
    Ritchie333 Ritchie333 October 2021 Games
  • line routineWondered if anyone can help me out. I have been programming a 3d graphics library for the spectrum, in Machine code. The line routine that I have i…

    ... />
    ; ******************************************************************
    ;
    ; Get absolute pixel address in map of virtual (x ... ,x) coordinate of pixel
    ; out: de = address of pixel byte
    ; a ...
    rtunes rtunes October 2001 Sinclair Miscellaneous
  • help with sprites from SevenUpHas anybody got source for a short m/c rountine that can send sprites designed in SevenUp to the screen or to a dummy screen? A long time ago, I wor…

    ... /> The way the Spectrum's screen layout is divided into thirds ... determine which third of the screen you're dealing with, usually ... the high byte of your screen address - 16384, 18432 or 20480 ...
    jonathan jonathan April 2004 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 …

    ... to store and retrieve the screen address each line.

    Derek
    dmsmith dmsmith 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] ; ***********…

    ... > 2) Embed the sprite address into it's table and ... status changes. Updating the address during the movement is usually ... you mean. I dont calculate screen addresses, these are read ... you mean, only recalcluate the screen address when the sprite moves?
    robpearmain robpearmain August 2004 Development
  • Amstrad CPC Emulator?After reading a favourable comment on one of the other threads, I fancy having a look at what the CPC had to offer, since I've never really had the c…

    ... need hardware sprites in those pixel-colour screen modes. THere's just ...
    b00mzi11a b00mzi11a November 2004 Sinclair Miscellaneous
  • 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 "Routine to generate a Screen Address Table". I had to change ...
    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…

    ... the low byte of the screen address you need to preserve for ...
    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 very ... simple:

    ; Get Attribute 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?

    ... you want the attr address and have the screen address the code is ... very simple:

    ; Get Attribute 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 ... a routine to calculate the screen address from the XY coord (again ...
    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…

    ... always have 49152 as the screen address?

    I have ... /> call PageRam ; effects the flipped screen

    ld a,( ... />


    ; hl = screen address
    ; de = gfx

    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

    ... />
    ret

    ; HL = screen address
    printchar:


    robpearmain robpearmain March 2006 Development
<1…9101112131415…34>

Latest Posts

  • i am currently listening to........
    Paradigm Shifter on 12:26AM
  • Happy 40th Birthday to the Amstrad CPC464!
    dmsmith on April 16
  • Celebrity deaths...
    mel the bell on April 16
  • Cooperative Games.
    Paradigm Shifter on April 16
  • LONELY TZX files : software TZX'd on the online sites with NO ASSOCIATED DOCUMENTATION
    harriusherbartio on April 16
  • European Software Titles with an English version
    harriusherbartio on April 16
  • How we became brainwashed by social media
    Antiriad2097 on April 16
  • How Do You Categorize Your Speccy Software and Games?
    Antiriad2097 on April 16
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on April 16
  • I am currently watching.....
    zx1 on April 15

HitBox

Word Docs Hits
pixel 5.1K 8.3K
row 3.2K 6.5K
screen 45.8K 73.8K
address 11.8K 21.2K

Related Threads

  • "Pixel after Pixel", WoS contest for the best fan made loading screen$After reading the post where Ste?86 did a splendid fan loading screen for Pud Pud, I had the idea of creating a contest to see which is the best load…
  • 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…
  • 12-pixel-wide font on 512x192 screenThanks to Geoff I have a working prototype for displaying this font in BASIC. Machine code to follow.
  • 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…
  • Calculating the address of a pixel?Hi Folks,<br /> <br /> Is there an easy/quick way of calculating the memory address of a pixel? So for example, if I wanted to "plot" pixel at scree…
  • 50Hurts - Full-screen 50Hz 1-pixel scrolling on a 128K Speccy50Hurts - Full-screen 50Hz 1-pixel horizontal scrolling on a 128K Speccy.<br /> Graphics are an obvious nod to Joffa, whose games and banter were a b…
  • 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…
  • Microhobby's Pixel A Pixel compoI've recently found out that there's been a graphics competition Pixel A Pixel held by Microhobby magazine, thx to Ivanzx for pointing this out in on…
  • 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…
  • Microhobby's Pixel A Pixel compo: help requiredHi!<br /> <br /> The start of this story is described in this topic: [url]http://www.worldofspectrum.org/forums/showthread.php?t=38955[/url]<br /> <b…

Related Searches

  • fastest screen routine
  • screen routine
  • screen routines
  • fastest way to clear screen
  • issue 2 yellow screen
  • screen address
  • screen address wrap
  • attribute address to screen
  • screen address c b l
  • screen address aa
  • row to screen address
  • screen address to buffer
  • screen address to x and y
  • row by address
  • screen pixel set unset above
  • screen pixel set above
  • calculate pixel position from row
  • screen address to attribute
  • get pixel address
  • routine to scroll screen buffer by 1 pixel

Copyright © 2024 World of Spectrum