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>
  • stuck on recursive functionI want this function to PEEK 'l' bytes from memory starting at 's' and return them as a string, but however much I fiddle about with quoting and pare…

    ... /> DEF FN j$(s,l)=CHR$ PEEK (s)+VAL$ (("FN j ... be adding an empty string to a string which when evaluated returns ... an empty string.

    In fact, I ... evaluate, hence the empty string inside the "empty string". Neat :)

    Dunny Dunny February 2012 Sinclair Basic
  • Copying a SCREEN$ in ZX BASIC in 1 second?!Following on from the revived "[thread=20207]Saving a complete SCREEN$ in BASIC[/thread]" thread (although Arjun really only needed a suitable POKE i…

    ... copy to a DEFADD destination string in free RAM which I ... area then string functions such as FN s$(), STR$ and CHR$ can ... so that the free RAM string is [b]not[/b] treated ... as a simple string, otherwise a new location will ...
    Battle Bunny Battle Bunny February 2012 Sinclair Basic
  • Copying a SCREEN$ in ZX BASIC in 1 second?!Following on from the revived "[thread=20207]Saving a complete SCREEN$ in BASIC[/thread]" thread (although Arjun really only needed a suitable POKE i…

    ... copy to a DEFADD destination string in free RAM which I ... area then string functions such as FN s$(), STR$ and CHR$ can ... [/b] treated as a simple string, otherwise a new location will ... my documentation regarding the simple string flag.

    MRT uses ...
    Paddy Coleman Paddy Coleman February 2012 Sinclair Basic
  • Poking a string to memory...I'm looking to poke a string of characters including colour control codes to memory, I'm currently doing it by hand: 16,2,19,1,22,1,1,144 That equa…

    Is there a way of READing a string and poking its CHR$ values to memory?
    daveysludge daveysludge March 2012 Sinclair Basic
  • A new multicolor engine called BIFROST*I'm glad to announce the release of a new multicolor engine implemented by yours truly, including high quality 16x16 tiles designed by R-Tape: [IMG]…

    ... NULL (e.g. an empty string). Using a debug mem command ... disable it and let BIFROST* control everything. The reason is that ... overhead introduced by an external control would probably ruin the results ...
    boriel boriel March 2012 Brand new software
  • Increasing the number of UDGs...Hi Folks, I know by default the Spectrum can have 21 UDGs (48K) and 19 (128K) and that the address of the bit patterns is pointed to by the UDG syst…

    ... deducts 144 from UDG codes so they are numbered ... there would be no character codes left for anything else; ... using the codes from 144-255 would ... such as preceding expanded UDG codes with a '\' followed by ... to be the correct CHR$ code for printing.
    Battle Bunny Battle Bunny March 2012 Sinclair Basic
  • type-ins in zmakebas formati were about coding some type-ins from MicroHobby magazine, and found that there are 'semanal' tape series available at http://www.worldofspectrum.or…

    ...
    Var [some long hex string] -

    a simple ... as there are
    consecutive codes.

    // AUTOSTART ... br />
    // EMBEDDED ASCII CODES //

    A few ... br /> // OTHER .BAS FORMAT ESCAPE CODES //

    UDG graphics are ...
    Dunny Dunny March 2012 Support files
  • Increasing the number of UDGs...Hi Folks, I know by default the Spectrum can have 21 UDGs (48K) and 19 (128K) and that the address of the bit patterns is pointed to by the UDG syst…

    ... I suggested earlier; expanded UDG codes and regular characters can be ... /> Note that it checks for control characters and restores the alternative ... 'S' output address after printing control characters. Be aware that CLS ...
    Battle Bunny Battle Bunny March 2012 Sinclair Basic
  • BASin v.15 DEF FN bugThe bug would appear to be in "BASSupport.pas : Procedure ProcessDEFFN"; as it's not inserting the 6-byte variable place holder after each parameter …

    ... is based on R14c source codes, *but* it includes almost all ... is DEF FN) in the string sometimes). Now it's hopefully ...
    Arda Arda April 2012 Emulators
  • +3 DOS questionHey all, Is it possible to catalogue a +3 disk to a variable somehow from BASIC? I'm looking at extending my Snapshot to Microdrive utility, so it s…

    ... : LET s$(a-k1-32)=CHR$ PEEK a: NEXT a:
    string must be DIMed in advance ...
    Battle Bunny Battle Bunny April 2012 Sinclair Basic
  • Un-named AGD 3 gameI've been playing about with (and learning a lot about) Mr. Cauldwells excellent AGD 3.0 today (being off work with shot knees has given me a lot of …

    Thanks Jonathan... Put the Colour codes in, perfect...
    Death animation ... to go into the Player Control event, or Kill Player event ...
    TechnicianSi TechnicianSi April 2012 New game ideas
  • Turn UDG to Attrribute blocksI'm trying to enlarge my UDG's to 8 x 8 character blocks per pixel, but struggling, is there any subroutine/program for enlarging UDG's x 8?

    ... be best to follow the string definitions with a REM statement ... the same colour, so each string is exactly 12 bytes long ... times longer with those colour codes embedded in them.
    joefish joefish May 2012 Development
  • 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…

    ... output of CAT into a string, so that he could ... will be sent to a string variable when the redirection ... and appends them to the string space pointed to by ... the s$ string definition pointed to by DEFADD ... non-existent name (eg. CHR$ 7 is unlikely to be ...
    Battle Bunny Battle Bunny May 2012 Sinclair Basic
  • Dimming the screen...Hi Folks, I was hoping someone on here could help me with a wee machine code routine. I have written the following example in BASIC: [CODE]100 REM…

    ...
    190 LET c$=CHR$ 22+CHR$ 0+CHR$ 0
    200 REM ...
    210 LET c$=c$+CHR$ 21+CHR$ 1
    220 REM ... br /> 230 LET c$=c$+CHR$ 19+CHR$ 0
    240 REM ... br /> 250 LET c$=c$+CHR$ 17+CHR$ 8
    260 REM ... />
    I can save the string (55 bytes) in an external ...
    Paddy Coleman Paddy Coleman May 2012 Development
  • 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 …

    A 96-byte string v$ could hold a code ... ,1, thus v$(CODE "."-31)=CHR$ (16+8+2).
    * "any ... (xcoord,ycoord,length,type,reqd,"string",gosub,va)
    [/code]
    Battle Bunny Battle Bunny May 2012 Sinclair Basic
  • 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 …

    ... , providing you throw and entire string at it rather than single ...
    150 LET a$=a$+CHR$ a
    160 LET a ...
    Paddy Coleman Paddy Coleman June 2012 Development
  • The Euro 2012 England supporter's threadCome on in, grab a beer and try not to get too depressed. Let's take the time to enjoy the Euros now, cos we won't be enjoying it once they start! :…

    ... touch?[/B] ..The ability to control a football effortlessly when it ... ″3 would be able to control a football and lay it ... ? like England ? you struggle to string more than two passes together ...
    ADJB ADJB June 2012 Chit chat
  • Football Manager - RevisitedHi everyone Do you remember 6 months ago I posted here about the enhancements I had done to the Spectrum classic game Football Manager? Well, I've …

    ... with variables and variables with string codes etc.

    The Great ...
    The Great Glen The Great Glen June 2012 Games
  • Encode two positive int numbers into one?Hi guys) Recently I've been trying to simulate short lists in Basic, but the point is that using limited values, say, 0-99 or 0-999, I remembered ho…

    ... write numbers into a BASIC string by its ASCII equivilent (even ... to NOT try printing the string.

    Such numbers will ... />
    20 LET a$(1)=CHR$(a)
    30 LET a ... $(2)=CHR$(b)

    40 LET ...
    BloodBaz BloodBaz June 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…

    ... really string. i found that there is problem with .print CHR$(65 ... ), because LET a=65: .print CHR$(a) works.

    [QUOTE ...
    ub880d ub880d July 2012 Announcements
  • dungeon crawlerHi. I'm toying with idea of making simple dungeon crawler in spectrum basic and i actually got first version working somehow. [IMG]http://watashi.ic.…

    ... BASIC is to construct the string first and then send it ... routine. You can use embedded codes in place of ;AT x ...
    chev chev July 2012 Sinclair Basic
  • dungeon crawlerHi. I'm toying with idea of making simple dungeon crawler in spectrum basic and i actually got first version working somehow. [IMG]http://watashi.ic.…

    ... 2001 sets up the attributes string c$; line 2003 associates a ... TO 32: LET c$(c)=CHR$ a: NEXT c: LET c ... $(8)=CHR$ 40:
    FOR c=9 ... TO 23: LET c$(c)=CHR$ 0: NEXT c: LET c ... $(24)=CHR$ 40:
    FOR c=33 ...
    Battle Bunny Battle Bunny July 2012 Sinclair Basic
  • dungeon crawlerHi. I'm toying with idea of making simple dungeon crawler in spectrum basic and i actually got first version working somehow. [IMG]http://watashi.ic.…

    ... attributes.

    The c$ string specifies the required attributes for ... the current "permanent" default attributes; CHR$ 40 is for the cyan ... frame; CHR$ 0 is to black out ...
    Battle Bunny Battle Bunny July 2012 Sinclair Basic
  • Copying Files in +3e BASIC (not using COPY command)Hello there my fellow WoS'ers Yet again I find myself in need of guidance, I am sooo close to getting my prototype up. I am writing my own byte cop…

    ... should be 160 PRINT #4; CHR$ c;
    2-Noted you ... the file is creating a string. Instead of adding 110 to ... ,p
    160 PRINT #4; CHR$ d;
    170 IF p ...
    Encarnado Encarnado July 2012 Sinclair Basic
  • Copying Files in +3e BASIC (not using COPY command)Hello there my fellow WoS'ers Yet again I find myself in need of guidance, I am sooo close to getting my prototype up. I am writing my own byte cop…

    ... treating files as a looooong string. I remembered Paddy Caps Lock ... needed to write the character (CHR$) or the value. Now I ... a exact copy by printing CHR$ d.
    There is no ...
    Encarnado Encarnado July 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 …

    ... doesn't return the correct codes for Symbol(Ctrl)-shifted keys ... the MODE setting so graphic codes aren't returned correctly. The ...
    Battle Bunny Battle Bunny 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 …

    ... [code]
    75 IF a$CHR$ 15 AND PEEK 23617=2 ... /> [/code]
    The key codes for the block graphics are ... sequential list. The "LET a$=CHR$... line" maps a parallel sequence ... ASCII characters representing the key codes to the corresponding graphic character ...
    Battle Bunny Battle Bunny August 2012 Sinclair Basic
  • .chr to .binSo here goes another stupid question. What's the best way to convert .chr files created with ZX-Paintbrush to binary or asm format? I know ZX-Blocked…

    CHR files define a complete 256 ... treat it as a print control, graphic or token symbol, and ...
    Battle Bunny Battle Bunny 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 …

    ... due to the OVER 1 control.
    * The "FOR s..." loop ... g: LET g$(n,b)=CHR$ g: NEXT b:
    PRINT ... :
    LET g$(n,3)=CHR$ (g AND g1): IF b ... ):
    LET g$(n,2)=CHR$ (g AND g
    Battle Bunny Battle Bunny August 2012 Sinclair Basic
<1…18192021222324…34>

Latest Posts

  • Minor British Sports that did become games on the ZX Spectrum
    dmsmith on April 22
  • I bought an accoustic guitar. How do you play it?
    Maroc's Other Projection on April 22
  • Goodbye Z80
    moggy on April 22
  • Happy 40th Birthday to the Amstrad CPC464!
    AndyC on April 22
  • Another Birthday! The Game Boy Is 35!
    dm_boozefreek on April 22
  • I am currently watching.....
    Antiriad2097 on April 22
  • European Software Titles with an English version
    harriusherbartio on April 22
  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on April 22
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on April 22
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21

HitBox

Word Docs Hits
chr 1.3K 4.4K
control 9.5K 11.7K
codes 2.1K 2.5K
string 2.8K 5.1K

Related Threads

  • How do I use colour control codes in 128 basic?Just started using a toast rack in 128 basic and I am struggling to understand how to easily create coloured characters and graphics in a print state…
  • How do you use CHR$ properly in a string ?So I trawled through the manual and found the bit on the character set. It says CHR$ 17 gives you paper control and CHR$ 16 gives you ink. But how do…
  • Help with CHR$ codes 0 to 5Hi,<br /> I'm looking a piece of code in a listing similar to:<br /> Let a$ = CHR$ 0<br /> Let b$ = CHR$ 1<br /> Let c$ = CHR$ 2<br /> Let d$ = …
  • Hook CodesIf you've dug into the Interface 1 this should be an easy question.<br /> I last had 'em circa 1990 while I can remember the things they did<br /> S…
  • Avalon codesIt's always the same: you find out about a game, you want to play it, so you load it up and... it's got a code entry at the start. Anyone have the co…
  • Elite joystick controlWhich versions have joystick control and what interfaces are used? The Keys/Joystick toggle key K does not seem to work with the Joystick Club 128k v…
  • Security codes for Operation Berlin and Operation Stallion kindly requestedHas anyone the security codes for these adventures? It is impossible to start playing without the codes, since the player is requested to input them …
  • Air Traffic Control - manualHi all !<br /> <br /> Anyone with manual for this 'obscure' Mikro-Gen's game ?<br /> <br /> If it's a large document, short explanation (in few lines…
  • Scrolling string variablesCan anyone help me with this for a program I'm writing on the spectrum.<br /> There was a command in speccy basic that would let you scroll a string …
  • USB control padI recently bought a cheapo USB pad, and I've found that it makes the likes of Cookie, Knight Lore, Sabre Wulf etc. much easier to control than if I w…

Related Searches

  • keyboard control joystick
  • key codes
  • key codes qaop
  • use a joystick to control esxdos
  • ld bc eostr string
  • reorder a string
  • chr codes
  • control code chr
  • chr color codes
  • chr control
  • control codes
  • control codes slicing
  • control chr
  • chr string
  • string control code
  • chr flash control
  • control codes flash
  • control codes string
  • flash string code control
  • chr code control

Copyright © 2024 World of Spectrum