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…567891011…34>
  • Calculating the address of a pixel?Hi Folks, Is there an easy/quick way of calculating the memory address of a pixel? So for example, if I wanted to "plot" pixel at screen coordinate…

    ... addresses.

    The screen layout (not its size) is ... character (if you remember the screen loading of Fairlight, that's ... -bit value can hold both X,Y values. Yes: you can ... effects, for example: having the screen divided into three horizontal blocks ...
    Paddy Coleman Paddy Coleman February 2011 Sinclair Basic
  • yeah - unix for zx spectrumI started a new hobby project. An operating system for ZX Spectrum. A unix clone. Talked to my friend about it and he asked me what if after I'm done…

    ... font anywhere on the screen (x...0-255, y..0-191) and it ... a second to draw entire screen. Then again you can have ...
    tstih tstih February 2011 Development
  • Utility or routine to save/display imagesLet's assume I have an image or sprite at coordinates x,y with w witdh and h height. If I were to store this image, which storage method would allow …

    ... image or sprite at coordinates x,y with w witdh and h ... the the image after specifying x,y, w and h.

    screen into UDGs (courtesy of Bloodbaz ... /> Thanks. :)[/QUOTE]

    Is X the start of a column ...
    Dr BEEP Dr BEEP March 2011 Sinclair Miscellaneous
  • SE Basic Type-ins^Pete suggested creating a sticky thread for SE Basic discussion. I thought a Type-ins thread might also be useful. Up to the mods if they want to ma…

    ... command to specify the x/y pixel position to PRINT ... jr z, getyp ; X and Y co-ordinates and move to ... /> ld (chrad), hl ; screen and calculate the address in ... position, place it on the screen
    and a ; ... left hand side of the screen.
    ld a, (coords_y ...
    chev chev April 2011 Sinclair Basic
  • Serial protocol, help!Hi, simply trying to find best way to transfer programs from PC to real ZX Spectrum for testing purposes. Under Windows I tried using Spxfr and it w…

    ... code
    1030 SAVE *"b"SCREEN$ [COLOR="Red"]- or LOAD, as ... course, replace the SCREEN$ bit with whatever CODE x,y that you need ...
    RST#08 RST#08 May 2011 Development
  • Frank N SteinThis one > [url]http://www.worldofspectrum.org/infoseekid.cgi?id=0001849[/url] Always seems to crash about level 7 (maybe a bit more) or so with an …

    ... that anyway on the options screen).[/QUOTE]

    You might ... AT y,x;" /144"; AT y,x+1;" /145": LET r=1: LET y=y+1 ... y+1,x;"/144"; AT y+1,x+1;"/145": LET r=1: LET y=y ... =2 THEN PRINT AT y,x;"/146/147"; AT y,x+1;"/148/149 ...
    Jimmy Jimmy June 2011 Games
  • Print TextHow do i print text on the bottom left row(memory location in attribute 23295) of the screen in assembly? I understand the parts better on paper and …

    ... for display text to the screen.

    It doesn't ... /> It will print anywhere on screen and in whichever PAPER and ...
    ;
    ; $16 - PRINT AT X, Y
    ;
    ; $0A - COLOUR ((PAPER ...
    rich_chandler rich_chandler June 2011 Development
  • Proportional Print Routine...Hi Folks, Does anyone know of a good proportional printing routine for the ZX Spectrum? Ideally I am looking for something that prints with charact…

    ... "79"
    1510 LPRINT AT x,y;"Some bright white text on ... the lower part of the screen too.

    Hope this ...
    Paddy Coleman Paddy Coleman June 2011 Sinclair Basic
  • Move objectHi again, I am using paper colors to represent game objects. I have a "paddle" that is 4 pixels wide. I save its position as a 2 byte word in memory…

    ... better idea than storing the screen address directly. For one ... with X/Y coordinates and doesn't have to care about screen addressing ... single routine that deals with screen addressing, you only have ... to convert your X coordinate to a screen position might look ...
    gasman gasman June 2011 Development
  • writing an emulator-newbie needs helpHi, this is my first post here. I decided to write a minimalistic emulator of ZX Spectrum-no emulation of advanced peripherals, no emulation of sound…

    ... the Speccy display to the screen...

    [quote]
    ... what resides in Speccy's screen memory into what appears on ... /positions of pixels on a screen etc.?
    [/quote]
    ... get equivalent attribute value for x,y positions of speccy display. ...
    Arjun Arjun June 2011 Emulators
  • I am a simple man....a layman if you will!...but I had a Spectrum when I was 12 years old that I loved more than was healthy! It gave me a love of computers which remains to this day and I …

    ... off accelaration. load the screen to test if it works ... erased to show the "OK, x:y" message.

    ... back to main emulation screen, clear OK message and ... type
    CLS:LOAD"" SCREEN$:PAUSE 0
    then ... window.
    5.Your screen will be reloaded and ...
    Arda Arda June 2011 Emulators
  • Move objectHi again, I am using paper colors to represent game objects. I have a "paddle" that is 4 pixels wide. I save its position as a 2 byte word in memory…

    ... with X/Y coordinates and doesn't have to care about screen ... to convert your X coordinate to a screen position might look ... paddley ; adress of start of screen line for paddle
    < ... ; copies attributes = PAPER 6 to screen

    ld h, ...
    ooze48k ooze48k July 2011 Development
  • Can anyone see a way to speed up the following line of code?Hi Folks, Been looking at bottle necks in my code using BASin's Profiler and the following line (well the 2nd LET statement) is somewhat slow. [COD…

    ... again, perhaps start with a X$, Y$ and Z$ for the different ... to display data on the screen. That needed to have p ...
    Paddy Coleman Paddy Coleman July 2011 Sinclair Basic
  • Frank N SteinThis one > [url]http://www.worldofspectrum.org/infoseekid.cgi?id=0001849[/url] Always seems to crash about level 7 (maybe a bit more) or so with an …

    ... spot. An example:[CODE]IF SCREEN$(x+2,y) = f$(num) + f$(num ...
    Jimmy Jimmy July 2011 Games
  • Birthday PlotsHello all; When browsing the web, I stumbled across an oddity known as Birthday Plots. In effect somebody enters a numeric date and the computer prin…

    ... make full use of the screen, thus:

    [code]
    260 LET x=(r(k,1)-l1)*xmod ... )*ymod: PLOT x,y: DRAW px-x,py-y: LET px=x: LET py=y
    Battle Bunny Battle Bunny July 2011 Sinclair Basic
  • Gremlin Graphics is back - Bounder remake for iOS announced[url]http://www.eurogamer.net/articles/2011-07-18-gremlin-graphics-back-in-the-game[/url]

    ... you can't see the screen very well...which isn't ... set that as the zero x,y,z
    beanz beanz July 2011 Chit chat
  • Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …

    ... likely to be a full screen input routine and to this ... :

    [LIST]
    [*]X & Y input location
    [*]Input length ... SUB 1060
    230 REM Screen
    240 GO SUB 1110 ... /> 630 REM i1=X
    640 REM i2=Y
    650 REM ...
    Paddy Coleman Paddy Coleman August 2011 Sinclair Basic
  • Othello/Reversi Validate and Make MovesI'm working an Othello/Reversi game The board is represented as a 2d array 8*8 ie: 00000000 00000000 00000000 00012000 00021000 00000000 00000000 000…

    ... draw board
    110 FOR x=1 TO 8
    120 ... y,x; INK a(x,y)+3;"XOO"(a(x,y)+1)
    199 NEXT y: NEXT x ... /> I know to offset the x,y of the circle to match ... a quick question, what is screen width/height in pixels?
    fortyeightkay fortyeightkay September 2011 Development
  • line, plot and circle in whole 256x192 displayhi! are there some way to draw lines, or whatever, in the whole 256x192 display, than just the above 256x176 part? (this is the msx1 version i made o…

    ... dod3 ;no swap if X>Y
    LD ... are used to calculate the screen address ------------
    ;See ... H,B ;now HL = screen addr
    AND %00000111 ... (HL),A ;move to screen
    POP HL ;coords ...
    roko roko September 2011 Sinclair Basic
  • Multi-screen mazes?Well, it's been decades since I last mucked about with speccy BASIC, so over the last couple of weeks I've been starting out as a newbie learning a b…

    ... 'll try to do something screen by screen for now rather than ... out with a small 2x2 screen map, and see what happens ... about the X Y difference when the player leaves a screen. I was ... was about to enter the screen so the player doesn't ...
    Morkin Morkin October 2011 Development
  • Simple SpriteHow do you draw a sprite on the screen? For example i want to draw a smiley face sprite and would like either a link to a tutorial or a very well com…

    ... can calculate a screen display position from the x y ('PRINT AT') position ... sprite co-ordinates stored as x y character positions (row/column).
    Morkin Morkin October 2011 Development
  • Multi-screen mazes?Well, it's been decades since I last mucked about with speccy BASIC, so over the last couple of weeks I've been starting out as a newbie learning a b…

    ... when a player leaves the screen, the xy distance between computer ... sprite is following you from screen to screen. May put up a ... about to arrive in the screen. For simplicity this is ... computer sprite home in using x - y calculations at maze intersections where ...
    Morkin Morkin November 2011 Development
  • Up/Down Left/Right scrollCan anybody give a newbie some pointer to simple one char scrolling by pixel? I've looked at a lot of resources, but as you can imagine, it's all a …

    ... can address it as an x/y plane like a sheet of ... :

    1- Given the x,y coordinate figure out where in ... ; hl = display address for coord (x,y)
    pop bc ; b = height ... characters
    ; hl' = screen address
    ; b' = pixel y rows remaining
    Alcoholics Anonymous Alcoholics Anonymous November 2011 Development
  • Problem with a small basic routineDear all; I have been messing about with a routine (originally published in Your Computer 1982, by Tim Langdell). The idea of the program is to simul…

    ... along the bottom of the screen.

    Put me out ... BORDER 1
    20 FOR X=-100 TO 100
    30 ... (SQR((10^4) – X*X)/R)
    50 FOR Y=V TO –V ... (80+30*SIN((SQR(X*X+Y*Y))/12)-.7*Y)
    70 IF Z
    Meurglys68 Meurglys68 November 2011 Sinclair Basic
  • Arcade Game Designer 2.0 releasedI know dozens of you downloaded the previous version of AGD. Well, you can put it away now because I've made some major improvements to that version…

    ... still need to check blocks' x;y and try to correlate the ... to support 12 sprites on screen at 25 frames per second ...
    jonathan jonathan December 2011 Development
  • Creating a new game - AssemblySo... finally I?m studying Assembly Z80... after 36 years. :) Well... it?s sooooooooooooo hard to make a game using Assembly? I bought a book (Spectr…

    ... and move it onto the screen... I?ll be happy! Hehe ... write the same on the screen line below. Then add a ... , etc.

    The Speccy screen layout is a bit awkward ... later to convert X/Y coords to a screen address and shift-offset ...
    obo obo January 2012 Development
  • Creating a new game - AssemblySo... finally I?m studying Assembly Z80... after 36 years. :) Well... it?s sooooooooooooo hard to make a game using Assembly? I bought a book (Spectr…

    ... write the same on the screen line below. Then add a ... , etc.

    The Speccy screen layout is a bit awkward ... later to convert X/Y coords to a screen address and shift-offset ...
    Turrican Turrican January 2012 Development
  • Using ATTR detection in machine codeIs there a ROM routine that can be called that reads the ATTR value of a co-ordinate?

    ... that would convert an x,y into a screen attribute address (others on ... with different registers pointing at x,y for different udgs
    ld ... ;call this routine to convert x,y from horiz & vert coord ... ,23 the max values for x,y
    vertical_coord defb 16< ...
    R-Tape R-Tape January 2012 Development
  • Words of adviceHi all This is my first post on World of Spectrum and I'm gradually starting to discover the wonders of the machine. Just to give you a bit of bac…

    ... was a speccy running (small screen, 16 colours) but ran like ... also got an overhaul - the "screen" can be any size, and ... the MOVE parameter - PRINT MOVE x,y;"Hello!" will output at any ...
    Dunny Dunny January 2012 Sinclair Basic
<1…567891011…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
x 14K 31.7K
y 6.2K 15.7K

Related Threads

  • 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 …
  • Screen$ (x,y)Hi everyone<br /> As you know, Screen$ doesn't recognize UDG characters.<br /> Is there any way to solve this problem?<br /> I want to "identify" …
  • 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…
  • Convert x,y to Attribute Address in AssemblyWhat is the fastest way, given x,y (in hl) to return the attribute address?
  • X-10 or X-20 schematics wantedDoes anyone have schematics for the Sinclair X-10 or X-20 amplifiers ?<br /> <br /> These amp-kits were sold back in 1964/65, and when I read about t…
  • 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?<br /> <br …
  • 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…
  • DRAW x,y,a Algorithm - how does the ROM do it?Hi all, <br /> <br /> Getting on with SpecOS, and one of the things I would love to do is to preserve the original ROM's behaviour when drawing Arcs.…
  • Boxed ZX Spectrum + with 2 x ZX microdrives, Alphacom32 printer with 3 x thermal rollHi people.<br /> <br /> I found a bargain at a carboot on Sunday from somebody who didn't know what he was selling. (Im no expert by a long shot)<br …

Related Searches

  • fastest screen routine
  • screen routine
  • screen routines
  • y first project
  • fastest way to clear screen
  • x files
  • issue 2 yellow screen
  • title screen
  • screen
  • basic scr screen
  • x y z
  • x y
  • attr y x
  • screen x y r tape
  • screen x y
  • 2000 let atr attr y x tinta 8 int papel 63 return
  • draw x y a algorithm
  • calculate pixel position from x y
  • draw x y z
  • x y to screen position

Copyright © 2024 World of Spectrum