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.378s
<1234567…34>
  • Getting scr addresses from x and yCould someone please tell me how to calculate the 8 screen addresses corresponding to a character printed in basic at coordinates x and y? For examp…

    ... 8 screen addresses corresponding to a character printed in basic at coordinates x and y ... ?

    For example:

    10 let x=15: let y ... -31 and y between 0 and 21. What would be the formula to calculate ...
    zxbruno zxbruno March 2007 Sinclair Basic
  • 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…

    ... of code to convert a screen address to an attribute cell address...
    ... ;
    rra ;
    and 3 ; keep lower 3 bits ...
    RRCA
    AND 3
    OR 58H< ...
    Sokurah Sokurah January 2014 Development
  • General purpose full screen input routineHi Folks, One of the things that annoyed me back in the 1980s with most BASICs was the lack of a full screen "formatted" input function. You could …

    ... />
    [LIST]
    [*]Full screen input at X and Y
    [*]Length of input ... can be restricted
    [*]Ability to ... a real World implementation to reduce size and increase performance. Please note ...
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
  • 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 ... br /> [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
  • Reason for strange display layout?I have always wondered if there is any technical reason behind the strange layout of the display file or why did Sinclair choose to do it this way?

    ... use the SP to access pre-calculated "address of first line ... ", you still have to add the X position ... calculates table address from X and Y. So, don't need to bother about X position ... - applied at the whole screen you have saving of 192 ...
    omega omega May 2007 Development
  • Key repeat weirdness with EI & IYI finally (after 35 years!) decided to write something a) for 48k speccy b) in z80 assembler. It's been over 20 years since I've written anything in …

    ... was a) the speccy screen memory layout and b) that z80 ... routine that draws 16x16 sprites to x and y coordinates. This must be ... have "ld iy, SCREEN" which seem to cause the problems whenever ... in between going to sauna, drinking and going to the local animal ...
    arttu arttu July 2017 Development
  • Lesser used BASIC commandsAre there any interesting articles or books that explore some of the lesser used BASIC commands/functions e.g. DEF FN, IN, OUT etc? The Spectrum BAS…

    ... keys QAOP to move a character around the screen, increasing/decreasing X and Y values ... /> IF inkey$="q" AND y>0 THEN LET y=y-1 etc
    LET y=y-(Inkey$="q" AND y>0)+(Inkey$="a" AND y0)+(Inkey$="p" AND x
    Neil^P Neil^P April 2006 Sinclair Basic
  • pc keyboard for speccyis it possible to use a ps/2 keyboard for a speccy. I have a +2A, spectrum+ and toastrack, which all have broken keys. So an external keyboard woul…

    ... if you rewire it to connect directly to X and Y connectors in your +2A ... power, GND, control and address lines from the computer to appropiate places in ... to wire address pins A8 to A15, and A0. Control signals to wire are IORQ and ...
    mcleod_ideafix mcleod_ideafix April 2012 Hardware
  • pc keyboard for speccyis it possible to use a ps/2 keyboard for a speccy. I have a +2A, spectrum+ and toastrack, which all have broken keys. So an external keyboard woul…

    ... if you rewire it to connect directly to X and Y connectors in your +2A ... power, GND, control and address lines from the computer to appropiate places in ... to wire address pins A8 to A15, and A0. Control signals to wire are IORQ and ...
    bverstee bverstee April 2012 Hardware
  • General purpose full screen input routineHi Folks, One of the things that annoyed me back in the 1980s with most BASICs was the lack of a full screen "formatted" input function. You could …

    ... Folks,

    Hard to believe it is 18 months ... functionality:
    [LIST][*]Full screen input at X and Y
    [*]Length of ... input can be restricted
    [*]Ability to ... all the tricks I know to boost speed (although I ...
    Paddy Coleman Paddy Coleman May 2012 Sinclair Basic
  • BASIC games on GameBoy Advance emulators? Possible ???Does anyone know is there any way to make ZXAdvance or FOON play BASIC games ? The game I want to convert is my own game which I quickly reprogramme…

    ... scaling turned on to X and Y you can see the whole screen including input ...
    retromad retromad December 2012 Sinclair Basic
  • SpecBAS really needs a manual!That Word doc that I converted to an RTF for you Dunny and ASH-II, is still somewhat sparse. I spent bloody hours PLOT/DRAWing a landscape to steer m…

    ... to draw it - using WINDOW PUT GRAPHIC gfx-id,window-id,x,y ... the main screen is 0. X and Y are the coordinates you want to place ... can be drawn to as if they were the screen and they can ... be rotated and scaled as desired ...
    Dunny Dunny August 2019 Sinclair Basic
  • Disappearing/appearing effectI remember doing a small routine in BASIC which could be used to cover the attributes section randomly, until all 704 characters were filled with the…

    ... a mixed up mapping of X coordinates (0..31) mixed up ... a mixed up mapping of Y coordinates (0..23) mixed up ... does map numbers 0..767 to X and Y coordinates in a mixed up ... on its own, map the X,Y outputs through the two arrays ...
    BloodBaz BloodBaz March 2008 Sinclair Basic
  • 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 ... when I have to calculate for the other screen thirds.
    ... code snippet to do this. I?ve tried and got confused.
    Mr Millside Mr Millside April 2005 Development
  • New Manic Miner Remake written in AGK Basic and available on Mac OS X and Windows.<div style="font-weight: normal;">Hi,</div><div style="font-weight: normal;"><br></div><div style="font-weight: normal;">I've released a re-write of …

    ... is available for OS X and windows, and uses Andy Nobles ... loading screen, the game will show you how to complete ... it in one life.  and if ... you have a forwarding email/address you can share?
    and when my day job ...
    Muckypaws Muckypaws June 2015 Games
  • z88dk Spectrum Screen Driver problemHi guys, I've been messing around with z88dk a bit and was trying to output some stuff to the screen. Reading the docs, it says that I can use the Z…

    ... a bit and was trying to output some stuff to the screen. Reading ... use the ZX screen driver to set the x and y coordinates of the ... text I want to ... and 0x20 after my screen clearing routine in order to set the screen to ...
    Lee Tonks Lee Tonks August 2003 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 …

    ... table for the char address, and will work at ... LD A,(YOFFSET) ; Get Y Offset
    LD E, ... />
    WRITECHAR:
    ; C = X, L = B, DE = GFX
    ; 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 …

    ...
    ;
    ; ; CONVERTS A SCREEN ADDRESS TO AN ATTRIBUTE ADDRESS
    ; LD A,H ... DE) ; Get Mask
    AND (HL) ; And With HL
    LD (HL ... Priorities: Mask, Char line, Y char, X char
    ;Attributes: No ...
    robpearmain robpearmain September 2004 Development
  • Zaf-forth to Z80 compiler Build 5This forth like complier is changing almost every day with new items been added. Here is a new Zaf-forth word add it the sptword.fth file - which is…

    ...
    procedure zxcircle ;"x y r zxcircle to screen"
    int zxcirclex ;
    to the screen"
    ;"random sizes abd random x and y"
    ;"prints 8 spaces to screen"

    ."Random ... zxcircle
    ;"put x, y, and r on stack call circle ...
    Steve(spt) Steve(spt) October 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…

    ... means to draw flicker-free and smoothly animated sprites and backgrounds on screen.
    screen address calculations have been added to the standard zx ... sprite rotation to minimize colour clash.

    7. X-thresh and Y-thresh ...
    Alcoholics Anonymous Alcoholics Anonymous April 2006 Development
  • What's wrong with this code ?OK, working my way through Jonathan Cauldwells 'How To' tome and I can't get the following to run in either spin or basin. ( iused the assembler in b…

    ... .

    ld hl,blocks ; address of user-defined graphics data ... /> call 3503 ; ROM routine - clears screen, opens chan 2.

    to x coordinate.
    ret

    ; Set up the x and y coordinates ...
    Saboteur Saboteur May 2012 Development
  • Repton ManiaHi all, I am the creator, and look after, the Repton Resource Page ([url]www.reptonresourcepage.co.uk[/url]). For the site, I have written a freely …

    ... table into the screen memory (0x4000 to 0x57FF & 0x5800 to 0x5AFF)
    screen from,X,Y,screen to,X,Y,0x00) co-ordinates are x=(X-12)div 4;y=(Y-24 ... /> The x and y co-ordinates are worked out (from the memory address):
    geraldholdsworth geraldholdsworth June 2014 Games
  • why am i getting b integer out of range in this code?ive tried running this in spin but thats what i get [code]main org 40000; ; We want a black screen. ld a,71 ; white ink (7) on black paper (0…

    ... graphics.
    ld hl,blocks ; address of user-defined graphics data ... /> call 3503 ; ROM routine - clears screen, opens chan 2.
    ; Initialise ... 1 to x coordinate.
    ret
    ; Set up the x and y coordinates for ...
    digital digital June 2020 Assembler
  • this code wont give me a random starfieldim using a peice of code that ive copied from a book, ignore most of it as it is redundant. for some reason i get a strange random starfield instead …

    ... graphics.
    ld hl,blocks ; address of user-defined graphics data ... /> call 3503 ; ROM routine - clears screen, opens chan 2.
    ; Initialise ... 1 to x coordinate.
    ret
    ; Set up the x and y coordinates for ...
    digital digital July 2020 Assembler
  • 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] ; ***********…

    ... is ok and return so we can print sprite to screen
    ...
    ; Print next char and move to next char line
    CALL ... Screen Address
    ; BC preserved

    ; Example X=20,Y=10 (This address ...
    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] ; ***********…

    ... is ok and return so we can print sprite to screen
    ...

    ; Move to next column, and wrap horizontally if need ... Contains Screen Address
    ; BC preserved

    ; Example X=20,Y=10 (This address ...
    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 …

    ... A,(YOFFSET) ; Get Y Offset
    LD ... br /> WRITECHAR:
    ; C = X, L = B, DE = GFX< ... /> ; ; CONVERTS A SCREEN ADDRESS TO AN ATTRIBUTE ADDRESS
    ; LD A, ... Get Mask
    AND (HL) ; And With HL
    ...
    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 …

    ... A,(YOFFSET) ; Get Y Offset
    LD ... br /> WRITECHAR:
    ; C = X, L = B, DE = GFX< ... /> ; ; CONVERTS A SCREEN ADDRESS TO AN ATTRIBUTE ADDRESS
    ; LD A, ... Get Mask
    AND (HL) ; And With HL
    ...
    robpearmain robpearmain September 2004 Development
<1234567…34>

Latest Posts

  • How to return to basic properly from ASM
    Paradigm Shifter on 1:54AM
  • Minor British Sports that did become games on the ZX Spectrum
    dmsmith on April 8
  • 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
  • 1992 Spectrum Software
    harriusherbartio on April 7
  • Celebrity deaths...
    mel the bell on April 7
  • LONELY TZX files : software TZX'd on the online sites with NO ASSOCIATED DOCUMENTATION
    harriusherbartio on April 7
  • spectrum in netflix bomb and the cold war documentary
    zxbruno on April 7
  • Are there any decent Speccy Flight Sims?
    harriusherbartio on April 7
  • Who Has Got The Earliest ZX Spectrum Software?
    harriusherbartio on April 6

HitBox

Word Docs Hits
screen 45.8K 73.8K
address 11.8K 21.2K
to 549.6K 1.6M
x 14K 31.7K
and 504K 1.3M
y 6.2K 15.7K

Related Threads

  • Convert x,y to Attribute Address in AssemblyWhat is the fastest way, given x,y (in hl) to return the attribute address?
  • i want to save a snapshot file from snap to tap onto my hdd. what code address and length is it?hi,<br /> i want to save a snapshot file from snap to tap onto my hdd. what code address and length is it?<br /> i cant seem to find any info on th…
  • Spectaculator 5.x/6.x And Multiface 3Hi there, anyone had any trouble with this at all? The instructions say that it will auto-switch between a Multiface 128 and a Multiface 3 when choos…
  • Help with Su 20 and issues to swap /beg for to finish 1st 50!Got hold of issue 20 but with no cover, I can get an image of the front cover, but could someone tell me if the Kempston advert on page 2 and the qui…
  • 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…
  • How to hack game to find pokes for infinity life and others!Hello!<br /> <br /> Maybe this has been discused before, but I coulden't find anything via search.<br /> <br /> My question is this.<br /> <br /> How…
  • 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…
  • 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)<br /> <br /> I want to copy 4 bytes wide by 32 bytes high from the screen to an area of memory.<br /> <…
  • 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 …

Related Searches

  • fastest way to clear screen
  • user name and password to download emulator
  • full screen fuse how to
  • loading screen poke to hide text
  • to differences in 128 and 2b
  • x y z
  • yellow hue to screen
  • push pop to the screen
  • shadow screen to c000
  • screen address
  • write to screen
  • copy picture to screen
  • white screen no border when trying to load
  • attribute address to screen
  • row to screen address
  • screen address to buffer
  • screen x y r tape
  • screen x y
  • screen address to attribute
  • x y to screen position

Copyright © 2024 World of Spectrum