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.016s
<1…13141516171819…34>
  • saving to asmMy another question... I know I can save part of Spectrum memory to .bin file. However I would like to save it (or convert .bin file)into .txt file w…

    ...
    ld hl,PIC
    ldir
    ret
    PIC INCBIN ... tap) file wich includes a BASIC loader that will do a ...
    AE.Vasconcelos AE.Vasconcelos May 2005 Development
  • 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…

    ...
    LD BC,6912
    LDIR
    RET

    This ... gives a 'C Nonsense in Basic' error. It does not matter ...
    mulder mulder August 2005 Emulators
  • 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…

    ...
    LD BC,6912
    LDIR
    RET

    This ... gives a 'C Nonsense in Basic' error. It does not matter ...
    Dunny Dunny August 2005 Emulators
  • screen$I'm wanting to create a game which is written mostly is Basic, due to lack of MC skills but i need a MC routine if someone would kindly supply it I…

    I'm not sure 23296 is the right address for your screen 1 as it would overwrite your BASIC. But whatever address you use, you need just this:

    [code]
    ld hl,ScreenAddr
    ld de,16384
    ld bc,6912
    ldir
    ret
    [/code]
    baze baze August 2005 Development
  • z88dk+splib2 sprites question.I'm creating a game and I have several "states" for my main sprite, such as jump, facing left, facing right, etcetera. All those states require a dif…

    ... nothing with the 128's Basic RAMdisk. A RAMdisk is very ... authors would prefer just to ldir stuff from one bank to ...
    Alcoholics Anonymous Alcoholics Anonymous September 2005 Development
  • z88dk+splib2 sprites question.I'm creating a game and I have several "states" for my main sprite, such as jump, facing left, facing right, etcetera. All those states require a dif…

    ... by Iforeve to run from BASIC
    ;
    ; Poke in 32768 ... usas en un programa de Basic
    ; estos registros deben ser ...
    na_th_an na_th_an October 2005 Development
  • SAVE the complete screen in BASICHow can I save the COMPLETE screen (with the last two lines) in BASIC? If I type SAVE "XXXX" SCREEN$, then comes the message "Start tape, ..." and th…

    ...
    LD BC 6912
    LDIR
    RET

    This ... USR 65368 from within your BASIC program. The routine copies BC ... HL(32768) and returns to BASIC. Basically it copies your screen ... memory.

    Then, from BASIC,

    SAVE "name" CODE ...
    Lloyd Lloyd October 2005 Sinclair Basic
  • SAVE the complete screen in BASICHow can I save the COMPLETE screen (with the last two lines) in BASIC? If I type SAVE "XXXX" SCREEN$, then comes the message "Start tape, ..." and th…

    ... /> LD BC 6912
    LDIR
    RET
    [/quote ... 65368 from within your BASIC program. The routine copies ... 32768) and returns to BASIC. Basically it copies ... about this - it's pure BASIC, folks:

    BASIC
    [/quote]
    ...
    Dunny Dunny October 2005 Sinclair Basic
  • Method to read byte as binary string rather than dec?Hi all Am fiddling around with the screen buffer and have written a routine to scan the screenbuffer into upper ram and then write it back in upside…

    ... faster raw Z80 is than BASIC. Copying such data would take ... the screen) using a simple LDIR command would take about over ... faster than doing it in BASIC :p
    icabod icabod February 2006 Sinclair Basic
  • Games that crash because of contended memory.I find these are really annoying. You load up a game like Astro Marine Corps, Fantasy World Dizzy, Dizzy: Prince Of The Yolkfolk and so on (the init…

    ... ! In the 48/128/+2 BASIC ROM, 0x03FF always contains 0x986C ... the "2 KEYBOARD" string. So, LDIR it into the old interrupt ...
    Jmk Jmk March 2006 Games
  • Extracting the Multiface ROM?Is there an easy way to save the contents of a real Multiface 128 ROM to tape, on a real spectrum, for the purposes of transferring it to PC for emul…

    ... return to basic. Save the code copied by the LDIR and that ... something like:

    From BASIC, CLEAR 32767


    LD DE,32768
    LDIR
    IN 191,A ;maybe ... /> RET

    Then, from BASIC, SAVE "mf128" CODE 32768,8192 ...
    DEATH DEATH June 2006 Hardware
  • Extracting the Multiface ROM?Is there an easy way to save the contents of a real Multiface 128 ROM to tape, on a real spectrum, for the purposes of transferring it to PC for emul…

    ...
    LD DE,32768
    LDIR
    LD C,191
    BASIC, else you may lose the ... stack and BASIC will crash, but with only ...
    DEATH DEATH June 2006 Hardware
  • Currah MicrosourceHi Anyone here got a Currah Microsource ? I have one, its one of the original eval units complete with 'draft' manual. Just interested to see how …

    ... bc,8192
    90 REM ! ldir
    95 REM Page Out ...

    ret ; Return to BASIC
    .end
    [/code]
    BloodBaz BloodBaz October 2006 Sinclair Miscellaneous
  • NEW games for you chaps (and girls too) ;-)Okie, did some .TAP versions of NEW original games that were only released on TRDOS disk format. Some of you might have seen some (one or two are eve…

    ... a TRD and convert the BASIC loader to a TAP using ... loader is contained in the BASIC one so we need to ...
    LD (HL),L
    LDIR
    LD SP,66E0
    BASIC loader needs to CLEAR 26366 ... , we end up with a BASIC loader like this:

    StuBruise StuBruise January 2007 Games
  • NEW games for you chaps (and girls too) ;-)Okie, did some .TAP versions of NEW original games that were only released on TRDOS disk format. Some of you might have seen some (one or two are eve…

    ... /C loader embedded in the BASIC loader is at $5D6D if ... as I can never get LDIR instructions right without having to ... preference is to use a BASIC loader if at all possible ...
    StuBruise StuBruise January 2007 Games
  • 16k Spectrum.How come emulator's in 16k mode don't provide 32 ram-pack support.

    ... it returns back to the BASIC interpreter as normal.
    < ... bc,2048
    60 REM ! ldir
    70 REM ! ret
    BASIC variables (e.g. after compilation ... statement). Similarly, you can use BASIC variables directly in the assembly ...
    BloodBaz BloodBaz March 2007 Emulators
  • My emulator doesn't take "commands"Hi This is probably a question that is very hard to answer, but perhaps some of you have/had the same problem. In my own emulator (that I have built)…

    ... cause 48K BASIC to lock up. An error in LDIR/LDDR could ... occurring half way through a LDIR? And does that correctly go ...
    Laser Laser March 2007 Emulators
  • Sceen$ helpMost people have used screen$ at some time or another and for me what I want to do is use it or something like it as a start screen before the game p…

    ... be used generally by a basic program) so when I want ... would be mighty slow in basic, so you'll want some ...
    ld bc,6912
    ldir
    ret
    [/code]
    Alcoholics Anonymous Alcoholics Anonymous May 2007 Sinclair Basic
  • Sceen$ helpMost people have used screen$ at some time or another and for me what I want to do is use it or something like it as a start screen before the game p…

    ... would be mighty slow in basic, so you'll want some ...
    ld bc,6912
    ldir
    ret
    [/code]
    DEATH DEATH May 2007 Sinclair Basic
  • Sceen$ helpMost people have used screen$ at some time or another and for me what I want to do is use it or something like it as a start screen before the game p…

    ... ) ive never done anything outside basic sinclair basic stuff. So I don ... , let alone integrating it into basic).

    Is there an ... would be mighty slow in basic, so you'll want some ...
    ld bc,6912
    ldir
    ret
    [/code]
    Toxitalk Toxitalk May 2007 Sinclair Basic
  • Sceen$ helpMost people have used screen$ at some time or another and for me what I want to do is use it or something like it as a start screen before the game p…

    ... , b, x, y etc) in BASIC, you won't go far ... /> LDIR ; do the copying
    RET ; Return back to your basic program ... .
    LDIR ; do the copying
    RET ; back to basic

    DEATH DEATH 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…

    ... scrolling text message in ZX Basic"
    20 for n=1 ... *were* doing the equivalent :) The basic string slice operation creates a ... in asm that uses the LDIR instruction for the byte copy ...
    Alcoholics Anonymous Alcoholics Anonymous July 2007 Development
  • 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…

    ... /> ld bc,40832
    ldir[/CODE]

    I ... still see registers as BASIC variables, and I want ... a rule of the LDIR instruction. It means to ... all again if BC 0. LDIR - LoaD - Increment - Repeat ... very successful return to basic with the interrupts disabled. ...
    DEATH DEATH August 2007 Sinclair Miscellaneous
  • 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 article ...
    ld bc,40832
    ldir[/code]I know that 'hl ... . I still see registers as BASIC variables, and I want to ... yes. Certain commands (e.g. LDIR LDDR) insist on certain registers ...
    rich_chandler rich_chandler August 2007 Sinclair Miscellaneous
  • SCR to SCREENS$Hello, is there a way to convert a .scr file back to a screen$ to load it into an emulator? Thanks!

    ...
    LD BC,6912
    LDIR
    RET

    Will ... DE and then return to BASIC

    You then just ...
    DEATH DEATH August 2007 Sinclair Miscellaneous
  • 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…

    ... with an also very good BASIC interpreter has been mentioned). It ... also allowed you to use BASIC where it made sense - you ... the user facing stuff in BASIC, and have all the "inner ... map, almost-SIMD instructions like LDIR, CPIR et al, and register ...
    Winston Winston September 2007 Sinclair Basic
  • Interface rom - Need help to dump itHi, I have temporarily an interface that is similar to a multiface. It has an NMI button and displays a menu where states can be saved and pokes ent…

    If you use LDIR, then the routine would look ...
    LD HL,00000
    LDIR
    Code to page your ... interrupts and returns back to basic.

    Then, if it ...
    DEATH DEATH October 2007 Hardware
  • Minigame Compo 2007Hi there, also this year, there'll be a minigame competition, open to all 8-bit computers and consoles. It consists on writing games whose size (…

    ... can be placed directly in BASIC line number and length -> ... which are occupied by BASIC LINE NUMBER and BASIC LINE LENGTH
    ;such basic loader will work ... after djnz


    ldir
    jr next

    Fikee Fikee January 2008 Development
  • IF2 Rom snapshot creationHi, is it possible convert a Speccy 16k snapshot to a Interface 2 Rom file? I've the original Ultimate Pssst, Cookie, Trans-am and Jetpac tapes and …

    ... the following :

    [INDENT]BASIC loader
    Screen$
    CODE ... ROM at address 32768. The BASIC bit above copies the first ... LD BC,$2000
    B210 LDIR ;relocate main Jetpac code
    B21B LDIR ;relocate 2nd block of code ...
    Jimmy Jimmy April 2008 Emulators
  • IF2 Rom snapshot creationHi, is it possible convert a Speccy 16k snapshot to a Interface 2 Rom file? I've the original Ultimate Pssst, Cookie, Trans-am and Jetpac tapes and …

    ... the value for SP, the LDIR blocks and the final JP ... games made no sound whilst BASIC BEEP'd just fine.
    Jimmy Jimmy April 2008 Emulators
