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.140s
<1234567…34>
  • 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 you ... the IY register before returning to basic but my code at the ... well as IY when returning to basic. I think one of the ...
    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 ... /> org 31500

    ld hl,16384
    ld de,16385 ... /> ld a,255
    ld (hl),a
    ldir
    skok ... pressing "space" I am back to basic prompt.

    I tried ...
    princm princm January 2015 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…

    ... code that requires a return to BASIC for a loooong ... registers need to be preserved / restored on return to BASIC after calling ... machine code? I recall that IX needs to ... I register?
    [*]Stack (to previous value).
    [*]IM ...
    icabod icabod July 2006 Development
  • 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…

    ... value you should restore HL' to if your assembly code ... and[/i] is expected to return to BASIC after it has finished ... what HL' seems to hold whenever stuff gets called from BASIC. ... HL' seems to be different. Although it would still seem to return to BASIC ...
    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 ... restack,end_calc
    LD A,(HL) ;Fetch the exponent of ... br /> LD (HL),A ;by 65536 to give the required ... br /> RANDOM0:POP HL ;discard $2d2b ;STACK_BC return address
    ...
    Battle Bunny Battle Bunny January 2017 Sinclair Basic
  • 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…

    ... won't be able to return to the game. No problem ... would allow me to safely "jump" to my BASIC program. :)
    to BASIC after an USR command ... 1703 bytes just to make BASIC work again? Doesn ... the subject of jumping to BASIC, I find it curious ...
    zxbruno zxbruno May 2009 Sinclair Miscellaneous
  • 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.
    < ... notice there is some BASIC source code between ... code (not the original BASIC address). There are ... ]
    [*]base+0 = pointer to string
    [*]base+2 = ... HL,0
    +4 LD (59346),HL
    +7 LD HL ...
    Jimmy Jimmy May 2011 Development
  • IM 2 interrupts and smooth scrolling - easy peasy!Okay, been fiddling around with IM 2 and have actually mastered (I think) how to use IM 2! Now I run my game Ragnar Revival in IM2 and use HALT to sy…

    ... memory space efficient to place the pointer ... push hl
    ld hl,16384
    inc (hl)
    pop hl< ... return to Basic


    ;prepares interrupt handling
    prepint
    ld hl ... ld (hl),0BAh
    inc hl
    ld (hl),088h
    ekoman ekoman July 2004 Development
  • 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] ; ***********…

    ...
    jp 56 ;for smooth return to Basic


    MoveSprite:
    to FA00h, so HL now=FA0Ah

    ADD A,(HL) ; Add the contents of HL to A
    ; So ...
    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…

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

    exx
    ld (savehl),hl
    exx
    ........ ; ... exit exx
    ld hl,(savehl)
    exx
    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…

    ... =number of characters to move to right
    ld hl,16384 ;screen address ... rotated byte to screen
    inc hl ;go to next byte to the right ... /> [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
  • If you've got a real working MF128,IF1, and MDR combo can I ask a favour?So, if you do have a real Multiface 128, Interface 1, Microdrive and, oh yeah, a Spectrum (48k or 128k) that are all working, can I ask a favour...? …

    ... /> ;
    exx ; save return to basic address
    push hl
    exx
    ;
    ld hl,(err_sp) ; fetch current error return
    push hl ; and preserve ... /> ;
    exx ; restore return to basic address
    pop hl
    exx
    ;
    jp jp February 2008 Hardware
  • 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 …

    ... (257 bytes) to '253'
    ld hl,65024 ;254*256 ... ld de,65025
    ld (hl),253 ;Write once
    ... /> ; to jump to the main interrupt routine:
    ld hl,sample_jump ; ... ei ;Enable interrupts

    ;Return to Basic:
    ld bc,colour_map ;This ...
    joefish joefish May 2009 Development
  • Machine Code Microdrive File LoaderI've been experimenting with transferring games to run from microdrive. Typically I like to see a loading screen while things are happening, and I li…

    ... hl ; preserve return to basic
    exx
    ;
    ld hl,(err_sp) ; fetch current error return ...
    push hl ; and preserve ... ;
    exx
    pop hl ; restore return to basic
    exx
    ;
    jp jp August 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 when ...
    pop hl
    ld (R_AF),hl
    ld hl,(R_HL)

    pop hl
    ld (G_AF),hl
    ld hl,(G_HL)


    ld hl,(G_AF)
    push hl
    pop af
    kgmcneil kgmcneil October 2009 Development
  • Machine code issue...Hi Folks, My trials with MCODE continue and I am stuck. I wrote the following program in BASIC to simply POKE an attribute byte in to a "box" on th…

    ... =ATTR Address
    09 ADD HL,BC ;HL=HL+ATTR Address
    ED4B01FA ... =X
    09 ADD HL,BC ;HL=HL+X
    3A02FA LD A ... not end
    C9 RET ;RETURN to BASIC[/CODE]

    When I ...
    Paddy Coleman Paddy Coleman September 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
  • 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
  • A z88dk + sp1 demo (with source)Since nowadays people are still wondering about how difficult it is to make something in z88dk, I thought I just put a very simple demo to show how e…

    ... /2010/02/09/introduction-to-z88dk-part-1-installation- ... /> void *u_malloc(uint size) { return malloc(size); }
    void u_free ...

    // Attach C Variable to data Declared in ASM at ... br />

    // Memory to define the background.
    uchar ...
    Timmy Timmy January 2012 Development
  • 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 …

    ... /> ei ; enable interrupts
    ret ; return to BASIC

    org 0xc39a
    ld hl, $ + 9 ; set return location (no stack available ... )
    ld (endcall), hl
    jp ...
    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
  • A "generic" loader for +3(e)I've made this loader for 128k games in +3DOS. [CODE]dos_open equ 262 dos_close equ 265 dos_abandon equ 268 dos_read equ 274 dos_write equ 277 dos_s…

    ... /> ld de,0
    ld hl,128
    call dos_set1346
    ld de,$0002
    ld hl,fichero
    call dos_open
    ei

    ; return to BASIC
    ld iy,23610 ; restoring ... , we could try to close the file and return to BASIC.
    - I ...
    Zup Zup December 2013 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 +…

    ... draw_char_frame_bc


    ;No return to BASIC
    ;------------------
    never_end
    ld ... *32
    ld hl,22528
    add hl,bc ;hl = address of start ... *2
    ld hl,char_address
    add hl,bc ;hl = row in table ...
    joefish joefish March 2014 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
return 7K 10.6K
to 549.6K 1.6M
basic 24.7K 39K
hl 6.2K 48K

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…
  • 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 …
  • 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 …

Related Searches

  • rst8 return to basic
  • return to basic
  • basic to word
  • 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
  • registers return to basic

Copyright © 2024 World of Spectrum