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.018s
<1234567…34>
  • BASIC error messagesDoes anyone know what all the numbers mean after the various error messages in Sinclair BASIC? Does anyone know how to instigate each error type?

    Does anyone know what all the numbers mean after the various error messages in Sinclair BASIC? Does anyone know how to instigate each error type?
    bcass bcass June 2008 Sinclair Miscellaneous
  • 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 …

    ... to save part of a BASIC program. The idea is that ...
    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…

    ... the above mentioned operations from BASIC. Syntax is explained in the ... register so I couldn't return a value, so "BIT b ... 2^b" so it can return zero if the bit is ...
    jp nz,ERRORA ;return on error
    ld a,c ;A ...
    Battle Bunny Battle Bunny October 2011 Sinclair Basic
  • helpHi, I am new to this forum. I have purchased a Speccy from ebay but I am having trouble getting any games to load. I dont really have much technical…

    ... a low-level command to return what is read from that ... the ROM authors not to return an error message and I think ... faults.

    Microsoft BASIC returns an error message with PEEK for ...
    Geoff Geoff April 2003 Sinclair Miscellaneous
  • ANNOUNCE: BASin Release 12 ready for downloadWell, after a rather large break, BASin's latest incarnation is ready for public use. Probably. BASin is a Sinclair Spectrum development environme…

    ... gives a 'C Nonsense in Basic' error. It does not matter if ... 50011,1,201
    70 RETURN
    [/code]

    Which ...
    Dunny Dunny August 2005 Emulators
  • 16K Rom with RS232 supportHi all, I am looking for a 16K Rom-code (to fit into the speccy) which supports RS232 and Network of IF1. Background: I am using 48K Issue 3 with W…

    ... exact circumstances that caused the error. [/QUOTE]

    It ... in depth, to make the BASIC extension mechanism for the Spectranet ... a BASIC error (and handle it appropriately), or a return from the BASIC ... UDP or TCP sockets from BASIC).

    The ...
    Winston Winston November 2008 Hardware
  • 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…

    ... the question of how to return BASIC after program loading, I think ... have it: by using the error handling routine (RST #8 ). ... is right.

    The error handling routine cleans the stack ... restores the control back to BASIC. The argument 255 specifies ...
    rinconete rinconete March 2009 Sinclair Basic
  • Channels and streams - reading dataThe FAQ here - [url]http://www.worldofspectrum.org/faq/reference/48kreference.htm[/url] - seems to be just a touch inaccurate when it comes to readin…

    ... A channel output routine should return with carry reset; if ... generate a "Nonsense in BASIC" error after outputting the item.< ... A channel input routine should return with:
    carry set: ... in progress by comparing the error return address with ED_ERROR ($107f ...
    glancaster glancaster July 2009 Development
  • +3 how to detect if a file exist ?Need help. I am making a generic menu to my compilations over the spectrum +3. Exist some way programatically to detect if some file exists on the d…

    ... m/code routines in a BASIC demo which test for the ... 31 & 36 (plus the BASIC, of course). It uses file ... in use then it will return an error; it can be changed ... (otherwise it would need additional error handling to check if a ...
    Battle Bunny Battle Bunny May 2010 Sinclair Basic
  • INSTR function...Hi Folks, Another little program that people might find useful: [CODE]100 DIM i(4) 110 LET a$="This is some sample text" 120 LET b$="text" 130 GO S…

    ... BASIC fact that the function w$(a TO b) does not return ... an error if b is zero (or ... , so a "Variable not found" error ensues. The long version it ...
    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…

    ... .Beep's idea of providing BASIC bitwise functions with the syntax ... would have liked, although the BASIC syntax is simple enough. Otherwise ...
    jp nz,ERRORA ;return on error
    push bc
    ld ...
    Battle Bunny Battle Bunny October 2011 Sinclair Basic
  • Switching 48/128 modes within a BASIC programI'm not sure what use this would be; ie. being able to switch between 48k and 128k modes and back again from within a continuously running BASIC prog…

    ... TO 2000
    2099 RETURN
    REM Error Return
    9000 PRINT "Report ... h(ret):
    RETURN
    REM Standard Error Trap Addresses by Mode ... HL,9000 ;line number of BASIC error handler
    ld a,1 ...
    Battle Bunny Battle Bunny July 2012 Sinclair Basic
  • BIN2BAS (load BASIC text into emulator) utilityI've nearly finished testing this. It allows a BASIC program to be loaded from a text file in any emulator which has a "load binary" option. I was wo…

    ... gives a spurious "Nonsense in BASIC" error when it's finished, which ... return address in the stack entry addressed by (ERR_SP). The loaded BASIC ... it returning cleanly to the BASIC Editor prompt.

    This ...
    Battle Bunny Battle Bunny April 2013 Sinclair Basic
  • What would be the simplest tape loading routine?I'm searching for some small assembly snippet I can use to load a (headerless or not) block from tape into RAM I can embed in my C games to load furt…

    ... /> Start, length headerless dataload and return to basic
    For your own ... happens if it fails? A BASIC error would crash the computer, as ...
    na_th_an na_th_an October 2013 Development
  • What would be the simplest tape loading routine?I'm searching for some small assembly snippet I can use to load a (headerless or not) block from tape into RAM I can embed in my C games to load furt…

    ... happens if it fails? A BASIC error would crash the computer, as ... break, on loaderror it will return (AFAIK)

    Break can ... CALL (not JP) you can return to your own routine.
    Dr BEEP Dr BEEP October 2013 Development
  • What would be the simplest tape loading routine?I'm searching for some small assembly snippet I can use to load a (headerless or not) block from tape into RAM I can embed in my C games to load furt…

    ... and/or modify) the OpenSE BASIC code (derived from the SAM ... sa_ld_ret ; stack
    push hl ; return address
    in a, (ula ...
    jr nc, ld_break ; return with carry reset if not ... twice
    ret nc ; return on error

    org 0x05e7 ...
    chev chev October 2013 Development
  • Break into programIs there any way of stopping people using the break option in my software productions so they can list the code.

    ... "statement return" after an error, to continue with the next BASIC statement ... to jump to a BASIC error handler at line 9000 ... ,9000 ;line number of BASIC error handler
    ld a ... value. My BASIC routine displays the normal error message based ...
    Battle Bunny Battle Bunny October 2013 Sinclair Basic
  • FZX: a new standard format and driver for proportional fonts[B]FZX[/B] is a very compact and efficient (although extremely flexible and powerful) standard format to create new fonts for the ZX-Spectrum. It sup…

    ... * [B]asm_fzx_init[/B]
    Basic initialization of the fzx_state structure ... fzx putc. Return an error indicator if the ... [B]asm_fzx_char_metrics[/B]
    Return information about a char's ... [B]asm_fzx_buffer_partition[/B]
    Return the portion of a buffer ...
    Alcoholics Anonymous Alcoholics Anonymous January 2015 Brand new software
  • Accessing +3 DOS with DivIDE enabledI'm thinking about making a tool that copies files from a FAT partition to a IDEDOS partition. Currently, I've got two problems: - Getting the ESX…

    ... option (or loading from 128k BASIC): every program works.

    return an error, it crashes while executing ... may crash when returning to BASIC.

    Also, some notes ...
    Zup Zup September 2016 Development
  • THE LIGHTBULB EFFECT You know what that is? Like how cartoonists depict a bright idea by drawing a lightbulb over the head? When I was trying to work out the lengt…

    ... then try to run the BASIC program starting at the line ... you're not planning to return to BASIC; could be inconvenient (or ... some of those would return an error if BC was too big ...
    GReW GReW November 2016 Chit chat
  • BREAK key on 128k SpectrumWhat happens when BREAK is pressed on a 128k Spectrum? Why is it different from what happens on a 48k Spectrum. Is there a way to disable it or to …

    ... dec sp ;preserve error return on stack
    ... s error routine, so if a return to BASIC ... dec sp ;preserve error return on stack
    ... ;line number of BASIC error handler
    ld ...
    Battle Bunny Battle Bunny February 2018 Sinclair Basic
  • BREAK key on 128k SpectrumWhat happens when BREAK is pressed on a 128k Spectrum? Why is it different from what happens on a 48k Spectrum. Is there a way to disable it or to …

    ... 's an example of a BASIC error handler which is called from ... . The POKEs just change the error return to point to my routine ... the message associated with the error report code.
    [code]
    ...

    9000 REM ERROR TRAP
    9005 LET err ...
    Battle Bunny Battle Bunny February 2018 Sinclair Basic
  • Is it possible to run a single BASIC line via a ROM CALL of the Standard ZX 48k ROM?On: https://cygnus.speccy.cz/popis_trdos-assembler.php I found the following code: [code] CHADD equ 23645 ; Location of SOS variable CHADD ld…

    ... blob/ba5c218255386103ccbc0170873e7f35fd05bb69/libsrc/target/zx/basic/zx_line.asm"]zx_line.asm[/ ... /blob/ba5c218255386103ccbc0170873e7f35fd05bb69/libsrc/target/zx/basic/zx_line.asm

    ... br />
    inc l ; return with error code (0=OK, etc..)
    Luzie Luzie October 2019 Development
  • Is it possible to run a single BASIC line via a ROM CALL of the Standard ZX 48k ROM?On: https://cygnus.speccy.cz/popis_trdos-assembler.php I found the following code: [code] CHADD equ 23645 ; Location of SOS variable CHADD ld…

    ... to run a TRDOS-BASIC-Commandline, as the used ... " we can run a TRDOS-BASIC-Commandline: SAVE "filename":
    basic/zx_line.asm

    inc l ; return with error code (0=OK, etc..)
    Luzie Luzie October 2019 Development
  • TLOTRD - compiling problemsOk guys! A new demo for 'The Legend Of The Red Dragon' is nearly finished (just need my bro to draw some artwork as I'm using sample images from the …

    ... by the menu (written in BASIC and about 5k in size ... the level (again, written in BASIC and about 14k in size ... good ol' C Nonsense in BASIC error. The earlier versions of MCoder ...
    pottyboy pottyboy October 2005 Sinclair Basic
  • Specdrum 3.4 is out :)Yayyyyy Done loads more since the last version. in 3.4 The latest version is 3.4 11th October 2008 54mb (Stable 100%) Coming soon : The new upd…

    ... />
    Also fixed a return cursor error , when you were entering a ... , this would then cause an error when you tried to move ...
    wadfm wadfm October 2008 Announcements
  • Z80 'EXX' ConfusionI was working on a little Z80 routine last evening, and, having run out of registers, resorted to sticking one of the values into a memory location a…

    ... was getting a 'Nonsense in BASIC' error when it had finished.
    BASIC' error!

    Here's my ... could point out my silly error?

    [CODE] ORG 62000 ...
    RoseCotton RoseCotton November 2009 Development
  • Your Sinclair Smash Tips - Corrected ListingsOver at Hercules' [URL="http://craigsretrocomputingpage.eu5.org/smashtips/index.html"]YS Smash Tips site[/URL] he has a list of hacks that don't work…

    ... cliffhanger.html"]Cliffhanger[/URL]: Checksum error. Page 10.
    ... a Wally[/URL]: Nonsense in BASIC error. Page 16.
    [*][ ... Highway Encounter[/URL]: Nonsense in BASIC error. Page 24. [B][ ... runestone.html"]Runestone[/URL]: Checksum error. Page 41.
    ...
    jp jp August 2012 Games
  • syntax checking helpcan anyone help with syntax checking, its been a while since I did any basic extension coding this routine always gives :C nonsense in basic error …

    ... while since I did any basic extension coding

    this ... always gives :C nonsense in basic error on the call to NEXT_2NUM ... /> CP 175
    JP NZ,ERROR ;NOT 'CODE'
    RST CALBAS ...
    madvanman madvanman October 2012 Development
  • Microdigital TK95 / TK90X - my experiencesAs asked for by Renegade [url="https://worldofspectrum.org/forums/discussion/58189"]here[/url] I'll do a short writeup of my experiences with my TK90…

    ... beeper routines?
    Fun fact: BASIC error messages are all in Portuguese ...
    Shockwav3 Shockwav3 February 2021 Hardware
<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
basic 24.7K 39K
error 8.1K 11.6K

Related Threads

  • Is there a way to suppress error R Tape Loading Error in Basic when trying to load only part of fileHi,<br /> <br /> is there a way to suppress error R Tape Loading Error in Basic when trying to load only part of file.<br /> <br /> E.g.: I have …
  • 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…
  • (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…
  • BASIC error messagesDoes anyone know what all the numbers mean after the various error messages in Sinclair BASIC? Does anyone know how to instigate each error type?
  • 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 /> …
  • Habilit (known error) errorThe known error fix for the game Habilit ([url]http://www.worldofspectrum.org/infoseekid.cgi?id=0002199[/url]) doesn't work.<br /> <br /> An addition…

Related Searches

  • r forum loading error 0 1
  • r tape loading error 0 1
  • 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
  • return to basic hl
  • basic error assembly
  • return error
  • registers return basic
  • return to basic assembly
  • registers return to basic
  • on error in basic
  • custom error messages in basic
  • reset stack return address basic

Copyright © 2024 World of Spectrum