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.016s
<1234567…34>
  • ISO ROM 128 with TR-DOS 5.05(cz)This is new correct version of ISO ROM for ZX + BETADISK. Some extra basic command is designed specially for use in conmination with TR-DOS 5.05(cz).…

    ... )
    !LOAD "filename" (load basic file "filename")
    !GOTO "snapshot ... snapshot = memory snap, CPU registers ...)
    = (show basic info - ramtop, used memory ... :
    AUTO RESET - return to basic (if basic variables is bad then ...
    velesoft velesoft April 2010 Sinclair Basic
  • A few questions about machine codeOh no... another noob. I'm giving my first steps in assembler (finally, after 20 years stuck in BASIC). I read a SU article explaining that if I wan…

    ... works. I still see registers as BASIC variables, and I want ... LoaD - Increment - Repeat. Imagine the registers HL DE etc as variable ... have a very successful return to basic with the interrupts disabled ... later before you return control over to basic. EI will do ...
    DEATH DEATH August 2007 Sinclair Miscellaneous
  • A few questions about machine codeOh no... another noob. I'm giving my first steps in assembler (finally, after 20 years stuck in BASIC). I read a SU article explaining that if I wan…

    ... after 20 years stuck in BASIC). I read a SU ... carry flag before setting the registers. Now, if I'm ... have to use certain registers if I call a ... don't understand why certain registers have to be used ... works. I still see registers as BASIC variables, and I want ...
    zxbruno zxbruno August 2007 Sinclair Miscellaneous
  • A few questions about machine codeOh no... another noob. I'm giving my first steps in assembler (finally, after 20 years stuck in BASIC). I read a SU article explaining that if I wan…

    ... carry flag before setting the registers. Now, if I'm going ... don't understand why certain registers have to be used for ... . works. I still see registers as BASIC variables, and I want to ... . LDIR LDDR) insist on certain registers being used.

    Get ...
    rich_chandler rich_chandler August 2007 Sinclair Miscellaneous
  • 2 commands in 1 lineHi all, this is my first post although I have visited the web site many times, and I find it great. English is not my mother tongue, so I will try to…

    ... favour of an editor where BASIC words are just typed in ... you would in any other BASIC.[/QUOTE]

    Is this ... the question of how to return BASIC after program loading, I think ... restores the control back to BASIC. The argument 255 specifies Report ...
    rinconete rinconete March 2009 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…

    ... screen. It now saves used registers/return address and exits the routine ...
    FrankT FrankT April 2011 Development
  • Restore Registers Returning to BASICI should really know this, but I've not written code that requires a return to BASIC for a loooong time. What registers need to be preserved / resto…

    ... a return to BASIC for a loooong time.

    What registers need ... to be preserved / restored on return to BASIC after calling ... to restore:
    [LIST]
    [*]Registers (which ones)?
    [*]I register ...
    icabod icabod July 2006 Development
  • How to return to basic properly from ASMI am messing around with a fast stack copying routine. But I am getting "A: Invalid argument" error when I later return to basic. I know you h…

    ... argument" error when I later return to basic.

    I ...
    If I save all registers on the stack (including the ... shadow registers) before calling my test ... returning to basic. I think one of the shadow registers is used ...
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • Jumping to BASIC after importing 23296,1703Sorry for the confusing title. :-D Now that I've learned how to stop a game from starting after loading (in Fuse and Specemu), I have a few more que…

    ... because of the way stack, registers and system variables work, ... won't be able to return to the game. No ... to safely "jump" to my BASIC program. :)

    I ... same as returning to BASIC after an USR command ... I'm using the old BASIC editor.

    " ...
    zxbruno zxbruno May 2009 Sinclair Miscellaneous
  • Full 16*16-digit BASIC multiplicationI liked Andre Adrian's 32-bit long multiplication routine so much that I decided to a decimal version. After all, 2^63 is only 9223372036854775808, a…

    ... />
    I've done this BASIC version, which follows the original ... the length as the decimal "registers" are only 4-digits long ... probably do the other three basic arithmetical operations as well.
    409 RETURN

    810 REM initialise ...
    Battle Bunny Battle Bunny July 2013 Sinclair Basic
  • Random Numbers, USR Return Values & Timing BASICI've been trying out Jon Ritman's random number routine, published in Your Sinclair Aug'87. Apart from a timing comparison I also did a frequency ana…

    ... both instances the required return to BASIC with a decimal fraction ... POP HL ;discard $2d2b ;STACK_BC return address
    RET
    ... particular function) will return that value to the BASIC program.
    ... secs":
    BORDER 7: RETURN
    9999 LET t1=FN ...
    Battle Bunny Battle Bunny January 2017 Sinclair Basic
  • How do I avoid BASIC becoming corrupted on returning from a M/C routine?I'm having trouble with my BASIC program becoming corrupted on returning from a m/c routine which sets all the registers (including the shadow regist…

    ... 'm having trouble with my BASIC program becoming corrupted on returning ... which sets all the registers (including the shadow registers) to particular values ... registers or memory locations when calling a m/c routine from BASIC ...
    trellis trellis May 2003 Sinclair Basic
  • 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 Note, for 48k spectrum using TASM [code] ; ***********…

    ... Start
    MainLoop:
    ; Store Registers, as we dont know where ...
    jp 56 ;for smooth return to Basic


    MoveSprite ... not, all is ok and return so we can print sprite ...
    robpearmain robpearmain August 2004 Development
  • IN command in BASIC to read keyboardThis weekend on a Sinclair meeting we had some BASIC-games using IN to control the character. The maker of the game assumed that the result of an IN …

    ... Sinclair meeting we had some BASIC-games using IN to control ...
    Dr BEEP Dr BEEP September 2005 Sinclair Basic
  • MC TipPlace your MC tip here: Here is my first: When using alternate registers (EXX) the HL register must not be affected on return to BASIC. Also the IY…

    ... registers (EXX) the HL register must not be affected on return to BASIC ... .e. RST 16).
    or return to BASIC might crash

    Dr BEEP Dr BEEP November 2005 Development
  • Mode 2 Tile Editor SourceA Timex Mode 2 Tile Editor incorporating a byte mirror table. The compiled version is available in the CSSCGC 2008 collection from the WoS archive. …

    ... ; 48100 ; move start of basic past 2nd screen area (use ... br /> ld (hl),b ; registers to four screen rows
    ld (hl),e ;
    ret ; return

    ; ---------------
    ; ... br /> ; This routine ensures that BASIC and channels are not competing ...
    chev chev January 2007 Development
  • Comments for small "sprite" routine wantedI have just written my first machine code program and I am quite happy (and proud) to get it working! :smile: As a child I never learned anything e…

    ... of how to use the registers. I ended up using ...
    I used a basic program to load some "graphic ... address of graphic loaded by basic
    ld b,8 ... /> ld h,a ;return into h (high byte ... B]endofprogram[/B]
    ret ;return to basic

    [B]setcarry ...
    Rickard Rickard May 2007 Development
  • Understanding extensions to the BASIC parserFor a while, I've had a rather 'rinkety dink' extension to BASIC via an RST 8 trap in hardware, just so that I can send stuff to a Spectrum over ethe…

    ... rather 'rinkety dink' extension to BASIC via an RST 8 trap ... a command for me, and return to the Spectrum ROM, it ...
    Winston Winston March 2008 Development
  • BASIC Keyword ReferenceRealised that the Sinclair Basic section would be a better place for discussion of BASIC keywords, so for reference the old thread is in [thread=2005…

    ... br />
    [CODE]
    SINCLAIR BASIC Keyword Reference

    The ...
    ERASE : E : SYM + 7 RETURN : K : Y
    EXP : E ... colours within strings in a BASIC listing.

    Break ...
    icabod icabod March 2008 Sinclair Basic
  • Just wrote my first useful working Speccy BASIC program in years...A nice UK National Lottery number generator. And not just any lotto number generator either. This one generates 8 lines of 6 numbers without replace…

    ... I've succeeded in Speccy BASIC, I think I might just ...
    BigBadMick BigBadMick November 2008 Development
  • So... you want to format your 3.5" as 720K eh?Well, i've been trying to get hold of an application to make proper use of my 3.5" +3 floppy disks but i haven't been able to find any. I stumbled up…

    ... disk gets recognized under BASIC
    LD BC, ... see what happened from BASIC
    RET ; Return

    registers used
    RET ; Return
    DISK1 ...
    NaMcO NaMcO December 2008 Development
  • Questions about registers, stack, etc.I was told that if I wanted to export code and create unprotected versions of games I should do the following: 1-Find the starting address by using …

    ... /> 4-Make a note of registers/stack
    5-Create a ...
    6-Create an unprotected BASIC loader that will load blocks ...
    zxbruno zxbruno January 2009 Sinclair Miscellaneous
  • Machine code and Basic system variablesSpectrum system variables (I mean 48KB model) are essential for Basic. But what if I started my machine code program and it's never going to return t…

    ... 48KB model) are essential for Basic. But what if I started ... it's never going to return to Basic? Can I overwrite system ...
    Ralf Ralf January 2009 Sinclair Basic
  • ML routines from BASICCan anyone tell me which registers should be saved and restored when calling a ML routine from BASIC? How can one know which registers are modified …

    Can anyone tell me which registers should be saved and restored when calling a ML routine from BASIC?

    How can one know which registers are modified inside a system routine?

    Should the stack be also changed?
    rinconete rinconete March 2009 Development
  • 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 …

    ... interrupts

    ;Return to Basic:
    ld bc,colour_map ;This ...

    ;Save all registers, then save
    ; the Stack ... ex af,af' ;Exchange registers for alternates
    exx< ... af
    exx ;Exchange registers for alternates
    ex af ...
    joefish joefish May 2009 Development
  • Writing internet servers in ZX BASICNew Spectranet news! I have just finished adding the code to allow listening sockets to be used from BASIC. A simple example: [code] 10 %listen #4,…

    ... sockets to be used from BASIC. A simple example:

    return "1" to INKEYS# if there ... write a web server in BASIC now :-)
    Winston Winston August 2009 Hardware
  • Tinkering with Quique Llar?a's Midi2Ay tool...Im tinkering with Quique Llar?a's Midi2Ay tool, found at: [url]ftp://ftp.worldofspectrum.org/pub/sinclair/tools/pc/midi2ay-0.1.zip[/url] Im not a v…

    ... to stop the playing and return to basic when a key is ... to get it to return safely to basic (something more than a ... my chances of an easy return...

    Iv tried inserting ... making copies of all the registers at the program start and ...
    kgmcneil kgmcneil October 2009 Development
  • Tutorial - learn machine code in 30mins[B][I]Message from the moderators[/I] - bigjon has requested that readers' attention be drawn to a better version of this tutorial, one which is easi…

    ... before returning to BASIC
    ;return score to BASIC
    Copy ... temporary byte-sized addresses called 'registers'.
    The first register ... code function called from basic will return the value from 0 ... ,de ;add adds the registers together, so hl points ...
    bigjon bigjon November 2009 Development
  • Vector font in BASiCHi guys) Some fifteen years ago I saw a quite short BASIC prog that could simulate a vector font with size/ thickness/ italicization params. I remem…

    ... I saw a quite short BASIC prog that could simulate a ... a'la vector font in BASiC.

    I've got ... /> 1440 PRINT "THEN, WRITE YOUR BASIC LINES TO"
    1450 PRINT ...
    NRA NRA February 2010 Sinclair Basic
  • An update on ZX BASIC support for the SpectranetOne for zxbruno, I hope :-) So just an example of what now can be done with the network filesystem and BASIC. The following listing is of a program …

    ... with the network filesystem and BASIC. The following listing is of ... " THEN PAPER clr: RETURN
    2820 INK clr: RETURN
    [/code]
    BASIC and streams:

    [ ... send data over ethernet from BASIC. You can PRINT # to ...
    Winston Winston March 2010 Sinclair Basic
<1234567…34>

Latest Posts

  • 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
  • I am currently watching.....
    Paradigm Shifter on 12:49AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Happy 40th Birthday to the Amstrad CPC464!
    rich_chandler on April 21
  • Another Birthday! The Game Boy Is 35!
    mel the bell on April 21
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 21
  • 1992 Spectrum Software
    harriusherbartio on April 21
  • +3 Disk drive motor
    AndyC on April 21

HitBox

Word Docs Hits
registers 2.3K 3.4K
return 7K 10.6K
basic 24.7K 39K

Related Threads

  • Switch from 128k BASIC to 48k BasicHello,<br /> <br /> Is there a way to start off running a program in 128k basic (so that you can use the ramdisk facilities) but then switch back dow…
  • Restore Registers Returning to BASICI should really know this, but I've not written code that requires a return to BASIC for a loooong time.<br /> <br /> What registers need to be prese…
  • (Basic) Sinclair BASIC mode for EmacsI saw this [URL=http://www.worldofspectrum.org/forums/showthread.php?t=14622]post[/URL] regarding a Sinclair BASIC editing mode along with some Fuse …
  • Help with Visual Basic 6.0 vs Visual Basic.netI have a program that auto generates VB.Net code..... I know VB.net syntax and am happy with the code generated.<br /> <br /> However, I have been as…
  • What did Spectrum BASIC lack (and was BBC BASIC so good?)Over the years, I've read in various multi-format magazines, that BBC BASIC was probably the best BASIC available on an 8-bit machine. I've never use…
  • 48K BASIC to ZX81 BASIC conversion possible?Looking for an automated way of converting a BASIC program done on a<br /> 48K Spectrum to one for the ZX81. It's obvious that some things cannot<br …
  • ZX Basic 1.2.5 - a BASIC CompilerWell, my old post about ZX BASIC seems to be gone (maybe this phorum purges old threads?), so I started a new one.<br /> <br /> After more than 6 mon…
  • Return to +3 BASIC from 48K mode.Hello Spec-Chums!<br /> <br /> I don't know if this trick has been posted before, if it has, i apologise, but i have not been able to find it.<br /> …
  • Basic BASIC help needed RNDHi all,<br /> <br /> I have recently re-discovered an old program I wrote in the early 90s which would do generate random lottery numbers.<br /> <br …
  • Star BASIC or *BASIC??? Anyone heard of this?Does anyone remember a thing called Star Basic or *basic?<br /> <br /> It was a tape that extended the BASIC instruction set and from memory you put …

Related Searches

  • rst8 return to basic
  • rst8 basic
  • return to basic
  • basic tips tricks
  • best basic manual
  • writing music in basic
  • play in basic
  • play command in basic
  • basic upper lower case
  • basic toupper tolower
  • basic lcase ucase
  • basic change upper lower case
  • basic
  • return to basic hl
  • return basic error
  • return to basic assembly
  • registers return to basic
  • modify registers from basic
  • load registers in basic
  • reset stack return address basic

Copyright © 2024 World of Spectrum