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.040s
<1234567…34>
  • 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
  • Detecting TR-DOS from BASICIs there a simple (or contrived :D ) way to detect the presence of a TR-DOS/Betadisk interface from BASIC? For fairly obvious reasons this can't rel…

    ... a TR-DOS/Betadisk interface from BASIC?

    For fairly obvious ...
    pissedbob pissedbob January 2006 Development
  • 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: PRINT USR xxxxx, arg1, arg2:…

    can someone explain me (or give some link) how to pass arguments from basic to machine code? i mean something like this:
    PRINT USR xxxxx, arg1, arg2: ...
    or so...
    Fikee Fikee April 2006 Development
  • Printing in 64 columns, from Basic?Not strictly a Sinclair Basic question but... Is there any known machine code utility that allows something similar to PRINT AT that can be called fr…

    Not strictly a Sinclair Basic question but... Is there any ... AT that can be called from Basic but uses 64 or maybe ... />
    I'm creating small Basic programs that allow me to ... that's easy to call from Basic? Thanks!
    zxbruno zxbruno October 2009 Sinclair Miscellaneous
  • 128k RAM paging from BASICI'd always thought that OUT had to be used to page RAM, which from BASIC would be an "OUT 32765,ddd" command, although I don't know if just doing tha…

    ... used to page RAM, which from BASIC would be an "OUT 32765 ...
    Battle Bunny Battle Bunny August 2011 Sinclair Basic
  • Switch 128kb banks from Basichello! Please help to [U]correct[/U] switch 128kb pages from Basic. So, I remember, need to do: out 32765,17 e.t.c but before, i must to change some…

    ... ]correct[/U] switch 128kb pages from Basic.
    So, I remember, need ...
    gun gun July 2014 Sinclair Basic
  • Hardware description - MB-02+ interfaceOn this thread will soon released info about MB-02+ idisk interface ( memory paging mechanism, list of ports, addressing, MB IDE, schematics, etc... …

    ... of copy custom ZX rom from zx ram 32768 to MB ... 23,64+32+5 and modify rom from basic. Also is possible switch ... via one OUT command in basic. (OUT 23,64+5 = own ...
    velesoft velesoft August 2013 Hardware
  • 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…

    ... with my BASIC program becoming corrupted on returning from a ... m/c routine which sets all the registers ... (including the shadow registers) to particular ... registers or memory locations when calling a m/c routine from BASIC ...
    trellis trellis May 2003 Sinclair Basic
  • Loading basic from basic?Hi Guys, Could you please help me. I want to create a menu on my plus 3 disks. If I use the line below I just get "c nonsense in basic" if inkey$…

    ... just get "c nonsense in basic"

    if inkey$ = "1 ... .cde" code will load fine from a basic listing.

    Can ...
    gazj82 gazj82 June 2013 Sinclair Basic
  • Passing parameter from BASIC to assembler routineWas there a "clean" way of passing parameter(s) from a BASIC program to an assembler routine? Something like parameterising RANDOMIZE USR call? I fac…

    ... of passing parameter(s) from a BASIC program to an assembler routine ...
    mr.spiv mr.spiv November 2018 Development
  • ANN: midi2ay 0.1Well, here's the MIDI-to-AY converter I promised. I've named it "midi2ay" (original name eh?) [url="http://es.geocities.com/qllaria/midi2ay/midi2ay-…

    ... version, which will return to BASIC after the tune has stopped ... />
    3. Return to BASIC requires IM1 & I set ... not modify these)

    Ideally the ISR should preserve all registers ... sp,0 -- use CLEAR 32767 from BASIC instead
    ld hl,0feffh ...
    pissedbob pissedbob December 2005 Development
  • Hacks to improve existing gamesDoes everyone remember those hacked versions of Commando and Action Force II that had AY soundtracks hacked into them? How about hacking some other …

    ... be to modify multi-level games level loader to work from BASIC, so ... it could be loaded from tape or ... loader with a call to BASIC to a certain line ... BASIC to certain line from machine code), assuming the system variables and registers ...
    0sAND1s 0sAND1s November 2008 Games
  • Hacks to improve existing gamesDoes everyone remember those hacked versions of Commando and Action Force II that had AY soundtracks hacked into them? How about hacking some other …

    ... be to modify multi-level games level loader to work from BASIC, so ... it could be loaded from tape or ... loader with a call to BASIC to a certain line ... BASIC to certain line from machine code), assuming the system variables and registers ...
    Dr BEEP Dr BEEP November 2008 Games
  • Playing AY sounds with BASIC.Is it possible? If so how? I've seen in one forum a while back mention of using interrupts to play but AFAIK this is machine code only. The goal of …

    ... create [u]simple[/u] effects from BASIC, as Bruno suggested. You ... .com/warehouse/simple-ay-sfx-from-basic.z80[/url]

    modify the above posted program to ... easily.

    [code]AY REGISTERS

    0 Channel ...
    na_th_an na_th_an May 2010 Sinclair Basic
  • help with sprites from SevenUpHas anybody got source for a short m/c rountine that can send sprites designed in SevenUp to the screen or to a dummy screen? A long time ago, I wor…

    ... planning to use the routine from basic.
    mulder mulder April 2004 Development
  • Print routine for BASIC (or BASin)For anyone interested there's a crappy binary here to print characters from BASIC at pixel positions. Import the binary at 60000, USR 60000 to initia…

    ... binary here to print characters from BASIC at pixel positions. Import the ...
    Woody Woody October 2006 Sinclair Basic
  • The BASIC ISRFirst of all, excuse me if my blatant ignorance about this topic makes me write some nonsense :) The thing is that I'm finishing a game in mixed BAS…

    ... in mixed BASIC and Compiled BASIC (the pure BASIC part is ... and forth, the Compiled BASIC part is the game itself ... the music file. Playing it from BASIC is easy:

    ... ) - I know that BASIC has a ISR which is ... to hook it to the BASIC ISR.

    ...
    na_th_an na_th_an November 2006 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…

    ... after 20 years stuck in BASIC). I read a SU ... carry flag before setting the registers. Now, if I' ... use certain registers if I call a routine from the ... '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
  • Saving a complete SCREEN$ in BASICI'm trying to save a SCREEN$ to a tape file (basically the original data is in a .tzx file that I'm trying to save in a .tap format) but the problem …

    ... whenever I try to save from BASIC, the "Start tape and press ...
    Arjun Arjun April 2008 Sinclair Miscellaneous
  • How to read AY Registers from M/C?Gentlemen, I will appreciate if you can provide me some details on this, as I could not find info in other sources. I would like to know if it's pos…

    ... , and how, to read AY-Registers like the mixer. I tried ...
    worldxxisoft worldxxisoft June 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, ... we can see what happened from BASIC
    RET ; Return< ... /> POP AF ; Retrieve registers from the stack
    EI ...
    NaMcO NaMcO December 2008 Development
  • Understanding the StackSorry folks. I guess I'm going to be a pain for a little while. Hope it's ok with everyone. I'm currently studying the stack and wrote the little pr…

    ... through it while inspecting the registers and looking at the memory ... exists on the above assembly. From BASIC it is being called with ...
    rahtgaz rahtgaz January 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 …

    ... ld a,c ;On entering from BASIC, BC holds the
    and ... interrupt_main

    ;Save all registers, then save
    ; the Stack ... push hl ;Write 8 bytes from registers
    push de
    ... hl ;Write 8 more bytes from registers
    push de
    ...
    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,…

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

    [/code]

    From another computer, you can then ... blocking (and without reading data from the actual socket).

    BASIC now :-)
    Winston Winston August 2009 Hardware
  • 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 to ... ,de ;add adds the registers together, so hl points ...
    bigjon bigjon November 2009 Development
  • 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 ... this on the Spectrum, using BASIC and streams:

    [code ... to send data over ethernet from BASIC. You can PRINT # to that ... script that expands the ZX BASIC tokens.
    Winston Winston March 2010 Sinclair Basic
  • 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).…

    ...
    new basic syntax:
    !! (call monitor/debugger "Devastace" from tr-dos ... snapshot = memory snap, CPU registers ...)
    = (show basic info - ramtop, used ... AUTO RESET - return to basic (if basic variables is bad then use ...
    velesoft velesoft April 2010 Sinclair Basic
  • Is converting Microdrive formats possible???Hi. First post. I'm a long-time Speccy owner, was lost, but found my way home! :D I have a Disciple as well... Now to my question, but first the …

    ... , I got the urge to modify this code. Unsurprisingly, the Laser ... -formats and their uses. Also, from my pre-amble with the ... OPENTYPE file-formats, at least from BASIC.

    So , can anyone ...
    omelette omelette January 2011 Sinclair Miscellaneous
  • Keys redefine routine and key check.I have written some asm code which allows me to redefine keys (for a game etc.), and also allows me to be able to check any keypresses for the redefi…

    ...
    It can be used from BASIC, err, well, if you know ... don't save/restore any registers on entry/exit, so ... anyone wants to use it from BASIC
    ret

    ; ... executed, but it stops me from getting confused, :)

    ; ...
    polomint polomint September 2011 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
modify 1.8K 1.9K
registers 2.3K 3.4K
from 169.9K 237.3K
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…
  • Loading basic from basic?Hi Guys,<br /> <br /> Could you please help me. I want to create a menu on my plus 3 disks. If I use the line below I just get "c nonsense in 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…
  • Detecting TR-DOS from BASICIs there a simple (or contrived :D ) way to detect the presence of a TR-DOS/Betadisk interface from BASIC?<br /> <br /> For fairly obvious reasons th…
  • 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,…
  • 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…
  • Looking for an extended BASIC graphics routine from mid- to late-80sHello all,<br /> <br /> This is my first post here so please go easy. This is basically a cut-and-paste job from comp.sys.sinclair where I've had no …

Related Searches

  • save screen from basic
  • nmi instruction from basic
  • nmi from basic
  • loading basic from assembly
  • switch 128kb banks from basic
  • 128k page memory from basic
  • loading basic from code
  • change ram from basic
  • registers return basic
  • delete basic program from machine code
  • to page from basic
  • registers return to basic
  • load code from basic in emulator
  • basic from machine code
  • run basic program from machine code
  • pass variables from basic to machine code
  • tell which model from basic
  • switch to 48k basic from 128k
  • detect 128k from basic
  • rst 16 from basic

Copyright © 2024 World of Spectrum