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.056s
<1234567…34>
  • 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 ... a 30 bytes table, aligned to a 256 byte boundary, and this table is filled ...
    Metalbrain Metalbrain July 2007 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…

    Simple - use a look-up table to shift the sprite ... table consists of 8 sets of 512 bytes, aligned on a high-byte ... shifted two byte value (the second being 256 bytes up from the ... that case, reducing the table to 3.5K. As ... and so should be aligned so you can take ...
    bobs bobs June 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 ... table consists of 8 sets of 512 bytes, aligned on a high-byte ... 's shifted two byte value (the second being 256 bytes up from the ... shifted 1 sprite data byte.
    2. screen byte=right part of ...
    popmilo popmilo November 2009 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 …

    ... long and are aligned to a 256-byte boundary then each table occupies an ... lower byte can be the byte to look up for shifting. The remnant table and ... the current table are ...
    Alcoholics Anonymous Alcoholics Anonymous November 2011 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…

    ... /> push hl
    ; look up screen address from the table
    ld a ... /> push hl
    ; look up screen address from the table
    ld a ...
    ALIGN 256
    ; screen address table. This must be 256 byte aligned
    tbl_scraddr ...
    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…

    ... /> push hl
    ; look up screen address from the table
    ld a ... /> push hl
    ; look up screen address from the table
    ld a ...
    ALIGN 256
    ; screen address table. This must be 256 byte aligned
    tbl_scraddr ...
    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…

    ... /> push hl
    ; look up screen address from the table
    ld a ... /> push hl
    ; look up screen address from the table
    ld a ... />
    ALIGN 256
    ; screen address table. This must be 256 byte aligned
    tbl_scraddr ...
    Paradigm Shifter Paradigm Shifter July 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…

    ... /> push hl
    ; look up screen address from the table
    ld a ... /> push hl
    ; look up screen address from the table
    ld a ... />
    ALIGN 256
    ; screen address table. This must be 256 byte aligned
    tbl_scraddr ...
    Paradigm Shifter Paradigm Shifter July 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…

    ... /> push hl
    ; look up screen address from the table
    ld a ... /> push hl
    ; look up screen address from the table
    ld a ... />
    ALIGN 256
    ; screen address table. This must be 256 byte aligned
    tbl_scraddr ...
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • Robospec (new project, hopefully useful as a tutorial as well)Starting a new project after my graphics investigations. * It's gonna be a Robotron clone since that's not too ambitious (although I'd like to hav…

    ... /> push hl
    ; look up screen address from the table
    ld a ... /> push hl
    ; look up screen address from the table
    ld a ... />
    ALIGN 256
    ; screen address table. This must be 256 byte aligned
    tbl_scraddr ...
    Paradigm Shifter Paradigm Shifter July 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…

    ... /> push hl
    ; look up screen address from the table
    ld a ... /> push hl
    ; look up screen address from the table
    ld a ... />
    ALIGN 256
    ; screen address table. This must be 256 byte aligned
    tbl_scraddr ...
    Paradigm Shifter Paradigm Shifter July 2022 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 …

    ... />
    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
  • 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
  • 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 ... 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
    256 bytes boundaries). This way ...
    Shiru Shiru October 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
  • 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
  • Help! Reverse engineering a Spectrum game[deleted]

    ... I'll be looking them up. Thanks for all the input ... being 256 byte aligned or position dependent code. Calculated jump targets would screw up ... build a table that stored a flag for each byte in the ...
    ASM ASM October 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
  • I'm writing an Operating SystemOkay this might seem like a bait thread, but I am legitamately interested in figuring out how to write a multi-process system for the ZX Spectrum (no…

    ... such as: JP HL or 256-byte aligned tables...)[/quote]

    table. Because the same object ... I can only relocate on 256-byte boundaries.

    up as a low byte part of ... second comparison phase shows up in the list of ...
    u6c87 u6c87 October 2016 Development
  • I'm writing an Operating SystemOkay this might seem like a bait thread, but I am legitamately interested in figuring out how to write a multi-process system for the ZX Spectrum (no…

    ... HL, use stack to jump, 256-byte boundary allocations, etc...) are used ... jumping to program - release relocation table (no need for it anymore ... work in all cases except 256-byte aligned unless you keep relocation offsets ... before until tstih brought it up above.
    Alcoholics Anonymous Alcoholics Anonymous October 2016 Development
  • I'm writing an Operating SystemOkay this might seem like a bait thread, but I am legitamately interested in figuring out how to write a multi-process system for the ZX Spectrum (no…

    ... If someone has created a 256-byte aligned table inside the executable and ... generate code dependent on 256-byte aligned data structures so it ... was truly horrible and showed up frequently enough.

    up the foodchain inside the ...
    Alcoholics Anonymous Alcoholics Anonymous October 2016 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
<1234567…34>

Latest Posts

  • European Software Titles with an English version
    harriusherbartio on 12:06PM
  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 11:21AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 11:01AM
  • I am currently watching.....
    Paradigm Shifter on 12:49AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade 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
  • 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

HitBox

Word Docs Hits
256 4K 7.7K
byte 7.3K 15.2K
aligned 490 673
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