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.147s
<1234567…34>
  • im looking for a basic routine that adds a numerical character to a stringim looking for a basic routine that adds a numerical character to a string. so a=1, "1", then a=0 "10", then a=1 "101......" and so on

    im looking for a basic routine that adds a numerical character to a string. so a=1, "1", then a=0 "10", then a=1 "101......" and so on
    digital digital September 2015 Development
  • Assembly help: EQUCan anyone explain in duffers language the purpose of the EQU term in assembly? I found this info in another thread: EQU: Equate a name to a specif…

    ... in Pasmo:

    [code]
    ; X80 maths co- ... ENDM

    MACRO fasc ; character to ASCII
    defb 0x1c
    ENDM ... This enables the OpenSE BASIC source code to use floating-point pseudo ... DEFBs and makes the code much easier to read.

    chev chev April 2011 Development
  • Automatic opcode to machine codeHi everyone, Would people use a program that you enter opcodes and it automatically converts them to machine code and saves them to a file. So if yo…

    ... automatically converts them to machine code and saves them to a file.
    code program to help me make programs ...
    Robin Robin September 2010 Development
  • is it possible to display code being loaded in a loader?hi, is it possible to display code being loaded in a loader?

    hi,

    is it possible to display code being loaded in a loader?
    digital digital September 2015 Development
  • Best basic game to port to another machineI want to convert a specy basic game to [url="ep128.hu"]Enterprise 128[/url]. What are the best basic game for this? For example [url="http://www.e…

    I want to convert a specy basic game to [url="ep128.hu"]Enterprise 128 ... ].
    What are the best basic game for this?
    For ... .htm"]this is an EP basic game[/url], that show EP ... can print big characters to the graphics screen, like big ...
    endi endi March 2017 Sinclair Basic
  • Compiling Basic to MCHello, I have a lot of long Basic programs. These are mostly strategy programs, good but slow. I was thinking about how to speed them up without com…

    ... $
    50 GO TO 30
    [/code]
    The content ... BASIN, copy the BASIC listing to ASCII (e.g. to the clipboard) and ... , this is really hard to compile:
    [code]
    10 PRINT ... "
    [/code]
    Unlike other BASICs, Sinclair BASIC treated DATA as ...
    boriel boriel February 2011 Development
  • Using CP and JR Z commandI have been trying to [URL="http://www.worldofspectrum.org/forums/showthread.php?t=40011"]convert a BASIC routine to machine code[/URL], but to no av…

    ... a BASIC routine to machine code[/URL], but to no avail, I need to ... value you were comparing it to. If the values were ... the JR Z would jump to the next step.
    ... />
    You'll have to forgive my ignorance as it ... than 61 then I want to call a routine, what ...
    daveysludge daveysludge July 2012 Development
  • Key press to ASCII valueI need a bit of code that will give me an ASCII value when the key is pressed. I only really need a-z. I tried using the following code but it only s…

    ... the keyboard and returns an ascii code representing a
    ; single keypress ... (N. America).
    ;
    ; Key to ascii code translation is done by lookup ...
    ld a,(hl) ; a = ascii code
    scf ; indicate key was ...
    Alcoholics Anonymous Alcoholics Anonymous July 2005 Development
  • Keyboard routinesI'll ask here first - since this must be a long-ago solved problem, and hopefully I can avoid re-inventing the wheel... I need a keyboard routine th…

    ...
    Converts keypress to ASCII code. Only allows one keypress, ... relationship between keypress and ASCII code generated comes from ... scan code for the particular ascii code you want to look ... for and then passing that scan code to ...
    Alcoholics Anonymous Alcoholics Anonymous February 2009 Development
  • BASin Problems etc.Hi Folks, Paul has asked me to open this thread to document any outstanding issues that we find within BASin. No guarantees that Paul can/will fix …

    Found another problem. In the online help under Character Set the character against ASCII code 39 is a comma when it should be a apostrophe.

    Paddy
    Paddy Coleman Paddy Coleman February 2011 Sinclair Basic
  • ZX Compiler MMII.dIt's been [URL="http://www.worldofspectrum.org/forums/showthread.php?t=4616"]discussed[/URL] many times before that [URL="http://www.worldofspectrum.…

    ... a performance gain to compile ZX Basic down to Machine Code?

    If ... going from an interpreted language to a hard coded is going ... to improve performance, but what in ...
    Zetr0 Zetr0 March 2011 Infoseek database
  • In Java for ZXHi All I am glad to notify you that I have opened the sources of my J2Z80 translator (0.1 version) which allows to use Java toolchain to generate Z8…

    I am glad to notify you that the 1.0.0 release of the tool is accessible on the project page [url]http://code.google.com/p/j2z80/[/url]
    now it allow some basic optimization to decrease code size and other dependencies can be used as libraries.
    Raydac Raydac May 2012 Development
  • In Java for ZXHi All I am glad to notify you that I have opened the sources of my J2Z80 translator (0.1 version) which allows to use Java toolchain to generate Z8…

    ... image?)
    Graphics (to draw the images or pixels ... a sufficient equivalent to C++'s delete (to make detection ... code.google.com/p/j2z80/[/url]
    now it allow some basic ... optimization to decrease code size and other dependencies ...
    brownb2 brownb2 May 2012 Development
  • "Press any key" detectionWhat would be the simplest way to detect if *any* key is being pressed? No LAST_K trickery, I can't rely on that. It has to be reading the keyboard p…

    ... if you inline the code to avoid a CALL/RET ... (to convert keypresses to ascii code). in_LookupKey() (to generate a scan code from an ascii code) ... and created their own ascii conversion table, then things ... be smaller yet to use that:

    [code]
    ...
    Alcoholics Anonymous Alcoholics Anonymous November 2013 Development
  • RFC: 64 column font codeIn BASIC, type CLEAR 49999 then import the code at 50000. Then type RANDOMIZE USR 50000. This will create a new channel and attach stream #4 to it. A…

    ... Hello world!"[/code]

    Besides the normal ASCII characters, ... channel must be created below basic
    ; so look ...
    ; -------------------------------
    ; WRITE A CHARACTER TO THE SCREEN
    ; -------------------------------
    ;
    chev chev January 2007 Development
  • ZX EDITOR and export to ASCIIIs there a way to export ZX BASIC code in ZX_EDITOR (or any other tool) to normal ASCII file ? What I get with copy&paste is something like that: …

    Is there a way to export ZX BASIC code in ZX_EDITOR (or any other tool) to normal ASCII file ?
    What I get with copy&paste is something like that:

    10?32767
    20?""?
    30??32768
    kpuchatek kpuchatek June 2013 Development
  • How to write a simple BASIC* horizontal scrolling game (Tutorial) [b]How to write a simple BASIC* horizontal scrolling game[/b] In this tutorial, we will be talking about how to write a simple BASIC* horizont…

    ... talking about how to write a simple BASIC* horizontal scrolling* ... in basic, because that part is easier written in machine code.< ... 900 GO TO 100
    [/code]

    Remember to save the program ... 300, where we print a character to the right. If you ...
    Timmy Timmy September 2020 Development
  • BASin Release 9a availableJust a quick not to say that an updated (ie, bug fixed) BASin is available. A list of what's new for release 9: Fixed a bug in the line tokeniser th…

    ... find from the start of BASIC memory) (Mike Wynne)
    to saved code blocks, and directly to the editor too ... any selection now includes the character that the cursor is currently ... ).
    Added correct keyboard ascii handling - non-UK keyboards ...
    Dunny Dunny September 2003 Development
  • New Functions for Sinclair BasicA total of 52 new functions can be added to Sinclair BASIC; 26 numeric functions (A-Z) and 26 string functions (A$-Z$). Owing to the internal structu…

    ... new functions can be added to Sinclair BASIC; 26 numeric functions (A ... in order to permit compilation with HiSoft BASIC.

    [code]
    [i ... /> [i]string2[/i] = 2 character string
    [/code]

    [b]AND ...
    chev chev November 2004 Sinclair Basic
  • Key press to ASCII valueI need a bit of code that will give me an ASCII value when the key is pressed. I only really need a-z. I tried using the following code but it only s…

    ... a bit of code that will give me an ASCII value when ... using the following code but it only seems to return zero or ... and A=D

    [code]KEY1 LD DE,$FF2F
    CP A
    RET[/code]

    [ This Message ...
    Mr Millside Mr Millside July 2005 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
  • Switch from 128k BASIC to 48k BasicHello, 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 down to 48k bas…

    ... then switch back down to 48k basic before you run the ... program. I would like to do this within BASIC.

    ... to 48k basic the program stops executing. I would like my basic program to ... continue its operation (it runs machine code that ...
    saiwong saiwong May 2006 Sinclair Basic
  • 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…

    ... ve not written code that requires a return to BASIC for a ... loooong time.

    What registers need to ... return to BASIC after calling machine code? I recall that IX needs to be ... actually exit my code (I had written it to just loop) - ...
    icabod icabod July 2006 Development
  • How to transfer a BASIC-Programm to PC and/or TZX?Hello there, I'm pretty new at WOS, but have already spent some time reading a small bit of the large amount of information here. I am trying to fin…

    ... trying to find a way to transfer an old BASIC-program ... some soldering to connect my Speccy to my Hifi- ... microdrive and then save it to cassette ..

    to connect to my PC and try to save it ... the source-code, but rather the byte-code representation or ...
    mad-manne mad-manne November 2006 Emulators
  • How to compile a BASin program with Hisoft Basic Compiler?If I write a Basic program with the BASin application and then wants to use Hisoft Basic Compiler to compile to machine code, what are the steps to a…

    ... Basic program with the BASin application and then wants to use Hisoft Basic ... Compiler to compile to machine code, what are ... the steps to arrange this ...
    Rickard Rickard May 2007 Sinclair Basic
  • Project: M.u.l.e.Wokani came up with a great idea about trying an open-development approach for spectrum games, and I thought why not try with a game I have under dev…

    ... only familiar with basic) will be able to pick up on ... have some smithore to continue producing MULEs, the basic workhorse of ... \n character -- \n is ascii code 13) and it has to be able to left ... , even for the basic people. The code will only compile with ...
    Alcoholics Anonymous Alcoholics Anonymous June 2007 Development
  • 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 ... games with a BASIC listing inside the code, especially if ... to know is if anyone remembers any game that has BASIC ... messages that are waiting to be found (and yes ...
    zxbruno zxbruno August 2007 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…

    ... that would allow me to safely "jump" to my BASIC program. :)

    If I have the code needed to do this I would probably ... importing. I would then jump to that code (by using the debugger ... ram would have the game code (minus the 1703 bytes that ...
    zxbruno zxbruno May 2009 Sinclair Miscellaneous
  • So what about ethernet and ZX BASIC?Well, as of about 5 minutes ago, ZX BASIC for the first time properly wrote some packets to the network! OK, so it isn't perhaps 100% what Andrew Ow…

    ... about 5 minutes ago, ZX BASIC for the first time properly ... C or machine code, but know how to use ZX BASIC.

    30 GO TO 20
    [/code]

    The %connect ... causes it to be flushed - either an end-of-line character, or ...
    Winston Winston July 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…

    ... that returns the score to BASIC
    Machine code programs are a series ... .
    - write a BASIC program to run the machine code and print the ... the paper colour of one character square to blue.
    - draw our ...
    bigjon bigjon November 2009 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
basic 24.7K 39K
character 10.9K 16.3K
to 549.6K 1.6M
ascii 1K 1.5K
code 41.6K 91.2K

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 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 …
  • Saving BASIC code as CODE... can't start programHi guys!<br /> <br /> I'm trying to create an adventure game for the Speccy in BASIC, called The Legend Of The Red Dragon.<br /> <br /> I'm using the…
  • 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 save code
  • basic save code autorun
  • basic to word
  • return to basic hl
  • ascii to code
  • basic to gif
  • adding soundtracker music to basic menu
  • adding beepola music to basic menu
  • machine code sprite movement in basic
  • 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
  • loading basic from code
  • key press to ascii in basic
  • pass variables from basic to machine code
  • basic source to ascii

Copyright © 2024 World of Spectrum