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.021s
<1…10111213141516…34>
  • Why doesnt this work???Simple piece of code wont do as it should, just want to fill the top 22 lines of screen with an attribute value (150) but it wont have any of it. Som…

    ... /> LD HL,22528 ; screen address
    LD B,6 ... /> POP HL ; recall address
    ADD HL,DE ...
    MatGubbins MatGubbins October 2016 Development
  • Best place to start learning assembly on WOS ?So I'm pretty new at this forum but not the Speccy so my BASIC is pretty good. I can see lots of resources on WOS for doing machine code/assembly but…

    ... like %0100010010000011(**) to formulate screen addresses from bit strings related ... the components of a screen address don't line up in ... characteristics like which column the screen address is in and which ... third of the screen the address is in. Not so ...
    Alcoholics Anonymous Alcoholics Anonymous October 2016 Development
  • I'm writing an Operating SystemOkay this might seem like a bait thread, but I am legitamately interested in figuring out how to write a multi-process system for the ZX Spectrum (no…

    ... tries to print outside of screen. You can simply invoke your ... +2 to convert screen coordinates (row and column) to screen address. It's ...
    Einar Saukas Einar Saukas November 2016 Development
  • I'm writing an Operating SystemOkay this might seem like a bait thread, but I am legitamately interested in figuring out how to write a multi-process system for the ZX Spectrum (no…

    ... LSB of the relevant relocatable address

    If the ... logical operations on the relocatable address) then the linker does ... ).

    If any address is absolute, ie it refers ... the binary like maybe a screen address or external section, then no ...
    Alcoholics Anonymous Alcoholics Anonymous November 2016 Development
  • A sped up pixel-shift routine for 1-byte–wide spritesHere’s an optimized (for speed) real-time sprite shifting routine for sprites that are one byte wide. It uses no memory variables for storage of inte…

    ... A with high byte of screen address
    sub 8 ;subtract 8 ... A with high byte of screen address
    sub 8 ;subtract 8 ...
    Jerri Jerri March 2017 Development
  • A sped up pixel-shift routine for 1-byte–wide spritesHere’s an optimized (for speed) real-time sprite shifting routine for sprites that are one byte wide. It uses no memory variables for storage of inte…

    ... A with high byte of screen address
    sub 8 ;subtract 8 ...
    Jerri Jerri March 2017 Development
  • Project: ZX OpusHello my friends, I have been in need of a push lately so I thought if I post some of the work for this project here you guys (and gals) can help me …

    ... specific bit and display file address.

    For pixels ... have a display file address inside a character square, ... the 16-bit attribute address is constructed from this ... "character Y,X to screen address" (screen address means the pixel area). That ...
    Alcoholics Anonymous Alcoholics Anonymous March 2017 Software
  • Look whats possible in 924 bytesSo, finally after over a year of development and nearly 25 years since I first designed the graphics, I've actually made it to the point where this i…

    ... messing about with calculating the screen address twice.

    Currently that ...
    Arkannoyed Arkannoyed March 2017 Development
  • 128k memory musingI've been pondering on the 128k memory thing a bit, and it's just bloody stupid. The 64k memory space is divided in four chunks. One is always los…

    ... in the remaining (ie non-screen) memory in bank 7. When ... you do the screen drawing you page in bank ... the high byte of the screen address.
    dave18 dave18 May 2017 Development
  • Beginner's z88dk help rqdI'm struggling to get my first z88dk C program to compile. My program is this: #include <spectrum.h> int main() { zx_border(INK_BLACK); } …

    thanks the sp1 demo is pretty good actually!

    seems new

    is there a library that finds the screen address from coords 0-31x 0-23y?
    slenkar slenkar June 2017 Development
  • Beginner's z88dk help rqdI'm struggling to get my first z88dk C program to compile. My program is this: #include <spectrum.h> int main() { zx_border(INK_BLACK); } …

    ... a library that finds the screen address from coords 0-31x 0 ... /zx.h#L87"]display file address manipulators[/url].

    [code ... /> cxy2saddr = "character x,y to screen address"

    zsdcc generates very ...
    Alcoholics Anonymous Alcoholics Anonymous June 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…

    ... de,hl ;de now contains screen address hl contains array location
    slenkar slenkar July 2017 Assembler
  • 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 address of screen block 1
    call DPATTERN ... BIT pattern on screen
    inc hl ; Increment screen address
    djnz ...
    Paddy Coleman Paddy Coleman 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 ... ; place it on the screen
    INC HL ; ... ; place it on the screen
    INC HL ; ...
    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,16384 ; Start address of screen block 1
    call DPATTERN ... BIT pattern on screen
    inc hl ; Increment screen address
    djnz ...
    Paddy Coleman Paddy Coleman 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…

    ... /> ld hl,$4000 ;start of screen file
    ld bc,$18 ... ),a ;pattern into screen address
    inc hl ;next screen address
    djnz loop ...
    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…

    ...
    assembled to the required address (above 32768) and all 3 ... br /> HASH LD HL,MainScreen ; screen address
    LD B,12 ; ... a ;pattern into screen address
    inc hl ;next screen address
    djnz ...
    MatGubbins MatGubbins 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…

    ... , but loop to walk the screen column by column and row ... the ROM contents into the screen. This is just so it ... [8];

    /* ...find the screen address of the character.*/

    screen.

    Try it in ...
    thricenightly thricenightly 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, …

    ... mask bit for the screen and adjust the screen address Lo byte accordingly ...
    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, …

    ... pop hl ;restore buffer address
    ret z ... :
    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

    ... 4000 ;load DE with screen address
    ld a,"X ...
    ;Fetch character bitmap address:

    ld l, ... to get the base address of character
    ... ;bitmap addr into DE, screen addr into HL
    ... /> ;if font base address is a multiple of ...
    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

    ... 4000 ;load DE with screen address
    ld a,"X ...
    ;Fetch character bitmap address:

    ld l, ... to get the base address of character
    ... ;bitmap addr into DE, screen addr into HL
    ... /> ;if font base address is a multiple of ...
    digital digital 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…

    ... ;
    inc h ;HL = address of mask bytes 0FAxx
    screen address
    ld d,a ;DE = stored screen address
    ... l ;point DE to screen equivalent ATTRs address
    ldi ;copy ...
    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…

    ... to stored screen address
    ld d,a ;DE = stored screen address
    ... l ;point DE to screen equivalent ATTRs address
    ldi ; ... br /> 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…

    ... rewriting the Calculate Attr to screen address part from 10 to 8 ... de ;pushed DE = stored ATTRs address

    ld a,d ...
    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…

    ... knew calculating the screen address from the ATTRs address was so easy!
    address

    sll d
    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 …

    ... that starts at address $4000 and ends at address $5aff. Visually, ... the attribute area starts at address $5800. Instead of wasting ... can simply keep incrementing the screen address (held in the DE ...
    Adding one to a screen address will move us one character ...
    Ast_A_Moore Ast_A_Moore 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…

    ... ;use L to create the SCReen address Hi-byte from the ATTRa ... ATTRs address
    a2s_a:
    ld a,(de) ;get byte from SCReen ... DE address
    mlp1:
    ld a,(de) ;get SCReen buffer byte ...
    Arkannoyed Arkannoyed August 2018 Development
  • 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…

    ... can derive the ATTR address from the screen address (in HL)
    address from screen address in HL
    LD ... can also calculate the screen address (top scan of char ... ATTR2SCR equ $ ; Get screen address from ATTR address in HL
    ...
    dbolli dbolli October 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…

    ... of code. Attribute address to screen address, and screen address to attribute address.
    [code]aa2sa ...
    FrankT FrankT December 2018 Assembler
<1…10111213141516…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
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