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.020s
<1…16171819202122…34>
  • Overflow Detection while Scanning a Number from a StringI've got some strange behaviour from a subroutine that reads a number from a string and converts it to a 32-bit long. It's C's strtol if it helps to…

    ... reads a number from a string and converts it to a ...
    Alcoholics Anonymous Alcoholics Anonymous April 2012 Development
  • Inefficient code in ROM, from ram-check to RAM-DONEHere is the inefficient code: [CODE] ;; ram-check L11DA: LD H,D ; Transfer the top value to the HL register LD L,E …

    Here is the inefficient code:

    [CODE]
    ;; ram-check
    [/CODE]

    And ... faster routine:

    [CODE]
    ;; ram-check
    ... to last valid location.
    [/CODE]

    Another ...
    antoniovillena antoniovillena April 2012 Development
  • Incorrect Spectrum +3 emulation: different results on Fuse and SpecEmuWhen developing and testing [URL="http://www.worldofspectrum.org/infoseekid.cgi?id=0027591"]Rotatrix[/URL], I noticed different results on Fuse and S…

    ... demonstrate the problem (using Rotatrix code)


    [*] Start either ... -states delay in the border control (in addition to the well ...
    Einar Saukas Einar Saukas April 2012 Emulators
  • 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…

    ... by the string definition, pointer & machine code), but can ... /> REM sa=string address; sl=string length; sd=DEFADD ... /> REM string definition
    8 DATA CODE "S",CODE "$",14,0 ... 0,CODE ")":
    REM string pointer (incremented by m/code as ...
    Battle Bunny Battle Bunny May 2012 Sinclair Basic
  • Open and read a file using +3DOS in MCForgive me if this has been asked and answered before, I've spent a fair few hours searching the forums and looking for books on the subject, all wit…

    ... trying to write the minimal code to open and read a ... the filename correctly (FF terminated string, case insensitive) by putting a ... and then typing LOAD "Blah" CODE.

    Even making sure ...
    RobeeeJay RobeeeJay May 2012 Development
  • number padding functionI wrote a number padding function in BASIC a while ago, but when I came to want it again I couldn't find it, so I've done this enhanced [url=http://w…

    ... get USR to return a string rather than a number. The ... and +2A as well.
    [code]
    DEF FN p$(n ... ,any) := "1.2345679E+8"
    [/code]

    --

    Now ...
    Battle Bunny Battle Bunny May 2012 Sinclair Basic
  • What's wrong with this code ?OK, working my way through Jonathan Cauldwells 'How To' tome and I can't get the following to run in either spin or basin. ( iused the assembler in b…

    ...
    Anybody help ?

    [CODE] org 30000
    ; We want ... basexy ld a,22 ; AT code.
    rst 16
    ... /> ld a,144 ; ASCII code for User Defined Graphic 'A ... />
    ; UDG graphics.
    [/CODE]
    Saboteur Saboteur May 2012 Development
  • Inventor of TV remote control diesEugene Polley, inventor of the TV remote control, has died at the ripe old age of 96. Imagine a world without his invention now :-o [URL="http://www…

    ... , inventor of the TV remote control, has died at the ripe ... do you call your remote control?[/URL]
    Maroc's Astral Projection Maroc's Astral Projection May 2012 Chit chat
  • OpenSE BASIC 3.1.1The eagle-eyed will have noticed that [url="http://www.worldofspectrum.org/infoseekid.cgi?id=0027510"]SE BASIC[/url] got an update last week. As a te…

    ... quite a large chunk of code that needed reimplementing, and the ... in different, but functionally equivalent code for the missing routines, as ... LDIR block data copy machine code command), ON ERROR (error ... 16-bit decimal to a string in hex format).

    chev chev May 2012 Sinclair Basic
  • SUPER INPUTA couple days ago I searched for an "INPUT string" routine that I could use in Assembly programs and supported multiple lines, but I found none. Thus…

    ... I searched for an "INPUT string" routine that I could use ... longer (multi-line) strings:
    [CODE]
    SHIFT-1 to clear ... -0 to delete previous character[/CODE]

    It also supports ... ), thus I optimized it for code size instead. The entire routine ...
    Einar Saukas Einar Saukas June 2012 Development
  • Help needed... RND in machine codeI have been battling away trying to convert a simple BASIC routine (below) to machine code, but to no avail. The routine is used to fire 2 bullets a…

    ... BASIC routine (below) to machine code, but to no avail.
    daveysludge daveysludge July 2012 Development
  • SpecBAS 0.747 Now available!Hiya folks - it's update time again! SpecBAS has had a load of new fixes, as well as some new additions! Firstly, as you all wanted it, SpecBAS can…

    ... what's new:

    [code]
    What's new for ... /> CONST optimisations to commonly used string operations - variable lookups will now ... , not the specified line
    [/code]

    The new ORIGIN ...
    Dunny Dunny July 2012 Sinclair Miscellaneous
  • Skool Daze source code (and others)I suggest adding the source code for [URL="http://www.worldofspectrum.org/infoseekid.cgi?id=0004549"]Skool Daze[/URL] (available [URL="http://pyskool…

    I suggest adding the source code for [URL="http://www.worldofspectrum ... br />
    [QUOTE]The source code file contains a detailed list ... to Skool[/URL] (source code with list of bugs available ... Contact Sam Cruise[/URL] (source code with list of bugs available ...
    Einar Saukas Einar Saukas July 2012 Infoseek database
  • Developing apps for ZX Spectrum with SDCCDue to troubles with makebin utility which always starts coversion at memory address 0x0000 and can only produce binaries < 32KB, it can't be used to…

    ... /> ;; this area contains data initialization code -
    ;; unlike gnu toolchain which ... data, sdcc generates
    ;; initialization code for every initialized global

    [CODE]#include
    #include
    # ...
    tstih tstih July 2012 Development
  • BIFROST* Advanced Programming - part 2This second demo shows animated and moving tiles together, and also how to implement collision detection. This knowledge should be enough to implemen…

    ... logic only need to control animation frames for ... exactly the same way:
    [CODE]/* ----------------------------------------------------------------
    * BIFROST* ... }
    }
    }
    }[/CODE]

    The compiled version ...
    Einar Saukas Einar Saukas July 2012 Development
  • BIFROST* Advanced Programming - part 3This new demo demonstrates the BIFROST* built-in sprite support that I mentioned before. In BIFROST*, "sprite tiles" are 2 special tiles that BIFROS…

    ... to draw the player:
    [CODE]/* ----------------------------------------------------------------
    * BIFROST* ENGINE ... = 0;
    }
    }
    [/CODE]
    The compiled version of ... This time, use QAOP to control the player. However don't ...
    Einar Saukas Einar Saukas July 2012 Development
  • Minor non-player characters you'd like to control in their own game?I have two; That cute robot from [B]Arc Of Yesod[/B], and about a week ago I had the idea that the demon-guardian from [B]Underwurlde [/B]would be a …

    ... be a great character to control too.

    [IMG]http ...
    Sokurah Sokurah August 2012 Sinclair Miscellaneous
  • 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 …

    ... be something obvious.

    [CODE]10 PAPER 7: INK 0 ...
    WibbleBibble WibbleBibble August 2012 Sinclair Basic
  • Hep needed with a bit of code...I've written a bit of code to make a character move across the screen, but the counter stops at 29 when the 3 lines to delete the characters trail ar…

    ... 've written a bit of code to make a character move ...
    daveysludge daveysludge August 2012 Development
  • 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…

    ... first piece of 'public' code so go easy on me ... a desperately elegant piece of code, but it does the ... , not 40.

    [CODE]

    org 32768
    jr z,foundcr ; recognises some control codes here 13=carriage return ...
    uglifruit uglifruit August 2012 Development
  • z80 Code Profiling (RESOLVED)Hi All, Just a quick question to ask if there is any way of profiling z80 Code for the Speccy??? I'm trying to write a piece of software and I curr…

    ... any way of profiling z80 Code for the Speccy???

    code, which is a pain in ... to auto-profile the running code, I would be extremely grateful ...
    Shando Shando August 2012 Development
  • BIFROST* Advanced Programming - part 5In my [URL="http://www.worldofspectrum.org/forums/showthread.php?t=40437"]previous post[/URL] I demonstrated how to move multicolor images smoothly i…

    ... practice, in different situations:
    [CODE]/* ----------------------------------------------------------------
    * BIFROST* ENGINE HI- ... /> {
    randomize();

    // initialize control keys
    KEY_UP = in_LookupKey('q ...
    Einar Saukas Einar Saukas August 2012 Development
  • Machine code loopsThis might sound a bit daft, but I,ve forgotten how to do loops using th 'b' register... I want to loop this x mount of times: [CODE]ld a,r and 6 i…

    ... mount of times:

    [CODE]ld a,r
    and ... /> call 43100
    call 45000[/CODE]

    There is any ...
    daveysludge daveysludge August 2012 Development
  • Vertical Shoot'em Up's: Humans.Ok. This topic is about those vertical shoot'em up's in which you control a human. Why? Because I say so. It's just a nitpicking categorization. And…

    ... up's in which you control a human. Why? Because I ... /> [B]The Bounty Hunter[/B] (Code Masters, 1989)
    [B]Cow ...
    WhenIWasCruel WhenIWasCruel August 2012 Games
  • appending data while saving to tapeBefore trying to do this I just wanted to check if there's a possibility that it might actually work. I have a number of string arrays which I want t…

    ... of string arrays which I want to save as a single CODE ... CODE from (VARS) with the combined length of data + headers. The string ... would be interspersed with the string array headers but that's ...
    Battle Bunny Battle Bunny September 2012 Development
  • Forgotten Worlds - its is possible to change control method?Just I love the fix on old games. not in a cheap way, but in something which make the game fix a problem it had. the version of Slap Fight with slow…

    ... Forgotten Worlds?? it has lame control method. A mistake from whatever ...
    judasEZT judasEZT September 2012 Games
  • How much memory on sprites, maps etc.I've been tinkering with shifting & pre-shifting sprites recently, but as I haven't had that much experience with Z80 assembly I sometimes find it ha…

    ... (25%)
    - rest of the code - 18KB (45%)

    I ... long is a piece of string' question, but I'd be ...
    Morkin Morkin September 2012 Development
  • SpecBAS 0.754 Now available!Hi all - Due to overwhelming demand from half of my userbase (That's ASH-II to you lot), BEEP has been added! It's not just any old BEEP though - y…

    ... default) and full ADSR envelope control. It's fun!
    < ... What's new:

    [code]
    What's new for ... waveform and full ADSR envelope control
    Sprite cloning - creates clones ... finally nail this issue
    [/code]

    Enjoy, and ...
    Dunny Dunny September 2012 Sinclair Miscellaneous
  • BIFROST* Advanced Programming - part 6The purpose of this demo is somewhat different from previous ones. Instead of teaching a new technique, the main goal here is to demonstrate how much…

    ... listing is as follows:
    [CODE]
    /* ----------------------------------------------------------------
    ... * 20 LOAD "tiles"CODE: LOAD "tilemap"CODE
    * 30 ... ()
    {
    // initialize control keys
    KEY_LEFT = in_LookupKey('o ...
    Einar Saukas Einar Saukas September 2012 Development
  • Revisiting Spectrum CPU clock regenerationWarning: This post will be a bit nerdy :-) Some time ago, I experimented with phase locked loop circuits as a possible way to regenerate the Spectru…

    ... on it. There's one control that makes the cycle one ... one full cycle, and another control that slows it down for ... with the most closely timed code changing the right hand border ...
    Winston Winston September 2012 Hardware
<1…16171819202122…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
string 2.8K 5.1K
control 9.5K 11.7K
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…
  • 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…
  • simplest method to pass a string to m/code?The statement "RANDOMIZE numvar+USR mc" is a simple way of passing a single numeric parameter to a m/c routine, as mc can retrieve numvar from the to…
  • 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 optimisation! 16bit number to 5 digit stringJust for interest this one, any thoughts on how to make this as fast as possible? Little optimisations to this routine or a complete reimagining?<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…

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
  • 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
  • control code chr
  • control code
  • chr control codes string
  • control codes string
  • flash string code control
  • chr code control
  • paper control machine code

Copyright © 2024 World of Spectrum