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.108s
<1234567…34>
  • 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 machine ... code? I recall that IX needs to ...
    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 know ...
    If I save all registers on the stack (including the ... shadow registers) before calling my test ... when returning to basic. I think one of the shadow registers is ...
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • Return to basic from sna created by Z80 compilerHow can I go back to basic when running sna created using Z80 Assembler ([url] http://www.worldofspectrum.org/utilities.html#crossass [/url])? For e…

    How can I go back to basic when running sna created using ... pressing "space" I am back to basic prompt.

    I tried ... to put "ret" at the beginning to prevent the code ...
    princm princm January 2015 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, but ... I won't be able to return to the game. No problem here ... 't the same as returning to BASIC after an USR command but ... on the subject of jumping to BASIC, I find it curious that ...
    zxbruno zxbruno May 2009 Sinclair Miscellaneous
  • Restore HL' to?It is probably a simple question, but it's been escaping me for quite some time now. Is there an 'universal' value you should restore HL' to if your…

    ... [i]and[/i] is expected to return to BASIC after it has finished execution ... . Although it would still seem to return to BASIC without errors.

    While ... it, are there any other registers I should worry about preserving ...
    Hikaru Hikaru May 2012 Development
  • 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…

    ... In both instances the required return to BASIC with a decimal fraction ... HL ;discard $2d2b ;STACK_BC return address
    RET
    ... Using the above method to return from a USR call ... particular function) will return that value to the BASIC program.
    ...
    Battle Bunny Battle Bunny January 2017 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] ; ***********…

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


    ... and return so we can print sprite to screen< ...

    ; Move to next column, and wrap horizontally ...
    robpearmain robpearmain August 2004 Development
  • 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…

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

    Save ...
    Dr BEEP Dr BEEP November 2005 Development
  • Sir Clive hints at a return to computersFrom [url]www.designweek.co.uk[/url] "Sinclair hints at a return to computers Published: Jul 2006 Sir Clive Sinclair is designing more transport-led…

    ...
    "Sinclair hints at a return to computers
    Published: Jul 2006 ... transport-led products and hopes to create another computer.
    ... legs.
    Sinclair refuses to speculate on its likely ... br /> In a fillip to British manufacturing, Sinclair also ...
    Pascal Tournois Pascal Tournois July 2006 Sinclair Miscellaneous
  • Wanted! Return to Eden / Worm in ParadiseHiya all Anyone got a copy of Level 9's 'Worm in paradise' and 'Return to Eden' they would care to sell me? Need to be in complete near mint conditi…

    Hiya all

    Anyone got a copy of Level 9's 'Worm in paradise' and 'Return to Eden' they would care to sell me? Need to be in complete near mint condition

    Would be really greatful!

    Thanks

    ZX Beccy
    ZX Beccy ZX Beccy October 2006 Wanted
  • 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…

    ... programming practise) of how to use the registers. I ended up using ...
    I used a basic program to load some "graphic" into memory ...
    ld h,a ;return into h (high byte of ... /> [B]endofprogram[/B]
    ret ;return to basic

    [B]setcarry[/B ...
    Rickard Rickard May 2007 Development
  • A return to point-and-click adventures...Okay, they've nicked my username, but I sincerely hope this is the start of a welcome return to the traditional point-and-click adventures. Made by …

    ... the start of a welcome return to the traditional point-and-click ... one of the very few to get it right.

    Vampyre Vampyre June 2007 Chit chat
  • Using a multiface to exit to BasicBack in the days I was always fascinated with the idea of getting access to BASIC listings inside a program or game. I was able to work a way around …

    ... idea of getting access to BASIC listings inside a program ... game. I was able to work a way around ... are some games with a BASIC listing inside the code, ... to know is if anyone remembers any game that has BASIC ... with messages that are waiting to be found (and yes, ...
    zxbruno zxbruno August 2007 Sinclair Basic
  • 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 ... and it's never going to return to Basic? Can I overwrite system variables ... . I guess it had something to do with code executed during ... if I don't want to dissable interrupts, can I still ...
    Ralf Ralf January 2009 Sinclair Basic
  • 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 …

    ... ;Enable interrupts

    ;Return to Basic:
    ld bc,colour_map ;This ... br />
    ;Save all registers, then save
    ; the ... ex af,af' ;Exchange registers for alternates
    exx ... af
    exx ;Exchange registers for alternates
    ex ...
    joefish joefish May 2009 Development
  • 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…

    ... like to add a short routine to stop the playing and return to basic ... this key routine to get it to return safely to basic (something more than ... my chances of an easy return...

    Iv tried ... making copies of all the registers at the program start ...
    kgmcneil kgmcneil October 2009 Development
  • 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 ... menu:
    AUTO RESET - return to basic (if basic variables is bad then use ...
    velesoft velesoft April 2010 Sinclair Basic
  • Return to Ithaca bugfix version?The [I]Return to Ithaca[/I] entry lists a "bugfix" version, yet no further details are given whether this is a subsequent release from Atlantis itsel…

    The [I]Return to Ithaca[/I] entry lists a " ... bug this release is supposed to fix.
    Alessandro Grussu Alessandro Grussu January 2011 Infoseek database
  • Back to BASIC[U][B]Archaeology guide to programs compiled used MCODERII.d[/B][/U] After various people have been talking about "Frank'n'stein" I decided to finis…

    ... makes converting the code back to BASIC much easier.

    ... will notice there is some BASIC source code between addresses ... compiled code (not the original BASIC address). There are 2 ... [LIST]
    [*]base+0 = pointer to string
    [*]base+2 = length ...
    Jimmy Jimmy May 2011 Development
  • 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 …

    ... a short routine to save part of a BASIC program. The idea ... "SAVE lines ";(la);" to ";(lz);" as:"'h$(2 TO 11):
    IF ... $="AF111100DD2A4B5C010600DD09CDC204CDA22D3EFFC5D1DD2A765CCDC204CD2B2DC9":
    FOR s=1 TO 67 STEP 2:
    LET ...
    Battle Bunny Battle Bunny September 2011 Sinclair Basic
  • Byte-order backbufferThis is a tool for Z80 coders who wish the Spectrum screen had a serial layout. It runs as an interrupt mode 2 service routine and uses POP and PUSH …

    ... br /> push af ; save the registers
    ld a, 0x3b ; ... ; enable interrupts
    ret ; return to BASIC

    org 0xc39a
    registers and the stack pointer< ... resotre stack pointer and all registers
    pop iy
    chev chev April 2012 Development
  • Image to BASIC commandsHi all I'm looking for an app that read an image (jpg, gif, etc...) and convert it to BASIC commands (DRAW, CIRCLE, etc...) The images to convert wi…

    ... , gif, etc...) and convert it to BASIC commands (DRAW, CIRCLE, etc...) The ... images to convert will be simples as ...
    oblo oblo October 2012 Development
  • Scrolling Bi-Colour Engine for 4-Player GamesJust putting this code up for people to have a look at. Far from finished. Should simply compile and run a bit of a demo. Only good for 128K and +…

    ... ;Use wrap-around attribute map to allow vertical attribute-based scrolling ... br /> ;Call up to three interrupt vectors to enable/disable multicolour, ...


    ;No return to BASIC
    ;------------------
    never_end
    ld ...
    joefish joefish March 2014 Development
  • Adding command to BASICI am looking for an article about adding commands via software to sinclair basic. I know there was one published and to the best of my knowledge it w…

    ... about adding commands via software to sinclair basic. I know there was ... one published and to the best ... This particular article explained how to use some of the system ... commands, new self-made commands to BASIC, is there any articles on ...
    dmsmith dmsmith August 2019 Sinclair Basic
  • Last Problem in Chapter 3 of Toni Baker's Mastering Machine Code on your ZX Spectrum.Chapter 3 of this great book is all about how to use the registers and covers the operations LD, ADD, ADC, SUB, SBC, INC, DEC, SCF and CCF. The la…

    ... is all about how to use the registers and covers the ... asks a program be written to produce a 1 if ... mind this only expects us to use the operations outlined ... I can only get it to output a zero. Any help ... is zero
    RET C9 Return to basic
    [/code]
    Scottie_uk Scottie_uk February 2021 Assembler
  • Basic and AY musicis it possible to play an ay-music in background while a basic program is running?

    ... 't need to stack registers if working in BASIC as only HL ... /> PUSH HL ; preserve important registers
    CALL AYPLAYER ; AY ... EXX
    POP IY ; restore registers
    EI ; must enable ... only works once
    RET ; return to BASIC

    ORG VECTOR * ...
    cyborg cyborg January 2003 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…

    ... value got restored automatically on return to BASIC anyway, so it still didn ... that it was the shadow registers that were causing the problem ... them before returning. This seems to work. Exactly which register is ...
    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] ; ***********…

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


    return so we can print sprite to screen ...

    ; Move to next column, and wrap horizontally ...
    robpearmain robpearmain August 2004 Development
<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
to 549.6K 1.6M
basic 24.7K 39K

Related Threads

  • Alternative to Poke 23659,0 to prevent a 'break in' to a Basic Program.Good morning everyone,<br /> <br /> My memory fails me these days but in the early days of programming I used to use Poke 23659,0 as a crude way of…
  • How to return to basic properly from ASMI am messing around with a fast stack copying routine.<br /> But I am getting<br /> <br /> "A: Invalid argument" error when I later return to basi…
  • How To Upload BASIC program To WOS archiveIn 1987 when i was 15 years old,i wrote a program in BASIC on my Speccy 128 called ART STUDIO..yeah i know<br /> <br /> Its the only basic program i …
  • how to pass arguments from Basic to MC ?can someone explain me (or give some link) how to pass arguments from basic to machine code? i mean something like this:<br /> PRINT USR xxxxx, arg1,…
  • 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…
  • How to transfer a BASIC-Programm to PC and/or TZX?Hello there,<br /> I'm pretty new at WOS, but have already spent some time reading a small bit of the large amount of information here.<br /> <br /> …
  • Using a multiface to exit to BasicBack in the days I was always fascinated with the idea of getting access to BASIC listings inside a program or game. I was able to work a way around …
  • Fastest way to decide which pixel to paint in order to draw a straight line(after I saw "Bresenhams circle algorithm" in development forum, I decided to ask this in here)<br /> <br /> in fact, I want to accelerate a car towa…
  • Now seems to be a good time to add to your collectionsI have bought a few spectrum items to add to my collection recently, had i bought them a year or two ago they would have cost double. This is one of …

Related Searches

  • rst8 return to basic
  • return to basic
  • basic to word
  • return to basic hl
  • basic to gif
  • adding soundtracker music to basic menu
  • adding beepola music to basic menu
  • add machine code sprite movement to basic
  • switch to 48k basic
  • inputting to array basic
  • poke to change line number in basic
  • poke to hide loading name basic
  • john silver s return to treasure island
  • basic plot will appear to bounce
  • how to make games on basic
  • basic to tap
  • plus3dos basic to tap
  • return basic error
  • registers return basic
  • return to basic assembly

Copyright © 2024 World of Spectrum