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.039s
<1234567…34>
  • RGB to VGA convertor for ZX (clones)[img]http://s44.radikal.ru/i106/0908/1a/28c90d0ca25b.jpg[/img] [img]http://s15.radikal.ru/i188/0908/f2/c1d66b5f6d4f.jpg[/img] It's GOOGLE translatio…

    ... work with ZX128. (must calculate pixel clock from original ula clock):
    [img ...
    velesoft velesoft August 2009 Hardware
  • display file addressing; screen slicingWhile working on this Compendium I'm updating or rewriting a lot of stuff. One thing I eventually came to appreciate was the simple & clever way in w…

    ... deal with any rectangle on pixel boundaries.

    The important ... pixlines within a row, increment H. This will automatically calculate the correct ... same relative segment position; ie. if it was saved from row 3 it ...
    Battle Bunny Battle Bunny July 2013 Sinclair Basic
  • 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…

    ... address and A holding the pixel position (the usual deal).
    position (0-7) within cell ... ex af,af' ;restore pixel position (number of shifts) into ...
    ;of char row, so we're done ... sub 8 ;subtract 8 from it
    ld h, ...
    Ast_A_Moore Ast_A_Moore February 2017 Development
  • Textured Scanline Flood Fill for ZX Spectrum 48KPity that it's quite hard to contribute code to WoS in a straightforward manner. Recently, I have created a textured/hatched fill M/C routine for the…

    Pity that it's quite hard to contribute code to WoS in a straightforward manner. Recently, I have created a textured/hatched fill M/C routine for the ZX Spectrum 48K. It was for a text/graphic adventure I'm working on. The algorithm is based on [url="http ...
    Volker Volker February 2021 Software
  • How to get the current line position of a +3e's text window?Does anybody know how to get the current line position of a [url=http://www.worldofspectrum.org/zxplus3e/]ZX Spectrum +3e[/url]'s text window? I've r…

    ... a special case) and then calculate the row position as needed.[/QUOTE]
    w_ppos ds.b 1 ; pixel position within character square (0-7 ... /> w_plpos ds.b 1 ; pixel line position
    w_autupd ds.b 1 ... code says, but the pixel line from the top of the screen ...
    programandala.net programandala.net March 2015 Development
  • Small Machine Code Routines Which Maybe UsefulAs part of creating Flynn's Adventure in Bombland I created a lot of little routines to do all sorts of things. A lot of these I created based on inp…

    ... based on input from reading the posts ... **********************************
    ; xy coords to screen pixel position
    ; **********************************
    ld a ... *************************************
    ; move one char row down and plot again
    TomD TomD April 2011 Development
  • Help needed with calculating screen addressesCan anyone help me finally crack Jonathan Cauldwell's screen addressing calculator and, more to the point, is the reason I'm struggling because this …

    ... a difference of 8 going from one segment to another ? ... significant bits which determine the pixel position. The instruction AND 56 ... our vertical screen address. From there we take our ... Jonathan Cauldwell's alorithm to calculate it:


    ...
    Jagd Tiger Jagd Tiger April 2014 Development
  • Double Buffer UtilityHi Folks, I've been experimenting with double buffering on a 48k Speccy for a small project I'm working on. After reading lots of good advice here…

    ... a buffer which is 192 pixel high (deep).
    # ... from row 1 in the buffer
    #
    #Copy to screen x-position ... = self.inputValue('Copy from buffer x-position in (integer) characters', ... = self.inputValue('Copy from buffer y-position in (integer) pixels', ...
    KrazyKattapilla KrazyKattapilla August 2014 Development
  • High score table routineI wrote this general purpose high score table routine. It stores 5 scores and displays them alongside the player names, which are 8 characters long. …

    ... ; CLS

    ; ---------- CALCULATE SCORE POSITION ---------

    LD HL,(SCORE ... CALL PRINT ; set the first row's coordinates and attributes
    from column
    JR C,SHWDG0 ...
    Alessandro Grussu Alessandro Grussu July 2017 Assembler
  • 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…

    ... E5

    ; calculate bit position of pixel

    nextrun:
    row waiting to be filled< ... C9

    ; calculate the pixel address and whether or not ... the coordinates of an adjacent row

    checkadj:
    ...
    Paddy Coleman Paddy Coleman August 2017 Development
  • Printing text, part MMXIIXI'm pretty sure there's been a zillion threads about this already, and I don't think it's the first one by myself either, but here goes. Proportiona…

    ... /> ; row loop counter
    ld -7 (ix),#0x08

    ; calculate destination ... offset (from lookup table)
    ld ... />
    ; Row loop - do this 8 times (for 8 pixel high chars ...
    Sol_HSA Sol_HSA December 2018 Development
  • Speccy machine code info where is it?Recently I've been trying to learn Z80 and I've managed to make limited progress (some of my routines even compile now!) but I seem to be having trou…

    ... bit port read identifies which row you are interested in. ... remember)
    LLL = 010 (row 10 is the third character ... byte to plot, as bit position from the left. Here it' ... constantly calculating new screen addresses from pixel coordinates.

    Here ...
    Alcoholics Anonymous Alcoholics Anonymous June 2003 Sinclair Miscellaneous
  • 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 …

    ... * Draw sprite in unshifted position. Called when pixel position is zero.

    from right to left
    < ...
    SPRITE LD A,(SPRYCO) ;calculate screen address using a table ... .
    * each byte from 0-255 is stored shifted ...
    dmsmith dmsmith August 2004 Development
  • sprite making in +3 BASIC?Any sprite tutorial I come across is far too complicated! Can someone help me? For instance, how do you create a person-shaped animated sprite which …

    ... 1x2 character sprite into position on the 2x2 character ... walk across 8 pixels from 1 chr square into ... detection, but convert it to pixel numbers.
    eg. ... You now have the pixel position of the sprite that can ... sitting on a character row and is only moving ...
    Kiwi Kiwi September 2005 Development
  • 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 …

    ... -7) indicates the vertical pixel row within a character
    ... br /> [B]2. 8-bit Pixel Coordinates[/B]

    ... indicates the pixel position within a byte. 0=leftmost pixel position (bit ... , you want to go from #1 to #4. ... do. Never mind, going from #2 to #4 ...
    Alcoholics Anonymous Alcoholics Anonymous April 2006 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…

    ... sp1_Rect *clip, uchar *frame, uchar row, uchar col, uchar vrot, uchar ... absolute pixel position. Both the X and Y pixel coordinates can range from 0 ... character coordinates and pixel shift within a character. The row and col ...
    Alcoholics Anonymous Alcoholics Anonymous April 2006 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…

    ... continued from part 1

    As ... NR type sprites to any pixel position but they will appear unshifted ... to draw anything underneath them. From the table above, you should ... over by sp1_IterateSprChar() in row-major order. Row-major order, in this ...
    Alcoholics Anonymous Alcoholics Anonymous May 2006 Development
  • Sprite adviceHello. So, I'm slowly getting to grips with Z80 assembly - currently equal parts frustration and enjoyment. Now looking for some advice to help shift…

    ... ?).

    ;;;;;;;calculate shiphl based on shipx and ... /> ld a,(shipy) ;calcuate pixel row from shipy value
    and 7 ... /> ld a,(shipy) ;calculate screen region from shipy value i.
    calculate screen region from shipy value ii.
    48K 48K May 2006 Development
  • Sceen$ helpMost people have used screen$ at some time or another and for me what I want to do is use it or something like it as a start screen before the game p…

    ... stored as one byte per pixel row, rather than one byte per ... cause things to scroll one pixel vertically. To scroll things horizontally ... it to pick up UDGs from somewhere else in memory without ... appropriate bank to get any pixel position. I wonder if that's ...
    gasman gasman May 2007 Sinclair Basic
  • Rainbow Generator for 48K Spectrum using PUSHThis is what I came up with from [B]gasman[/B]'s suggestions. It's stable in ZXSpin and ZX32 simulating a 48K Speccy. Anyone like to try it on the …

    ... are taken
    ; from the standard screen channel. To ... br /> po_store equ 0x0adc ; position store routine
    report_j equ ... ret nc ;

    ; calculate attribute addres from s_posn
    ld a ... Macro for 8 lines per row
    ld sp,colour_map ...
    chev chev May 2009 Development
  • My first platformerHi all! How do you do? Been lurking here for a while, but never had the courage to join the forum. :) The Speccy was my first computer, so I've alw…

    ... an exact horizontal character coordinate (pixel position is a multiple of 8 ... /> ******** ********

    (next char, one pixel row shown)

    -------- ********
    [/code ... ) from the column's graphic pointer. If you have a blank row ...
    Alcoholics Anonymous Alcoholics Anonymous March 2010 Development
  • New member here. And a spider! :)Hello everyone. My name is Sekrets. I'm quite a lonely individual, searching for a digital home where I might find fellow speccy enthusiasts to adopt…

    ... file manipulator functions and from the name you ... address to move one pixel row up or down ... ). Moving down one pixel row can be done with ... sprite on any vertical pixel position, not just those aligned ... .

    Pixel placement horizontally requires you to ...
    Alcoholics Anonymous Alcoholics Anonymous March 2010 Development
  • Learning Assembly LanguageHow easy would it be to learn assembly language for someone who has a decent grasp of Basic? I mean how long do you think it would take before I coul…

    ... you start doing that from day one you may ... in a,(254) ; IN from keyboard port
    and a ...

    ; Read sprite variables from array.


    ; & ... pixel data

    ; ------------

    ld hl,lpt ; Calculate Y position ...
    ASM ASM October 2010 Development
  • Learning Assembly LanguageHow easy would it be to learn assembly language for someone who has a decent grasp of Basic? I mean how long do you think it would take before I coul…

    ... in a,(254) ; IN from keyboard port
    and a ...

    ; Read sprite variables from array.


    ; ... pixel data

    ; ------------

    ld hl,lpt ; Calculate Y position ... ; POP screen line address from LPT
    ld a ...
    sekrets sekrets November 2010 Development
  • Learning Assembly LanguageHow easy would it be to learn assembly language for someone who has a decent grasp of Basic? I mean how long do you think it would take before I coul…

    ... in a,(254) ; IN from keyboard port
    and 1 ...

    ; Read sprite variables from array.


    ; ... pixel data

    ; ------------

    ld hl,lpt ; Calculate Y position ... ; POP screen line address from LPT
    ld a ...
    ASM ASM November 2010 Development
  • 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…

    ... /> ; Including code by Ian Beardsmore from Your Spectrum issue 7, September ... /> ld (chrad), hl ; screen and calculate the address in the
    rr h ; correct pixel position, place it on the screen ... address in the attributes file from a
    ld a, ...
    chev chev April 2011 Sinclair Basic
  • 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…

    ... /> ;move to the new printing position.
    GETXP: CP 254
    calculate
    ;the address in ... character definition into the correct pixel position, place it
    ;on ... in the
    ;attributes file from a given display file address ...
    chev chev May 2011 Sinclair Basic
  • 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…

    ... /> ; Including code by Ian Beardsmore from Your Spectrum #7, September 1984 ... hl ; on the screen and calculate the address
    ld a ... the
    rr h ; correct pixel position, place it on the
    from a given display
    rrca ...
    chev chev May 2011 Sinclair Basic
  • SP1 library questionsI'm working on my first game. I've not written a game since the late 1980s and that was a text based multiuser dungeon for BBC Micros with econet... …

    ... documentation I've found apart from the header files is the ... also prefer just to start from a blank slate between levels ... which moves to an absolute pixel position (the range is 0..2047 ... 32 and row 0.

    [quote]
    4. Moving from one ...
    Alcoholics Anonymous Alcoholics Anonymous 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.
    row/column).
    Morkin Morkin October 2011 Development
