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.103s
<1234567…34>
  • Help! Reverse engineering a Spectrum game[deleted]

    ... code rather than call out to a subroutine. It is ... everywhere then you would have to search and replace it all ... code...

    BTW - "Number to string converting routines" would be used ... screen. I should have wrote "Integer to string converting routines".
    ASM ASM October 2010 Development
  • 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…

    ... variables are defined, all 26 string variables (A$-Z$, the name ... are defined and all 26 integer arrays (A()-Z(), the ... [LIST]
    [*]base+0 = pointer to string
    [*]base+2 = length of ... +4 = absolute maximum length of string
    [/LIST]
    Additional ...
    Jimmy Jimmy May 2011 Development
  • Questions about BasicHi everyone, I am Max, student of media studies in berlin, and I have to do a little project on the spectrum. I am working on a sinclair zx spectrum…

    ... BASIC programming in order to get to know the medium ... some answers, ways how to program these things on ... 1. This was just to show how to work with arrays / ... the value of a integer or string, I don't know ... programming it's about getting to know the machine.
    ...
    lomax030 lomax030 December 2012 Sinclair Basic
  • Compilersaside from SE Basic Compilers, what are some other good ones? Personally im afetr HISOFT Compiler for 128k, but if theres any others it would be nice…

    ... for simple "write a program to work something out" concepts, I ... anything that was ever released to work within the Spectrum ... just about anything, floating point integer or string.

    The ... 128K version comes very close to ...
    Gedlion Gedlion September 2003 Sinclair Basic
  • Calling ROM routinesFirstly, sorry if this is the wrong forum to post this in, but I wasn?t quite sure under which heading is best fitted. I?m trying to figure out how…

    ... trying to figure out how to invoke the LOOKVAR ROM routine to discover ... set the values of Basic integer and string variables from machine code ...
    Alcoholics Anonymous Alcoholics Anonymous July 2006 Development
  • Calling ROM routinesFirstly, sorry if this is the wrong forum to post this in, but I wasn?t quite sure under which heading is best fitted. I?m trying to figure out how…

    ... set the values of Basic integer and string variables from machine code ... just can't get zx_setstr to work.

    It looks ... source string. Can't figure out what BC is supposed to do ...
    trellis trellis July 2006 Development
  • 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…

    ... compiler would have used integer division to compute the result (both ... () takes as argument a string to be printed that contains format ... in the printf() format string above is how we can ... , there is a problem with integer to float conversion. "(float)(a) / ...
    Alcoholics Anonymous Alcoholics Anonymous July 2007 Development
  • New platform game: Sid SpannersHi all, here is my Christmas present. A new platform game (well, more of a mini-game really). [url=http://java.cms.livjm.ac.uk/homepage/staff/cmspc…

    ... archive, so thanks yet again to Martijn for uploading the updated ... and I'll have to rename it to "Sid Spanners 3: The ... . However, they instead go down to "00" lives remaining. (they ... routine which converts an integer to a decimal string is only expecting a ...
    Digital Prawn Digital Prawn April 2011 Brand new software
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... /> [code]
    ; write unsigned decimal integer to ascii buffer


    string, int radix)
    ;
    ; common function that writes integer in ... , compute_lp

    ; write digits to string

    ; ix = char * ( ...
    Alcoholics Anonymous Alcoholics Anonymous June 2012 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... library I do have to stick to some specs:
    ... to the
    objects being compared. The function shall return an integer ... less than, equal to, or
    ... array is 2 bytes (pointer to string)
    ld ix,strcasecmp_callee ; ...
    Alcoholics Anonymous Alcoholics Anonymous June 2012 Development
  • Project on ZX Spectrum in UniversityHi everyone, I am Max, student of media studies in berlin, and I have to do a little project on the spectrum. I am working on a sinclair zx spectrum…

    ... some answers, ways how to program these things on the ... 1. This was just to show how to work with arrays / vectors ... />
    FOR i=1 to 3: b=b+a(i ... get the value of a integer or string, I don't know ... programming it's about getting to know the machine.
    ...
    lomax030 lomax030 December 2012 Announcements
  • Compiling Lisp to Z80.I am doing some thought experiments on this. Here is an example of a Lisp program. It adds two numbers together. [code] (define (add x y) (if (= …

    ... to tell if x is a number or a string, ...
    For your program to support dynamic data types you ... need to define and pass around ... references (pointers) to your variables which would ... it's type (1=Integer, 2=String etc.) followed by ...
    BloodBaz BloodBaz February 2013 Chit chat
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... hl, bc ; end of string plus one to HL
    dec hl ... location
    bit 6, c ; string?
    jr z, dim_clear ; jump ... so
    call int_to_fp ; else integer to last value
    cp '.' ; decimal ...
    chev chev October 2013 Development
  • Documentation for SP1 for Z88DK?(I was going to post in [URL="http://www.worldofspectrum.org/forums/showthread.php?t=11729"]the other thread[/URL], so if a mod thinks this should go…

    ...

    ; write unsigned decimal integer to ascii buffer
    ;
    ; enter ... /> ; write two leading zeroes to output string

    ld a,'0 ... to the terminating \0 byte so you can continue building a string ...
    Alcoholics Anonymous Alcoholics Anonymous December 2013 Development
  • Simple/standard Linux assembly development environmentIs there a standard or recommended Spectrum Z80 assembly language environment for Linux based folks? I was looking at the assembly language posted in…

    ... )
    [/quote]

    Just to update that: sdcc is now ... from asm including float math, integer math, string functions, stdio functions, sorting ...
    Alcoholics Anonymous Alcoholics Anonymous March 2017 Development
  • How to write a simple C+asm horizontal scrolling game (Tutorial, z88dk)[b]How to write a simple C/asm horizontal scrolling game[/b] [b]Note:[/b] This tutorial has multiple parts... I am still writing but this first pa…

    ... , this looks pretty similar to the basic version now.
    to print a string.

    And ... , one to print a string, and one to convert an integer to a string.

    [b]Here is the complete code, up to ...
    Timmy Timmy September 2020 Development
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ... ; HL = pointer to string
    ; DE = pointer to end of string
    putstode:
    SYM_TBL_ENTRY "char->integer", chartointeger, 0
    SYM_TBL_ENTRY " ... ?", isbool, 0
    SYM_TBL_ENTRY "integer?", isinteger, 0
    SYM_TBL_ENTRY "cls ...
    Paradigm Shifter Paradigm Shifter September 2022 Development
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ... ; HL = pointer to string
    ; DE = pointer to end of string
    puts_hltode:
    SYM_TBL_ENTRY "char->integer", chartointeger, 0
    SYM_TBL_ENTRY ... ?", isbool, 0
    SYM_TBL_ENTRY "integer?", isinteger, 0
    SYM_TBL_ENTRY "cls ...
    Paradigm Shifter Paradigm Shifter September 2022 Development
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ... ; HL = pointer to string
    ; DE = pointer to end of string
    puts_hltode:
    integer arg
    requiresarginteger:
    ex ... ?", isbool, 0
    SYM_TBL_ENTRY "integer?", isinteger, 0
    SYM_TBL_ENTRY "cls ...
    Paradigm Shifter Paradigm Shifter September 2022 Development
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ... ; HL = pointer to string
    ; DE = pointer to end of string
    puts_hltode:
    integer arg
    requiresarginteger:
    ex ... ?", isbool, 0
    SYM_TBL_ENTRY "integer?", isinteger, 0
    SYM_TBL_ENTRY "cls ...
    Paradigm Shifter Paradigm Shifter September 2022 Development
  • Screen2StringFurther to writing that BASIC one-liner to redirect CAT to a string I thought that I'd do a general redirection routine for anything which normally p…

    ... that BASIC one-liner to redirect CAT to a string I thought that ... /> REM sa=string address; sl=string length; sd=DEFADD pointer to string definition
    7 LET sa=sd+20: FOR p=sd TO ...
    Battle Bunny Battle Bunny May 2012 Sinclair Basic
  • quick RAM copy using LET in BASICI'm in the process of reviewing, revising and refining all the programming tips & utility routines which I've posted on this forum over the last eigh…

    ... either a string expression (if referencing a string variable) or ... REM TO COPY string to RAM or RAM to string or RAM to RAM< ... PARAMETERS
    a$=destin string expression, or destin location ... RAM;
    b$=source string expression, or source location ...
    Battle Bunny Battle Bunny July 2013 Sinclair Basic
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ... /> ; C = character code to display
    putc:
    ... /> ; erase last char written to screen
    unputc:
    ld ... cursor_col
    ; C = value to draw as cursor
    undrawcursor ... position
    ; HL = pointer to string
    puts:
    ld ...
    Paradigm Shifter Paradigm Shifter August 2022 Development
  • Let a=val "1"I see some basic programs which use Let a=val "1" instead of let a=1 syntax. what is the difference between val "1" and 1? is it an effect of some …

    If only needed in a FOR NEXT LOOP you could use
    FOR X = SGN PI TO SQR PI

    even in strings you can use it since BASIC will take the closest integer to SQR PI, hence 2.

    Try this
    PRINT "HELLO"(SQR PI)
    Dr BEEP Dr BEEP June 2003 Sinclair Basic
  • Platform vs BackgroundForgive my ignorance if this is a 'stoopid' question, but although I've written games for many platforms over the years I'm only now making my first …

    ... with different virtual colours to identify different platforms of ... virtual pallette" to translate a virtual colour to the physical ... uses a single byte or integer to identify which state (zone ... simplifies game logic, because to check with collision with ...
    Alcoholics Anonymous Alcoholics Anonymous March 2004 Development
  • How do I convert score to 00000 formatWhat is the quickest and best way in machine code to display the score formatted in zeros. For example, My score is currently 320, so I want it to …

    Excellent, thanks, I should work it out from this.

    Is there a ROM routine to convert an integer to chars, i.e. 123 to 3 bytes, "1","2","3"

    Cheers
    robpearmain robpearmain February 2005 Development
  • How do I convert score to 00000 formatWhat is the quickest and best way in machine code to display the score formatted in zeros. For example, My score is currently 320, so I want it to …

    ... ROM routine to convert an integer to chars, i.e. 123 to 3 bytes ... but you don't want to use it. Just repeatidly divide ...
    cyborg cyborg February 2005 Development
  • Stupid Question... but: BMP2SCRI have downloaded bmp2scr, and produced a couple of pictures in the hires formats, I can see that there are 3 binary files, a red,green,and blue, how…

    ... other way round - you need to specially generate an uncompressed AVI ... - it might also be able to string these into a TAP file ... . Again, you'll have to roll your own playback routine ... according to your hardware limitations and the ...
    gasman gasman March 2005 Sinclair Miscellaneous
  • Investor spamI've received a bizarre snail-mail spam from some outfit called Inside Track -- they're promising to turn me into a property-investment millionaire b…

    ... loads from people who "want to buy my motorbike" the classic ... /> *yawn* I did used to reply to string them along, but got bored.
    thx1138 thx1138 March 2006 Chit chat
  • Floating point representationI'm planning on picking up the [url=http://matt.west.co.tt/category/spectrum/openzxrom/]OpenZXRom[/url] project from where I left off a few months ba…

    ... will have to support integer to float conversion anyway (which looks to me like ... might put two numbers in integer representation to your stack and want ... the math, and convert back to integer. Now, checking whether the two ...
    baze baze October 2006 Development
<1234567…34>

Latest Posts

  • i am currently listening to........
    Paradigm Shifter on 12:26AM
  • Happy 40th Birthday to the Amstrad CPC464!
    dmsmith on April 16
  • Celebrity deaths...
    mel the bell on April 16
  • Cooperative Games.
    Paradigm Shifter on April 16
  • LONELY TZX files : software TZX'd on the online sites with NO ASSOCIATED DOCUMENTATION
    harriusherbartio on April 16
  • European Software Titles with an English version
    harriusherbartio on April 16
  • How we became brainwashed by social media
    Antiriad2097 on April 16
  • How Do You Categorize Your Speccy Software and Games?
    Antiriad2097 on April 16
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on April 16
  • I am currently watching.....
    zx1 on April 15

HitBox

Word Docs Hits
integer 761 1.1K
to 549.6K 1.6M
string 2.8K 5.1K

Related Threads

  • 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 …
  • Update to Image to ZX Spec to 1.3.1I'm inbetween jobs at the moment and felt the need to add a new feature - the ability to export anim gifs.<br /> <br /> [IMG]https://lh6.googleuserco…
  • simplest method to pass a string to m/code?The statement "RANDOMIZE numvar+USR mc" is a simple way of passing a single numeric parameter to a m/c routine, as mc can retrieve numvar from the to…
  • 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 download games to micro sd card to play on Sinclair zx spectrum vegaHello<br /> Could anyone tell me how to download games from a website to a micro sd card to play on a Sinclair zx spectrum vega , I mean do I use a …
  • A game to port to... to make for... ZX Spectrum ?Hey there,<br /> <br /> I'm a game coder on Commodore computers (C64,CPlus/4,VIC20,Amiga) and I loooove the ZX Spectrum.<br /> I grew up with Comm…
  • How to copy file from tape (*.tap) to disks (*.dsk) ?I am using zx32 with win98 and i want (in the emulate +3) copy files from virtual tapes to virtual disks.<br /> <br /> I use =&gt; load "NameOfFile" …
  • how to make a (protected) .DSK to disk transfer ?I know how to make file transfers between .DSK files and physical disks (logical copy).<br /> <br /> However, how can be done a physical sector trans…
  • how to move fdd300's files to pc emulator?Hi!<br /> I have some diskettes 3" for FDD3000 drive for Timex 2048. How can I read these 3"disk and move to PC ? I have some my own demos and rest s…

Related Searches

  • from bedrooms to billions
  • z80 to tape
  • snapshot to tape
  • linux tzx to wav
  • trd files to image
  • fastest way to clear screen
  • user name and password to download emulator
  • convert src files to
  • rst8 return to basic
  • return to basic
  • unable to log in
  • how to download games
  • how to download games for vega
  • usr0 to 128
  • the adventure game i m trying to complete
  • tzx to tape
  • inputting to a string array
  • hex to dez string
  • int32 to string
  • 32 integer to string

Copyright © 2024 World of Spectrum