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

    ... as the high byte for a look-up table of addresses. The ... hardware supplies the low byte (depends ...
    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
  • 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…

    ... if you create a look up table with the above routine for ... and place it at a 256 boundary, then you can use ... ,(hl) ;D = high byte of the look up table
    ld a,(de ...
    Hikaru Hikaru December 2016 Assembler
  • Delay routineAs some people are aware, I have recently starting writing a [url=http://fuse-emulator.svn.sourceforge.net/viewvc/fuse-emulator/trunk/fusetest/]autom…

    Anyone care to write a version that doesn't require a table aligned to 256 byte boundaries (and has the table directly following the code)? Thought I'd ask in case someone does so that I can avoid a little work :-)
    Alcoholics Anonymous Alcoholics Anonymous May 2007 Development
  • Delay routineAs some people are aware, I have recently starting writing a [url=http://fuse-emulator.svn.sourceforge.net/viewvc/fuse-emulator/trunk/fusetest/]autom…

    ... require a table aligned to 256 byte boundaries (and has the table directly ... [CODE]overhead2 EQU 21 + (LOW table)[/CODE]
    The 16 is ... that as long as the table and the "remainder" routines ... ] ASSERT (HIGH t_ret = HIGH table)[/CODE], which will fail if ...
    icabod icabod June 2007 Development
  • Fastest way to mirror a byte?I.E. turning 01100000 into 00000110, in assembly. I'm trying but I suck at stuff with rotation and the carry bit. Any pointers?

    ... hl,&4000 ; first display byte
    ld de,&57ff ... ; last display byte
    ld b,revtab/256
    loop:

    halt

    defs (-$)%256 ; 256-byte align
    revtab:
    defb & ...
    obo obo October 2011 Development
  • Easiest way to figure instruction lengthGiven a start address, what is the easiest way to find out instruction length at that address in Z80? I found [url="http://www.z80.info/decoding.htm"…

    ... end I went for the table solution, but not a ... handler table but an index table. As I'm ... special index for 1 byte instructions to which all ... for 2, 3, and 4 byte instructions.

    That ... opcodes to 256 byte page and use this table to convert ...
    tstih tstih March 2022 Development
  • 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…

    ... of shifts or current screen/sprite data address. Instead, it uses ... -iraq-2017-a-shoot-em-up"]my game[/url] for the ...

    [code] align hi($)==hi($+8) ? 1 : 256[/code]

    256-byte boundary. If that’s not ...
    Ast_A_Moore Ast_A_Moore February 2017 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 …

    ... a look-up table - or actually 8 of them - each of 256 bytes ... would then look-up the shift of the sprite graphic, rather than ... you align the tables on 256-byte boundaries you can select the table for ... of 13, getting my first sprite routine to work - it was ...
    bobs bobs January 2012 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…

    ...

    ; draw column aligned sprite, arbitrary row
    ; DOES NOT ... -coord
    ; look up screen address from the table
    ld a ... section
    ALIGN 256
    ; screen address table. This must be 256 byte aligned
    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…

    ...

    ; draw column aligned sprite, arbitrary row
    ; DOES NOT ... -coord
    ; look up screen address from the table
    ld a ... section
    ALIGN 256
    ; screen address table. This must be 256 byte aligned
    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…

    ... of data for the sprite must be ALIGN 32.
    Note ... tbl_scraddr be aligned to a 256 byte boundary
    adc h ... br /> ; look up screen address from the table
    ld ... ; 16x16 graphics. align to 32 byte boundary
    ALIGN 32
    gfx16x16_ball ...
    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…

    ...

    ; draw column aligned sprite, arbitrary row
    ; DOES NOT ... -coord
    ; look up screen address from the table
    ld a ...

    ALIGN 256
    ; screen address table. This must be 256 byte aligned
    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…

    ...

    ; draw column aligned sprite, arbitrary row
    ; DOES NOT ... -coord
    ; look up screen address from the table
    ld a ...

    ALIGN 256
    ; screen address table. This must be 256 byte aligned
    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…

    ...

    ; draw column aligned sprite, arbitrary row
    ; DOES NOT ...

    ALIGN 256
    ; screen address table. This must be 256 byte aligned
    [/code]

    Tidied up the code a bit. It ...
    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…

    ... don't want to give up on it.

    ... causes that DJNZ will repeat 256 times
    .loop1

    ALIGN 64
    ; modify this table to be based ...
    ; 16x16 graphics. align to 32 byte boundary
    ALIGN 32
    gfx16x16_wall ...
    Kotek Kotek 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…

    ...

    ; draw column aligned sprite, arbitrary row
    ; DOES NOT ... -coord
    ; look up screen address from the table
    ld a ...

    ALIGN 256
    ; screen address table. This must be 256 byte aligned
    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…

    16x16 sprite drawing

    [code]< ... bytes graphic data. MUST BE ALIGN 32
    ; l ... tbl_scraddr be aligned to a 256 byte boundary
    adc ... /> ; look up screen address from the table
    ld ... be aligned to a 256 byte boundary
    adc ...
    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…

    ... column aligned sprite, arbitrary row, always using a table lookup for ... hl
    ; look up screen address from the table
    ld a ... bytes graphic data. MUST BE ALIGN 32
    ; l = pixel ... tbl_scraddr be aligned to a 256 byte boundary
    adc h ; A ...
    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 …

    ... instructions
    #DEFINE DEFB .BYTE
    #DEFINE DEFW .WORD< ... ;BUILDING UP A TABLE WITH
    LD BC,0FDH ;253*256+253, ... LD L,A ; GET HI BYTE BACK, SO H NOW IS ... A

    ; MERGE SPRITE COLOR WITH EXISTING PAPER COLOR ...
    robpearmain robpearmain September 2004 Development
  • Scrolling Bi-Colour Engine for 4-Player GamesJust putting this code up for people to have a look at. Far from finished. Should simply compile and run a bit of a demo. Only good for 128K and +…

    Just putting this code up for people to have a ... point to 191*256+191 = 49087
    ;Call up to three interrupt ... .
    ;Full 16x16 masked attribute sprite routines.

    MACRO ... />
    ;Interrupt vector table to go at 190*256 = 48640..48896
    joefish joefish March 2014 Development
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ... the meantime I've knocked up a little console framework ... /> ELSE
    FONTBASE EQU nice_font - 256
    ENDIF

    ... /> ld h, (hl) ; second byte of table
    add d ; add on ... ld h, (hl) ; second byte of table
    add d ; add on ...
    Paradigm Shifter Paradigm Shifter August 2022 Development
  • Advice about drawing sprites on spectrum I've coded sprite drawing before and know all the theory about masks from a long time ago (microhobby rules! ;), but since I did it on Amiga with ha…

    ... a copy of each sprite. This is _wasteful_ of ... /> 2. Having a shifting table, along these lines:
    ... The rotation table is pointed at by h*256 and ... pedantic. The table must start on a 256-byte boundary.
    ... it up every so slightly (10 cycles per byte or ...
    Alcoholics Anonymous Alcoholics Anonymous July 2003 Games
  • 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 …

    ... you have to look up the table for every byte, which is fairly ... dealing with only 256 bytes. Each of this 256 byte tables is organized ... in a such way, that the byte ... width and height for each sprite, and there are many different ...
    moroz1999 moroz1999 August 2004 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] ; ***********…

    ... /> ; ********************************************

    #define DEFB .BYTE
    #define DEFW .WORD
    sprite data
    LD B ... Building up a table with
    ld bc,0FDh ;253*256+ ...
    robpearmain robpearmain August 2004 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…

    ... display (32x24) and sets up the memory map described at ... bottom right corner within the sprite engine.

    The ... t need the rotation table. The rotation table is not used to ... is actually two 256 byte arrays, with the first 256 bytes containing the ...
    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…

    ... type association table and the sprite draw function table.
    ... />
    The flag byte passed to "sp1_Initialize()" as parameter ... sprite graphics are defined coming up.

    Once the sprite ... a sprite horizontally and vertically through 256 characters ...
    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…

    ... I am going to write up a brief description of ... Spectrum was designed with pull-up resistors on its entire ... /> ; * d4f5 - d4f6 SP1.LIB sprite draw function table (indexed by type) address ... want a 257-byte table. A "0" would make a 256-byte table, which is ...
    Alcoholics Anonymous Alcoholics Anonymous May 2006 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 data as you draw ... bytes, aligned on a high-byte boundary, so you can use ... graphic value as the low-byte, and read out it's ... shifted two byte value (the second being 256 bytes up from the ...
    bobs bobs June 2008 Development
  • VIC 20 emulation on the SpectrumI'm sure most people are aware of the my attempt at bringing the full Commodore experience to Sinclair users with the "Twenty Commodes" program. It e…

    ... />
    It's shaping up to be a CSSCGC 2009 ... immediately.

    Added separate "sprite" and colour for the head ... screen
    ; PTR2 points to 256 byte table of worm segment positions
    SPRITE data
    LDA #SPRITES%256
    STA ...
    Digital Prawn Digital Prawn September 2008 Sinclair Miscellaneous
<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
align 355 615
sprite 5.5K 11.1K
masklook 0 0
up 135.3K 178.3K
table 5.8K 9.1K

Related Threads

  • 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…
  • 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…
  • Making a Speccy-Like Text Adventure for Windows (follow-up)Hi to every1 who took an interest in the previous thread.<br /> <br /> I've decided to take up what I suggested previously and make a Windows version…
  • blew up my 128i did it - damn. i accidentally reverted the polarity of the power power supply, so ended up with a blown 5v stabilizer, which i replaced, but there …
  • Stop me from blowing up my original Spectrum 128!I have a Spectrum 128 (not the +2), and I want to play some of those old classic games again. The trouble is this.<br /> I still have the original Po…

Related Searches

  • table pixadd
  • byte scan
  • xor sprite
  • saboteur 2 speed up
  • sprite interrupts
  • 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 aligned look 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