<1…13141516171819…34>

Latest Posts

  • I am currently watching.....
    Paradigm Shifter on 12:49AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Fixed Speccy Software. And which games remained unfixed?
    John Elliott 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
  • European Software Titles with an English version
    harriusherbartio 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
  • Celebrity deaths...
    mel the bell on April 20

HitBox

Word Docs Hits
ldir 1K 1.7K
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…
  • (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…
  • 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…
  • Basic BASIC help needed RNDHi all,<br /> <br /> I have recently re-discovered an old program I wrote in the early 90s which would do generate random lottery numbers.<br /> <br …
  • Star BASIC or *BASIC??? Anyone heard of this?Does anyone remember a thing called Star Basic or *basic?<br /> <br /> It was a tape that extended the BASIC instruction set and from memory you put …
  • 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…
  • Couple of basic BASIC questionsPlaying around with BASin again in an effort to knock up a game and am wondering 2 things<br /> <br /> 1) Why when I run the program do my UDGs not a…

Related Searches

  • 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
  • basic toupper tolower
  • basic lcase ucase
  • basic change upper lower case
  • basic
  • basic flicker
  • flicker basic
  • two charcters basic
  • basic sprites
  • basic sprites flicker
  • ldir basic animation
  • memory basic ldir

Copyright © 2024 World of Spectrum