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.010s
<1234567…34>
  • Asking for help: ZXBC to ASM routine translationHallo, In order to save some bytes and gain speed, I'm asking for translation of a very simple ZXBC routine to Assembler [code] sub light(x as uinteg…

    ... them in with the poke command, then writing them ... map, to Fastcall function:
    [code]
    function CheckCandles() as ... br /> function fastcall CheckCandles() as Ubyte
    candles1:
    asm
    end asm
    end Function
    [/code]
    LCD LCD November 2012 Development
  • Xor-shift random number generator for Z80[QUOTE=Patrik Rak;320244]Come on, people, [URL="http://www.jstatsoft.org/v08/i14/paper"]xor-shift generators[/URL] devised by Marsaglia, that's the w…

    ... - but "randomBase" is this function below - it returns as a ... function what's in the A ... /> [CODE]
    FUNCTION FASTCALL randomBase () AS UBYTE
    ASM
    random: < ... ASM
    END FUNCTION

    for n=16384 to 22527
    poke ...
    Gedlion Gedlion September 2013 Development
  • New version emulator ZEsarUX-1.1Hi I have uploaded a new version of my ZX80/81/Spectrum emulator on [url]http://sourceforge.net/projects/zesarux/[/url] Changes are: Added suppo…

    ... of numerical keyboard: / * - +
    Added Poke function to menu
    Added option ...
    chernandezba chernandezba July 2014 Emulators
  • Saving and restoring data in 128kHi all I'm trying to program a game using compiled ZX Basic for the +2A/+2B/+3. Thanks to a lot of info I found on the forums, I manage to access …

    ... />
    [code]asm
    di
    end asm

    poke 23388,16 ... + bank_number : OUT 32765,16 + bank_number

    asm
    ei
    end asm[/code]

    oblo oblo December 2018 Development
  • Lesser used BASIC commandsAre there any interesting articles or books that explore some of the lesser used BASIC commands/functions e.g. DEF FN, IN, OUT etc? The Spectrum BAS…

    ... 's RAMdisk, but the zx_goto function as is calls directly into ... z88dk/z88dk/libsrc/spectrum/zx_goto.asm?revision=1.2&view ... =markup"]zx_goto.asm[/URL] from which you can ... .1&view=markup"]currah_direct.asm[/URL] function that will load allophones ...
    Alcoholics Anonymous Alcoholics Anonymous July 2006 Sinclair Basic
  • Lesser used BASIC commandsAre there any interesting articles or books that explore some of the lesser used BASIC commands/functions e.g. DEF FN, IN, OUT etc? The Spectrum BAS…

    ... 's RAMdisk, but the zx_goto function as is calls directly into ... z88dk/z88dk/libsrc/spectrum/zx_goto.asm?revision=1.2&view ... =markup"]zx_goto.asm[/URL] from which you can ... .1&view=markup"]currah_direct.asm[/URL] function that will load allophones ...
    na_th_an na_th_an July 2006 Sinclair Basic
  • A BASIC compiler projectHi, I started my own BASIC compiler for the ZX Spectrum (and Z80 machines) 3 months ago. It's still in ALPHA stage (when it is mature, I will write …

    ... 2) By writting an inline ASM function. This compiler allows it:
    Function myfunctions (Param1, param2, ...) As ... the assembler

    Asm
    ld b, 5
    End Asm

    End Function
    [/PHP]
    boriel boriel April 2008 Development
  • z88dk vs. sdccI've just read this article (in Spanish) [url]http://www.cpcmania.com/index2.asp?urldest=Docs/Programming/SDCC_vs_z88dk_Comparando_tama%F1o_y_velocid…

    ... effort has been in providing asm libraries because to first order ... line drawing. z88dk has an asm library function qsort (or rather I ... not committed yet) and an asm coded graphics library that can ... to library calls. As an asm programmer, this kind of annoys ...
    Alcoholics Anonymous Alcoholics Anonymous May 2012 Development
  • z88dk vs. sdccI've just read this article (in Spanish) [url]http://www.cpcmania.com/index2.asp?urldest=Docs/Programming/SDCC_vs_z88dk_Comparando_tama%F1o_y_velocid…

    ... effort has been in providing asm libraries because to first ... line drawing. z88dk has an asm library function qsort (or rather I ... committed yet) and an asm coded graphics library that can ... with my trustworthy combined C/asm approach.

    @Mochilote: ...
    na_th_an na_th_an May 2012 Development
  • Xor-shift random number generator for Z80[QUOTE=Patrik Rak;320244]Come on, people, [URL="http://www.jstatsoft.org/v08/i14/paper"]xor-shift generators[/URL] devised by Marsaglia, that's the w…

    ...
    ret
    END ASM
    END FUNCTION
    [/CODE]

    [CODE]
    FUNCTION FASTCALL randomFixed() as FIXED
    ASM
    call random ... e,d
    END ASM
    END FUNCTION[/CODE]

    With ...
    Gedlion Gedlion May 2012 Development
  • Asking for help: ZXBC to ASM routine translationHallo, In order to save some bytes and gain speed, I'm asking for translation of a very simple ZXBC routine to Assembler [code] sub light(x as uinteg…

    ... each.

    [code]
    function fastcall light ( x as uinteger ... uinteger, intensity as ubyte )
    asm
    pop hl ;return address ... ),a
    outofbounds:
    end asm
    end function
    [/code]
    Stefan Drissen Stefan Drissen November 2012 Development
  • Asking for help: ZXBC to ASM routine translationHallo, In order to save some bytes and gain speed, I'm asking for translation of a very simple ZXBC routine to Assembler [code] sub light(x as uinteg…

    ... a,e
    end asm
    end Function
    [/code][/QUOTE]
    [code]function fastcall CheckCandles() as Ubyte
    candles1:
    asm
    ld ... a,e
    end asm
    end Function
    [/code]
    It ...
    Einar Saukas Einar Saukas November 2012 Development
  • ZX-Paintbrush 2.2.9.5Dear ZX-Paintbrush friends, I want to present you some preview pictures of my latest progresses. Well, there are some bug-fixes to do, but it's work…

    Dear readers,

    the ASM export function is ready now. In addition ...
    clausjahn clausjahn December 2012 Emulators
  • Mirroring UDG'sJust wondered is there a quick an easy way of mirroring UDGs (byte values)? i.e. BIN 11110000 becoming 00001111 etc.

    ... ]
    function fastcall mirror (number as uByte) as uByte
    asm
    RLA
    end asm
    END FUNCTION
    [/CODE]
    Gedlion Gedlion August 2013 Development
  • Testers for new z88dk clibA long (long, long, long) time ago a few people offered to help test the new clib in z88dk. Much time has passed since then and I won't hold people,…

    ... Because you're wrapping your asm function in a C header, sdcc ... running your asm:

    [code]
    ; ---------------------------------
    ; Function drawchar
    function but I don't ... when it sees a function opening and you will ...
    Alcoholics Anonymous Alcoholics Anonymous February 2015 Development
  • Komando 2 incompatible with the +2A models, anyone could supply a poke or a loader to make it work?http://www.worldofspectrum.org/infoseekid.cgi?id=0002734 Is any way to make it work in the +2A models with a loader or poke? Thanks!

    This is a POKE for the game code itself ... need something like Spectaculator's POKE function while the game is running ...
    Hikaru Hikaru June 2017 Games
  • LamegaHi guys. I was kinda bored this weekend (being at work and such), so i was making this little thing in ZX Basic. It's no good game by any means, …

    ... could have borrowed my timer function, which is fair bit faster ... think.

    FUNCTION t() as uLong
    asm
    LD DE ... HL,(23672)
    end asm
    end function

    That said ...
    Gedlion Gedlion June 2017 Sinclair Basic
  • LamegaHi guys. I was kinda bored this weekend (being at work and such), so i was making this little thing in ZX Basic. It's no good game by any means, …

    ... could have borrowed my timer function, which is fair bit faster ... think.

    FUNCTION t() as uLong
    asm
    LD DE ... HL,(23672)
    end asm
    end function

    That said ...
    rikokun rikokun June 2017 Sinclair Basic
  • Tutorial - learn machine code in 30mins[B][I]Message from the moderators[/I] - bigjon has requested that readers' attention be drawn to a better version of this tutorial, one which is easi…

    ... 1 - Create a machine code function that returns the score to ... and type something like mc30mintut.asm into the save box.
    Any machine code function called from basic will return ... pixels per byte.
    Try POKE-ing 255 into bytes within ...
    bigjon bigjon November 2009 Development
  • quick - Zx80 ASM questionWhile I am ploughing through lots of ASM listings, one of my earlier adaptation attempts surprised me [B][asm code][/B] [code] org 32768 start: ld…

    ... am ploughing through lots of ASM listings, one of my earlier ... surprised me

    [B][asm code][/B]
    [code]
    10 CLEAR 32767
    20 POKE 23610,255
    30 LOAD ...
    Zetr0 Zetr0 May 2011 Development
  • A z88dk + sp1 demo (with source)Since nowadays people are still wondering about how difficult it is to make something in z88dk, I thought I just put a very simple demo to show how e…

    ... Variable to data Declared in ASM at End of File
    Timmy Timmy January 2012 Development
  • Multicolour demo using z88dk + BIFROST* (+source)This is just a demo to show how to show multicolour using z88dk, using the BIFROST* engine (more info [URL="http://www.worldofspectrum.org/forums/sho…

    ... bfl_2frames()
    {
    // POKE 64937,0: POKE 64939,128: POKE 64940,0: REM ... ()
    {
    // POKE 56787,254: REM slow animations
    #asm
    ld ... /> struct in_UDK joykeys;

    // Function to Set Up Keyboard as ...
    Timmy Timmy March 2012 Development
  • number padding functionI wrote a number padding function in BASIC a while ago, but when I came to want it again I couldn't find it, so I've done this enhanced [url=http://w…

    I wrote a number padding function in BASIC a while ago, ... .uk/~jg27paw4/pourri/padnum.asm]PadNum[/url] function in assembler. As per ...
    Battle Bunny Battle Bunny May 2012 Sinclair Basic
  • GEDit syntax highlighting for Boriel's ZX BasicHi! I just tailored this syntax highlighting code and would like to share with he community. Suggestions are always welcome, though the file works w…

    ... and
    align
    asm
    asn
    at ... flash
    for
    function
    go to
    ... peek
    plot
    poke
    print
    randomize ...
    pkersey pkersey February 2014 Development
  • Function with push and popIm trying to see if I understand push and pop when it comes to using to pass parameters to functions: [code] LD HL,16384 LD A,5 Push AF Ld A…

    ... ASM
    [/code]
    Im writing the result of the add function ...
    slenkar slenkar April 2016 Development
  • Pac(wo)Man any version invisibility pokeHi to all Just had an idea to get baby / toddler interested in spectrum games in the future (because it's cheaper than buying new stuff) Is there…

    ... )
    Is there an invisibility poke in any PacMan version, meaning ... poke which makes the collision of the pacman with the dots function ...
    alban lusitanae alban lusitanae March 2017 Chit chat
  • [Asm] Is this nested loop faster than LDIR or a bunch of unrolled LDI's?Hi all. I'm learning Z80 asm on Speccy 48K, and to start with I decided to write my own "CLS" routine (without relying on ROM calls or LDIR) as a lea…

    ... I'm learning Z80 asm on Speccy 48K, and to ... it is, the first asm I've ever written using ... [url=http://clrhome.org/asm/]the excellent ORG web ide ... $229B/8859 (Spectrum ROM function to change border color).
    asm code so be gentle :)< ...
    ST1 ST1 November 2018 Development
  • How to write a simple C+asm horizontal scrolling game (Tutorial, z88dk)[b]How to write a simple C/asm horizontal scrolling game[/b] [b]Note:[/b] This tutorial has multiple parts... I am still writing but this first pa…

    ... up a good C/asm development environment can take ... __FASTCALL__ scroll_left()
    {
    #asm
    db 6,191,33 ... {
    scroll_left();

    #asm
    halt
    #endasm
    function (function is just a different ...
    Timmy Timmy September 2020 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…

    ... subsequent calls to the RND function, making it not very random ... A+B-1: READ B: POKE C,B: NEXT C

    The asm code was generated using BASin ... using the below asm listing:-

    org 65268 ...
    Digital Prawn Digital Prawn December 2005 Emulators
<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
asm 3.8K 6.7K
poke 6.2K 13K
function 4.3K 6.5K

Related Threads

  • SpecBAS INT function vs Spectrum INT functionDunny's SpecOS (SpecBas) vs Normal Spectrum Basic.<br /> <br /> INT function<br /> <br /> The Spectrum rounds -ve INT values down (e.g. INT -2.2 = -3…
  • POKE, how it works?I have a cool list of POKE's for some games, but I have no idea how it works. What I must do with these numbers?. Please help me. thanx a lot.
  • Poke helpHi can any offer me some help please!<br /> I am using the WinZ80 emulator and playing footballer of the year.<br /> The Zip file contained POKEs but…
  • Poke filesJust wondering, how do you use the poke files? I have a game that is pass word protected (Avalon) and a .pok file with it - I assume that this is a h…
  • a poke to change fonts??hi ppl, there wasnt some poke in basic to change the look alike of the fonts of speccy??<br /> <br /> I guess I did things like that in eighties..<…
  • poke in fuse??is it possible to use POKES with Fuse??<br /> <br /> its a long time ago since i used a spectrum and can't remember the routine!!<br /> <br /> many t…
  • Spectrum 2003 News and Info Special at PEEK N' POKE[url="http://peeknpoke.emuunlim.com/spectrum2003/pnpspectrumnews2003index.html"]http://peeknpoke.emuunlim.com/spectrum2003/pnpspectrumnews2003index.h…
  • Poke Cards, Scans Needed.Hi folks,<br /> <br /> Does anyone have any of those YS or SU poke cards you got in certain mags.<br /> <br /> I don't remember if they were SU or YS…
  • I need a cheat/poke for 3D Grand Prix, pleaseHi!<br /> <br /> Dos anyone know how to avoid the oil pools?<br /> <br /> Thanks in advance.
  • POKE, PEEK and RANDOMIZE USRAnyone got a store of useful POKES, or RANDOMIZE USR statements with interesting effects?<br /> <br /> As a start, try anything from RANDOMIZE USR 12…

Related Searches

  • poke 128k into 48k mode
  • print a char in asm
  • asm draw character
  • usr0 poke
  • thunderceptor poke
  • poke 23659
  • udg 128 spectrum play poke
  • udg spectrum play poke
  • circle in asm
  • asm examples
  • poke bank
  • asm
  • asm zx7
  • poke
  • http clrhome org asm
  • header poke
  • asm tzx
  • loading screen poke to hide text
  • jetpac ultimate poke divmmc
  • z88dk poke function

Copyright © 2024 World of Spectrum