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.119s
<1…28293031323334>
  • General purpose full screen input routineHi Folks, One of the things that annoyed me back in the 1980s with most BASICs was the lack of a full screen "formatted" input function. You could …

    ... of input.

    [CODE]100 REM *---------------------*
    110 REM ... 250 REM *---------------------*
    260 PRINT #0; PAPER blu; INK whi;"i ... 7)=LEN i$
    9260 PAUSE 0:
    RANDOMIZE USR 3438: ... br /> 9270 LET i(6)=CODE INKEY$
    9280 IF ...
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
  • z80 machine code assemblerHi everyone, Which assemblers have a nice user interface. Because i want to code in assembler on the computer and then assemble it. I dont want a co…

    ... interface. Because i want to code in assembler on the computer ...
    Robin Robin October 2010 Emulators
  • Games in machine codeHi everyone, How do go about doing multiple shots like a machine gun, do you have to store every x and y position of each bullet? When you kill som…

    Hi everyone,

    How do go about doing multiple shots like a machine gun, do you have to store every x and y position of each bullet?

    When you kill something, do you just stop displaying it?

    thanks
    Robin Robin October 2010 Development
  • Manipulating attributes...Hi Folks, I have written a routine that allows a blue bar to be scrolled up and down a list to select an item. Each item in the list occupies two l…

    ... happening:

    [CODE]100 DIM l$(1,64 ... y+1,0):
    PAUSE 1:
    PRINT AT y,0; PAPER ... 1; INK 7;l$(1)
    210 PAUSE 0:< ... br /> LET k=CODE INKEY$:
    IF ... TO 210
    230 STOP [/CODE]

    Now ...
    Paddy Coleman Paddy Coleman November 2010 Sinclair Basic
  • A little program to set the time...Hi Folks, OK, I have amended the program so you now have four routines/functions you can use in your own programs: TIME: GET - Reads the current va…

    ... MM

    [code]100 REM --------------------------
    105 ... 26-Nov-2010 : v1.0
    120 REM --------------------------
    125 BORDER 0:
    PAPER 0:
    INK 7 ... 9020 REM --------------------------
    9025 PAUSE 1:
    LET hh=( ...
    Paddy Coleman Paddy Coleman November 2010 Sinclair Basic
  • How to code a run and jumpHi all, Is there a way in basic to take action on two simultaneous key strokes. I want to add a run and jump i.e. keys Q and M but using inkey$ seem…

    ... . I am not ready for machine code yet so would like to ...
    hedge hedge January 2011 Development
  • FRAMES counter...Hi Folks, I wrote a test program that uses FRAMES to generate a clock. When I tested this within BASin it worked well and kept near perfect time. …

    ... that I have implemented that code in my main program the ... difference? What about commmands like PAUSE 0 or PAUSE 1? What about reading ...
    Paddy Coleman Paddy Coleman January 2011 Sinclair Basic
  • What memory pages are being used in a +3DOS disk operation?To make a long story short: what pages are in use by +3DOS while doing read operations from the disk drive? Now, for the details, for those interest…

    ... is performed to retrieve page 0.

    I tried to ... (page 2), and then, from machine code and interrupts disabled, I copied ... operation. My routines for relocating code into pages starts at 25001 ...
    mcleod_ideafix mcleod_ideafix March 2011 Development
  • Drawing a "window"...Hi Folks, I want to display a blank window over an existing screen. It then draws a border around it but that is not the point of my question. Ini…

    ... had some code as follows:

    [CODE]100 PAPER 0:
    FOR ... performance using less memory? Without machine code! ;)

    P.S. I ... contains:

    [CODE]100 BORDER 0:
    PAPER 0:
    CLS
    Paddy Coleman Paddy Coleman June 2011 Sinclair Basic
  • machine code loadercan someone have a look at this loader and break down what its actually doing and also how i can stop it from executing the 2 loads of headerless blo…

    ...

    cheers

    [CODE]
    5B00 LD SP,5BFF ...
    5B3B NOP

    [/CODE]
    djgarf djgarf August 2011 Sinclair Miscellaneous
  • 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 …

    ... 68): LET h$(1)=CHR$ 0: LET fg=256
    ... ";a1,"End ";a2: LET l1=0: LET a0=prog
    9992 ...
    PRINT #0;"F Invalid file name, 9992:0": PAUSE 0: STOP
    ... 128+l$
    9994 PRINT #0; FLASH 1;"m/c setup ... br /> 9996 FOR s=0 TO 0 STEP 0: LET l0=l1:
    Battle Bunny Battle Bunny September 2011 Sinclair Basic
  • Lord Of The Rings; Files skipped ?Hi folks, Does anyone know what blocks 8~13 are for in the Lord of The Rings: [url]http://www.worldofspectrum.org/infoseekid.cgi?id=0006601[/url] I…

    ... don't load.

    [code]
    1- A: Description: Created ... - 1CA9: -------------------- Length: 7 Normal Speed ,Pause: 0.001s
    9- 1CB5: -------------------- Length ...
    Andrew Barker Andrew Barker October 2011 MIA/STP/SDP
  • 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…

    ... +14
    cpdr ;check code
    jp nz,ERRORA ; ...
    [/code]

    [code]
    10 FOR a=0 TO 255 ... : FOR b=0 TO ... ,b"
    99 PAUSE 0: CLS : NEXT b: NEXT a
    [/code]
    Battle Bunny Battle Bunny October 2011 Sinclair Basic
  • For Sale Box no.20Morning all, another box of odd sized things. Box 20 Odd Shaped Things Laser Basic ? Ocean IQ 2 x Superchess 3.5 ? CP Software Superchess 3.0 ? CP …

    ... ? CP Software
    Superchess 3.0 ? CP Software
    Gyron ? Firebird ... Trigonometry ? Rose Software
    Highway Code ? Rose Software
    Study Chemistry ... Screen Editor/Assembler ? OCP
    Machine Code for Beginners ? Dream
    Melbourne ...
    jamorski jamorski December 2011 Sales
  • Indirect Variable AssignmentHere's another wacky routine. This allows assignment of values to variables where the source & destination variables can themselves be defined in var…

    ... array, like this:
    [code]
    5 LET id=25000 ... cat'dog'rabbit
    [/code]
    This effectively allows any ... values to BASIC variables from machine code. Just put the value ... : call LET".

    [code]
    SCANNING: equ $24fb ;the ...
    Battle Bunny Battle Bunny January 2012 Sinclair Basic
  • BOB the Screen BuilderHere's my first attempt to use that tokenising idea from "more on storing mazes" in a screen designer - "[url=http://www.users.globalnet.co.uk/~jg27p…

    ... & ASM program listings. The machine code routines & workspace are located ... intended game program. BOB includes code which can be used in ... to restore things; just enter 0,0 for the range to quit ...
    Battle Bunny Battle Bunny February 2012 Sinclair Basic
  • University ChallengeNearly two weeks ago Manchester University won the first University Challenge semi-final to get into the upcoming final against Pembroke College, Cam…

    ... used binary in BASIC and machine code, the answer leaps out ... /> x^2 - 10x +25 = 0

    As a single ... 4 - 5x^2 + 6 = 0

    Men have ... /> X^2 - 5X + 6 = 0

    So looping through ... . 9 - 15 + 6 = 0

    Jeremy asked ...
    Geoff Geoff March 2012 Chit chat
  • Keyboard problem...Hi Folks, I have hit a problem in MRT and I cannot see how to get around it. Please allow me to explain. I have a list of items from which one can…

    ... appropriate record and pressing ENTER (CODE 13).

    This ... " by pressing the ENTER key (CODE 13 again).

    ... seems to repeat. The selection code reads the keyboard again ( ... a PAUSE 0 before the INKEY$ statement in the loop above the code ...
    Paddy Coleman Paddy Coleman April 2012 Sinclair Basic
  • ESXDOS v0.8.0 released (with NMI Browser)Hello, To celebrate the speccy's 30th birthday, here's the latest version of ESXDOS for DivIDE users. The full changelog is too long to post here, s…

    ... loading/saving, from BASIC and machine code
    * System commands loaded from ...
    phoenix^ra phoenix^ra April 2012 Announcements
  • Screen2StringFurther to writing that BASIC one-liner to redirect CAT to a string I thought that I'd do a general redirection routine for anything which normally p…

    ... added nine bytes of machine code to streamline it. The ... string definition, pointer & machine code), but can be placed anywhere ... DATA CODE "S",CODE "$",14,0,FN g(sa),FN h(sa),0,0,CODE ... ")":
    REM string pointer (incremented by m/code ...
    Battle Bunny Battle Bunny May 2012 Sinclair Basic
  • Store and restore attribute valuesI am needing ideas on how to write a machine code routine that will store/restore (more important to restore) attribute values to the 22528 area. I …

    ... on how to write a machine code routine that will store/restore ... section i.e. the AT 0,0 to 16,16 area of ...
    daveysludge daveysludge May 2012 Development
  • SpecBAS 0.749 Now available!Ey oop, you lot! A new SpecBAS has now been uploaded to the usual place - [url]http://www.specbas.co.uk/[/url] For your delight and delectation. …

    ... in 0.749:

    [code]

    v0.0.0.748< ... rectangle, i.e CLIP 0,0 TO 100,100 would ... .
    OVER modes - 0 is normal, then 1 for ... less corruption.

    [/code]

    The best ... are now:

    0: Normal operation
    1: ...
    Dunny Dunny July 2012 Sinclair Miscellaneous
  • Machine code loopsThis might sound a bit daft, but I,ve forgotten how to do loops using th 'b' register... I want to loop this x mount of times: [CODE]ld a,r and 6 i…

    ... mount of times:

    [CODE]ld a,r
    and ... /> call 43100
    call 45000[/CODE]

    There is any ...
    daveysludge daveysludge August 2012 Development
  • saving time populating large arraysI use a variation on this idea for storing machine code at the end of programs without interfering with LIST, then it occurred to me that it would al…

    ... on this idea for storing machine code at the end of ... REM header: 196,29,0,2,6,0,4,0
    REM checksum ... : 196*8 + 29*7 + 0* ... *5 + 6*4 + 0*3 + 4*2 + 0*1 = 1813
    ... LET check=1813: LET sum=0:
    FOR n=hlen TO ...
    Battle Bunny Battle Bunny October 2012 Sinclair Basic
  • Machine code RST10 problemHello! After 27 years of playing with Spectrums I'm starting to look into doing assembly language properly. All went swimmingly well until I wrote …

    ... underlying colour alone:

    [CODE]
    ;
    ; Output of Messages ... /> .msgfir defm " PRESS FIRE "
    [/CODE]

    On entering the ...
    snigfarp snigfarp November 2012 Development
  • Is this TZX OK?I'm in the middle of preserving a bunch of Danish MIAs and STPs. I'm slowly getting up to speed with MakeTZX. One tape is giving me some trouble. You…

    ... , Length= 2402, Pause=19062ms.
    Block 5 => F: 0 - Speed: 100 ... ), Length=11685, Pause=738ms.
    Block 7 => F: 0 - Speed: 100 ... ! (230), Length= 6538, Pause=2029ms.

    Done!
    [/code]

    AndersJensen AndersJensen January 2013 MIA/STP/SDP
  • Spectranet firmware update: TAP file loading fixArchie Robins discovered a problem whereby interrups were being erroneously enabled on the return from a tape trap (that is, when TAP files are being…

    ...
    [code]
    %mount 0,"vexed4.alioth.net"
    [/code]

    [code]
    %load ""
    [/code]

    ... otherwise directly called by a machine code program.

    ... to be disabled, this code will be overwritten if ...
    Winston Winston March 2013 Hardware
  • I thought I'd give assembly a goAnd well being an absolute newb,I'm absolutely useless.I need your help. I thought I'd give this a go in zxspin [url]http://chuntey.wordpress.com/20…

    ... /01/12/tutorial-zx-spectrum-machine-code-game-30-minutes/[/url].
    0 to line 4

    0,0; ?Your score was ?; USR 33000 ...
    bully bully March 2013 Sinclair Basic
  • How do I detect if key 'H' is pressed in machine code?How do I detect that the key has been pressed? I have been using the IN 239 command for keys 6-0, but dont know how to detech 'H'...

    How do I detect that the key has been pressed?

    I have been using the IN 239 command for keys 6-0, but dont know how to detech 'H'...
    daveysludge daveysludge April 2013 Development
  • Varios +3(e)DOS questions?I'm converting tape games to disk, for being used in my +3e. I'm trying to convert them to standard BASIC loaders, so files could be copied using BAS…

    ... I'm thinking about use machine code loader, but I've ... memory), but what about code? I was thinking about ... games that use BASIC and machine code mixed. I've tried ... ROM, RAM 5-2-0 and locking paging mechanism) ... when the program uses only machine code (i.e.: Tir ...
    Zup Zup May 2013 Development
