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.018s
<1…15161718192021…34>
  • DATA BIN - How to read the contentOkay I hit a snag with my Image to ZX Spec program that the plot/draw command eats too much memory. So I want to use DATA BIN to insert converted jp…

    ... example:

    This code will fill the string:
    CHR$ PEEK (addr+i) : ...

    This code will plot the string to ... keep screen and display code inside one file. Basic ... POKEing, you can translate CODE a$(_position_) to PLOTs ...
    omega omega May 2009 Sinclair Basic
  • DATA BIN - How to read the contentOkay I hit a snag with my Image to ZX Spec program that the plot/draw command eats too much memory. So I want to use DATA BIN to insert converted jp…

    ... example:

    This code will fill the string:
    CHR$ PEEK (addr+i) : ...

    This code will plot the string to ... keep screen and display code inside one file. Basic ... POKEing, you can translate CODE a$(_position_) to PLOTs ...
    brownb2 brownb2 May 2009 Sinclair Basic
  • [Request] re: Basin's udg/sprite editorI went through the manual and Basin's options and I didn't see this option, so apologies if I (once again) missed it. Besides the real-size preview …

    ... CHR$ codes for them. it wastes a few bytes but the code ... /> The code will also be slower if you use CHR$ codes.
    Dunny Dunny May 2009 Emulators
  • Help loading OPUS data block ?Hi folks, A while back I obtained a Daton Software Card Games compilation which will be in the next Vault update: http://www.worldofspectrum.org/inf…

    ... names. The code file 50000, 12016 is registered as "spin"+CHR$ 175 ... . Just the token for "CODE". And (in ...
    roko roko May 2009 Sinclair Miscellaneous
  • Rainbow Generator for 48K Spectrum using PUSHThis is what I came up with from [B]gasman[/B]'s suggestions. It's stable in ZXSpin and ZX32 simulating a 48K Speccy. Anyone like to try it on the …

    ... to compile it.

    [code]
    ; -----------------------------------------------------------------------------
    ; ColorPRINT-48< ... /> ; Use it with PRINT #4 CHR$ n (where n is 0 ... directly but
    ; then code would be non-relocatable
    chev chev May 2009 Development
  • Getting started with asm Speccy codingSomeone on another forum I read has asked for good Speccy coding resources. I thought it would be great to link him to a simple tutorial about how to…

    ... tried and get only rubish Chr$
    so should i ... is something like:

    [CODE]
    LD A, 2 ; Select ... /> LD A, 22 ; AT control code
    RST 16 ; Call the ... 16 ; Call the print routine[/CODE]

    If you ...
    Matt_B Matt_B May 2009 Development
  • Help loading OPUS data block ?Hi folks, A while back I obtained a Daton Software Card Games compilation which will be in the next Vault update: http://www.worldofspectrum.org/inf…

    ... /> - run (bas)
    - (CHR$ 0) (bas, this file is ... br /> LOAD *SGN USR 23401;CHR$ INT RND

    file named (CHR$ 0) is loaded. This ...
    error. This code in turn decodes the encrypted ... manual. (Example below) The code in the printer
    ...
    roko roko May 2009 Sinclair Miscellaneous
  • zx81 help neededHi, I got a ZX81 today supposedly in working order, it was for the first two minutes, but after that the keyboard produces the wrong letter, number …

    ... the following program :

    [CODE]10 CLS
    20 FOR ... /> 30 PRINT CHR$ I; CHR$ (I+128);
    40 NEXT I[/CODE]
    Jimmy Jimmy June 2009 Hardware
  • Reading from the 128 Serial PortDon't shout at me if this is a silly question. I have Googled extensively, and searched the forums, but I can't find anything discussing what seems t…

    ... test file holding 6912 times CHR$ 51, and "Splitcom" found at ... bits.
    The MC:
    [CODE]: * TORNADO * serial 115200 baud
    roko roko June 2009 Sinclair Basic
  • z80 format: ED ED xx yyI've just been studying the documentation for the z80 file format: [url]http://www.worldofspectrum.org/faq/reference/z80format.htm[/url] I have a d…

    ... Here's the library:
    [code]import sys

    def ... in data:
    f.write(chr(b))

    def ... f, ram[16384:32768])
    [/code]

    If you called ... it like this:

    [code]import zxlib

    header ...
    SkoolKid SkoolKid July 2009 Development
  • Printing in 64 columns, from Basic?Not strictly a Sinclair Basic question but... Is there any known machine code utility that allows something similar to PRINT AT that can be called fr…

    ...

    Warning, the code itself is extremely crappy. It ... once.

    [code]
    1 REM fast
    CHR$ (cc): GO TO ... THEN PRINT AT x,xx;CHR$ (cc-32): GO ... THEN PRINT AT x,xx;CHR$ (cc): GO TO ... THEN PRINT AT x,xx;CHR$ (cc+32): GO ...
    Arda Arda October 2009 Sinclair Miscellaneous
  • More colours II (Was: Most popular new features?)The suggested 4xCLUT multi-colour solution never took off.

    ... /> [code]
    10 DEF FN c$(c)=CHR$ 18+CHR$ INT (c/2)+CHR ... $ 19+CHR$ INT (c ... = 48955 : LET dat = 65339
    [/code]

    [b]Switch the ...
    chev chev November 2009 Emulators
  • Dim commandI try o find a BASIC COMPILER for ZX SPECTRUM 128 that use DIM command with two or more letter as 10 DIM AB(10) instead of 10 DIM A(10) Any iforma…

    ... :4inarow.bas[/URL]

    [code]
    [COLOR=#cc66cc]5[/COLOR ... ] REM NEXT i[/COLOR]
    [/code]
    I've never seen ... string dimension and use the CODE and CHR functions to calculate with ... on of the reasons I code in MC, you can reduce ...
    Dr BEEP Dr BEEP December 2009 Sinclair Basic
  • Dim commandI try o find a BASIC COMPILER for ZX SPECTRUM 128 that use DIM command with two or more letter as 10 DIM AB(10) instead of 10 DIM A(10) Any iforma…

    ... a function into a machine code routine (BetaBASIC does this) ... something like:

    [code]
    DEF FN w(x ... [code]
    LET n=FN w(0,0,a$+CHR$ 0+b$+CHR ... $0)
    [/code]

    code, but a thorough read ...
    chev chev December 2009 Sinclair Basic
  • border graphics / text tricks ?just curious if it was possible.. I mean in basic, when you scroll a program you have "scroll ?" in the lower border? is there trickery that you can…

    ... for example
    [CODE]
    let a$=chr$ 16+chr$ 2 + "RED INK ... $
    [/code]
    or
    [code]
    let a$=chr$ 22+chr$ 15 + chr$ 12 ... + "AT CHAR":save a$
    [/code]
    Fikee Fikee December 2009 Development
  • The Chuntey InitiativeIt's the start of a new year and with it brings a new wave of optimism and hope! :) In light of the relative success of twitter/speccynews (in the s…

    Arjun, the upper$ and lower$ functions only return the first letter of the string capitalized. Something like this will do the whole word:

    DEF FN u$(s$)=VAL$ "CHR$ ((CODE s$)-(32 AND CODE s$>96 AND CODE s$
    Alcoholics Anonymous Alcoholics Anonymous January 2010 Sinclair Miscellaneous
  • The Chuntey InitiativeIt's the start of a new year and with it brings a new wave of optimism and hope! :) In light of the relative success of twitter/speccynews (in the s…

    ... u$(s$)=VAL$ "CHR$ ((CODE s$)-(32 AND CODE s$>96 AND ...
    Arjun Arjun January 2010 Sinclair Miscellaneous
  • Anybody got a hack for PAW'd games?Has anybody got a hack to browse the text in PAW'd games?

    ... Quill proggies) :-
    [code]
    10 LET x=41560 ... PRINT CHR$ a;
    150 GO TO 130
    [/code]< ... it.

    Code it up quickly however:-
    [code]
    org $8000
    32824 024 217
    [/code]

    and it ...
    Bandit Bandit January 2010 Sinclair Miscellaneous
  • Speccy games programmingI've got a question. Where games written in pure machine code or was it a level higher with Assembly language being the choice? I always thought it…

    ... z88dk. I tried some code, played with given example ... I felt ready to code my program from scratch.< ... . I tried to extract code from example games, but ... spectrum codes for print at (CHR$ 16, y, x) and ... printf a string containing CHR$16 and a couple ...
    Alcoholics Anonymous Alcoholics Anonymous February 2010 Games
  • Microdrive Games CartridgeI've just noticed that Ant Attack on the microdrive [URL="http://www.worldofspectrum.org/infoseekid.cgi?id=0014815"]Games Cartridge[/URL] (also bundl…

    ... line 9999 which loads the code from microdrive and then executes ... machine code. This among other things assembles 'RUN' + CHR$13 in ...
    Geoff Geoff February 2010 MIA/STP/SDP
  • Print text somewhere elseHi guys How do i make text come up somewhere else. For example, instead of this FFFFF GGGG I want this FFFFF GGGGG

    (yup, he has to read the manual as dr.kendal says.)

    and if he is so lazy, he can use PRINT ' ' ' ' ' to insert a line, or use PRINT AT Y,X;"... or he can use corresponding control code with CHR$.
    Arda Arda February 2010 Sinclair Basic
<1…15161718192021…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
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…
  • 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 routines
  • zx spectrum games code club
  • random number code
  • control code chr
  • chr code control
  • ink chr code

Copyright © 2024 World of Spectrum