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.081s
<1…28293031323334>
  • 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 …

    ... /> #DEFINE DEFB .BYTE
    #DEFINE ... double value (include mask)
    LD E ... TABLE WITH
    LD BC,0FDH ;253*256 ... br /> ; MERGE SPRITE COLOR WITH EXISTING PAPER ... /> ; 0FD00 - 0FDFCH RESERVERD FOR IM2 INTERRUPTS

    ...
    robpearmain robpearmain September 2004 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 …

    ... /> #DEFINE DEFB .BYTE
    #DEFINE ... double value (include mask)
    LD E ... TABLE WITH
    LD BC,0FDH ;253*256 ... br /> ; MERGE SPRITE COLOR WITH EXISTING PAPER ... /> ; 0FD00 - 0FDFCH RESERVERD FOR IM2 INTERRUPTS

    ...
    robpearmain robpearmain September 2004 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 …

    ... /> #DEFINE DEFB .BYTE
    #DEFINE ... double value (include mask)
    LD E ... TABLE WITH
    LD BC,0FDH ;253*256 ... br /> ; MERGE SPRITE COLOR WITH EXISTING PAPER ... /> ; 0FD00 - 0FDFCH RESERVERD FOR IM2 INTERRUPTS

    ...
    robpearmain robpearmain September 2004 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…

    ... rotated byte values (that you have to mask off) will be 256*8 ... the whole shifted byte, so that's 4K for the table. Pre-shifting ... -up table, and having half the rows of your sprite already ... t written a pixel-positioning sprite routine for the Speccy myself, only ...
    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…

    ... be functions and or subroutines for ZX BASIC - and ... ;
    ; ld bc,99*256+10
    ; ld hl,xxxx ... Rotated Character Data, mask it with the Mask Byte and the OR ... use a look-up table to set the Screen ... PRINT routine, not a Sprite routine, which should take ...
    Turkwel Turkwel June 2010 Development
  • Comments for small "sprite" routine wantedI have just written my first machine code program and I am quite happy (and proud) to get it working! :smile: As a child I never learned anything e…

    ... the program enters this "move sprite" block?

    ... rickardberglind.se/zx/move-sprite-1.z80"]here[/URL ... c=number of columns in "sprite"
    ld e,8 ... e=number of rows in "sprite"
    ld d,31 ... loop1 ;repeat 8 times, for all coloums in byte

    ...
    Rickard Rickard May 2007 Development
  • Wrong-endian data table?I'm drawing up the memory map for something I'm writing. I'll be using machine code on a byte array of 256 elements, each element consisting of 64 by…

    ... drawing up the memory map for something I'm writing. I ... machine code on a byte array of 256 elements, each element consisting ... in the LSB and the byte offset in the MSB. This ... needing to bit-shift or mask [b]A[/b], and it ...
    ajmoss ajmoss December 2009 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 …

    ... an address look-up table. In doing this we ... number in the low byte of the screen ... 256 bytes apart, so we again take our vertical coordinate, mask ... returns a screen address for (ycoord, xcoord) in ... br /> and 224 ; mask off bits we don' ...
    Jagd Tiger Jagd Tiger April 2014 Development
  • Better arrangement for video memory?While doing some documentation work for the ZX-Uno project, I compared the advantages of the weird layout of the ZX Spectrum against a linear layout.…

    ... pixel needs some rotate and mask instructions. One doesn't need ... resolution, bytes 256 to 263 would hold the scans for character at ... , you add 256 (i.e. increment the high byte of the video ... original ULA layout, at least for displaying characters (which it was ...
    mcleod_ideafix mcleod_ideafix September 2014 Development
  • Drawing some spritesI figured I want to draw some sprites. My target was to do a 16x16 masked sprite. There's no clearing here, just drawing the sprites. My first ite…

    ... a bit, interleaving sprite data and mask data, and got ... iy) ; fetch y offset from table
    ld d, 3 ( ... wrote a sprite compiler, that generates code for specific sprite data. That ... value (mask was 0)

    ; skip third byte completely ...
    Sol_HSA Sol_HSA November 2015 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…

    ... hatched fill M/C routine for the ZX Spectrum 48K. ... It was for a text/graphic adventure I ... 57343: REM Leave some space for shadow screen buffer
    ... POKE 63692,o-256*INT(o/256): REM lower byte
    350 ... CLS: RETURN
    9040 FOR n=1 TO LEN a ...
    Volker Volker February 2021 Software
  • 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…

    ... . Having, for each shift position, a copy of each sprite. This is ... /> [quote]2. Having a shifting table, along these lines:

    table
    ; ix is screen area
    ; sp points to (mask ... a shifitng table you'd be taking a one of 256 inputs ...
    cyborg cyborg 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 …

    ... to point to the sprite data and then just ... not use the stack for anything else during the ...
    My table is arranged:

    Each byte from 0-255 ... 255 unshifted. The first 256 are the left side and ... the second 256 are the right side. ...
    dmsmith dmsmith August 2004 Development
  • 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 …

    ... sprite mirroring (also using table!), but this is too much work for ... to point to the sprite data and then just ... ]
    My table is arranged:
    Each byte from 0-255 ... 255 unshifted. The first 256 are the left side ... and the second 256 are the right side. ...
    moroz1999 moroz1999 August 2004 Development
  • Sprite DesignerDoes anybody know of a good sprite-designer package? The game I'm currently working on is requireing a lot of sprites, and coding them all as binary…

    ... it provides. For example having the attributes after every sprite, and being ... able to interleave the mask into the ... just move mask to the top of the byte sort priority in ... locate those in a separate table away from the graphics.
    jonathan jonathan January 2006 Development
  • Beginner InfoI have trying to find some hardware information for use with assembly coding but havn't had much luck. For instance. How do I redirect the vertical …

    ... why you need a 257 byte table deserves some explanation. In ... at address (I+255),(I+256) to be read and jumped ... 257 byte table all containing the same byte. This will guarantee that for all ... /> Takes the scan row and mask returned by in_LookupKey and returns ...
    Alcoholics Anonymous Alcoholics Anonymous February 2006 Development
  • Codies help? Werewolves of LondonHi All, never one for shying away from the deep end, having only just dipped my toe in to the world of machine code I find myself trying to find out …

    ... /> drawn to screen where the sprite
    graphic was (50547)< ... then jumps to address 44BB for no apparent reason which ... register I=47665/256=186. The interrupt vector table will be ... 256*186=47616 and should contain 257 identical bytes. If the byte ...
    Alcoholics Anonymous Alcoholics Anonymous March 2006 Sinclair Basic
  • z88dkHello. I'm an spanish user of spectrum (and naturaly of this page). I have a question. I want to start to program games with z88dk, but I need a goo…

    ... UDG characters (up to 256 unique with codes 0-255 ... byte definition which is made up of (mask,graph) pairs

    Sprite ... s no actual definition for such a sprite, just colouring from ... with buttons, listboxes and whatnot for selecting options. An easy ...
    Alcoholics Anonymous Alcoholics Anonymous April 2006 Development
  • z88dkHello. I'm an spanish user of spectrum (and naturaly of this page). I have a question. I want to start to program games with z88dk, but I need a goo…

    ... Horizontal rotation is done by table lookup using bytes read from ... graphics offset is computed for the entire sprite. This offset includes ... can be 1-byte or 2-byte (mask is 2-byte only, the ... this, uses a largeish rotation table (unless rotations are not ...
    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…

    ... in 256 planes lying above the background. A sprite in ... "sp1_UpdateNow()" contains special cases for drawing each "struct sp1_update" ... a 1-byte attribute buffer. Then each sprite character occupying ... rotation = MSB of rotation table to use
    uchar ...
    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…

    ... (). Then for each of the ten sprites, a table lookup finds ... the speed each sprite is travelling ... (mask,graph) pairs. For each 8 pixels there will be a mask byte ... ie sprite with masks) check the box to place the mask byte before ...
    Alcoholics Anonymous Alcoholics Anonymous May 2006 Development
  • Project: M.u.l.e.Wokani came up with a great idea about trying an open-development approach for spectrum games, and I thought why not try with a game I have under dev…

    ... functions, one for human players and one for AI players. ... plane 128. SP1 supports 256 sprite planes with sprites located on ... times, once for each character in the sprite in row-major ... attribute byte (ie colour) and the attribute mask is used to mask ...
    Alcoholics Anonymous Alcoholics Anonymous September 2007 Development
  • splib2 from ROMI'm trying to generate IF2 ROM games for ZX Spectrum 16K using z88dk + splib2. So far I've managed to create a new crt0 file and to generate valid RO…

    ... the location of the rotation table in ROM, sp_Initialize() will ...
    Creates a global byte variable locally inside the function ... the background graphic and sprite character in each character ... the UDG definition for each of the 256 possible background chars ...
    Alcoholics Anonymous Alcoholics Anonymous December 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…

    ... a look-up table to shift the sprite data as you draw ... 's shifted two byte value (the second being 256 bytes up from ... there are 8 possible shifts for a value, but if you ... have two code-paths for your renderer you can ditch ...
    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…

    ...
    ld de,256; de=256,hl=dest
    ... add the addr of the table
    add hl,bc ... element in the lookup table containing the address
    for this line now in a ... byte
    PUSH HL

    LD A,E ; save the sprite ...
    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…

    ... to above 256.

    For example, this ... for each star, I would use a look up table ... (I posted the table needed to do ... byte
    PUSH HL

    LD A,E ; save the sprite ... POP HL ; retrieve pointer screen byte

    XOR ...
    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…

    ... calculated the index into the table and extracted the address into ... /> LD B,NUMSTARS/256
    LD C,NUMSTARS%256

    ... address
    ; the y coord for this line now in a ... byte
    PUSH HL

    LD A,E ; save the sprite ...
    Digital Prawn Digital Prawn December 2008 Development
  • Jetpac questionHi all, I just bought a copy of Jetpac off of Ebay and I'm having problems. To start, I'm trying to play it on an issue 2 Speccy with Interface 1, 2 …

    ... for the tests
    LD HL,ENDCODE
    RES 0,L ; Align ... ; do this once for each bit in faulty byte

    ... on screen (INC HL by 256)
    DJNZ QP_LOOP1
    ... the beginning of the table such that the BIT ... the end of the table, such that the screen ...
    Digital Prawn Digital Prawn January 2009 Games
  • Data bus at interrupt timeIt is "well known" that some peripherals can put values other than 0xff on the data bus at interrupt time, thus meaning that IM2 is slightly more fid…

    ... fetch from table addresses I*256+255 and I*256+256. For the ... Spectrum, therefore, we'll need a 257 byte interrupt vector table ... use a 257 byte table containing the same byte value repeated ... peripheral ID is. With Sprite Pack, a good value ...
    Jimmy Jimmy March 2009 Hardware
  • 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…

    ... a look-up table to shift the sprite data as you draw ... 's shifted two byte value (the second being 256 bytes up from ... look like for one line of 2 bytes wide sprite data?
    sprite data byte.
    2. screen byte=right part of shifted 1 sprite data byte ...
    popmilo popmilo November 2009 Development
<1…28293031323334>

Latest Posts

  • Your Favorite Magazine Cover Tapes.
    Your Spec-chum on 2:19PM
  • Where to Buy the New or Fairly Recent , Excellent ZX Spectrum Games Software?
    Your Spec-chum on 1:34PM
  • i am currently listening to........
    mel the bell on 11:34AM
  • Mis-labeled cassette titles or a name change?
    harriusherbartio on 11:06AM
  • Ways to preserve Speccy Tapes in the loft
    harriusherbartio on 10:58AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 10:47AM
  • Minor British Sports that did become games on the ZX Spectrum
    harriusherbartio on 10:30AM
  • How to return to basic properly from ASM
    Paradigm Shifter on 1:54AM
  • 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

HitBox

Word Docs Hits
256 4K 7.7K
byte 7.3K 15.2K
align 355 615
table 5.8K 9.1K
for 352.6K 637.2K
sprite 5.5K 11.1K
mask 2.1K 3.3K

Related Threads

  • 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 …
  • Corona Encantada for MSX and Invasion of the Zombie Monsters for CPC, from RELEVO, for saleWe have a remaining of the stock of games we offered in the crowfunding of the book "Enciclopedia Homebrew". They are Corona Encantad for MSX in cart…
  • Looking for the game Rex for spectrumHello,<br /> I am looking for the game Rex(I think there are two parts 1&amp;2) by Martech.
  • Heres one for you tooo make some money :) For MIA`sYou have a massive archive "INFOSEEK", but i know you dont allow offsite looking at this source of info.<br /> <br /> But if you produced a CD with t…
  • ANNOUNCE: Speccy-Player (AY file player for a Real Spectrum) version 0.1 available for downloadI finally managed to get my AY file player for Real Spectrum 128 (working title "Speccy-Player") into a suitable state to unleash it on the unsuspect…
  • Spectaculator - any hope for support for CTRL ?When running CP/M for +3, the CONTROL key is SSHIFT+CAPSS (i.e. EXTENDED).<br /> 1. It would be fine to emulate this to the PC's CTRL key. At present…
  • Anyone want to swap all my tapes, for all systems, for game carts?I live in terrace house, not much bigger than the ones on Coronation Street. I don't have a whole lot of spare room left, and my wife, bless her, obj…
  • New project for 256 colours Games emulator!O.K. , I suggested Jonathan Needle ( Creator of the excellent Spectaculator at [url="http://www.Spectaculator.com"]www.Spectaculator.com[/url] ) to c…
  • Recommend a 48k music program for me, or teach me how to search for them in infoseek. ThxThe only 48k music tracker I happen to know is Wham!<br /> <br /> Which ones do you like?<br /> <br /> Can anybody point me to some old threads on th…
  • Search plugin for Firefox/Mozilla..... for WoS?Hello!<br /> <br /> Is there a searchplugin made for Firefox/Mozilla.... thats work with WoS - Sinclair Infoseek? If not can someone make one please.…

Related Searches

  • lowest memory for code
  • lowest memory position for machine code
  • searching looking for love
  • table pixadd
  • best place for interrupt table
  • xor sprite mask
  • sprite mask
  • agd sprite mask
  • version sprite mask 9th
  • version sprite mask
  • 256 byte align
  • 256 byte align table ramtop error
  • 256 byte align sprite masklook up table
  • 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
  • mirror byte table

Copyright © 2024 World of Spectrum