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.006s
<1234567…34>
  • 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] ; ***********…

    ... also created a look up table for the "xpos" gfx ... #define DEFB .BYTE
    #define DEFW .WORD
    #define DEFS .BLOCK ... at FC00, get the offset table horizontally
    LD C ... hl,0FE00h ;Building up a table with
    ld bc ...
    robpearmain robpearmain 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 …

    ... DEFINE DEFB .BYTE
    #DEFINE DEFW .WORD
    #DEFINE DEFS . ... ,0FE00H ;BUILDING UP A TABLE WITH
    LD BC ... RET

    deoff:
    DEFW 0


    ...
    HL1: DEFW 0
    HL2: DEFW 0
    COUNT: DEFB ...
    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 DEFW .WORD
    #DEFINE DEFS .BLOCK ... HL,0FE00H ;BUILDING UP A TABLE WITH
    LD BC,0FDH ... /> RET

    deoff:
    DEFW 0



    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 DEFW .WORD
    #DEFINE DEFS .BLOCK ... HL,0FE00H ;BUILDING UP A TABLE WITH
    LD BC,0FDH ... /> RET

    deoff:
    DEFW 0



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

    ... priority, then maybe a lookup table wouldn't be such a ... up that result in a table that divides by 3.[code ... /> RES 0,L ; from the table

    LD DE,div3table ...

    ...

    div3table: defw 0,0,0,1,1 ...
    gasman gasman September 2004 Development
  • Programming MC challengeIn the 80-ies I got the following assignment for a programming course. 2 16-bit values stored in #8000 and #8002 must be added together and stored i…

    Assumming 16bit registers are only excluded for ...

    num1 defw 1000
    num2 defw 1000

    ld ...
    dmsmith dmsmith August 2005 Development
  • z88dk+splib2 sprites question.I'm creating a game and I have several "states" for my main sprite, such as jump, facing left, facing right, etcetera. All those states require a dif…

    ...

    source defw 0
    destino defw 0

    start_routine ...
    na_th_an na_th_an October 2005 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 …

    ... you need a 257 byte table deserves some explanation. In IM2 ... in_inkeytranstbl.asm, which is a table that converts key presses to ... function uses the in_keytranstbl.asm table to figure out which keys ... signficant 8 bits of the 16bit keyboard port address xxFE) and ...
    Alcoholics Anonymous Alcoholics Anonymous February 2006 Development
  • Assistance with IM2 routineI subsequently got a working IM2 routine.

    ... br /> defw routine[/code]
    This is a vector table, just ... is creating a huge vector table. All entries in the ... guarantee where in the table the CPU will look ... have a "proper" vector table, and some piece of ... bus. Then the vector table would be used to ...
    icabod icabod March 2006 Development
  • how to pass arguments from Basic to MC ?can someone explain me (or give some link) how to pass arguments from basic to machine code? i mean something like this: PRINT USR xxxxx, arg1, arg2:…

    ... /> ImageW: defb 0
    Image: defw b

    DrawImage:
    table...
    ...then draw the image ... - 0 is first image in table
    60 PRINT USR 30000 ...
    Kiwi Kiwi 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…

    ... 0 , 0 // always end table in (0,0)
    ... table of sprite draw functions indexed by type
    defw SP1Mask2Data
    defw ... SP1Mask2LBData
    defw SP1Mask2RBData
    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…

    ... ; table of sprite draw functions indexed by type
    defw SP1Mask2Data
    defw ... SP1Mask2LBData
    defw SP1Mask2RBData

    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…

    ... ; table of sprite draw functions indexed by type
    defw SP1Or2Data
    defw ... /> ._sprdrawftbl ; table of sprite draw functions indexed by type
    defw SP1Mask2Data ...
    Alcoholics Anonymous Alcoholics Anonymous May 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…

    ... 0 , 0 // always end table in (0,0)
    };< ... ; table of sprite draw functions indexed by type
    defw SP1Mask2NRData ... use the horizontal rotation table, I'd normally ...
    Alcoholics Anonymous Alcoholics Anonymous May 2006 Development
  • Problem with rotating procedureHi folks! I wrote a proc in z80 asm, based on: x' = x * cos (z) - y * sin (z) y' = x * sin (z) + y * cos (z) I used a precalculated table of sin a…

    ... . Math is done in signed 16bit, game writes pixel directly to ... this way you avoid many 16bit ADD and RL instructions. for ... ]
    is stupid.
    fastest, table driven, put pixel routine takes ...
    Fikee Fikee July 2006 Development
  • 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..…

    ... screen are held in a 16bit data table somewhere and loaded into ... enter the screen. (Finding the table would also be quicker than ...
    48K 48K February 2007 Development
  • 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…

    ... ret

    scradd defw 16384, 16416, 16448, 16480, 16512 ... 16544, 16576, 16608
    defw 18432, 18464, 18496, 18528, ... thought of creating a table with 192 addresses but ... create a 24 address table with each address representing ...
    Arjun Arjun July 2007 Development
  • Help hacking Split PersonalitiesI`ve been hacking away at Split Personalities for the purpose of putting new screens and graphics (items). The current screen is at 41187 and is 160…

    ... (21) is used in the table, codes 61,62,63 follow ... />
    Here is level 1 table again, this time fully commented ... (inc. item bytes)

    defw scr1 ; compressed screen location
    FrankT FrankT July 2007 Games
  • Compressors are available for Speccys ?Hi folks, although I was an wasn't strictly a speccy coder in the glory days (amstrad & amiga for the most part), I have secides to arse about with …

    ... /> ;bc=bc*256+(hl), lazy 16bit way
    ld b,c ... /> lwm: defb 0
    r0: defw 0
    [/CODE]
    Metalbrain Metalbrain October 2007 Development
  • Compressors are available for Speccys ?Hi folks, although I was an wasn't strictly a speccy coder in the glory days (amstrad & amiga for the most part), I have secides to arse about with …

    ... /> ;bc=bc*256+(hl), lazy 16bit way
    ld b,c ... /> lwm: defb 0
    r0: defw 0
    [/code]

    ;bc=bc*256+(hl), lazy 16bit way
    ld b,c ...
    Metalbrain Metalbrain October 2007 Development
  • New assember ideaAs i work with Eclipse IDE in my job i become more and more lazy. This leads me to idea that it is time to left Notepad+Tasm combo behind and move on…

    ... as in "call funcname" or "defw funcname" will cause the library ... prefaces the code with a table that indicates where addresses have ...
    Alcoholics Anonymous Alcoholics Anonymous November 2007 Development
  • New assember ideaAs i work with Eclipse IDE in my job i become more and more lazy. This leads me to idea that it is time to left Notepad+Tasm combo behind and move on…

    ... . There should be a relocate table for every lib function. There ... (by a call or a defw, eg) in the project will ...
    Alcoholics Anonymous Alcoholics Anonymous November 2007 Development
  • Bouncing BallsPfrrt, I am back from lunch, playing the first raw version of BOUNCING BALLS It is very addictive! As stated here [URL]http://www.worldofspectru…

    ... squaring can be done with table look-up. There should be ... radius 87.
    So a table should look like this
    ....
    defw 256
    defw 289
    defw 324
    defw 361
    defw 400 ...
    Dr BEEP Dr BEEP September 2008 Games
  • Maze Mania - How did they do it?Hi, I was looking at the game "Maze Mania" by Hewson Consultants, written in 1989. The game can be downloaded from here [URL]http://www.worldofspec…

    ... ; Point SP to our table of source and destination ( ... Get DESTINATION (Display) from our table
    POP HL ; Get ... SOURCE address from our table
    LDI ; Copy Contents ... ; Destination (Display), Source
    defw $4000,$E500,%4100,$E600..... for ...
    robpearmain robpearmain May 2009 Development
  • 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 …

    ... as an interrupt
    ; vector table. It will still work on ... location
    ; in the streams table to store the
    ; offset ... ,0x3b ; High byte of address table...
    ld i,a ; ... ... stack pointer
    sp_cache
    defw 0

    ; im2 ...
    chev chev May 2009 Development
  • Interface One - New FunctionalityAs you may (or may not) be aware the Interface One is a pretty powerful piece of kit. One of it's greatest features is being able to easily extended …

    ... F_pistack RST calbas
    DEFW 11563 ;Stk-bc
    ... F_exp2num RST calbas
    DEFW 9506 ;Expect 2 num ... /> RST calbas
    DEFW 7833 ;Int. to BC ... from an extended function table, and therefore can' ...
    roko roko July 2009 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 ... draw it.

    The table consists of 8 sets of ... ),d
    but I have 16bit table_base and 8bit offset, and ... (IX),d is 16bit register and 8bit relative(-128 ...
    popmilo popmilo November 2009 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…

    ... ),d
    but I have 16bit table_base and 8bit offset, and ... (IX),d is 16bit register and 8bit relative(-128 ... MSB of the shift right table (the table holding the result of ... br /> 53 dec h ; previous table!
    54 ld a,(de ...
    Alcoholics Anonymous Alcoholics Anonymous November 2009 Development
  • DivIDEo - streaming video on the DivIDEThis has been a bit of a personal holy grail for years and years, so I'm very pleased to announce the release of DivIDEo, my streaming video system f…

    ... ]

    And same IDE table for DIVIDE ports:
    [code ... two different ports for read 16bit data from IDE. But russian ...
    velesoft velesoft May 2010 Announcements
<1234567…34>

Latest Posts

  • I am currently watching.....
    Paradigm Shifter on 12:49AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Fixed Speccy Software. And which games remained unfixed?
    John Elliott 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
  • European Software Titles with an English version
    harriusherbartio 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
  • Celebrity deaths...
    mel the bell on April 20

HitBox

Word Docs Hits
table 5.8K 9.1K
defw 431 4K
16bit 491 559

Related Threads

  • INVASION OF THE BODY SNATCHAS - Obscure High score table messages...After posting a message about this game on the 'first three games you bought' section, I got thinking more about this game.<br /> <br /> When you typ…
  • Two Manic Miners in the top 100 games table?A while ago I was checking the top 100 games (according to WoS visitors' votes), but I couldn't help notice that there are [I]two[/I] distinct "Manic…
  • West Bank: The most pointless high score table everWest Bank is a good little game. I played it and got a score of 25000 odds starting at stage 6, which I thought was quite good. Then as the game ende…
  • Hi-Score tableThe score in my game occupies 3 bytes. I want to create a hi-score but I'm not sure of the best way to work out where a new score would fit in the ta…
  • ANNOUNCE: ZX Spectrum Game Coffee Table Bookhello peeps.<br /> <br /> I'm about half-way through writing a full-colour 250 page 8.5x5.5 inch<br /> coffee-table type book about Spectrum games fr…
  • Can we have a high score table sub-forum?You know, just for fun like.<br /> For those games that loop where you can increment a big number.<br /> Please?
  • Ascii TableDear All,<br /> <br /> Anybody knows where can I find an Ascii Table for the zx?<br /> <br /> I would like to know which charcaters are for example l…
  • Games for Wedding Table NamesFor our imminent wedding, my Fiance has decided that we need to introduce a Spectrum theme, as it's present in our daily lives anyway ;-)<br /> <br /…
  • Bespoke arcade cocktail table - comments?Sorry of this is in the wrong section, but I want a bit of advice.<br /> <br /> I am considering treating myself to a bespoke arcade table for my 40t…
  • How to export the symbol table in ZX Spin v0.666I've managed to resurrect some old cassette tapes with the machine code for Freeway Frog from the Spectrum Machine Language For The Absolute Beginner…

Related Searches

  • table pixadd
  • ay frequency table
  • best place for interrupt table
  • interrupt table
  • jump table
  • fast jp table
  • high score table
  • look up table
  • dereferencing look up table
  • look up table code
  • table of ports
  • score table
  • high score table asm
  • table z80
  • uridium high score table
  • table
  • text table
  • array table
  • defw
  • defw defb defs

Copyright © 2024 World of Spectrum