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.034s
<1…3456789…34>
  • 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…

    ... /9;CHR$ 144;: LET o=x: LET p=y: LET k=CODE ... the craft manually. Under manual control, only one of your four ...
    Digital Prawn Digital Prawn 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…

    ... around with the single player code for about an hour, and ... "LET t=0" in the code. This can now be removed ... needed.

    "STR$ b+CHR$ 6 AND f" is still ... pair, then he also retains control, and takes the following turn ...
    Digital Prawn Digital Prawn October 2007 Development
  • Handling RST8 on a +3Well, I've come to that bit of my project that I wasn't really looking forward to (because I don't understand enough about the ZX BASIC ROM) - extend…

    ... ] If I PRINT #9 CHR$ 0-255 then I'm ... channel. In the channel code I can do what I ... necessary socket library calls - the code to do that must live ... socket library, or the code will break when I decide ... that's used just for control, to allow polling and other ...
    Winston Winston July 2008 Development
  • 'Hello World' in ASM ?Can someone show how to make the classic 'Hello World' print with ASM code ? I cant figure at this moment how to insert and handle strings with the s…

    ... keywords, the printing control codes are those ... /> So:
    [code]PRINT CHR$16;CHR$n; will select INK ... CHR$21;CHR$n; will select OVER n
    PRINT CHR$22;CHR$y;CHR ... br /> PRINT CHR$23;CHR$y;CHR$x; will ... "
    DEFB "!"+128[/code]
    will display " ...
    Jonathan Harston Jonathan Harston June 2010 Sinclair Basic
  • SE Basic Type-ins^Pete suggested creating a sticky thread for SE Basic discussion. I thought a Type-ins thread might also be useful. Up to the mods if they want to ma…

    ...
    40 PRINT #4;CHR$ i;
    50 NEXT ... a control
    ld a, (atflg) ; code 22 - the code for ... an AT control
    jr nz, crchq ; code, set the ... a return control
    jr nz, vchrq ; code, move down ... nasty INK and PAPER control codes.
    ld a ...
    chev chev April 2011 Sinclair Basic
  • RFC: 64 column font codeIn BASIC, type CLEAR 49999 then import the code at 50000. Then type RANDOMIZE USR 50000. This will create a new channel and attach stream #4 to it. A…

    ... :
    defb 0 ; flag to control processing keyword 'AT'
    ; value ... 127: PRINT #4;CHR$ f;: NEXT f
    [/CODE]
    The channel ... to 127), [B]AT[/B] control codes, and you can also ...
    Einar Saukas Einar Saukas July 2011 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... Printout Routines[/url]
    [code] fastpnt1 fastpnt2 fastpnt3 fastpnt4 fastpnt5 ... Yes Yes Yes Yes
    Control codes? No No ignored ignored ... a screen third, printing CHR$32-127
    [/code]

    ...
    Jonathan Harston Jonathan Harston June 2012 Development
  • Printing a ListingHello my fellow WoS'ers Todays trouble starts with the need to print-out a listing - personally I would prefer a text file, but beggars cannot be c…

    ... of the thread

    [code]
    Check 62D2D64D
    Auto ... more special control codes which can be output using CHR$."
    440 ... ;CHR$ 14;
    9070 CLOSE #15
    9080 RETURN
    [/code]
    Zetr0 Zetr0 August 2012 Development
  • WibbleBibble's Basic threadHi in an attempt to keep my questions from spamming the forum. I think its better to put them all in one place. Thanks everyone so far, I feel I am …

    ... so moving on to movement control...

    Next ... YOUTUBE]wnnCUtfq7e8[/YOUTUBE]

    [CODE]
    10 LET D=1 ... 2
    CHR$ 51 = 3
    CHR$ 52 = 4
    CHR$ 53 = 5 ... C-1: RETURN
    [/CODE][YOUTUBE]n9r1OxncBRw[/YOUTUBE]
    < ...
    WibbleBibble WibbleBibble August 2012 Sinclair Basic
  • WibbleBibble's Basic threadHi in an attempt to keep my questions from spamming the forum. I think its better to put them all in one place. Thanks everyone so far, I feel I am …

    ... due to the OVER 1 control.
    * The "FOR s..." ... something has moved.
    [code]
    20 DIM t(2 ... g: LET g$(n,b)=CHR$ g: NEXT b:
    ... g$(n): LET g=CODE g$(n,3)+1:
    LET g$(n,3)=CHR$ (g AND g1): IF ... /> LET g$(n,2)=CHR$ (g AND g
    Battle Bunny Battle Bunny August 2012 Sinclair Basic
  • More memoryHi all... can anyone help, Is it possible to get more memory for basic pref' in Basin.... 40 odd k is just not enough !

    ... and follow the prompts.
    [code]
    3000 RESTORE 3000: DIM ... name)","string array","FOR...NEXT control"
    3001 CLS : PRINT INVERSE ... /> 3002 LET cd=o*32+CODE o$-96: LET f=0 ... =INT (d/32): LET l$=CHR$ (d-e*32+96): PRINT ...
    Battle Bunny Battle Bunny November 2012 Sinclair Basic
  • Your Computer Magazine ScansPlease forgive my Intrusion. At the moment I'm trying to type in an Amstrad game called "Bomber" which was published in an issue of "Your Computer" O…

    ... did of it:

    [CODE]
    10 REM******************************************ROSWRITE************************
    control the program:",,
    130 ZONE ... ,CHR$(27);"C";CHR$(0);CHR$(11);
    370 PRINT #8,CHR$(27);"N";CHR ...
    CP/M User CP/M User December 2012 Chit chat
  • Confounded DEF FNCan anyone see why this is going wrong? I've been tinkering with it since tea time and got nowhere. [code] 2 DEF FN t$(n,t,d) =STR$ INT (n/t)…

    ... , which is much easier.
    [code]
    10 DEF FN p ... ,k0,RND*256,k0,k0,CODE ",":
    REM The RND is ...
    12 POKE b-1,CODE ")": RANDOMIZE UDG:
    POKE 23563 ... : POKE 23564,PEEK 23671
    [/code]

    All 21 don ...
    Battle Bunny Battle Bunny August 2013 Sinclair Basic
  • Books that you just can't quit.Much as parts of the presentation,writing style infurates me, there is a book I just keep comming back to again and again. Its like the Yang to the …

    [code]
    1000 DIM R(55): ... long from row R collum CHR$
    1049 REM P is ... I$=CHR$ 18+CHR$ 1+"PRESS ENTER TO START GAME"+CHR$ 18+CHR$ 0 ... lower case.
    4020 IF CODE A$
    wibble wibble August 2013 Sinclair Basic
  • MC LPRINT 23681Having problems with this routine to print large on the screen using LPRINT, it works ok in BASIC, but cant seem to get it to loop for some reason in…

    ... that the $17 TAB print control needs two parameters, although the ... CHR$ 23;CHR$ 10;"hello" with PRINT CHR$ 23;CHR$ 10;CHR$ 0;"hello").
    [code ... "GAME OVER"
    defb $0d[/code]
    I've added some ...
    Battle Bunny Battle Bunny September 2013 Development
  • IF EXIST?In MS-DOS scripting, there is an IF EXIST command that lets you check wether a file exists in disk or not. There are any way to check it out from BA…

    ... something like this:
    [CODE]DOS CATALOG
    011Eh ... Carry false
    A = Error code
    B corrupt
    Always ... All other registers preserved
    [/CODE]

    And as ... chapter8pt26.html[/url] )
    [CODE]Calling +3DOS from BASIC
    The_Bert The_Bert October 2013 Sinclair Basic
  • The Evolution of Some Nonsense[center] [B]TIMINGS FOR 100 BOUNCES[/B] [b]Ten Bouncy UDGs in BASIC[/b] [img]http://www.users.globalnet.co.uk/~jg27paw4/pourri/a000test.gif[/img] [u…

    ... :
    [code]LET a$=CHR$ 22+CHR$ 0+CHR$ 0+CHR$ 16+CHR$ 6+CHR$ 17+CHR$ 2 ...
    PRINT a$;"hello"[/code ... /> That's because CHR$ 22 is the AT control, and as the ...
    Dunny Dunny January 2014 Sinclair Basic
  • How to print logo onto screen at chosen coordinates?Hi, I've just got back into zx spectrum games after all these years and after seeing some of the great games on here I would like to start learning p…

    [QUOTE=Morkin;751210][code]dat defb 22 ;AT command< ... command
    defb 32 ;CHR$ 'space'[/code]
    The 6 bytes consist ... />
    It is using the code 16 to set the ink ... would I set the other control codes 17-21 for the ...
    Speccy_James Speccy_James February 2014 Development
  • that "listing variables during runtime" thingWell, I did eventually finish this, but with my meds playing up I don't have much time each day that I can spend at the computer, so it's taken rathe…

    ... GO SUB 9900.

    [code]
    9900 RESTORE 9992: RANDOMIZE ... )",
    "string array","FOR...NEXT control"
    9901 CLS : PRINT INVERSE ... /> 9902 LET cd=o*32+CODE o$-96: LET f=0 ... =INT (d/32): LET l$=CHR$ (d-e*32+96): PRINT ...
    Battle Bunny Battle Bunny March 2014 Sinclair Basic
  • Fast and easy read/write of attributes?What are the fastest or easiest ways to check the attributes of tiles on the screen, in BASIC? It seems to be a great way of storing object info. …

    ... down and left two with control codes, then the remaining characters ... />
    Remember that, although CHR$ 10 & CHR$ 11 may be described ... just print a '?'; and although CHR$ 13 does go down a ... print controls has to use CHR$ & CODE as well as doing ...
    Battle Bunny Battle Bunny June 2014 Sinclair Basic
  • Fast and easy read/write of attributes?What are the fastest or easiest ways to check the attributes of tiles on the screen, in BASIC? It seems to be a great way of storing object info. …

    ... border-checked wraparound example:
    [code]
    3 BORDER 1: PAPER ... $=CHR$ 18+CHR$ 1+CHR$ 17+CHR$ 0+CHR$ 16+CHR$ 2+"AB":
    LET b$=CHR ... $ 19+CHR ...
    Battle Bunny Battle Bunny June 2014 Sinclair Basic
  • Popular Computing WeeklyHope someone can help me, I've been typing in a whole heap of early Type-ins for the Amstrad CPC 464 and have typed in a program, though it's not wor…

    ... typed in:

    [CODE]
    10 REM ***********************************************************
    ... /> 1490 PRINT#3,"< "CHR$(240)" > - Increase"
    1500 PRINT#3,"< "CHR$(241)" > - Decrease"
    control the 1st 3 paras ...
    CP/M User CP/M User June 2014 Chit chat
  • Popular Computing WeeklyHope someone can help me, I've been typing in a whole heap of early Type-ins for the Amstrad CPC 464 and have typed in a program, though it's not wor…

    ... typed in:

    [CODE]
    10 REM ***********************************************************
    ... /> 1490 PRINT#3,"< "CHR$(240)" > - Increase"
    1500 PRINT#3,"< "CHR$(241)" > - Decrease"
    control the 1st 3 paras ...
    rich_chandler rich_chandler June 2014 Chit chat
  • Popular Computing WeeklyHope someone can help me, I've been typing in a whole heap of early Type-ins for the Amstrad CPC 464 and have typed in a program, though it's not wor…

    ... Magazines. :)

    [CODE]
    10 REM ***********************************************************
    ... /> 1490 PRINT#3,"< "CHR$(240)" > - Increase"
    1500 PRINT#3,"< "CHR$(241)" > - Decrease"
    control the 1st 3 ...
    CP/M User CP/M User June 2014 Chit chat
  • Dock's ZX Maze gameI'm hoping to finish a simple maze game in ZX Spectrum BASIC this week, as part of the Ludumdare Retro challenge. I used to dabble in speccy basic on…

    ... embedded colour control codes before printing it. You can use CHR$ to ... overlap (with OVER 1) and code them into your UDGs.
    joefish joefish June 2014 Sinclair Basic
  • Game of Life.Last year (I think) or maybe the year before, I entered a Game of Life simulator into the CSS CGC compo but for the Sinclair ZX81. I decided to port…

    ... /> *

    *
    *** *
    *[/code]

    Here's the ... of p$() hold CHR$ 16 (INK print control) + colour code + " " or ... ld (hl),$10 ;INK control
    inc hl
    Battle Bunny Battle Bunny October 2014 Sinclair Basic
  • Scrolling in BASICI remember a few BASIC typeins for other machines that claimed to be scrolling the screen. Obviously vertically its not too difficult - once you dis…

    ... , I just started slapping some code together to assist in the ... including CHR$ codes of 0-31 in a string will control all ... , instead of having to type CHR$(1) ), leaving you with 64 ... would you prefer to use CHR$ codes as controls and have ...
    joefish joefish March 2015 Sinclair Miscellaneous
  • 40 Column Printing RoutineI've written a 40 column printing routine, which I'd like to share... It's my first piece of 'public' code so go easy on me! I don't think it is a…

    ... .
    No control codes, no basic extensions.
    [code]
    ;------------------------------------------------------------------------------;
    chr gfx
    push de ; save ...
    Kiwi Kiwi September 2015 Development
<1…3456789…34>

Latest Posts

  • Celebrity deaths...
    mel the bell on 5:43PM
  • How we became brainwashed by social media
    dmsmith on 5:39PM
  • 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

HitBox

Word Docs Hits
control 9.5K 11.7K
code 41.6K 91.2K
chr 1.3K 4.4K

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…
  • IF and control flow in machine codeHi everyone,<br /> <br /> Basic has a nice control flow like if statements.<br /> How can these be done in machine code since i cant find anything<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…
  • 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…

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
  • keyboard control joystick
  • mastering machine code on your zx spectrum by toni baker
  • mastering machine code on your zx spectrum by toni baker disassembler
  • code chr
  • control code
  • chr control
  • control chr
  • string control code
  • chr flash control
  • chr control codes string
  • flash string code control
  • chr code control
  • paper control machine code
  • ink chr code

Copyright © 2024 World of Spectrum