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.078s
<1234567…34>
  • smooth movement in basicWas trying to figure this out myself but i would like to be pointed in right direction now :-). How do I make something move in Basic without gettin…

    ... out, although "erase old : calculate new : print new" is the ... x=horizontal and y=vertical, so if using x & y in PRINT position ... from BASin). Note that I've swapped all x/y names to use x ... from FRAMES at start/restart and the difference used to calculate ...
    Battle Bunny Battle Bunny October 2012 Sinclair Basic
  • Mouse systems for ZX Spectrum[U][B]Mouse systems for ZX Spectrum[/B][/U] Okay, I have been reading the [URL="http://www.worldofspectrum.org/forums/showthread.php?p=688449#post68…

    ... X-position you get a number from 0-255. If you read the Y-position ... you also get a number from 0-255 ... positions for calculate new relative values, and for true position are used ...
    velesoft velesoft March 2013 Hardware
  • FZX: a new standard format and driver for proportional fonts[B]FZX[/B] is a very compact and efficient (although extremely flexible and powerful) standard format to create new fonts for the ZX-Spectrum. It sup…

    ... the same, is the print position only specifiable to character spaces ... />
    [CODE]PRINT #4;AT y,x;"FZX"[/CODE]

    In ... , [B]y[/B] is the vertical coordinate (pixel line from 0 to ... and [B]x[/B] is the horizontal coordinate (pixel column from 0 to ...
    Einar Saukas Einar Saukas June 2013 Brand new software
  • Where do you stick the stack?...OK, so I've got a fair chunk of ASM code assembled from 24000 mark. The stack shouldn't get very big, just a few PUSHes and POPs of the main regis…

    ... /> that DISCiPLE has a 'natural x,y' [URL="http://www.biehold.nl ... only adjust the mouse position by one pixel every 1/50s. So ... the last position read from the hardware, subtracting that from the current position to ...
    Alcoholics Anonymous Alcoholics Anonymous July 2013 Development
  • Add horizontal hardware scroll to ULA+In this case we must read a bit in the ULA+ for test if supported. And the future software that uses it must have to branch: 1. If hardware scroll i…

    ... Z80 code with per-pixel colour, hardware sprites or ... back into the right position. Since that's usually ... scroll only from X line to Y line (with X and Y configurable), ... incredible simple, just delay X pixels the sync pulse ... reduce the size from 32 to 31 columns.
    antoniovillena antoniovillena July 2013 Development
  • generating a pre-defined list in an un-defined sequenceI've decided to become a drunkard, to which end I've been drinking a whole bottle of beer in one day (whereas normally I'd make it last 2 or 3 days).…

    ... if each card was a pixel and you had 49, ... one byte for each bit position within each cell. Although ... are needed for the bit position, so we could get ... would be easy to determine x,y from the bit's place ... happens once that pixel/card is removed from the list/pack ...
    Battle Bunny Battle Bunny July 2013 Sinclair Basic
  • generating a pre-defined list in an un-defined sequenceI've decided to become a drunkard, to which end I've been drinking a whole bottle of beer in one day (whereas normally I'd make it last 2 or 3 days).…

    ... a sequence of numbers from 0 to 65535 without ... have to find explicit X and Y coords followed by a ... to a display address and pixel position (within a byte) directly. ... C & 7 = bit position 0-7 within byte. C ... it, perhaps subtract 1 from the 16-bit value ...
    Alcoholics Anonymous Alcoholics Anonymous July 2013 Sinclair Basic
  • Books that you just can't quit.Much as parts of the presentation,writing style infurates me, there is a book I just keep comming back to again and again. Its like the Yang to the …

    ... worm, five segments long from row R collum CHR$
    from screen and update score line.
    1190 PRINT AT Y,X ... and moving it to the from.
    3009 REM if ... it at it's old position.
    3010 IF R ... ;" "
    3019 REM calculate new position of worms head.
    ...
    wibble wibble August 2013 Sinclair Basic
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... rotate
    rrca ; into position
    jr co_change ; set ... ld (hl), a ; write pixel byte
    jp po_attr ; ... c, (hl) ; get character from font
    sla c ; ... /> fdel ; x, y, z * sin(pi/A)
    fsub ; x, y - z ...
    chev chev October 2013 Development
  • ZX-Paintbrush 2.3 publishedDear readers, Today, I published version 2.3 of ZX-Paintbrush. Inspirated by kgmcneil, I decided to follow his ideas and implemented a switchable p…

    ... for "User Grid"... The X & Y values could perhaps be defined ... , then move that into position and repeat the process many ... , it allows drawing using pixel data only without attributes, ... attribute data from the clipboard selection without the pixel data, and ...
    kgmcneil kgmcneil August 2014 Emulators
  • ZX-Paintbrush 2.3 publishedDear readers, Today, I published version 2.3 of ZX-Paintbrush. Inspirated by kgmcneil, I decided to follow his ideas and implemented a switchable p…

    ... "User Grid"... The X & Y values could perhaps be defined ... then move that into position and repeat the process many ... attribute data from the clipboard selection without the pixel data, and ... often occurring invertions on 8x8 pixel patterns....

    ...
    clausjahn clausjahn August 2014 Emulators
  • Why no PLOT, etc. on bottom two lines?I was pondering if there was any way to get PLOT, etc. to address the full screen from BASIC without having to write a few lines of assembler to bypa…

    ... :
    LET bit=x-8*INT (x/8)+1:
    LET ... strings from "00000000" to "11111111". 'bit' is the pixel position within ... the addressed byte. The first two statements convert the x,y ... , in which case the 'y' range becomes 0 to 191 ...
    Battle Bunny Battle Bunny August 2014 Sinclair Basic
  • 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…

    ... TASM assembler.
    ;*
    ;* Derived from my MC-10 6803 code ... ;flag should still be set from cmp
    clsexit:
    ... print at pixel X,Y but
    ;* prints at a character position.
    ;**************************************************< ...
    JamesD JamesD September 2015 Development
  • 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…

    ... starting at a different SEED position the pixel coords table gets rearranged ... /> XS: defb 0 ;top left x,y, width, height
    YS: defb ... #
    rst $28 ;FP_CALC calculate R mod U
    defb ...
    Battle Bunny Battle Bunny April 2016 Sinclair Basic
  • Flood Fill IssueHi Folks, Came across the following Flood Fill routine by John Metcalf: [code]; scanline fill by John Metcalf ; call with d=x-coord, e=y-coo…

    ...
    ; call with d=x-coord, e=y-coord

    ; set ... ;60006 E5

    ; calculate bit position of pixel

    EA67: nextrun ...
    dbolli dbolli August 2017 Development
  • Were the full Sinclair Loki specs ever actually known?I was just curious. A lot was leaked to the media, but the exact specs seem different depending on source. Some say it could support up to 512x256 an…

    ... 982965"][quote="Luny;982951"]From a developers point of view ... row using a 256/512 pixel width (or 32/64 ... calculate.
    [/quote]

    but you must admit

    x + ( y ... less opcodes), than

    x + (y * 320)

    however ...
    Luny Luny October 2021 Hardware
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ...
    ; look up screen address from the table
    ld c ... ; next pixel row data
    ; get the next address from the table ... x, y position
    ; hl = pointer to 8 bytes graphic data
    ; b = pixel y ...
    Paradigm Shifter Paradigm Shifter June 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ...
    ; look up screen address from the table
    ld a ... ; next pixel row data
    ; get the next address from the table ... x, y position
    ; hl = pointer to 8 bytes graphic data
    ; b = pixel y ...
    Paradigm Shifter Paradigm Shifter June 2022 Development
  • AY musicThis is a format I'm proposing for an AY music player. If anyone can see any problems or anywhere it can be improved please say so. An AY music form…

    ... , start playing an instrument from an offset (also implictly ... loop, 8000 basically repeats from the start, other values ... /> Stream 2byte - the current position of the stream
    Volume ... - depth
    Arpeggio 1byte - x+y semitones
    Vibrato and Arpeggio ...
    cyborg cyborg October 2001 Sinclair Miscellaneous
  • Print at 128,87? :)The advanced search function didn't help me find the answer to this, and I don't remember seeing anything similar in magazines or books... so please …

    ... a character or UDG from BASIC but using pixel coordinates?

    x, y (not y,x like the regular AT ... such routine would limit x to 248 and y to 184 to ...
    zxbruno zxbruno January 2010 Sinclair Miscellaneous
  • 42 colums in screen, in anywherethe routine write in anywhere of the screen, it can start to write in 32X24 position and write from it in 42 colums, it is utility to have border wit…

    ... to write in 32X24 position and write from it in 42 colums ... collect many routines to convert X,Y coordenates in addres of spectrum ...
    Z80user Z80user March 2010 Development
  • Why doesn't my routine work?I have a "level" defined by 504 bytes (28 squares across x 18 squares down) I'm trying to write a routine that will take an X,Y coordinate in pixels…

    ... routine that will take an X,Y coordinate in pixels, and find ... /> ld a, (ix+SPR_ypos) ; get y position.

    sra a ; --------------
    from the level.
    [/code ...
    sekrets sekrets December 2010 Development
  • SpecBAS 0.730 Now available!Well, I felt I should release SpecBAS as it is right now - my new son has been born (this one survived! \o/ ) and when he comes home I'll have very l…

    ... GRAPHIC gfx$|bankID|DEFAULT [POINT x,y] sets a graphic (as a ... the hotspot with the POINT x,y parameter. This is the first ...
    Dunny Dunny February 2012 Sinclair Miscellaneous
  • 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…

    ... .
    dec (hl) ; subtract 1 from y coordinate.
    ret

    dec (hl) ; subtract 1 from x coordinate.
    ret

    x and y coordinates for the player's gunbase position,
    Saboteur Saboteur May 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…

    ... ld a,(characterno) ; getscharater from charterno variable
    sub 32 ... y=0 to 21
    coordslookup ; lookuptable for printing x position. ... LSB xx111111 = character position MSB 11xxxxxx = ...
    uglifruit uglifruit August 2012 Development
  • ZX-Paintbrush version 2.2.9 releasedDear forum readers and ZX-Spectrum emulator friends, today I released ZX-Paintbrush version 2.2.9 with interesting new features (small ones but I th…

    ... [LIST]The tool icon "Adjust position to attribute limits" now allows ... have a non-attribute-compatible x/y-position.[/LIST]
    [LIST]The ... ", which helps importing multiple blocks from one file. Shortcut is . ... 16 to get a range from -15 .. 175 on SCREEN ...
    clausjahn clausjahn August 2012 Emulators
  • BIFROST* Advanced Programming - part 6The purpose of this demo is somewhat different from previous ones. Instead of teaching a new technique, the main goal here is to demonstrate how much…

    ... this demo is somewhat different from previous ones. Instead of teaching ... MAX(x, y) ((x) > (y) ? (x) : (y))

    int linPlayer; // hi-res vertical tile position ...
    Einar Saukas Einar Saukas September 2012 Development
  • Collision detection for interlocking shapes[SIZE=3][FONT=Calibri]I?m looking for some advice as I?m not sure how to resolve the following problem. I have an in memory structure that holds info…

    ... attributes and not as a pixel / line representation.[/FONT][/SIZE ... drawn based on the previous position. For example, if I ... ; X position[/FONT][/SIZE]
    [SIZE=3][FONT=Calibri]0 ; Y Position[/FONT ... collision detection based to the X,Y and Width & Height ...
    Mr Millside Mr Millside October 2013 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
calculate 1.1K 1.4K
pixel 5.1K 8.3K
position 5.8K 7.8K
from 169.9K 237.3K
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 …
  • 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 …
  • 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…
  • Invaders from planext X (missing something?)[URL="http://www.worldofspectrum.org/infoseekid.cgi?id=0006489&amp;loadpics=3"]Invaders From Planet X[/URL]<br /> <br /> P.I.E. System upper right ..…
  • Searching for the artistes from The Power House / H.E.X.Hello, my name is Caroline Bren, and this is my first post. Recently, I put out an audio record which some of you may have heard of, under the Feedin…
  • 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

  • lowest memory position for machine code
  • lowest memory position machine code
  • y first project
  • boy from space
  • from bedrooms to billions
  • get font from game
  • x files
  • loading 48k games from disk
  • x y z
  • x y
  • attr y x
  • screen address to x and y
  • 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 row
  • draw x y z
  • pixel mask x
  • x y to screen position

Copyright © 2024 World of Spectrum