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.178s
<1…78910111213…34>
  • Rainbow Generator for 48K Spectrum using PUSHThis is what I came up with from [B]gasman[/B]'s suggestions. It's stable in ZXSpin and ZX32 simulating a 48K Speccy. Anyone like to try it on the …

    ... once
    ld bc, 256 ;Make 256 copies
    ldir ;Thusly
    ld A,254 ;High byte of address table...
    ld I ... data
    pop af ;Scoop up 8 bytes into registers
    exx
    pop af ;Scoop up 8 more bytes into registers ...
    joefish joefish May 2009 Development
  • A tidy loader for minigamesThe minigame competition doesn't permit the use of separate loaders like [code]10 LOAD "": RAND USR 32768[/code] The loader must be included in the b…

    ... [code]LET a = PEEK 23635 + 256 * PEEK 23636[/ ... code]

    The program looks like this, byte ... 1018 65 Variable name (a)
    1019 0 Mantissa ... s a way to squeeze out another byte or ... you'll end up executing byte 4 (the ...
    ajmoss ajmoss June 2010 Development
  • Copying a SCREEN$ in ZX BASIC in 1 second?!Following on from the revived "[thread=20207]Saving a complete SCREEN$ in BASIC[/thread]" thread (although Arjun really only needed a suitable POKE i…

    ... 6912): DEF FN p(a)=PEEK a+256*PEEK (a+1):
    DEF ... FN l(v)=v-256 ... h(v)=INT (v/256):
    LET udg=FN ...
    [spoiler]It works because LOOK-VARS searches the DEFADD area ... VARS. So it sets up a dummy DEFADD area in the ...
    Battle Bunny Battle Bunny April 2011 Sinclair Basic
  • Can anyone see a way to speed up the following line of code?Hi Folks, Been looking at bottle necks in my code using BASin's Profiler and the following line (well the 2nd LET statement) is somewhat slow. [COD…

    ... INT (CODE z$(a,4)/16)
    LET a$=(("D" AND ... h)+("DP" AND z$(a,o)=CHR$ 10)+STR$ (( ... 16)*65536+CODE z$(a,6)*256+CODE z$(a,5)))[/CODE]

    Does anyone see a ... way to speed it up?

    ...
    Paddy Coleman Paddy Coleman July 2011 Sinclair Basic
  • DisarrayFor the sake of having some clarity [COLOR="Silver"]for once[/COLOR] I have the project data in several source files according to their types. E.g. t…

    ... align nicely since most of the LUTs sizes are multiples of 256 ... which is supposed to have a 24 byte LUT in the middle ... of it, another 8 byte one in the beginning and ... I just can't come up with a neat clean-cut way ...
    Hikaru Hikaru January 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…

    ... partitioned memory (i.e. a table on 256 byte boundary) I have optimal ... up with so far.

    [CODE]
    ld a,#x ; symbolic. a ... /> ld b,a ; our shift counter
    xor a ; a=0

    Is there a more optimal approach to creating ...
    tstih tstih May 2014 Development
  • Repton ManiaHi all, I am the creator, and look after, the Repton Resource Page ([url]www.reptonresourcepage.co.uk[/url]). For the site, I have written a freely …

    ... /> I am the creator, and look after, the Repton Resource Page ... /> 0x0A6F2 unknown
    0x0A7B6 Lookup table into the screen memory
    up/down frame 1
    27 ... 02 ED. Finally, every byte directly following a single ED is not ...
    geraldholdsworth geraldholdsworth June 2014 Games
  • Tutorial: Using UDGs in SpecBASSpecBAS is capable of using graphics mode, in a similar manner to the original Spectrum. Like most things though, the extended nature of SPecBAS's ab…

    ... is a font, as you can see when you look ... bit per pixel, making up one byte per row. Because SpecBAS ... uses one [i]byte[/i] per pixel, we ... for each of the 256 characters, takes up 16Kb of space ... do that by reading a byte, and then extracting each ...
    Dunny Dunny May 2018 Sinclair Basic
  • 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…

    ... you didnt even have to look up a table to read that?[/quote]
    a common structure.

    If ... want to see something from a PRINT USR statement that's ... to load BC. The last byte is RET, C9, or 201 ...
    cyborg cyborg February 2004 Development
  • Platform vs BackgroundForgive my ignorance if this is a 'stoopid' question, but although I've written games for many platforms over the years I'm only now making my first …

    ... " with colour indices 0-256, storing a true physical colour. You ... colours on screen, you perform a table lookup in the "virtual pallette ... state of a state machine. Your program uses a single byte or integer ... object that can be picked up is here; an enemy ...
    Alcoholics Anonymous Alcoholics Anonymous March 2004 Development
  • Amiga MOD on ZX SpectrumWell, there were several question about music matters on WOS lats times, so I decided to describe some of my 'adventures', heheh, with MOD playing on…

    ... code in C that clears up timing questions. For the record ... this to keep up speed.

    "ptr" is a pointer into ... I looked at generates a table of fixed point byte offsets to add ... with this code. I'd look at reducing the volume setting ...
    Alcoholics Anonymous Alcoholics Anonymous April 2004 Sinclair Miscellaneous
  • Amiga MOD on ZX SpectrumWell, there were several question about music matters on WOS lats times, so I decided to describe some of my 'adventures', heheh, with MOD playing on…

    ... the play sample routine, look up in a table. The note will range ... so we need a 2*296=592 byte period table, assuming 2 ...
    You'd construct a 592-byte table using this formula, and using ... note + finetune possibility. This table is available in one of ...
    Alcoholics Anonymous Alcoholics Anonymous April 2004 Sinclair Miscellaneous
  • 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 …

    ... had never thought of using a preshifted byte table. But I think it ... ", as you have to look up the table for every byte, which is fairly ... sprite. You could use a multiplication table to do the time 96 ... store all the data in a table for each of the sprites ...
    dmsmith dmsmith August 2004 Development
  • Fast division in machine codeHi Does anyone know what is the fastest way to divide a 16 bit number by 24 in machine code. Derek [ This Message was edited by: dmsmith on 2004-0…

    ... such a bad idea - divide by 8 with some shifts, then look up ... that result in a table that divides by 3 ... read a 2-byte value
    RES 0,L ; from the table
    byte...
    LD D,(HL) ; result ...
    gasman gasman September 2004 Development
  • InterruptsCan someone help with providing some info or a link about IM 2. I know I need to create a vector table and want to store this as high in memory as po…

    ... supply the low byte and hence you could have a table of vectors ... you'll possibly end up looking in your table between two other ... if you have 256 possible values for the low byte and you ... low byte and A100 for the high byte. Thus meaning you table needs ...
    cyborg cyborg February 2005 Development
  • Pocket Clive - 2 QuestionsHello, I've just started using Pocket Clive on my iPaq pocket PC, excellent emulator BTW. 1. I have just wrote a small BASIC program to randomly pi…

    ... , (using the trick of having a 257 byte table filled with $ff)
    Therefore, we can safely insert a halt ... get some more time to look at the problem, my next ... 'halt fix' method undoubtedly uses up more T-states than the ...
    Digital Prawn Digital Prawn December 2005 Emulators
  • 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…

    ... will allow you to set up whatever kind of memory map ... entire display (32x24) and sets up the memory map described at ... a 512-byte table of pointers. Each entry in the table is a pointer to a ... two 256 byte arrays, with the first 256 bytes containing the LSB of a ...
    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…

    ...
    "sprdrawftbl[]" is a table of sprite draw functions used ... a 2-byte software-rotated masked sprite. How I came up ... table ("idtypetbl[]"). This table associates a constant sprite ID with a table ... directive tells z80asm to look for these draw functions ...
    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…

    ... list, hash table, heap, stack and queue. Byte- and word- ... [U]Hash Table[/U]

    A hash table is a fast table lookup. One ... pairs in a hash table. One uses a hash table by supplying the ... hash table.

    You will notice that this key look up ...
    Alcoholics Anonymous Alcoholics Anonymous May 2006 Development
  • The Only Reason Sinclair Succeeded (Provoking Controversy)Although I love my Sinclairs dearly, I think that the only reason they succeeded was because at the time most people did not know any better (factori…

    ... much as a Spectrum, required a dedicated datarecorder ... br /> PLA ;PULL LOW BYTE FROM STACK
    INY ... org $c300
    ArrayAddress: .block 256
    --------------------------------

    ... and if you look up the clock cycles ...
    JamesD JamesD September 2006 Sinclair Miscellaneous
  • Cybernoid editorSo, my long tern goal is to make my own Cybernoid or Rex like game (see an ancient thread about Sprite advice)...but my skills are somewhat lacking..…

    ... by HL. If you look up a bit from that bp it ... at #75e0. Try poking a few different numbers from that ... />
    The enemies are a bit different with this one ... they are show as (1 byte each, 3 bytes total). ... same enemy table) and the end of their 3 byte data ...
    Mr. Anonymous Mr. Anonymous February 2007 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…

    ... br /> // start of a new line, look for special chars
    up is to look for special command ... has each byte in a character square separated by 256 (0x0100 ... h (which you can look up in the wiki) and ... so you can have a look. You'll find the ...
    Alcoholics Anonymous Alcoholics Anonymous July 2007 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…

    ... up all over the place, hence these subroutines. Let's have a look ... characters ending in a '0' byte). "strlen()" is a well-known function ... . itoa() also appends a terminating "0" byte. In other words, ... shows this distribution in table form for three cases ...
    Alcoholics Anonymous Alcoholics Anonymous July 2007 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…

    ... incomplete. Nevertheless let's have a look at both of them now ... the number is a four-byte long rather than a two-byte integer), 1000 ... on plane 128. SP1 supports 256 sprite planes with sprites located ... where we used it to look up the player's colour and ...
    Alcoholics Anonymous Alcoholics Anonymous September 2007 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…

    ... 50Hz interrupt. Let's have a look at them now (from interrupt ... up a sprite into its characters and represents each character by a 24-byte ... the next scanline in a char is 256 bytes away so once ... that is done "disp" gets 256 added (0x0100) to move down ...
    Alcoholics Anonymous Alcoholics Anonymous October 2007 Development
  • help sought with first foray into machine code - pixel scrolldownI have started to code my first machine code program, a simple roadrace game. I've based it around the pixel scrolldown routine in 40 Best Machine Co…

    ... print
    ld (de),a ;??print a blank byte on line1
    nextbyte ... a,c ;check that line count again
    and $3f ;look at ... of 256 up the display file
    ld h,a ;point there(byte to ... of 256 up the display file
    ld d,a ;point there(byte to ...
    bigjon bigjon February 2008 Development
  • Dangerous Z80 Assembly CommandHave been reading Toni Bakers' "Mastering MC On Ya Speccy" book and came across the list of Z80 commands in the dictionary section. Page 102 "[b]IM…

    ... the interrupting device supplies a single-byte instruction to execute ... cycle. This is usually a RST n instruction.
    ... byte during the interrupt acknowledge that is used to look up ... the interrupt service routine address CALLed from a table ...
    Alcoholics Anonymous Alcoholics Anonymous March 2008 Sinclair Miscellaneous
  • Disappearing/appearing effectI remember doing a small routine in BASIC which could be used to cover the attributes section randomly, until all 704 characters were filled with the…

    ... you know whether a given tap will produce a long enough sequence ... before repeating?[/QUOTE]

    Well I look up ... the taps in a table like all the other ... br />
    I tried out a 16-bit LFSR for plotting ...
    Alcoholics Anonymous Alcoholics Anonymous March 2008 Sinclair Basic
  • 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 compo entry ...
    ; PTR2 points to 256 byte table of worm segment positions
    A & WORMPOS TABLE
    TYA

    COMMODE_NYBBLER
    ; A commode has been nybbled
    Digital Prawn Digital Prawn September 2008 Sinclair Miscellaneous
<1…78910111213…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
align 355 615
a 589.5K 1.7M
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

  • A Spectrum, a couple of felt tip pens and a lot of free time on Sunday afternoons...In my opinion the best part of having a Spectrum was drawing a game map of the latest Ultimate game in the back page of my geography text book thereb…
  • Hi there, just though a heads up for a Mint Shadow of the UnicornAlso i have a shinkwrapped version, I ideal would like to swap this with somebody for some of my most wanted. But an offer of cash will do the trick …
  • Anyone got a lock up's worth of room for a few games?[url="http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&amp;item=8173185533"]http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&amp;item=8173185533[/url]
  • I NEED A HAND FINDING A 3D CHESS GAME......WITH A HAND IN ITOk.Firstly - It's not one of the chess games in the archive with the word chess in the title.<br /> ##(Although - The ChessMaster2000 LOOKS very fami…
  • HELP!!! i need help turning a .wav files into a .tzx. im a new beginnerhi there. i hope anyone doesnt think im thick or owt but im having trouble in find the right program or the know how to convert all my 8bit mono .wav…
  • What a wind up ! I'm a genius !I may end up out of work by 1.00pm today.<br /> <br /> One of my directors asked if I was going on holiday this year - as she is going to pick up som…
  • Free to a good home - Anyone in South Wales want a pile of Spectrum Games and a +3?Bit of an emergency - I'm moving out in a hurry and I don't have time to sell these!<br /> <br /> Is there anyone in South Wales who wants a fairly b…
  • Can anyone knock me up a little RS232 circuit in a couple of days?I urgently need a circuit board that will read contact closures on a D-type and send out an ASCII character via RS232 as follows:<br /> <br /> On the…
  • How can I divide a graphic image up... Hopefully such a program exists?Tesco now print out photographs and other images from memory cards (they've done it for ages, and most other supermarkets probably do) and so I want …
  • A clever method of using a single 8-bit register to be used for two things at a timeI don't know if this is the way the SAVE routine in the Spectrum works. Anyway, this is what I've learned today.<br /> <br /> I've been commented the…

Related Searches

  • blinded by the shite wrapped up like a douchbag
  • blinded by the shite wrapped up like a
  • make up a compilation
  • large basic after running for a while messes up
  • 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
  • 256 byte aligned look up table
  • how to code a 256 byte aligned look up table
  • align a 256 byte look up table
  • 256 byte look up table
  • move up a line
  • flip a byte
  • ld h table 256
  • pixel look up table
  • look up table pixel

Copyright © 2024 World of Spectrum