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
<1234567…34>
  • 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 …

    ... input.

    [CODE]100 REM *---------------------*
    110 REM PSS-XINPUT DEMO
    REM *---------------------*
    9010 REM PSS-XINPUT Routine
    9020 REM Parameters:
    9030 REM ... 3438: REM ROM CLS-LOWER
    9270 LET i(6)=CODE INKEY ...
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
  • Any MCODE programmers fancy a challenge?Hi Folks, I have been using the Micro-Print utility in the archive and found it to be really good. It is the one that provides 32, 36, 42, 51, 64 a…

    ... br />
    [CODE]100 REM --------------------------
    110 REM Setup screen
    120 ... 160 LOAD "MicroPrint"CODE 64268
    170 REM POKE changes attribute ... br /> 400 REM RANDOMIZE USR 64564
    410 REM --------------------------[/CODE]

    Paddy Coleman Paddy Coleman November 2010 Development
  • 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 REM TIME ROUTINES
    110 ... : v1.0
    120 REM --------------------------
    125 BORDER 0:
    990 STOP
    995 REM ---------------------------
    9000 REM TIME: GET
    9005 ...
    Paddy Coleman Paddy Coleman November 2010 Sinclair Basic
  • Converting a decimal number to binary...Hi Folks, Been thinking about ways to convert a decimal number to 8 bit binary and came up with the following: [CODE]100 REM ----------------------…

    ... the following:

    [CODE]100 REM --------------------------
    110 DIM b(8 ... b(8)= 1
    120 REM --------------------------
    130 CLS
    140 ...
    Paddy Coleman Paddy Coleman February 2011 Sinclair Basic
  • 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…

    ... p
    REM string definition
    8 DATA CODE "S",CODE "$",14,0 ... ),0,0,CODE ")":
    REM string pointer (incremented by m/code as bytes ... ),FN h(sa):
    REM machine code
    REM ld hl,(ptr) : ld ...
    Battle Bunny Battle Bunny May 2012 Sinclair Basic
  • Flood Fill IssueHi Folks, Came across the following Flood Fill routine by John Metcalf: [code]; scanline fill by John Metcalf ; call with d=x-coord, e=y-coo…

    ... John Metcalf:


    [code]; scanline fill by John Metcalf ... br /> jp (hl) 60102 E9[/code]

    Thought I ... program:


    [code]100 CLEAR 60000
    110 ... H$;" ";
    170 LET H= CODE H$(1)
    180 LET ...
    Paddy Coleman Paddy Coleman August 2017 Development
  • Disk image utility for USB disksI make simple utility programm for copy physical disk content to image files. It can work with USB disks, or memory cards attached via some card read…

    ... , depacker is usually in Basic REM line 1, at address 23760 ... Basic loader (and depacker in REM) + CODE.
    You may see how ...
    piters piters June 2006 Emulators
  • Game OptimisationBelow is a section of code Im using for movement enermy display and collision detect. What happens is that you move the sight with ,.qa and space do…

    ... comment in top slows your code down.
    Best way in ... often in top)
    Place REM-comment at bottom.
    Place ... the rem statements. Sounds like I almost have to document my code ... the compiler will remove the rem code?

    And the pack ...
    Toxitalk Toxitalk May 2007 Sinclair Basic
  • 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…

    ... /> *col = res.rem;
    }
    [/code]

    ... [code]
    struct div_t {
    int quot;
    int rem;
    };

    typedef struct div_t div_t;
    [/code ... ):

    [code]
    void p_VisitMapCross(struct ...
    Alcoholics Anonymous Alcoholics Anonymous August 2007 Development
  • Trouble compiling my BASIC programI've been trying to get a compiled BASIC version of Swift Turtle with no luck so far! I first tried MCoder 3 and it [i]seemed[/i] to compile the prog…

    ... 50 DATA "Hello","World"
    [/CODE]

    It certainly works ... so.

    [code]
    REM code amended a bit from original ... found*100
    ...
    [/code]

    However, I ... have a look at the code (unflatteringly spaghetti-like though ...
    Arjun Arjun January 2009 Sinclair Basic
  • 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 …

    ... />
    [Code]100 REM *---------------------*
    110 REM PSS-XINPUT DEMO
    REM *---------------------*
    9005 REM PSS-XINPUT Routine
    9010 REM Parameters:
    9015 REM ... Data
    9075 REM *---------------------*
    9080 REM 1.0: 26- ...
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
  • ZX BASIC and garbage collection...Hi Folks, I was thinking about using the following approach in a program I am writing: [CODE]DIM d$(100,50) LOAD "NAMES" DATA d$() ... DIM d$(50,25…

    ... out:

    [CODE]100 GO SUB 260:
    RETURN
    270 REM --------------------------
    280 CLS :
    RETURN
    330 REM --------------------------[/CODE]

    N.B ... . Please excuse the code. :-)

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

    ... on the screen.

    [CODE]...
    150 GO SUB 9125 ... STOP
    ...
    9030 REM --------------------------
    9100 REM TIME: GET SS
    RETURN
    9130 REM --------------------------
    ...[/CODE]

    Enjoy!
    Paddy Coleman Paddy Coleman November 2010 Sinclair Basic
  • Converting a decimal number to binary...Hi Folks, Been thinking about ways to convert a decimal number to 8 bit binary and came up with the following: [CODE]100 REM ----------------------…

    ... .8 frames.

    [CODE]...
    170 REM --------------------------
    180 LET b ... /> GO TO 200
    220 REM --------------------------
    ...[/CODE]

    Paddy
    Paddy Coleman Paddy Coleman February 2011 Sinclair Basic
  • Converting a decimal number to binary...Hi Folks, Been thinking about ways to convert a decimal number to 8 bit binary and came up with the following: [CODE]100 REM ----------------------…

    Hi Shiru,

    Good call. Changed the code to the following and the conversion loop now runs in 3.1 frames.

    [CODE]100 REM --------------------------
    110 CLS
    120 INPUT "Enter number (
    Paddy Coleman Paddy Coleman February 2011 Sinclair Basic
  • Converting a decimal number to binary...Hi Folks, Been thinking about ways to convert a decimal number to 8 bit binary and came up with the following: [CODE]100 REM ----------------------…

    ... to decimal...

    [CODE]270 REM --------------------------
    280 LET num=(128 ... b$(8)="1")
    290 REM --------------------------[/CODE]
    This takes about 2 ...
    Paddy Coleman Paddy Coleman February 2011 Sinclair Basic
  • Converting a decimal number to binary...Hi Folks, Been thinking about ways to convert a decimal number to 8 bit binary and came up with the following: [CODE]100 REM ----------------------…

    ... conversion routine...

    [CODE]150 REM --------------------------
    160 LET b$="00000000 ... b$(8)="1"
    240 REM --------------------------[/CODE]
    This now converts 255 ...
    Paddy Coleman Paddy Coleman February 2011 Sinclair Basic
  • Converting a decimal number to binary...Hi Folks, Been thinking about ways to convert a decimal number to 8 bit binary and came up with the following: [CODE]100 REM ----------------------…

    ... conversion routine...

    [CODE]150 REM --------------------------
    160 LET b$="00000000 ... b$(8)="1"
    240 REM --------------------------[/CODE]
    This now converts 255 ... b$(8)="1"
    240 REM --------------------------[/CODE]
    Dr BEEP Dr BEEP February 2011 Sinclair Basic
  • Converting a decimal number to binary...Hi Folks, Been thinking about ways to convert a decimal number to 8 bit binary and came up with the following: [CODE]100 REM ----------------------…

    ... ]and this??

    [CODE]150 REM --------------------------
    160 LET b$="00000000 ... b$(8)="1"
    240 REM --------------------------[/CODE][/QUOTE]

    Hi Dr ...
    Paddy Coleman Paddy Coleman February 2011 Sinclair Basic
  • smooth movement in basicWas trying to figure this out myself but i would like to be pointed in right direction now :-). How do I make something move in Basic without gettin…

    ... , up and down:

    [code]10 IF INKEY$="o" AND ... y - 1, x; " "
    50 REM[/code]

    Notice the spaces ...
    na_th_an na_th_an October 2012 Sinclair Basic
  • Adding TAP file contents to a Spectrum +3e DOS PartitionHello my fellow WoS'ers, This thread is a companion to a great little guide from a fellow AmiBayer [B]mnjnurney[/B] you can view his thread by [URL…

    ... start.
    REM If the DOS_Demo m/code block is not ... as "DOS_DEMO" CODE 31989,410.

    REM TAP2DSK takes a ... which holds the machine
    REM code is there but not visible ... medium as "DOS_DEMO" CODE 31989,410.

    REM DSK2TAP joins together ...
    Battle Bunny Battle Bunny February 2013 Games
  • TXT2EMU enhancementI was looking at the encodings supported by BAS2TAP for entering graphics, print controls, etc. as plain text. Basically, there's only one needed, be…

    ... ;plain copy if after REM[/code]
    with
    [code] dec de
    REM
    inc de[/code]
    to truncate ... all REMs. The REM token will ...
    Battle Bunny Battle Bunny October 2013 Sinclair Basic
  • Akalabeth gamei found now that someone ported an ansi-basic game (coded in 1979?) to msx-basic - what about a zx-spectrum basic version of it? ;) https://plus.goo…

    ... . Here's some info and code fragments which might be useful ... find.)

    Functions:
    [code]
    DEF FN d(w ... row,col a,b.
    [/code]

    Apple-II RND ... FN r(-ABS lucky)
    [code]
    8001 POKE da,rlo ...
    Battle Bunny Battle Bunny August 2016 Sinclair Basic
  • Flood Fill IssueHi Folks, Came across the following Flood Fill routine by John Metcalf: [code]; scanline fill by John Metcalf ; call with d=x-coord, e=y-coo…

    ... .


    [code]EA60: coords:
    ld de ... ED 5B 5E EA
    [/code]

    The ... :


    [code]100 CLEAR 59998
    110 ... ";
    170 LET H= CODE H$(1)
    180 LET ...
    Paddy Coleman Paddy Coleman August 2017 Development
  • Thought this would be simple... Z80Hi Folks, Started to read "Beyond simple BASIC, Delving Deeper into your ZX Spectrum" by Dilwyn Jones. This is a great book and I came across the…

    ...

    [code]100 REM ------------------------------------------
    110 REM ZX BASIC Mouse Cursor ... br /> 140 REM ------------------------------------------
    150 REM
    160 REM Define Cursor ... br /> 300 LET K= CODE INKEY$: IF K11 AND ...
    Paddy Coleman Paddy Coleman September 2017 Development
  • Is there a way to suppress error R Tape Loading Error in Basic when trying to load only part of fileHi, is there a way to suppress error R Tape Loading Error in Basic when trying to load only part of file. E.g.: I have a Tape-Code-File Start f…

    Tried again and changed Line 30 to:


    [code]30 RANDOMIZE er: POKE 23613,PEEK 23670: POKE 23614,PEEK 23671: POKE 23610,255: REM[/code]

    This now works as I need it! Thanks!
    Luzie Luzie April 2018 Sinclair Basic
<1234567…34>

Latest Posts

  • 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
  • I am currently watching.....
    Paradigm Shifter on 12:49AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade 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

HitBox

Word Docs Hits
rem 1.8K 6.6K
code 41.6K 91.2K

Related Threads

  • 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…
  • 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…
  • 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 …
  • machine code basicsWondered if anyone can help me out. I have been playing round with some disassemblers (Zeus). And Machine code loaders.<br /> <br /> All I want to do…
  • Best way to codeHi,<br /> <br /> I've been using Zeus Assembler to code MC programs so far. Nothing fancy just the odd scroll left or animation stuff.<br /> <br /> W…

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 rem statement
  • rem machine code clear
  • rem code
  • machine code in rem
  • machine code rem
  • rem machine code

Copyright © 2024 World of Spectrum