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…17181920212223…34>
  • Move objectHi again, I am using paper colors to represent game objects. I have a "paddle" that is 4 pixels wide. I save its position as a 2 byte word in memory…

    ... de, score_string ; start of score string

    ld bc, 12 ... ; length of string in bytes

    call ... /> ld a, 17 ; papper color control code

    RST 16 ... /> ld a, 16 ; ink color control code

    RST 16 ...
    ooze48k ooze48k July 2011 Development
  • Can anyone see a way to speed up the following line of code?Hi Folks, Been looking at bottle necks in my code using BASin's Profiler and the following line (well the 2nd LET statement) is somewhat slow. [COD…

    ... goes for the CODE with string. string arrays are shorter in memory ... then number arrays, but using string arrays with number interpretation would ... /> 120 IF a$(1,1)=CHR$ 65 THEN PRINT "Hello"
    string literal but failing that use ...
    Paddy Coleman Paddy Coleman July 2011 Sinclair Basic
  • Can anyone see a way to speed up the following line of code?Hi Folks, Been looking at bottle necks in my code using BASin's Profiler and the following line (well the 2nd LET statement) is somewhat slow. [COD…

    ... 120 IF a$(1,1)=CHR$ 65 THEN PRINT "Hello"

    1. CHR$ reads a number and then ... float to a one-letter string and stacks it. The ... takes time. Then a string-compare is done, with ... only a fast single-letter string compare.

    In ...
    Dunny Dunny July 2011 Sinclair Basic
  • Improving existing games by hacking?Certain ZX-Spectrum games are already too close to perfection so it seems nothing else could be changed within the hardware limitations to make them …

    ... ago about games with bad control key assignments and patches to ... the thread.

    Bad control keys, unavoidable or random deaths ... save option (or level access codes), illogical mapping, any game with ...
    Battle Bunny Battle Bunny July 2011 New game ideas
  • Improving existing games by hacking?Certain ZX-Spectrum games are already too close to perfection so it seems nothing else could be changed within the hardware limitations to make them …

    ... ago about games with bad control key assignments and patches to ... /> [QUOTE=Battle Bunny;548754]Bad control keys, unavoidable or random deaths ... save option (or level access codes), illogical mapping, any game with ...
    Einar Saukas Einar Saukas July 2011 New game ideas
  • Legend of Kyrandia - ZX Spectrum DemoI was browsing the ZX Open Source site [url]http://opensourcezx.untergrund.net/[/url] and I found an interesting tr-dos disk image of a playable demo…

    ... 't mention how to implement control lines, but that's easy ... could be implemented as custom codes that directly change the "unconditional ...
    Einar Saukas Einar Saukas July 2011 Development
  • Games featuring... relevant bugsThere was a recent improvement to the WoS database in order to classify [URL="http://www.worldofspectrum.org/forums/showthread.php?t=34261"]Games fea…

    ... ]
    showing the character offset codes, shows a two-row deep ... may have been a little control panel there, something that made ... it fits in with the codes being used, I think that ...
    Battle Bunny Battle Bunny July 2011 Infoseek database
  • 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…

    ... #4
    ...
    ld hl, STRING
    LOOP: ld a, (hl ... /> jr LOOP
    ret
    STRING: defb '4x8 Font Driver', 0x00 ... =32 TO 255: PRINT #4;CHR$ f;: NEXT f
    [/CODE ...
    Einar Saukas Einar Saukas July 2011 Development
  • checking bits in BASICThe question of manipulating bit patterns in BASIC was raised recently in this [thread=35728]Keys redefine routine and key check[/thread] thread. I s…

    ... be converted into a binary string and the routine at u ... the last character of the string "0000000000000000" inside the DEF FN ... )))
    1034 LET a$=a$+CHR$ c
    1045 NEXT i ... m/c routine within the string a$ and find its starting ...
    mattsteel mattsteel September 2011 Sinclair Basic
  • User Defined GraphicsCan someone please give some very simple code for a displaying a UDG at a location on screen? Any assistance would be greatly appreciated. Sincerely…

    ... signed with codes 144-164 (30 PRINT AT 10,10;CHR$ 144 ...
    velesoft velesoft September 2011 Development
  • Anyone know what this is?[IMG]http://s4.postimage.org/1pb0bs1us/IMG_9052.jpg[/IMG] Im leaning towards a barcode reader of some sorts, has the logo MSI on it but thats about …

    It's from an Amstrad Video recorder. You read the bar codes from the Radio Times with it.


    Being Amstrad, they had to have it wired in, like the remote control.

    :D
    thx1138 thx1138 September 2011 Chit chat
  • Anyone know what this is?[IMG]http://s4.postimage.org/1pb0bs1us/IMG_9052.jpg[/IMG] Im leaning towards a barcode reader of some sorts, has the logo MSI on it but thats about …

    ... recorder. You read the bar codes from the Radio Times with ... wired in, like the remote control.

    :D[/QUOTE]
    zx1 zx1 September 2011 Chit chat
  • Anyone know what this is?[IMG]http://s4.postimage.org/1pb0bs1us/IMG_9052.jpg[/IMG] Im leaning towards a barcode reader of some sorts, has the logo MSI on it but thats about …

    ... You read the bar codes from the Radio Times with ... supported it, and the codes could be difficult to read ... as quick as using these codes.
    It was also ... to the recording when using codes.
    If the TV ... TV-signal itself to control the scheduled start/stop ...
    Pilsener Pilsener September 2011 Chit chat
  • Anyone know what this is?[IMG]http://s4.postimage.org/1pb0bs1us/IMG_9052.jpg[/IMG] Im leaning towards a barcode reader of some sorts, has the logo MSI on it but thats about …

    ... Norway supported it, and the codes could be difficult to read ... as quick as using these codes.
    It was also a ... to the recording when using codes.
    If the TV-show ... the TV-signal itself to control the scheduled start/stop time ...
    zx1 zx1 September 2011 Chit chat
  • 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 …

    ... finishes.

    The empty string DATA item is so that ... =av-ap: LET l$=CHR$ FN g(l)+CHR$ FN h(l ... $=f$+l$+CHR$ k0+CHR$ VAL "128"+(l$ AND apv)+((CHR$ k0+CHR$ k0 ...
    Battle Bunny Battle Bunny September 2011 Sinclair Basic
  • IN or INKEY ?just curious which is better to use.. I have a menu done.. and use 6/7 to go up down it + space to cycle thru the options (using inkey).. obv. if I w…

    ... code 13 for ENTER, and codes 10/11 respectively for down ... checking for plain "6"/"7" (codes 54/55) at present for ... still be used to treat codes 10/11 the same as ... only be needed for keyboard control if multi-key combinations were ...
    Battle Bunny Battle Bunny October 2011 Sinclair Basic
  • Display half a screenWorking in 128 Basic and saving screens to memory via - SAVE! "image" SCREEN$ . Is it possible to display just the top half (or the bottom half) of t…

    ... b=0 TO 31: PRINT CHR$ (a+57);:
    NEXT b ... rather, in which case the string method might be preferable, if ...
    Battle Bunny Battle Bunny October 2011 Sinclair Basic
  • New WIP underway - 'Dingo'.Hi, Prepare for a long post. Perhaps I can even challenge ewgf here. :razz: Anyway, I've been meaning to get into Z80 programming and making a game…

    ... it works for the different control methods, :)
    Hopefully ... />
    [CODE]
    ; joystick control routines
    ;
    ; all routines ... br /> ;
    ; prints a string which is terminated with $ff ... cp 255 ; end of the string
    ret z ; so ...
    polomint polomint October 2011 Development
  • Arcade Game Designer 2.0 releasedI know dozens of you downloaded the previous version of AGD. Well, you can put it away now because I've made some major improvements to that version…

    ... mentioning is that since the control code has changed, the key ... the table of seven key codes at address 37558, and these ...
    jonathan jonathan November 2011 Development
  • I am currently playing......Don't know if there's been a thread like this, but I can't find one.... Having seen all the different threads asking people if they've played such a…

    ... 't always feel in total control of the 3D Sonic (just ... comes with a set of codes to unlock stuff. This one ...
    Bermondsey Bob Bermondsey Bob December 2011 Chit chat
  • Procrustean PrintingHere's a short routine to manage printing of text with command tokens, to avoid messing up the screen when they are expanded. It just prints as many …

    The initial Stack section is incidental to the main Substring section; it's just the method by which I'm passing multiple parameters to the m/code routine itself. So Stack isn't involved with the printing at all, even though it's called via a PRINT ...
    Battle Bunny Battle Bunny December 2011 Sinclair Basic
  • Procrustean PrintingHere's a short routine to manage printing of text with command tokens, to avoid messing up the screen when they are expanded. It just prints as many …

    [QUOTE=Battle Bunny;588435]The initial Stack section is incidental to the main Substring section; it's just the method by which I'm passing multiple parameters to the m/code routine itself. So Stack isn't involved with the printing at all, even though it's ...
    Dunny Dunny December 2011 Sinclair Basic
  • Procrustean PrintingHere's a short routine to manage printing of text with command tokens, to avoid messing up the screen when they are expanded. It just prints as many …

    ... /> ex de,hl ;HL=string pointer
    inc c ; ... jr z,NOMORE ;end of string
    push hl
    ... defb $a5 ;start of token codes
    defb $c5 ;leading/ ...
    Battle Bunny Battle Bunny December 2011 Sinclair Basic
  • problem with RND (or maybe INT)I'm using this statement: LET m=(INT (RND*sn)+k1)*k2-k1 to give a pointer m to a 2-byte segment of a string l$. Items k1 & k2 are integer constants…

    ... the (variable) length of the string being scanned.

    The ... "1361"
    1341 LET e$=CHR$ kG+CHR$ k5+"DROP "+STR$ sc ...
    Battle Bunny Battle Bunny January 2012 Sinclair Basic
  • z88dk sticky?I've just tried to PM Alcoholics Anonymous and couldn't because "Alcoholics Anonymous has exceeded their stored private messages quota and cannot acc…

    ... i/o and blocking passing control to a user-supplied blocking ... such as getting character / text string size, etc.

    In ...
    Alcoholics Anonymous Alcoholics Anonymous January 2012 Development
  • DATA vs PRINT and OVERjust messing about and came across this alternative way of drawing a map....now before I start mucking about with my actual program.....is there any …

    ... idea of pre-defining the string, saving it to a "file ... I use to create the string:

    [code]100 BORDER ... c$=c$+CHR$ 17+CHR$ 7+CHR$ 22+CHR$ y+CHR$ 1+CHR$ 23+CHR$ 31+CHR$ 0 ... $=c$+CHR$ 17+CHR$ 5+CHR$ 22+CHR$ (y+1)+CHR$ 1+CHR$ 23+CHR$ 31+CHR$ 0 ...
    Paddy Coleman Paddy Coleman February 2012 Sinclair Basic
  • DATA vs PRINT and OVERjust messing about and came across this alternative way of drawing a map....now before I start mucking about with my actual program.....is there any …

    ... idea of pre-defining the string, saving it to a "file ... I use to create the string:

    [code]100 BORDER ... c$=c$+CHR$ 17+CHR$ 7+CHR$ 22+CHR$ y+CHR$ 1+CHR$ 23+CHR$ 31+CHR$ 0 ... $=c$+CHR$ 17+CHR$ 5+CHR$ 22+CHR$ (y+1)+CHR$ 1+CHR$ 23+CHR$ 31+CHR$ 0 ...
    SKR SKR February 2012 Sinclair Basic
  • 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…

    ... this case these being the CHR$ ... + VAL$ bit, the FN j ... can be summarised as:
    * CHR$ PEEK (s) returns the addressed ... calculated before VAL$ sees the string. Thus for the function call ... ,8 ) the first iteration gives CHR$ PEEK ( 56168 ) and then VAL ...
    Battle Bunny Battle Bunny February 2012 Sinclair Basic
<1…17181920212223…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