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.043s
<1234567…34>
  • 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 …

    ... />
    I have used a look up table for the char address, and ... assembler instructions
    #DEFINE DEFB .BYTE
    #DEFINE DEFW .WORD
    INC DE
    INC H ; *256 TO GET NEXT LINE
    robpearmain robpearmain September 2004 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 …

    ... 't require an address look-up table. In doing this we ... number in the low byte of the screen address ... add a,64 ; 64 * 256 = 16384 = start of screen display ... /> ld d,a ; line * 256.

    [B]; Find ...
    Jagd Tiger Jagd Tiger April 2014 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] ; ***********…

    ... I have also created a look up table for the "xpos" gfx ...
    ; ********************************************

    #define DEFB .BYTE
    #define DEFW .WORD
    INC H ; *256 to get next line
    robpearmain robpearmain August 2004 Development
  • Preferred way of determining Y co-ord in assembly?I know of 2 ways of calculating the y-cord of a pixel row for the speccy in assembly. One is to calculate the address by ways of shifting and masking…

    ... way is to use a look up table I suppose that holds the ... to a 192 bytes table, aligned to a 256 byte boundary, and followed ... by another 192 bytes table 64 ... 30 bytes table, aligned to a 256 byte boundary, and this table is filled ...
    Metalbrain Metalbrain July 2007 Development
  • He's back......and he's got a new trick! AY Chip here. I've been away far too long. I would like to announce 'HatStand': for no adequately explored reason, I h…

    ... that as the high byte for a look-up table of addresses. The ... hardware supplies the low byte ( ... br /> In practice the low byte could be anything so programmers ... filled the entire 256-byte block with that byte to make sure ...
    Code Monkey Code Monkey August 2007 Chit chat
  • Sprites...What is fastest way for drawing masked sprites at any screen position without using preshifted data ? I want to use it for isometric view game... li…

    Simple - use a look-up table to shift the sprite ... it.

    The table consists of 8 sets of ... , aligned on a high-byte boundary, so you can ... graphic value as the low-byte, and read out it ... shifted two byte value (the second being 256 bytes up from the ...
    bobs bobs June 2008 Development
  • A scrolling starfield - help needed!I have been messing on my speccy again recently and tried to do a scrolling (parallax - maybe) starfield. I know how to scroll using machine code but…

    ... , I would use a look up table of screen row addresses. ... byte
    LD H,A; effectively multiply result by 256 ... /> POP HL ; retrieve pointer screen byte

    XOR (HL) ... ; XOR with current star byte
    LD (HL),a ; ...
    Digital Prawn Digital Prawn December 2008 Development
  • A scrolling starfield - help needed!I have been messing on my speccy again recently and tried to do a scrolling (parallax - maybe) starfield. I know how to scroll using machine code but…

    ... the aforementioned row address look up table. By the time I ... byte
    LD H,A; effectively multiply result by 256 ... /> POP HL ; retrieve pointer screen byte

    XOR (HL) ... ; XOR with current star byte
    LD (HL),a ...
    Digital Prawn Digital Prawn December 2008 Development
  • Sprites...What is fastest way for drawing masked sprites at any screen position without using preshifted data ? I want to use it for isometric view game... li…

    ... =bobs;279358]Simple - use a look-up table to shift the sprite data ... 's shifted two byte value (the second being 256 bytes up from the ... shifted 1 sprite data byte.
    2. screen byte=right part of ... shifted 2 sprite data byte.
    3. screen byte=right part of ...
    popmilo popmilo November 2009 Development
  • shifting spriteshi. have anyone experience with shifting sprites by table ? some neat tricks ? i don't want to see complete code (really don't want, it trashes thr…

    ... memory they take up. A table of pre-rotated byte values (that you ... have to mask off) will be 256 ... whole shifted byte, so that's 4K for the table. Pre-shifting ... similar to using a mirror look-up table, and having half the rows ...
    joefish joefish February 2010 Development
  • Hi Res Print Routine neededHas anyone seen code for a print routine with pixel accuracy? That is print(y,x,CHAR) that allows 0 < y < 192 and 0 < x < 255 - that takes a charact…

    ... "
    ; ld bc,99*256+10 [Y Value=99 X ... /> ;
    ; ld bc,99*256+10
    ; ld hl,xxxx ... /> ;Rotate the Character Data Byte D times - and Shift the ... Mask Byte as well, forcing Zeroes into ... the loops and use a look-up table to set the Screen ...
    Turkwel Turkwel June 2010 Development
  • Screen routinesHello. For my games I?m using the sprites routine method of a screen buffer and when I finish to print all the sprites I dump all the buffer in the …

    ... use a look-up table - or actually 8 of them - each of 256 bytes ... the tables on 256-byte boundaries you can select the table for the ... shift required with the high-byte, and ... load the low-byte with the value ...
    bobs bobs January 2012 Development
  • Fastest redraw of screen from UDGsHere's a question for everyone, to generate a bit of code to be used in games: On a standard 48K Spectrum, what's the fastest way to redraw the scre…

    ... . You'd either need a look-up table to find the start of ... fit 10 characters into a 256 byte page instead of only 9 ...
    joefish joefish March 2013 Development
  • Fastest redraw of screen from UDGsHere's a question for everyone, to generate a bit of code to be used in games: On a standard 48K Spectrum, what's the fastest way to redraw the scre…

    ... . You'd either need a look-up table to find the start of ... fit 10 characters into a 256 byte page instead of only 9 ... UDG character at least one byte should be zero, or at ... be able to save 1 byte and at least 2 T ...
    Einar Saukas Einar Saukas March 2013 Development
  • Change PAPER and BORDER colours from machine codeHow do you go about changing PAPER and BORDER colours from machine code? I've forgotten the system variables for border and paper.

    ... organise your graphics data; up to 256 UDGs stored in sequence, anywhere ... times.
    This copies a byte from (HL) to (DE), ... a character space, each byte is addressed 256 bytes higher in memory ... , you could use a similar look-up table, but it's now much ...
    joefish joefish July 2014 Development
  • How would you do a negative image ?So I want to invert a Speccy bitmap. What would be the fastest and easiest way to this ? I've been using this a lot but I can't see how I could achi…

    ... /> And if you create a look up table with the above routine for ... and place it at a 256 boundary, then you can use ... e,(hl) ;D = high byte of the look up table
    ld a,(de ...
    Hikaru Hikaru December 2016 Assembler
  • im looking for a double size, height and width character programi want to be able to stretch and scale up udg's

    ... have your UDG banks 256 bytes apart rather than ... re-POKE the upper byte of the system variable ... /> Now to scale things up vertically, you just duplicate the ... you either need a look-up table of expanded values or ... start by chopping the byte up into two four-bit ...
    joefish joefish November 2017 Development
  • Contended Memory woes...Hello All, An iccle problem I have and was hoping one of you fine WoSers could bail me out again... :) I've noticed that my emulator is running sli…

    ... /> RAM read (by byte)
    RAM write (by byte)
    Port read ... the appropriate amount from the look up table using the t-state as ... index.

    My contended table is correct.
    My t ...
    Korinel Korinel June 2013 Emulators
  • zxasm.net facebook group - COMPO #6 – 256 byte game compo – THE RESULTS !!!The results of the last compo are in. All entries include the source code. [img]http://zx-speccy.co.uk/Copy2WebServerData/2016716_12380.png[/img]…

    ... /2016/07/16/compo-6-256-byte-game-compo-the-results/"]zxasm ... /2016/07/16/compo-6-256-byte-game-compo-the-results/[/url ...
    polomint polomint July 2016 Development
  • 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) I want to copy 4 bytes wide by 32 bytes high from the screen to an area of memory. I then want to cop…

    ... (two pixel step, maybe smart look-up table)

    but basically i ... L takes 16 T for byte as LDI does
    so ...
    Fikee Fikee December 2005 Development
  • How to convert hex bytes to .. in assembly?I hadn't a clue what to put in the title so..., I have in memory 3 hex bytes #10 #34 #50, e.g.,[code][size=2]#6400 10 , 34 , 50 ; hex 25600 16 , 52 …

    ... />
    Barring that have a look at RLD and RRD to ... in BCD format in a byte as "AB" then the value ... of the byte stored is "A*16+B ... then there's always a look up table.
    Alcoholics Anonymous Alcoholics Anonymous July 2008 Development
  • One for the demo codersOn this occasion I forgot I had already asked the exact same question in another thread.

    Look-up table isn't fast enough (~29t per byte)?
    Shiru Shiru October 2008 Development
  • One for the demo codersOn this occasion I forgot I had already asked the exact same question in another thread.

    Look-up table with 256 or 128 entries (if you ... in look-up table and get new attribute from table.

    Look-up table will ... something like:
    [code];look-up table aligned to 256 bytes, MSB in D ... and inc hl (to cross 256 bytes boundaries). This way ...
    Shiru Shiru October 2008 Development
  • 16K Rom with RS232 supportHi all, I am looking for a 16K Rom-code (to fit into the speccy) which supports RS232 and Network of IF1. Background: I am using 48K Issue 3 with W…

    ... end of the close stream look-up table if the stream was already ... the machine as the matching byte must be found somewhere in ...
    Geoff Geoff November 2008 Hardware
  • shifting spriteshi. have anyone experience with shifting sprites by table ? some neat tricks ? i don't want to see complete code (really don't want, it trashes thr…

    ... similar to using a mirror look-up table, and having half the rows ... with shifted sprites and shifted byte tables. Maybe you can take ...
    Fikee Fikee February 2010 Development
  • Sprite RotatingI was looking (actually at Everyone's a Wally), and noticed that all the graphics for the main characters are left facing, and two characters wide. …

    ... ready to go for next byte. these pieces of code are ... used if you go the Look Up Table route...hence my use of ... this up to show the core routine - how you take a byte ... is indeed set up ready to put another byte down. I've ...
    Turkwel Turkwel June 2010 Development
  • Scrolling a mapCan someone explain in idiots terms how you scroll a map. I'm not after code as such, just an explanation of how it can be done. I'd like to scroll…

    ... byte (8 pixel) positioning horizontally, and pixel precision vertically. Use a look-up table ... each rotation onto the next byte in the line, so that ...
    joefish joefish May 2012 Development
  • assembly optimization: times tenDecimal numbers are not computer friendly :) Anyway, short of saying "sod it - I'll multiply by 8" - and another part of the program does indeed div…

    ... input you could consider a look up table (29 t-states) - but wasting ... /> [code]
    LD H, lookup / 256 ; 7
    LD A,(HL ... answers (put this on a 256 border)
    [/code]
    Stefan Drissen Stefan Drissen August 2012 Development
<1234567…34>

Latest Posts

  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 1:34PM
  • Happy 40th Birthday to the Amstrad CPC464!
    Your Spec-chum on 7:28AM
  • Your Favorite Magazine Cover Tapes.
    Paradigm Shifter on 1:28AM
  • Simple Sprite Routine
    dmsmith on 1:25AM
  • I am currently watching.....
    zx1 on April 11
  • Today's BASIC program: visit attribute cells I am interested in, in pseudorandom order
    Paradigm Shifter on April 11
  • How do you share programs online?
    firelord on April 11
  • Celebrity deaths...
    Ælita on April 11
  • Who Has Got The Earliest ZX Spectrum Software?
    harriusherbartio on April 11
  • Footballer of the year - translated version
    firelord on April 11

HitBox

Word Docs Hits
256 4K 7.7K
byte 7.3K 15.2K
look 49.6K 56.6K
up 135.3K 178.3K
table 5.8K 9.1K

Related Threads

  • Look what I picked up in town...Was looking for one of these for ages.<br /> <br /> Saw them on amazon.co.uk, but never got round to buying one, then I was in Debenhams today and fo…
  • Do you want XP to look like Vista ? Look what I've foundI have just found this, i have loaded it onto my XP Media Center PC and it looks fantastic, kind of a facelift for XP PC's :) <br /> <br /> <br /> [u…
  • Roll up, Roll up... New Cronosoft release...Although it's been available for a little while, I've now updated the website to process orders for the new game SUDOKU by Kev Thacker.<br /> <br /> …
  • The need of having a 257-byte table for IM2 routinesThis came from a discussion at the speccy.org forum.<br /> <br /> I have understood that the reason behind the 257-table for IM 2 routines is due to …
  • Turrican 2 - Mock up of a Mock upOne of the games that I was most looking forward to in the latter years of the Speccy's commercial life was Turrican 2.<br /> <br /> The previews mad…
  • Animated mock up of a beat em up from RELEVO VideogamesRELEVO has posted in its channel a mockup of what could be in the future a beat em up for the Spectrum and MSX. Looks quite good!<br /> <br /> [url]h…
  • Take a look at these close-up pictures of my hard Willy!I've been busy with the 3D printing again. :D <br /> <br /> [URL=http://smg.photobucket.com/user/dave_c4/media/3d%20prints/2015-11-18%2000.26.37_e…
  • zxasm.net facebook group - COMPO #6 – 256 byte game compo – THE RESULTS !!!The results of the last compo are in. All entries include the source code.<br /> <br /> [img]http://zx-speccy.co.uk/Copy2WebServerData/2016716_123…
  • 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…
  • Up for GrabsCan anyone help with this game? (its by alternative software)<br /> <br /> I've tried a few emulators, all with the same problem. <br /> <br /> The g…

Related Searches

  • table pixadd
  • byte scan
  • saboteur 2 speed up
  • up for grabs
  • ay frequency table
  • look up table
  • dereferencing look up table
  • look up table code
  • 256 byte align
  • 256 byte align table ramtop error
  • 256 byte align table for sprite mask
  • 256 byte align sprite masklook up table
  • how to code a 256 byte aligned look up table
  • how to align a 256 byte look up table
  • align a 256 byte look up table
  • 256 byte look up table
  • ld h table 256
  • pixel look up table
  • look up table pixel
  • mirror byte table

Copyright © 2024 World of Spectrum