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.011s
<1…18192021222324…34>
  • Gigascreen - programming guideDoes anyone know of a programming guide for the 128K gigascreen screen mode, specifically a persistence colours table, some code (pref. C level or BA…

    ... via "[B]1 PAUSE 1:OUT 32765,23:PAUSE 1:OUT 32765 ... 49152. After load run special routine for show gigascreen mode - each ...
    velesoft velesoft August 2011 Development
  • Keys redefine routine and key check.I have written some asm code which allows me to redefine keys (for a game etc.), and also allows me to be able to check any keypresses for the redefi…

    ... is planning to use this routine from BASIC, I recommend changing ... (0=NONE, 1=FIRE, 2=PAUSE, 3=QUIT).[/LIST]

    160 IF R=2 THEN PAUSE 0
    170 IF R ...
    Einar Saukas Einar Saukas September 2011 Development
  • Keys redefine routine and key check.I have written some asm code which allows me to redefine keys (for a game etc.), and also allows me to be able to check any keypresses for the redefi…

    ... is planning to use this routine from BASIC, I recommend changing ... (0=NONE, 1=FIRE, 2=PAUSE, 3=QUIT).[/LIST]

    160 IF R=2 THEN PAUSE 0
    170 IF R ... get some time. Although, the routine was really meant to be ...
    polomint polomint September 2011 Development
  • File size in 128K RAM diskHi Folks, Is there a way to get the size of a file stored in the 128K RAM disk from within a BASIC program? Many thanks Paddy

    ... the required info. However, the assembler listing is 18k, which might ... been thinking of a little routine to read the RAM disk ...
    Battle Bunny Battle Bunny September 2011 Sinclair Basic
  • checking bits in BASICThe question of manipulating bit patterns in BASIC was raised recently in this [thread=35728]Keys redefine routine and key check[/thread] thread. I s…

    ... basic but very fast in assembler, so why not to try ... the routine at u is the following 33 bytes long assembler:
    routine within the string a$ and ...
    mattsteel mattsteel September 2011 Sinclair Basic
  • Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …

    ... />
    useful to call brief assembler routine stored within a string variable ...
    mattsteel mattsteel September 2011 Sinclair Basic
  • INSTR function...Hi Folks, Another little program that people might find useful: [CODE]100 DIM i(4) 110 LET a$="This is some sample text" 120 LET b$="text" 130 GO S…

    ... a *small* (117 bytes) relocatable assembler.

    [CODE]
    1 ... />
    I've coded this routine more than 20 years ago ...
    mattsteel mattsteel September 2011 Sinclair Basic
  • Where to start?..Hello, First off, sorry if this is in the wrong and sorry if the questions I'm about to ask have been asked and answered numerous time! Little back…

    ... memory location 32768, and then pause until you press a key ... :
    [code]RANDOMIZE USR 32768 : PAUSE 0[/code]

    That ... 're better off using an assembler, and SAVEing the code byte ...
    csmith csmith September 2011 Development
  • Where to start?..Hello, First off, sorry if this is in the wrong and sorry if the questions I'm about to ask have been asked and answered numerous time! Little back…

    ... memory location 32768, and then pause until you press a key ... :
    [code]RANDOMIZE USR 32768 : PAUSE 0[/code]

    That ... 're better off using an assembler, and SAVEing the code byte ...
    meow meow September 2011 Development
  • Keys redefine routine and key check.I have written some asm code which allows me to redefine keys (for a game etc.), and also allows me to be able to check any keypresses for the redefi…

    ... routine will define keys for UP/DOWN/LEFT/RIGHT/FIRE/PAUSE ... br /> ; ----------------------------------------------
    ; ROUTINE: print_message
    ;
    ... /> ; ----------------------------------------------
    ; ROUTINE: get_defined_key
    ;
    ...
    polomint polomint September 2011 Development
  • Tile based graphics and scrolling thingy...Here's my best attempt so far at a tile based rendering and scrolling routine. It draws in 22 8*8 graphics tiles along the top of the screen (junk i…

    ... ?

    Not sure which assembler you're working with but ... result in DE for draw routine

    draw_tile ld hl ...
    R-Tape R-Tape September 2011 Development
  • Tile based graphics and scrolling thingy...Here's my best attempt so far at a tile based rendering and scrolling routine. It draws in 22 8*8 graphics tiles along the top of the screen (junk i…

    ... ?

    Not sure which assembler you're working with but ... the wrong way round. The routine starts at the bottom of ...
    Zoltar Zoltar September 2011 Development
  • saving part of a BASIC programHere's a short routine to save part of a BASIC program. The idea is that it can be merged into a program and then used to save sub-routines, etc. to …

    ... procedure.

    The routine is initialised with "RUN 9999 ... , thus discarding the initialisation routine and the hex code. ... sequence.

    The routine now just loops around prompting ... name, 9994:0":
    PAUSE k0: RANDOMIZE USR VAL "m ...
    Battle Bunny Battle Bunny September 2011 Sinclair Basic
  • IN or INKEY ?just curious which is better to use.. I have a menu done.. and use 6/7 to go up down it + space to cycle thru the options (using inkey).. obv. if I w…

    ... is like calling the rom routine on c64.. ya get the ... and then run. The select routine is designed to support scrolling ... REM
    330 REM Select Routine
    340 REM
    350 ... : POKE k,0
    370 PAUSE 0: LET t2=PEEK k ...
    Paddy Coleman Paddy Coleman October 2011 Sinclair Basic
  • AND,XOR,OR,BIT,RES,SET,CPL,NEG,RLC,RRC,SLA,SRL,RL, RR,SRA for BASICAs this was drifting away from the original INKEY$ thread I thought that I'd create a new one. So here's a routine to provide all of the above mentio…

    ... addresses, but when using an assembler this doesn't matter as ... rule, if a m/code routine uses any absolute addresses which ... to time, any m/code routine can be made self-relocating ... />
    For example, the original routine above has four lines which ...
    Battle Bunny Battle Bunny October 2011 Sinclair Basic
  • New WIP underway - 'Dingo'.Hi, Prepare for a long post. Perhaps I can even challenge ewgf here. :razz: Anyway, I've been meaning to get into Z80 programming and making a game…

    ... routine will define keys for UP/DOWN/LEFT/RIGHT/FIRE/PAUSE ... br /> ; ----------------------------------------------
    ; ROUTINE: print_message
    ;
    ... /> ; ----------------------------------------------
    ; ROUTINE: get_defined_key
    ;
    ...
    polomint polomint October 2011 Development
  • Need help with tzxing once again :)You people helped me so much in this thread witch a custom loader: [url]http://www.worldofspectrum.org/forums/showthread.php?t=36109[/url] Maybe we…

    ... who i made by save routine and this is mistake of ... is somewhat longer) and the pause until the next block (if ... there are several pause pulses, you should add them ...
    lfaria lfaria October 2011 MIA/STP/SDP
  • Need help with tzxing once again :)You people helped me so much in this thread witch a custom loader: [url]http://www.worldofspectrum.org/forums/showthread.php?t=36109[/url] Maybe we…

    ... -LOAD: =

    The save routine states the timings and what ... "; FLASH SGN PI;"Zatrzymaj magnetofon!": PAUSE VAL "100": PRINT AT VAL ...
    lfaria lfaria October 2011 MIA/STP/SDP
  • BASIC menus for PlusD discsIs it possible to use BASIC to code custom autoloader menus for PlusD discs? For instance, I can make a disc copy of Dizzy Collection and could make…

    ... p44:
    STOP:
    CAT *: PAUSE NOT PI: RUN:
    CAT ... then typed in to an assembler on the Spectrum.
    Battle Bunny Battle Bunny October 2011 Sinclair Basic
  • AGD 2.6 WoesThis was originally in the New Game Ideas section but thought this would be the best place to post this: I'm no programmer, hence i'm using the exce…

    ... second (unless you put a pause in your main loop). There ... player might pick up. The routine to display and delete objects ...
    jonathan jonathan November 2011 Development
  • What paging scheme is the "standard" for 128K models?Sinclair implemented an arrangement so that even numbered pages are non-contended, and odd numbered pages are contended (quoting from memory, haven't…

    ... PAPER 6: CLS
    20 PAUSE 1: OUT 254,0: OUT ... both machines, the keyboard interrupt routine is almost the same.
    mcleod_ideafix mcleod_ideafix November 2011 Hardware
  • BackgroundDoes anyone know how i would create a background similar to [URL=http://imageshack.us/photo/my-images/42/backgroundmockup.png/][IMG]http://img42.ima…

    ... you not have a general routine to put 'anything' on the ... and y position. That 'display' routine would be used for any ... way of thinking and Z80 assembler have little in common.

    Z80 assembler has two enormous bottlenecks: speed ...
    Stefan Drissen Stefan Drissen December 2011 Development
  • Screen routinesHello. For my games I?m using the sprites routine method of a screen buffer and when I finish to print all the sprites I dump all the buffer in the …

    ... 48k I use my drawing routine and dump a 20x160 square ... I use the same drawing routine but shadow screen and it ... had to put a big pause for a good controling
    climacus climacus January 2012 Development
  • PLOT and DRAW in machine codeHow do you go about it? If I posted a really simple BASIC instruction could someone do a machine code routine so I could learn from it? I wouldnt k…

    Tried calling the Sinclair User ROM routine... Totally baffled now!

    Sorry for being thick, but how do you load the registers with 2 different values in an assembler?

    How do you load minus numbers?!

    FLUMMOXXED!!!
    daveysludge daveysludge January 2012 Development
  • PLOT and DRAW in machine codeHow do you go about it? If I posted a really simple BASIC instruction could someone do a machine code routine so I could learn from it? I wouldnt k…

    ... calling the Sinclair User ROM routine... Totally baffled now!

    assembler?

    How do you ...
    Dr BEEP Dr BEEP January 2012 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…

    ... having problems with assembler, and thinks that a sprite routine is something ...
    Timmy Timmy January 2012 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…

    ... I want a masked sprite routine I'll just write one ... following:

    * using an assembler someone else wrote
    * using ...
    Alcoholics Anonymous Alcoholics Anonymous January 2012 Development
  • RND CommandsExactly how random are they? Reason I ask is I'm using 4 of them to generate a random number, the value of which then assigns movement commands to f…

    ... 'm having problems getting a routine to work in machine code ... in BASIC, then do an assembler version once I know that ... lines as comments in the assembler listing so that I can ... see the BASIC/assembler equivalents, which makes it easier ...
    Battle Bunny Battle Bunny January 2012 Sinclair Basic
  • Faster CLS...Hi Folks, Looking at the CLS command in the Spectrum ROM disassembly it seems rather complex. Does anyone know of a simpler/quicker routine that wi…

    ... you have never used an assembler, because the concept of variables ... .e. if I ran a routine that changed all the attributes ...
    Paddy Coleman Paddy Coleman January 2012 Sinclair Basic
<1…18192021222324…34>

Latest Posts

  • Happy 40th Birthday to the Amstrad CPC464!
    AndyC on 6:29PM
  • Goodbye Z80
    i love the z80s on 6:28PM
  • Another Birthday! The Game Boy Is 35!
    dm_boozefreek on 6:17PM
  • I bought an accoustic guitar. How do you play it?
    Maroc's Other Projection on 6:04PM
  • I am currently watching.....
    Antiriad2097 on 5:05PM
  • European Software Titles with an English version
    harriusherbartio on 12:06PM
  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 11:21AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 11:01AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 21

HitBox

Word Docs Hits
assembler 4.6K 7K
pause 2.6K 5K
routine 9.5K 14.8K

Related Threads

  • ZX80 Pause Routine?I read this in the first issue of Sinclair User...<br /> <br /> "Ken MacDonald's [I]Amazing Active Display[/I], a machine code pause routine, showed …
  • clarification needed of assembler graphics routineI was wondering if someone used to coding animated graphics in assembler can take a look at [url=http://www.users.globalnet.co.uk/~jg27paw4/pourri/as…
  • Passing parameter from BASIC to assembler routineWas there a "clean" way of passing parameter(s) from a BASIC program to an assembler routine? Something like parameterising RANDOMIZE USR call? I fac…
  • 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…
  • line routineWondered if anyone can help me out. I have been programming a 3d graphics library for the spectrum, in Machine code.<br /> <br /> The line routine th…
  • Assembler code from tutorial, problem!I was wondering if anyone could help me decipher this z80 assembler code?<br /> <br /> ORG 60000<br /> LOAD 60000<br /> <br …
  • Which emulator and assembler?Hi,<br /> <br /> I am looking to learn z80 assembly language and I feel the best option is a spectrum emulator and an assembler. Can anybody recomme…
  • Books on Programming (ZX Assembler )Before you ask I trawl eBay on a daily/hourly basis.<br /> <br /> Any books in VGC wanted on programming games for the ZX Spectrum 48K. No creased, d…
  • Tornado AssemblerTornado Assembler is not working. What's wrong with it? It says Nonsense in BASIC or something like this. (dwnldd from this site, of course)
  • infy pause is a good thing or is undesirable ?I recently had a discussion with Andrew Barker that brings me into confusion.<br /> <br /> If I understand correctly, adding an infinite pause betwee…

Related Searches

  • fastest screen routine
  • screen routine
  • hello world in assembler
  • im1 interrupt routine
  • im1 rom interrupt routine
  • im1 rom interrupt routine iy
  • interrupt routine
  • best place for interrupt routine
  • assembler
  • turbo load routine
  • simply turbo load routine
  • music in assembler
  • zx assembler
  • joe gunn sprite routine
  • macro assembler
  • cross assembler
  • spin assembler
  • pause routine
  • lm pause routine
  • pause routine halt

Copyright © 2024 World of Spectrum