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.019s
<1…16171819202122…34>
  • My little first set of routines.Hi all, I just coded a little set of routines just to draw a screen on video mem and a fade out. I could have just copied the screen rendering rout…

    ...
    [quote]
    [CODE]
    DrawScr:
    push ... />
    [quote]
    [code]
    ;---------------------------------------------------------------;
    ; Fade Out ... if it reaches zero, so no need ...
    Alcoholics Anonymous Alcoholics Anonymous April 2007 Development
  • Help needed - UK lottery number generator in c++I'm trying to write a c++ program to generate 9 lines of 6 numbers for the uk national lottery. Anybody got any idea where I'm going wrong? I'm com…

    ... , but nevermind.


    [code]
    for (line_no=1; (line_no ... are at line 9
    [/code]

    Why the "pos_no ... a transcription error?

    [code]
    cout
    Alcoholics Anonymous Alcoholics Anonymous April 2007 Chit chat
  • Game Programming Source Code & Startup HelpHi there, I'm planning on porting an existing commercial title to the speccy. I'm in the process of disassembling the original code and commenting i…

    ... 'd be heaps of code out there to handle ... Spectrum has pretty much zero hardware support for anything and ... to share tips and code snippets here even if ... which may make your code slower than if you could ... help really depends on your code. I haven't attempted ...
    Alcoholics Anonymous Alcoholics Anonymous April 2007 Development
  • Old PC Games - What were your classics?I've been fiddling around with DOSBox V 0.70 the past couple of days, and have been playing some old games I used to love, including: Stonekeep Term…

    ... should definately play Duke Nukem: Zero Hour (no relation to the ... PC mod [I]Zero Hour[/I]) on the N64 ... get by a push button code. When activated, if you complete ... their N64 > Duke Nukem: Zero Hour > Cheats

    ewgf ewgf April 2007 Chit chat
  • PZX file format draft[QUOTE=Andrew Barker;186084]To this date, there is no rival format for TZX, despite people saying they can do better. Well the challenge is on, prov…

    ... I ever need to write code to handle TZX files, I ... ? For example, PULS block of zero size might refer to the ... a load of special-case code in every PZX implementation. If ...
    gasman gasman April 2007 Emulators
  • PZX file format draft[QUOTE=Andrew Barker;186084]To this date, there is no rival format for TZX, despite people saying they can do better. Well the challenge is on, prov…

    ... treatment of zero repeat count seems as extra code, even if it ... treatment of repeat count of zero duration pulse other than 1 ... may use repeat count, and zero repeat count is eliminated. Pulse ... for about 20 minutes). Four zero bytes still effectively result in ...
    Patrik Rak Patrik Rak May 2007 Emulators
  • PZX file format draft[QUOTE=Andrew Barker;186084]To this date, there is no rival format for TZX, despite people saying they can do better. Well the challenge is on, prov…

    ... with 0xFFFFFFFF bit count. Your code certainly validates that the amount ... if the rest of your code decodes bit_count bits without checking ... 0x7FFFFFF7 (or check greater than zero AND less than 0x7FFFFFF7, if ...
    Laser Laser May 2007 Emulators
  • Comments for small "sprite" routine wantedI have just written my first machine code program and I am quite happy (and proud) to get it working! :smile: As a child I never learned anything e…

    ... just written my first machine code program and I am quite ... RR B
    B holds zero, with RR B the carry ...
    Dr BEEP Dr BEEP May 2007 Development
  • How does interrupts work?I am a little confused regarding the interrupts on the Spectrum. If I have some hundred bytes of machine code started with, say, [B]RANDOMIZE USR 300…

    ... some hundred bytes of machine code started with, say, [B ... variable, among other things. Since code executed inside an interrupt service ... with routines in the ROM code?
    [/quote]

    ... you can bank on almost zero assistance to the z80. Sinclair ...
    Alcoholics Anonymous Alcoholics Anonymous May 2007 Development
  • How does interrupts work?I am a little confused regarding the interrupts on the Spectrum. If I have some hundred bytes of machine code started with, say, [B]RANDOMIZE USR 300…

    ... been
    pressed.[/I]
    [CODE]
    [B]PAUSE[/B] CALL ...
    OR C reduced to zero the PAUSE
    JR Z ... ,B If the operand was zero BC
    AND C ... /> JR NZ,1F49,PAUSE-2 zero. Jump will all other

    [/CODE]
    Rickard Rickard May 2007 Development
  • How does interrupts work?I am a little confused regarding the interrupts on the Spectrum. If I have some hundred bytes of machine code started with, say, [B]RANDOMIZE USR 300…

    ... instructions per key:

    [code]
    ld a,(hl) ; get ...
    jr z, keyhit
    [/code]

    I make a ... unplayable and there is almost zero difference in execution speed.
    code game. Even if it is ...
    Alcoholics Anonymous Alcoholics Anonymous May 2007 Development
  • How does interrupts work?I am a little confused regarding the interrupts on the Spectrum. If I have some hundred bytes of machine code started with, say, [B]RANDOMIZE USR 300…

    [QUOTE=Rickard;193535]

    [CODE]xor a ; black border[/CODE]

    I have always wondered if this instruction actually can be used for anything else than setting A to 0? :smile:[/QUOTE]

    Reset Carry Flag and set Zero flag!
    Dr BEEP Dr BEEP May 2007 Development
  • How does interrupts work?I am a little confused regarding the interrupts on the Spectrum. If I have some hundred bytes of machine code started with, say, [B]RANDOMIZE USR 300…

    ... "Clear A and Carry, set Zero"? :-)[/QUOTE]

    One would ... to 175 they go:
    [code]
    168 xor b
    176 xor a
    [/code]

    You will notice ...
    BloodBaz BloodBaz June 2007 Development
  • RepositoryI am starting the code for a repository on Sinclair Heaven. What I need to know is what would people like to see, and what formats should I allow fil…

    I'd prefer code to be in a text ... gotten.

    Split the code sections into basic and Z80 ... sensible post count up from zero. Might not too.
    dekh dekh June 2007 Sinclair Miscellaneous
  • 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…

    ... to include any actual code. The code is stored elsewhere. ... program declares this your code can call my_function() happily ... a zero-tereminated sequence of ascii characters.

    [code]< ... "
    "hello there"
    [/code]

    The string "hello ...
    Alcoholics Anonymous Alcoholics Anonymous June 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…

    ... uchar *d_chars(23606);
    [/code]

    are ... [/code]

    means while "n" is not zero ( ... zero byte) run the enclosed code:

    [code]
    sbuf = buf;
    [/code ... byte.

    [code]
    *(sbuf++) = doublew_left_helper ...
    Alcoholics Anonymous Alcoholics Anonymous June 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 process.

    [code]
    static uchar doublew_left_helper(uchar ...
    return res;
    }
    [/code]

    This subroutine takes ... ;
    bmp *= 2;
    [/code]

    We first shift ... of "bmp" is zero or non-zero if bit 7 of ...
    Alcoholics Anonymous Alcoholics Anonymous June 2007 Development
  • A challenge thats probably impossiblehere's a challenge for all you coders. Given a snapshot, is it possible to create a program to sniff out the original start address for the game that…

    ... etc... is a load of zero bytes before the potential start ... on 256 page boundaries. Game code and sprites would typically be ...
    BloodBaz BloodBaz June 2007 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…

    ... background in addition to character code ("udg code") as background (struct ... most significant byte is not zero the tile is taken ... the header file.

    [code]
    /////////////////////////////////////////////////////////////
    // TEST PROGRAM ...
    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…

    ... we have a fresh zero-terminated line pointed at ... strchr(special,*s) returns non-zero (true) only if the ... pcol = col; // normal text
    [/code]

    This next chunk ... being used is not zero. If the current colour ...
    Alcoholics Anonymous Alcoholics Anonymous July 2007 Development
  • How do I clear only a specific area of a screen (quickly) in machine code ?I'm looking for a machine code routine which will clear the first 20 rows of the Spectrum's display (or any number of rows or columns) . I have found…

    ... , E = number of columns:
    [code]
    ; Work out address of ...
    PUSH BC

    ; Zero out 8 screen lines of ...
    LD A,E
    [/code]

    Cheers, Simon
    hldswrth hldswrth July 2007 Development
  • How do I clear only a specific area of a screen (quickly) in machine code ?I'm looking for a machine code routine which will clear the first 20 rows of the Spectrum's display (or any number of rows or columns) . I have found…

    ... a tested version:

    [code]
    ; Routine to clear a ...
    PUSH BC

    ; Zero out 8 screen lines of ... /> RET

    #END
    [/CODE]
    hldswrth hldswrth 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…

    ... .h[/URL]:

    [code]
    extern uchar __LIB__ *zx_cyx2saddr ... ret
    #endasm
    }
    [/code]

    Again, should probably ... flag when BC reaches zero so you may be ... only if installed_mess is not zero.

    In ...
    Alcoholics Anonymous Alcoholics Anonymous July 2007 Development
  • Retroeuskal '07RetroEuskal is an annual event for enthusiasts and interested people about Retrocomputing that is held within [url=http://www.euskalencounter.org/en/…

    ... 'O' when writing the number zero
    - Liking Doctor Who
    code/microprocessors etc. (that most people ...
    chaosmongers chaosmongers July 2007 Sinclair Miscellaneous
  • 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…

    ... scoller using memopd:

    [code]

    // zcc +zx ... br /> uchar *m_ptr; // equals zero for scroll off
    uchar ... routine... ");
    }
    [/code]

    It's the ... because of the extra C code being run. memopd() ...
    Alcoholics Anonymous Alcoholics Anonymous July 2007 Development
  • Oneliner contestHello to you all, I dare you to make a program on 1 BASIC line. Here is the place to sent your ONELINERS [url]http://www.zxspectrum.00freehost.co…

    ... messy, and it makes the code a bit unmaintainable over time ... flags set to either zero or non zero values say, and tend ... employ similar tricks throughout your code, eventually becoming able to do ... flow of execution of the code.

    Also altering the ...
    Digital Prawn Digital Prawn 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…

    ... *100);
    }
    [/code]

    Some comments ... results:

    [code]
    Heads experiment: 490 ...

    // first zero outcome count

    ... 0);
    }
    }
    [/code]

    The program plots ...
    Alcoholics Anonymous Alcoholics Anonymous July 2007 Development
  • 68000 programming.Anyone here know anything about this? My question is: how does the programmer know how long hisinstructions are? Do determine the operands to branch …

    ... This routine does this:
    [code]
    0000 1007 tad 0007 ... to be written to [/code]
    [code]* pppp d pppp 888 ... .
    * version zero. attempts to run pdp-8 code.

    ... />
    END START
    [/code]
    the first few instructions ...
    wilsonsamm wilsonsamm July 2007 Chit chat
  • Splitting Images tzx maybe not perfectI've been hacking this game and its loader. Also the save routine is intact in this game. It saves a block with a pilot length of 801 pulses. Test…

    ... 'ZX82 System' font in a code tag).

    ... using Spin/SpecEmu).
    [code][font=ZX82 System][size=1 ... 701
    Length of ZERO bit pulse 865
    ... 199 (#c7)[/font][/size][/code]This sounds very close to ... my demo from the save code.
    [url=http:// ...
    FrankT FrankT August 2007 MIA/STP/SDP
  • 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…

    ... concerning these functions):

    [code]
    void p_VisitMapCross(struct plot ... + 9); // visit down
    }
    [/code]

    The parameter "p ... called returns a non-zero value.

    [code]
    void *p_VisitAllPlots ...
    Alcoholics Anonymous Alcoholics Anonymous August 2007 Development
<1…16171819202122…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
code 41.6K 91.2K
zero 5.2K 7.1K

Related Threads

  • Five Zero Zero Zero!!!Yippee! Woo Hoo!!! and so on...<br /> <br /> :D :D :D :D :D<br /> <br /> Necros.
  • Machine Code Sprites Example Code Using Char Based SystemBelow is my WIP code to do smooth screen wrapping sprites using char positions and offsets, as opposed to writing direct to a line (0-191) and shifti…
  • 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<br /> <br /> Note, for 48k spectrum using TASM<br /> <br /…
  • Saving BASIC code as CODE... can't start programHi guys!<br /> <br /> I'm trying to create an adventure game for the Speccy in BASIC, called The Legend Of The Red Dragon.<br /> <br /> I'm using the…
  • Converting Basic code into machine codeIm just interested to know if I can converter a game I've written in basic into Machine code, Is their a program that can do this??
  • LOAD "" CODE in machine code/store 128 bank dataHow do you LOAD "" CODE from machine code?<br /> <br /> I have written the following MC routine that fits into a REM statement in a basic program.<br…
  • Zero 0.7 / Zero 0.6.5 releasedAfter months of grueling work, I?m proud to announce the Vanilla version of Zero, which is a regular Windows version of the emulator. I?ve tried to m…
  • New Game: Code ZeroMy new game is finally out.<br /> Lots of walking about, picking up keys, opening doors and generally saving the World... again...<br /> [url="http…
  • Code Masters' adventures: where are they?Please help to find Dizzy and Seymour sequels. Why their distribution is denied ?
  • LINE-routine and other nice pieces of codeThe line-topic came in the end with a nice piece of fast coding.<br /> <br /> I think that there might be more of these routines out there (where-eve…

Related Searches

  • lowest memory for code
  • lowest memory position for machine code
  • lowest memory position machine code
  • lowest memory machine code
  • lowest memory code
  • code 16384
  • mastering machine code on your zx spectrum by toni baker
  • mastering machine code on your zx spectrum by toni baker disassembler
  • mastering machine code on your zx spectrum by toni baker pdf
  • identify code 128k pentagon model
  • check code 128k pentagon model
  • load code hide name
  • load code hide name on screen
  • disintegrate code
  • machine code routines
  • zx spectrum games code club
  • random number code
  • ultimate games 3 machine code
  • zero source code
  • zero emulator source code

Copyright © 2024 World of Spectrum