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.013s
<1234567…34>
  • So what about ethernet and ZX BASIC?Well, as of about 5 minutes ago, ZX BASIC for the first time properly wrote some packets to the network! OK, so it isn't perhaps 100% what Andrew Ow…

    ... />
    Spectrum streams work a byte at a time, which would ... whole packet just for each byte!) and very slow, so under ... on - each stream has a 256 byte buffer in a page of ...
    Winston Winston July 2009 Hardware
  • Moving a line down the display in assembler?...It's not a "[I]how can I do it[/I]" question, it's more a "am I missing something in trying to do it a new way" kinda question. What I've been doing…

    ... byte table (128 bytes of it wasted) - ie. two tables of 256 ... on the start of a 256 byte page.

    So, ... rrca
    ld h,SCRTABLE/256
    add a,(hl)
    ld h,SCRTABLE/256
    add a,(hl)
    Sokurah Sokurah June 2012 Development
  • CMWC random number generator for Z80Seeing the interest regarding the [URL="http://www.worldofspectrum.org/forums/showthread.php?t=23070"]Xor-Shift random number generator for Z80[/URL]…

    ... />
    ld h,c ; t = 256 * y
    ld l,b ... /> ld d,h ; c = t / 256

    ld (rnd+1 ... /> ld a,l ; x = t % 256
    cpl ; x = (b-1 ... . Having the table aligned to 256 byte boundary could be used to ...
    Patrik Rak Patrik Rak June 2012 Development
  • Rendering clipped glyphSometimes you need to render a glyph of arbitrary size to the screen. And clip it. For example: drawing a mouse cursor means combining drawing of a…

    ... /> glyph_t *glyph,
    byte x,
    byte y,
    rectangle_t *clip_rect ... trick with two tables on 256 byte boundary for fastest vmem ... to point 12 then first byte mask will be 11111110 ... and end byte mask will be 00000111. ...
    tstih tstih October 2013 Development
  • hash function permutation tableI'm using a simple Pearson hash function to generate keys for a $(103,6) array using a 256-byte permutation table. How do I arrange the entries in th…

    ... $(103,6) array using a 256-byte permutation table. How do I ... a lot of them in 256 numbers so trial & error ...
    Battle Bunny Battle Bunny January 2014 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 +…

    ... 48640 (190*256) and point to 191*256+191 = 49087 ... table to go at 190*256 = 48640..48896
    ... ;Jump to 191*256+191 = 49087
    ld ... (hl),191
    ld bc,256
    ldir

    ... />
    ld h,pixel_address_A/256
    sla c
    ld ...
    joefish joefish March 2014 Development
  • Optimal shifting for set pixel?Hi, I'm optimizing my set pixel code. For speed. But without using partitioned memory (i.e. a table on 256 byte boundary) I have optimal memory addr…

    ... (i.e. a table on 256 byte boundary) I have optimal memory ...
    tstih tstih May 2014 Development
  • Spectrum Screen RAM layoutHi there The spectrum screen layout is rather odd. It seems to be arranged into 3 256 byte groups. If I have an x (horizontal) coordinate (from…

    ... to be arranged into 3 256 byte groups.

    If I ...
    Willsy Willsy December 2015 Development
  • Horizontal scrollDoes anyone know how to do a 2 or 4 pixel left or right horizontal scroll of the spectrum screen. I can make a 1 one pixel scroll with: ... rl (hl…

    ... say you would have a 256 byte table and do something like ... H,table ; point to a 256 boundary table
    LD A ...
    cyborg cyborg March 2003 Sinclair Miscellaneous
  • Horizontal scrollDoes anyone know how to do a 2 or 4 pixel left or right horizontal scroll of the spectrum screen. I can make a 1 one pixel scroll with: ... rl (hl…

    ... at the end of a 256-byte boundary (both Spectrum screens are ...
    jonathan jonathan March 2003 Sinclair Miscellaneous
  • 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…

    ... is pointed at by h*256 and not hl if we ... table must start on a 256-byte boundary.

    This looks ... so slightly (10 cycles per byte or around 12%).
    Alcoholics Anonymous Alcoholics Anonymous July 2003 Games
  • Huffman questionI'm pretty sure that the answer to my question is "no", but I just want a second opinion: Is it possible to somehow cram a Huffman decompressor + de…

    ... decompressor + decoding tree (for 256 elements) into only 400 bytes ... />
    If you used one byte per symbol in a table ... would have enough information in 256 bytes to completely construct ... can tolerate more error the 256 byte table can be shrunk. When ...
    Alcoholics Anonymous Alcoholics Anonymous July 2003 Sinclair Miscellaneous
  • Sync-buzzer, interrupts and general confusionBeen wittering on about this in the Misc group, but thought it was best discussed here. Basically been trying to recreate the Sid-Sound effect from A…

    ... Usually this is a single-byte RST instruction that performs a ... />
    Effectively I*256 points at a 256 byte table containing interrupt service ... I*256+255,I*256+256. So the Spectrum needs a 257 byte ... every byte of the 257-byte table pointed at by I*256 ...
    Alcoholics Anonymous Alcoholics Anonymous September 2003 Development
  • i want to start writing my own gamesi want to start writing my own games but have no idea how. is there any downloadable dummys guides or some software that teaches u how. the only expe…

    ... if adress pointer is crossing 256 byte page and you must use ...
    Fikee Fikee February 2004 Development
  • Basic corruptionDoes anyone have any tips or solutions for when a Basic listing becomes over a certain size and starts to get corrupted due to paging... I remember …

    ... is attached) then a random 256-byte page of memory will be ...
    Geoff Geoff August 2004 Development
  • Pixel setting / general speccy codingi just started doing some cross-coding with the [url="http://www.bigfatpanda.fsnet.co.uk/z80.html"]Z80 SNA assembler[/url] and an emulator, and this …

    ... can put lineptrs on a 256-byte boundary and rearrange it into ... 256 low bytes followed by 256 high bytes. This ... /> [code]
    ld h,lineptrs / 256
    ld l,d
    gasman gasman August 2004 Development
  • Pixel setting / general speccy codingi just started doing some cross-coding with the [url="http://www.bigfatpanda.fsnet.co.uk/z80.html"]Z80 SNA assembler[/url] and an emulator, and this …

    ... ,B
    LD H,LINEPTRS/256
    ADD A,(HL)
    256 byte boundary.

    If you ... at the beginning of a 256 byte page, say at 64000, you ...

    LD D,PIXELTAB/256
    LD E,A
    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 …

    ... up the table for every byte, which is fairly time consumming ... dealing with only 256 bytes. Each of this 256 byte tables is organized ... in a such way, that the byte ... a,(de) (taking from memory byte needed to shift)
    ld ...
    moroz1999 moroz1999 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 …

    ... the beginning of
    ;a 256 byte page makes addressing it
    ;mask byte, sprite byte, mask byte, sprite byte... and so on.)
    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 …

    ... DE cause u never cross 256 byte boundary. so INC E/DEC ... /> l1: draw one byte
    l2: draw one byte
    l3: draw ... one byte
    [/code]
    Fikee Fikee 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 …

    ... at the start of a 256 byte page
    * Requires 512 ... start of the next
    * 256 byte page.

    SCRTAB EQU ... first 256 bytes
    * containing the left half of the shifted byte ... and the
    * second 256 bytes containing the ...
    dmsmith dmsmith August 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 …

    ... , only when your crossing a 256 byte boundary: INC L is sufficent ...
    dmsmith dmsmith September 2004 Development
  • Smooth Screen ScrollingHi Everyone, Any suggestions on what is the best way to do horizontal scrolling ie. in Zynaps fashion. I am working on a routine at the moment, whi…

    ... or c ; merge with low byte.
    jp nz,scrol0 ; ... 256 times:

    scrol0 rl (hl) ; scroll byte ... know exactly where the 256-byte boundaries are within each ... aligned exactly on a 256-byte boundary, so the routine ...
    jonathan jonathan September 2004 Development
  • Anyone help re-factoring a tile functionI had some excellent feedback for re-factoring my function that displays the colour for my screen tiles. Can anyone offer some help to improve the fu…

    ... map data is inside a 256 byte boundary. I now set the ... />
    ORG 51200 ; MUST BE 256 BOUNDRY
    MAPLOOKUP DEFW TILEIMAGE0 ...
    Mr Millside Mr Millside February 2005 Development
  • Map to screen address problemCan anyone help me out with what I guess is a screen address calculation problem. I need to calculate the screen address of a tile based on a number…

    ... , and if your table contains 256 entries or less (this one ... ), it's worth using separate 256-byte blocks for all the entries ...
    Marko Marko April 2005 Development
  • Help, my Sprite Code wont workI have zipped it all up here: [url="http://www.peargames.co.uk/downloads/galagorf.zip"]http://www.peargames.co.uk/downloads/galagorf.zip[/url] If y…

    ... screen line as the high byte won't change on a ... wide so it crosses a 256 byte boundary mid line. Try changing ...
    dmsmith dmsmith December 2005 Development
  • Convert x,y to Attribute Address in AssemblyWhat is the fastest way, given x,y (in hl) to return the attribute address?

    ... the expense of a 512 byte lookup table, you might want ... has to be on a 256-byte boundary, of course.

    gasman gasman December 2005 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…

    ... begin on an exact 256-byte page, which means the ... array is a 512-byte table of pointers. Each ... begin at an exact 256-byte page, meaning the LSB ... actually two 256 byte arrays, with the first 256 bytes containing ... address and the next 256 bytes containing the MSB. ...
    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…

    ... read a subroutine address of byte*256+byte. Since the peripheral id can ... must begin on an exact 256-byte page, meaning the least ... the z80 will always read byte*256+byte as the address of the ... A "0" would make a 256-byte table, which is appropriate for ...
    Alcoholics Anonymous Alcoholics Anonymous May 2006 Development
<1234567…34>

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

Related Threads

  • 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…
  • Byte Bitten - Sea Hawk KeysCould someone please tell me what keys are needed to control your helicopter in the Sea Hawk part of this game. No key seems to have any effect apart…
  • STP: Computer Cookery 1 & 2 - Bug ByteI'm 99% sure these two titles are actually The Computer Cook Book (Bug Byte) that is listed in Infoseek.<br /> <br /> However, The Computer Cook Book…
  • help in byte mirroring.I need some help.<br /> What is the best way to mirror the byte?<br /> (for ex. 10010011 -&gt; 11001001)<br /> I mean, if there is a simple way to do…
  • Bug-Byte games wantedHi, Does anyone out there have the following games which they'd be willing to sell / trade? The games have to have specific coloured writing on the i…
  • 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…
  • EmuZWin supports 256 color gamesI am sorry starting new topic, but you see this info is important a bit:<br /> <br /> new version 2.4 of the EmuZWin is available to download, and it…
  • Dan Dare 256 colour project many may not be aware of.I still need/want to try Vladimir's emulator. But I think many people here aren't aware of another 256 colour project, which was mentioned on C.S.S. …
  • 256 colour gamesFollowing on from the thread in the Emulator section...<br /> <br /> Will people who are working on converting games to 256 colour using Emuzwin plea…
  • Type-Ins Project - appeal #256This is primarily for all those who have just tuned into the Speccy scene (to the veterans- it's just another appeal for type-ins ok? ;) ):<br /> <br…

Related Searches

  • byte scan
  • ebug byte
  • bug byte
  • parity byte block
  • byte back
  • 256 bytes
  • 256 colours
  • pasmo align
  • software projects bug byte manic miner differents
  • byte back 2009
  • print byte decimal
  • attribute byte
  • 256 byte align table ramtop error
  • 256 byte align table for sprite mask
  • 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

Copyright © 2024 World of Spectrum