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 431 results in 0.001s
<1234567…15>
  • MC 101Hello Group Members: Can't spectrum MC be embedded in a BASIC program

    ... ,0
    ret
    RandomSeed: defw 1

    [ This Message ...
    dalmudlee dalmudlee July 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 …

    ... divisible by 2)
    SPRADR DEFW 0 ;screen address
    SPRSRC ... DEFW 64000 ;where sprite is stored< ...
    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 …

    ... %00000001


    JUMPTAB1 DEFW W16A,W16B,W24A,W24B,W32A ... ,W32B
    JUMPTAB2 DEFW W16C,W16D,W24C,W24D,W32C ... /> RET


    SPSTORE DEFW 0
    SPRXCO DEFB 1 ... DEFB 32
    SCRADR DEFW 0
    SPRSRC DEFW 60000

    dmsmith dmsmith 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
    #define DEFS .BLOCK ...
    robpearmain robpearmain 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
    #define DEFS .BLOCK ...
    robpearmain robpearmain August 2004 Development
  • I need ASM for random numberI need to generate a random pair of coardinates in asm so that x=random no between 0 and 31, y=random no between 0 and 23. Any ideas on how to code …

    ... hl
    ret
    rand defw 0

    [/code]
    Dr BEEP Dr BEEP September 2004 Development
  • I need ASM for random numberI need to generate a random pair of coardinates in asm so that x=random no between 0 and 31, y=random no between 0 and 23. Any ideas on how to code …

    Hi,

    You could use this one if someone founds out why it returns with a Integer Out of Range error. :(

    [code]

    ORG 32768
    LD HL, (23672)
    LD (_RANDOM_SEED), HL ; Initialize the seed for random ...
    horace horace 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 ... /> 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 ... /> 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 ... /> 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…

    ...

    ...

    div3table: defw 0,0,0,1,1 ...
    gasman gasman September 2004 Development
  • Can Anyone explain sprites in Jet Pac/Atic Atac etcJet Pac was 16k, and yet the sprites were impressively fast. I notice they had a slight flicker at times, but were notmally pretty flicker free. W…

    ... /> DEFW NoRotate
    DEFW Right1
    DEFW Right2
    DEFW Right3
    DEFW Left4
    DEFW ... /> ; DEFW NoRotate2
    ; DEFW Rght1
    ; DEFW Rght2
    ; DEFW Rght3
    ; DEFW Lft4
    ; DEFW ...
    robpearmain robpearmain October 2004 Development
  • For listings/demos what assembler should we useI am using TASM (I am not recommending this, I am just stating fact). When we give listings of assembler source, often we have to convert from assem…

    ... one format to another - a defw -> dw here, a 0xff ...
    gasman gasman October 2004 Development
  • Reading the keyboardDoes anyone have a code sample to read the keyboard in machine code ?

    ... 251,1 ;Q
    DEFW GOUP
    DEFB 253,1 ... ;A
    DEFW GODOWN
    DEFB 223,1 ... ;P
    DEFW GORIGHT
    DEFB 223,2 ... ;O
    DEFW GOLEFT
    DEFB 127,4 ... ;M
    DEFW FIRE

    [/code]< ...
    dmsmith dmsmith November 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…

    ... MAPLOOKUP DEFW TILEIMAGE0 ; Empty
    DEFW TILEIMAGE1 ; Default
    DEFW TILEIMAGE2 ... ; Up
    DEFW TILEIMAGE3 ; ...
    Dr BEEP Dr BEEP February 2005 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…

    ... MAPLOOKUP DEFW TILEIMAGE0 ; Empty
    DEFW TILEIMAGE1 ; Default
    DEFW TILEIMAGE2 ... ; Up
    DEFW TILEIMAGE3 ; ...
    Mr Millside Mr Millside February 2005 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…

    ... MAPLOOKUP DEFW TILEIMAGE0 ; Empty
    DEFW TILEIMAGE1 ; Default
    DEFW TILEIMAGE2 ... ; Up
    DEFW TILEIMAGE3 ; ...
    Mr Millside Mr Millside February 2005 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…

    ... MAPLOOKUP DEFW TILEIMAGE0 ; Empty
    DEFW TILEIMAGE1 ; Default
    DEFW TILEIMAGE2 ... ; Up
    DEFW TILEIMAGE3 ; ...
    Mr Millside Mr Millside February 2005 Development
  • Installing Z88DK Z88DK INSTALLATION Z88DK is distributed in two parts. The first part is the platform independent bits (including source and z80 libraries) and th…

    ...
    LIB SPCClipStruct
    ._sp_ClipStruct defw SPCClipStruct
    #endasm

    Alcoholics Anonymous Alcoholics Anonymous April 2005 Development
  • Installing Z88DK Z88DK INSTALLATION Z88DK is distributed in two parts. The first part is the platform independent bits (including source and z80 libraries) and th…

    ... />
    LIB SPCClipStruct
    ._sp_ClipStruct defw SPCClipStruct

    ._main
    na_th_an na_th_an April 2005 Development
  • Fastest way to write something to screen$Hi, I just got pasmo.exe and start playing with attr scrolling, well, not scrolling, just write different values to a block and see if I can introdu…

    ... is a label for a DEFW
    NOTE #2: #D5 is ...
    RET

    OLDSP DEFW #0000

    END 50000 ...
    AE.Vasconcelos AE.Vasconcelos April 2005 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…

    ...

    num1 defw 1000
    num2 defw 1000

    ld ...
    dmsmith dmsmith August 2005 Development
  • Bug in EMUZWINIt's quite minor actually and is in the Assembler. Ocassionally when assembling the ASM gives the wrong address to a label. For instance I used the l…

    ... /> In the ASM when using DEFW with a list of labels ... , ie. DEFW LINE01,LINE02,LINE03... only the ...
    dmsmith dmsmith August 2005 Emulators
  • 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
  • Assistance with IM2 routineI subsequently got a working IM2 routine.

    ... :[code]
    org $efff
    defw routine[/code]
    This is ...
    icabod icabod March 2006 Development
  • Timex 80 column display driverI subsequently wrote an 80 column font driver for 512x192 mode.

    ... variables

    .nextdfile
    defw 00 ; next char destination display ... below)

    .nextstate
    defw col0 ; next output subroutine (col0 ...
    Alcoholics Anonymous Alcoholics Anonymous 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:
    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…

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

    ... by type
    defw SP1Mask2Data
    defw SP1Mask2LBData
    defw SP1Mask2RBData

    defw" creates a reference to these ...
    Alcoholics Anonymous Alcoholics Anonymous April 2006 Development
<1234567…15>

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
defw 431 4K

Related Searches

  • defw defb defs
  • table defw 16bit

Copyright © 2024 World of Spectrum