<1…28293031323334>

Latest Posts

  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 1:34PM
  • Happy 40th Birthday to the Amstrad CPC464!
    Your Spec-chum on 7:28AM
  • Your Favorite Magazine Cover Tapes.
    Paradigm Shifter on 1:28AM
  • Simple Sprite Routine
    dmsmith on 1:25AM
  • I am currently watching.....
    zx1 on April 11
  • Today's BASIC program: visit attribute cells I am interested in, in pseudorandom order
    Paradigm Shifter on April 11
  • How do you share programs online?
    firelord on April 11
  • Celebrity deaths...
    Ælita on April 11
  • Who Has Got The Earliest ZX Spectrum Software?
    harriusherbartio on April 11
  • Footballer of the year - translated version
    firelord on April 11

HitBox

Word Docs Hits
pause 2.6K 5K
0 940.2K 1M
machine 27.2K 35.6K
code 41.6K 91.2K

Related Threads

  • ANNOUNCE: Fuse 0.6.1, libspectrum 0.2.0, fuse-utils 0.6.1I'm pleased to announce the release of the Free Unix Spectrum Emulator (Fuse) 0.6.1, which is now available from its [url="http://www.srcf.ucam.org/~…
  • Fuse 0.5.1 and libspectrum 0.1.0 releasedVersion 0.5.1 of Fuse, the Free Unix Spectrum Emulator, is now available from its homepage, [url="http://www.srcf.ucam.org/~pak21/spectrum/fuse.html"…
  • ANNOUNCE: Fuse 0.6.1.1, libspectrum 0.2.0.1Hi all.<br /> <br /> The recently released Fuse 0.6.1 and libspectrum 0.2.0 contained a couple of moderately serious bugs:<br /> <br /> * The SVGAlib…
  • Release candidates for Fuse 0.7.0 and libspectrum 0.2.2Hi all.<br /> <br /> Release candidates for [url="http://fuse-emulator.sourceforge.net/fuse-0.7.0pre1.tar.gz"]Fuse 0.7.0[/url] (and [url="http://fuse…
  • (Belated) ANNOUNCE: Fuse 0.7.0 and libspectrum 0.2.2 releasedThe Fuse team is pleased to announce that release of Fuse 0.7.0, the associated utilities and version 0.2.2 of the Spectrum emulator support library,…
  • 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 /…
  • 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…
  • [NEW] Retro Virtual Machine v1.0.0 for OSX released!!!!Here it is! Retro Virtual Machine v1.0.0 RELEASED!!!!<br /> <br /> Many thanks first to Patrik Rak for the PZX format and for their Z80 tests witho…

Related Searches

  • lowest memory position for machine code
  • lowest memory position machine code
  • lowest memory machine code
  • 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
  • machine code routines
  • ultimate games 3 machine code
  • learning machine code
  • spectrum machine code
  • machine code sprite movement in basic
  • add machine code sprite movement to basic
  • beeper from machine code
  • new machine code
  • machine code ide
  • machine code tutorial
  • spectrum machine code ian stewart
  • machine code
  • machine code ay
  • pause 0 machine code

Copyright © 2024 World of Spectrum