<1234567…34>

Latest Posts

  • I am currently watching.....
    Paradigm Shifter on 12:49AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Fixed Speccy Software. And which games remained unfixed?
    John Elliott on April 21
  • Happy 40th Birthday to the Amstrad CPC464!
    rich_chandler on April 21
  • Another Birthday! The Game Boy Is 35!
    mel the bell on April 21
  • European Software Titles with an English version
    harriusherbartio on April 21
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 21
  • 1992 Spectrum Software
    harriusherbartio on April 21
  • +3 Disk drive motor
    AndyC on April 21
  • Celebrity deaths...
    mel the bell on April 20

HitBox

Word Docs Hits
calculate 1.1K 1.4K
pixel 5.1K 8.3K
position 5.8K 7.8K
from 169.9K 237.3K
row 3.2K 6.5K

Related Threads

  • Mine Alert from MH, already typed up by Namco and missing from WoS (Neil Parsons??!)I was reading the thread where the game "Sir Gawain" was typed up and uploaded to the archive and noticed that the same person did type up also anoth…
  • "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…
  • 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…
  • 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…
  • WoS Pixel after Pixel May 2012 CompetitionHere are the entries for the Wos Pixel after Pixel May 2012 Competition.<br /> <br /> [IMG]http://i1239.photobucket.com/albums/ff516/K33pontruckin/pi…
  • Microhobby's Pixel A Pixel restoration: releasesThe first three pages are ready and have been released at the DiHalt 2012 lately to support the Wild compo.<br /> <br /> [url]http://zx.maros.pri.ee/…
  • Microhobby's Pixel A Pixel restoration (210, page 10)A new compilation of restored images has been ready, demonstrating the power of an update conversion tool.<br /> [url]http://zx.maros.pri.ee/microhob…
  • Microhobby's Pixel A Pixel restoration: 156,157,158,159,160,161,205We've made another release of about 30 restored Pixel a Pixel entries.<br /> [url]http://zx.maros.pri.ee/microhobby/MH_156_p15_MH_157_p35.zip[/url]<b…
  • Scene+ (cassettes for sale from the Spectrum User Club from Austria and Germany)I am selling some of the issues in cassette of the Austrian Spectrum Club (also German, I think!), most of them are quite old and hard to see. They i…
  • Photos from the Cambridge Centre for Computing History and from the Baron of Beef pubFor several weeks, I've been adding new photos every Sunday to my Flickr space because I am publishing a selection of pictures from my trip to London…

Related Searches

  • lowest memory position for machine code
  • lowest memory position machine code
  • boy from space
  • from bedrooms to billions
  • get font from game
  • loading 48k games from disk
  • save screen from basic
  • new hardware from shaun
  • new hardware from
  • save screen from mc
  • pixel quest
  • pixel quest einar
  • new game wip from retroworks
  • rescue from atlantis
  • calculate an average
  • new hardware for spectrum from shaos
  • find screen position of all attr
  • dim from input
  • pixel row screen address
  • calculate pixel position from x y

Copyright © 2024 World of Spectrum