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.041s
<1234567…34>
  • 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
  • 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
  • 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
  • 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…

    ... trouble with my BASIC program becoming corrupted on returning from a m ... calling a m/c routine from BASIC, and reload them before returning ...
    trellis trellis May 2003 Sinclair Basic
  • ESXDOS v0.8.0 released (with NMI Browser)Hello, To celebrate the speccy's 30th birthday, here's the latest version of ESXDOS for DivIDE users. The full changelog is too long to post here, s…

    ... for seamless IM2 loading/saving, from BASIC and machine code
    ... .commands, external programs and NMI.SYS. Functions available on ... on demand
    * NMI.SYS support (NMI system is independent, ESXDOS ... divIDE+ systems (only the NMI browser works).[/b]
    ...
    phoenix^ra phoenix^ra April 2012 Announcements
  • 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
  • Hardware description - BETA DISK interfaceExist more versions and clones of BETA DISK interface. Beta disk 48, beta disk 128, brasilian clones of beta disk 48, russian clones of beta disk 128…

    ... are connect and CPU read instruction from adress #3D2F of external rom ... be connect also if "MAGIC"(NMI) button is pressed. This button ... external rom memory.
    - From ZX basic can be external TR-DOS ... external rom also if any instruction in tr-dos rom set ...
    velesoft velesoft August 2013 Hardware
  • The history of ESXDOS, the DivMMC and the DivMMC EnJOY![img]http://benophetinternet.nl/hobby/divmmc_history/1%20esxdos.jpg[/img] These are the stories behind esxDOS, the most popular operating system e…

    ... /> ----------------------
    USR 0 mode from boot
    NMI Function Software
    - Debugger ...
    Full TR-DOS support from BASIC

    -------------------
    Compatible ... to/from the card requires only a single OUT or IN instruction ...
    bverstee bverstee October 2015 Hardware
  • 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
  • Rom dumping a Mirage MicrodriverI need to dump the rom of my Mirage Microdriver for Zub and don't know what to do...any help?

    ... in, though. The fact that BASIC fails to initialise when the ... , when the Z80 fetches the instruction from that address.[/QUOTE]

    NMI) when executing a RET in ...
    zub zub November 2007 Hardware
  • DivIDE QuestionHi all, I've been trying to work out how the DivIDE works and after reading and re-reading the DivIDE programming model document by Zilog I think it…

    ... screen as part of my NMI function can I use ... return address for the RET instruction.
    Your routine at ... it should handle an error from BASIC, or whether this is ... you put a RET instruction in the ROM you're ... any ROM routine in the BASIC ROM.

    ...
    Winston Winston August 2009 Development
  • MISSING M1 LINE ON +48????I was posting questions about my DIVMMC enjoy not working on one of my +48`s and have now got round to testing if its cpu related.Trouble is the one …

    ... M1 line and the NMI lines are not directly ... device that uses the NMI input must have it' ... order to interface new BASIC commands and functions to ... the existing Sinclair BASIC, an external device may ... fetching a machine code instruction from memory. It can then ...
    1024MAK 1024MAK July 2014 Hardware
  • DivIDE allram mode help neededHi guys, are there any DIVIDE wizards out there that can explain how i page in the allram and add a rom file to it i sometimes need to load spect…

    ... ZX rom from zx ram to DIVIDE allram. In basic you ... mapram mode is possible (also from basic) use easy paging of DIVIDE ... /> call 15616 ;write byte 201(instruction RET) to mapping address and ... activity is unusable (disabled) NMI button on DIVIDE/DIVMMC.
    velesoft velesoft March 2017 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
  • Any interest in new low-cost mass-storage interface with 512K RAM?I've recently added support to ResiDOS and the +3e ROMs for SD/MMC card interfaces; in particular, ZXMMC (which has no onboard RAM and so is only sup…

    ... optional packages which can add BASIC commands, handle hook codes ... add extra filesystems, handle the NMI button etc
    [/LIST]< ... trapping commands and functions for BASIC
    [*]Some specially-written ... , including disk I/O from BASIC and text windowing (as ...
    glancaster glancaster January 2007 Hardware
  • 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
  • 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 ... br /> ;Copy the sample jump instruction there,
    ; to jump to ... br /> ld hl,sample_jump ;Sample instruction (see below)
    ld de ... ;Copy the 3-byte jump instruction
    ldi
    ldi< ...
    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
  • WAV to TAPI'm having huge troubles trying to convert a program from a real tape to TAP virtual tape. I have tried several utilities and nothing works. I have p…

    ... creating standard TAP with BASIC and machine CODE blocks ... to process WAV - privileged instruction error (probably runtime error)... ... supposed to... it saves from basic but not from TF Copy... the ... (in Gold Wave from Windows mixer) - from the TF Copy program ...
    maiki maiki October 2009 Emulators
  • 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…

    ... language instruction for 'return to calling program' (in our case a BASIC ... do.
    Some instruction bytes need a further instruction byte to clarify ... code function called from basic will return the value from 0 to 65355 ...
    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
  • checking bits in BASICThe question of manipulating bit patterns in BASIC was raised recently in this [thread=35728]Keys redefine routine and key check[/thread] thread. I s…

    ... of manipulating bit patterns in BASIC was raised recently in ... strings for ease of handling from BASIC, with a little loop to ... separate function for hex to/from decimal-octal-binary. Who ... from the original plan of using binary digit character strings in BASIC ...
    Battle Bunny Battle Bunny September 2011 Sinclair Basic
  • AND,XOR,OR,BIT,RES,SET,CPL,NEG,RLC,RRC,SLA,SRL,RL, RR,SRA for BASICAs this was drifting away from the original INKEY$ thread I thought that I'd create a new one. So here's a routine to provide all of the above mentio…

    ... this was drifting away from the original INKEY$ ... the above mentioned operations from BASIC. Syntax is explained in ... /> FPTOBC: equ $2da2 ;from calculator stack: BC
    FPTOA ... : equ $2dd5 ;from calculator stack: A
    ERRORA ...
    Battle Bunny Battle Bunny October 2011 Sinclair Basic
  • Find-Fill-Copy functions for BASICThere's not much going on here, so here's three m/code routines to provide some data manipulation functions which are otherwise slow to do from BASIC…

    ... are otherwise slow to do from BASIC.

    * find array 'a ... ' then]
    . copy 'l' bytes from address 'a' to address 'b ... defined then 'copy' will start from the top or bottom end ... can be calculated by the BASIC program; see lines 15 & ...
    Battle Bunny Battle Bunny October 2011 Sinclair Basic
  • BREAK from GOSUBHere's another one. Just in case you wanted to break out of multiple GOSUB levels with a single command, here's a routine to do it, tested on all mod…

    ... up to +3e. Called from BASIC with RANDOMIZE n+USR retsub, ... )
    LD SP, HL ; 249 ;from m/c stack
    CALL ...
    LD B, A ; 71 ;from calc stack
    NXTSUB: EXX ...
    Battle Bunny Battle Bunny December 2011 Sinclair Basic
<1234567…34>

Latest Posts

  • I bought an accoustic guitar. How do you play it?
    dm_boozefreek on 7:51PM
  • Goodbye Z80
    zx1 on 7:11PM
  • Happy 40th Birthday to the Amstrad CPC464!
    AndyC on 6:29PM
  • Another Birthday! The Game Boy Is 35!
    dm_boozefreek on 6:17PM
  • I am currently watching.....
    Antiriad2097 on 5:05PM
  • 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
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 21

HitBox

Word Docs Hits
nmi 1.4K 2.5K
instruction 3.8K 5.5K
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,…
  • (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 …
  • ML routines from BASICCan anyone tell me which registers should be saved and restored when calling a ML routine from BASIC?<br /> <br /> How can one know which registers a…

Related Searches

  • save screen 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
  • delete basic program from machine code
  • to page from 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
  • modify registers from basic
  • switch to 48k basic from 128k
  • detect 128k from basic
  • rst 16 from basic
  • save and load machine code from basic
  • save from basic without message start tape

Copyright © 2024 World of Spectrum