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.014s
<1…15161718192021…34>
  • compressing basicI thought I'd ask here instead of the basic forum.. in the sense of giving me 1 command line, and NOT the whole listing joined up etc. and it uncom…

    ... I suggested, plus a small BASIC demo program.

    To ... program
    25626 237 176 LDIR ;copy program# from stack
    25656 237 176 LDIR ;copy program# to stack
    Battle Bunny Battle Bunny September 2010 Development
  • logical operators and the calculator stackI was wondering if there was a utility which would provide the list of commands needed for the ROM calculator to evaluate a logical expression. For e…

    ... ;Make some space into the BASIC work area. DE points to ... ;And copy my expression...
    ldir ;...into the workspace
    res ... need to deeply interact with BASIC variables in a C/M ...
    mcleod_ideafix mcleod_ideafix September 2010 Development
  • logical operators and the calculator stackI was wondering if there was a utility which would provide the list of commands needed for the ROM calculator to evaluate a logical expression. For e…

    ... of "new commands for BASIC" using the classic method ... sentence is executed, as BASIC doesn't evaluate expressions within ... block in workspace
    ldir ;And copy the param block ... the REM sentence (as BASIC does normally when you hit ...
    mcleod_ideafix mcleod_ideafix October 2010 Development
  • Assembly Programming for IDIOTSOk are there any websites guides for what opcodes do in a z80 or books... but for really really thick people like me :-) Something along the lines …

    ... a fillscreen graphics routine using LDIR.[/QUOTE]

    Although I ... like "LD HL, 16384" in BASIC and wondering how on earth ... all I was getting was BASIC keywords on screen! lol. It ... actually enter the mnemonics in BASIC but had to use a ...
    Arjun Arjun October 2010 Sinclair Miscellaneous
  • Transferring games into MicrodriveLast week a big pack of empty microdrive cartridges arrived, and now I'm ready to playing with my little microdrive equipped speccy. One of my aim w…

    ... into memory without disrupting BASIC so they may be ... />
    db 237,176 ; ldir

    db 123 ; ... be loaded into memory using BASIC. Once these requirements have ...
    ; ------------

    .copy: ldir ; Memory copy

    .next ...
    ASM ASM November 2010 Sinclair Miscellaneous
  • Programming flash eprom on DIVIDE+Can you test it on DIVIDE PLUS ? [url]http://velesoft.speccy.cz/other/flasher-divide-plus.zip[/url] (This flash utility is WINSTON's flasher for dia…

    ... ]Magnificent! :-) Can SE Basic run from this menu or ... full reconfigurable from ZX basic. You can change text ... B]Tap file contain this basic:
    1 clear 31999: ... LD BC,16384
    LDIR ;copy rom image 16kB from ... to BSROM and modify basic, switch to residos and ...
    velesoft velesoft November 2010 Hardware
  • Supertest 128 - Loader QuestionI wonder if someone could explain (in simple terms please) :) , the purpose of the switch code. I see what is doing (going to 48k mode via spectrum)…

    ... 5.

    The BASIC loader just runs the machine ... br /> ld (hl),l
    ldir
    ;
    ; Move ...
    ld (hl),l
    ldir
    ;
    ; Ca. ...
    ld bc,0300h
    ldir
    ;
    ; G. ... br /> ld (hl),l
    ldir
    ;
    ; Run ...
    John Elliott John Elliott January 2011 Games
  • Gigascreen - programming guideDoes anyone know of a programming guide for the 128K gigascreen screen mode, specifically a persistence colours table, some code (pref. C level or BA…

    ... screen + attributes less 1
    LDIR ;Copy from (HL) to (DE ... screen + attributes less 1
    LDIR ;Copy from (HL) to (DE ... byte 15 times...
    LDIR ;...to make a row.

    RET ;Return to BASIC

    attr_list
    ; ...
    joefish joefish February 2011 Development
  • Minigamecompo 2011 ??????In the Minigamecompo 2010 I received only a handfull of votings. So I started a [URL="http://minigamecompo.weebly.com/forum.html#/minigamecompo-2011…

    ... I had:

    loader Basic block - 20 bytes

    BASIC. Since your code runs at ...
    ld hl,start
    ldir
    ret
    start here ...
    Dr BEEP Dr BEEP April 2011 Games
  • DIVIDE - source code of new FATWARE 0.14[B][U][SIZE="5"]Source code of FATware system is now free.[/SIZE][/U][/B] BAZE (author of FATWARE) release source code of last version FATWARE 0.14 …

    ... All is configurable from basic via OUT commands. Also ... LD BC,8192
    LDIR ;install first 8kB of custom ... LD BC,8192
    LDIR ;install second 8kB of custom ... LD (HL),A
    LDIR ;erase page 2 with custom ... OUT (227),A
    LDIR ;install system from divide rom ...
    velesoft velesoft May 2011 Hardware
  • binutils questionSince there's a few people using binutils these days I thought I'd give it a go and see whether it solves my hunt for a replacement assembler/librari…

    ... zero the uninit section (an ldir, eg) and it should write ... , run the program, exit to basic and then run the program ...
    Alcoholics Anonymous Alcoholics Anonymous July 2011 Development
  • machine code loadercan someone have a look at this loader and break down what its actually doing and also how i can stop it from executing the 2 loads of headerless blo…

    There is no original BASIC listing. The code overwrites everything.< ... /> I already have a new BASIC loader, the loading screen, a ...
    LD BC,$109
    LDIR
    JP $D1EF

    zxbruno zxbruno August 2011 Sinclair Miscellaneous
  • machine code loadercan someone have a look at this loader and break down what its actually doing and also how i can stop it from executing the 2 loads of headerless blo…

    ... )
    LD BC,5
    LDIR
    LD HL,$FF54
    [/code]
    will return to BASIC after loading the two headerless ... gets lost on returning to BASIC. Here's some code to ...
    Battle Bunny Battle Bunny August 2011 Sinclair Miscellaneous
  • FN nesting error?While playing with FN functions that call assembly, I've found something weird. Check out this code: [code]10 DEF FN f(a,b)=a+b 20 PRINT FN f(FN f(…

    ... space in memory and LDIR the present parameters ... in the calculator stack, LDIR again the parameters back ... parameter, as the LDIR will take place before ... place. After the second LDIR, call RECLAIM-SPACE to ... B]Systems affected:[/B] ROM BASIC in ZX Spectrum 48K / ...
    mcleod_ideafix mcleod_ideafix October 2011 Sinclair Basic
  • FN nesting error?While playing with FN functions that call assembly, I've found something weird. Check out this code: [code]10 DEF FN f(a,b)=a+b 20 PRINT FN f(FN f(…

    ... with patched ROM and BASIC test code[/url]
    push bc
    ldir ;transfer block

    pop hl
    ldir ;restore parms from stack ...
    mcleod_ideafix mcleod_ideafix October 2011 Sinclair Basic
  • how can we convert .z80 to .tap ?is there some way to convert a .z80 file (specially 48k) to .tap, in a similar result as saved from Multiface1? (i'm asking this because i imagine th…

    ... 23970 1 0 2
    LDIR ; 23973 237 176
    ... at 23958. Unfortunately the BASIC has a missing leading quote ... This also makes the BASIC one byte shorter than ... 23958 instead and thus the LDIR copies the wrong chunk. ...
    Battle Bunny Battle Bunny November 2011 Development
  • What paging scheme is the "standard" for 128K models?Sinclair implemented an arrangement so that even numbered pages are non-contended, and odd numbered pages are contended (quoting from memory, haven't…

    ... instructions, for example LDIR.

    Also, the basic contention pattern is ...
    Philip Kendall Philip Kendall November 2011 Hardware
  • Loading the display with data from memoryTrying to load part of the screen(4k's worth) with data from memory location 53000, I've written this routine, but it doesnt work... [I]ld b,4000 ld…

    [QUOTE=Ralf;595779]:lol:

    How to make everybody feeling like a true expert with asking some very basic and trivial thing ;)[/QUOTE]

    I notice Ralph didn't post..... that must mean he doesn't know how to do LDIR.....:-P:-P
    R-Tape R-Tape January 2012 Development
  • Faster CLS...Hi Folks, Looking at the CLS command in the Spectrum ROM disassembly it seems rather complex. Does anyone know of a simpler/quicker routine that wi…

    ... you're calling it from BASIC then super-optimisation is probably ... clear the screen for a BASIC program was simply to set ...
    LD BC,767
    LDIR
    RET

    Doing ...
    joefish joefish January 2012 Sinclair Basic
  • Faster CLS...Hi Folks, Looking at the CLS command in the Spectrum ROM disassembly it seems rather complex. Does anyone know of a simpler/quicker routine that wi…

    ... it?

    Surely the "LDIR" is fast enough for most ... do all the "housekeeping" for BASIC use?
    SKR SKR January 2012 Sinclair Basic
  • Faster CLS...Hi Folks, Looking at the CLS command in the Spectrum ROM disassembly it seems rather complex. Does anyone know of a simpler/quicker routine that wi…

    ... it?

    Surely the "LDIR" is fast enough for most ... do all the "housekeeping" for BASIC use?[/QUOTE]

    Well ...
    Paddy Coleman Paddy Coleman January 2012 Sinclair Basic
  • Faster CLS...Hi Folks, Looking at the CLS command in the Spectrum ROM disassembly it seems rather complex. Does anyone know of a simpler/quicker routine that wi…

    ... [/QUOTE]

    reverse the "LDIR" routine supplied earlier, but again ... "PRINT AT 0,0;" From Basic job done.
    SKR SKR January 2012 Sinclair Basic
  • Faster CLS...Hi Folks, Looking at the CLS command in the Spectrum ROM disassembly it seems rather complex. Does anyone know of a simpler/quicker routine that wi…

    ... could load it to? then LDIR it to screen?[/QUOTE]
    BASIC program uses 17.1K (prior ... what I have asked ZX BASIC to do and how well ...
    Paddy Coleman Paddy Coleman January 2012 Sinclair Basic
  • Maritrini and Cray 5 loading problemsHas anyone else here had issues loading either of these on a 128k? No matter what I try, both these games refuse to load properly. I can get both t…

    ... a 128k machine in 128K BASIC, and then you switch to ... and go back to the BASIC loader. That is, to directly ...
    ld bc, 16384
    ldir
    ld A,#10 ;ROM1 ...
    mcleod_ideafix mcleod_ideafix March 2012 Games
  • New project: CargandoLeches. Ultraloads with ROMHi This project has started months ago, between decicoder, macleod and me. Uses the best modulation of k7zx (throwing shavings). But this ultraloa…

    ...
    LD BC,16384
    LDIR
    XOR 32
    OUT ... in any time from ZX basic via OUT 23,64+31 ...
    velesoft velesoft March 2012 Development
  • Store and restore attribute valuesI am needing ideas on how to write a machine code routine that will store/restore (more important to restore) attribute values to the 22528 area. I …

    ... /> I did assembler & BASIC versions (summarised below) and, as ... is running. The BASIC version doesn't need ... COPY: ld bc,512
    ldir
    call $2d2b ;STACK ... ]

    [code]
    ----- BASIC version
    DEF FN p ...
    Battle Bunny Battle Bunny May 2012 Development
  • Internal ROM expansionHas anybody designed a multiple-ROM interface that plugs into the internal ROM socket instead of plugging onto the edge connector? It would be useful…

    ... microdrive clone. Opus understands the BASIC syntax for InterFace1, but not ... 01 3c 00 $0ats
    ldir ; 82f3 ed b0 $10/$15ts ...
    jp jp May 2012 Hardware
  • SUPER INPUTA couple days ago I searched for an "INPUT string" routine that I could use in Assembly programs and supported multiple lines, but I found none. Thus…

    ... routine passing parameters through a BASIC variable. Can you see any ...
    jr z,NOTEXT
    ldir ;copy initial string to INPUT ...
    Einar Saukas Einar Saukas June 2012 Development
  • dungeon crawlerHi. I'm toying with idea of making simple dungeon crawler in spectrum basic and i actually got first version working somehow. [IMG]http://watashi.ic.…

    That's the incredibly amazing LDIR trick from pure BASIC or friend has developed. Quite genius, and a saver for BASIC coders.

    But... Does still work if you compile your code?
    na_th_an na_th_an July 2012 Sinclair Basic
<1…15161718192021…34>

Latest Posts

  • I bought an accoustic guitar. How do you play it?
    dmsmith on 12:55AM
  • Minor British Sports that did become games on the ZX Spectrum
    dmsmith on April 22
  • Goodbye Z80
    moggy on April 22
  • Happy 40th Birthday to the Amstrad CPC464!
    AndyC on April 22
  • Another Birthday! The Game Boy Is 35!
    dm_boozefreek on April 22
  • I am currently watching.....
    Antiriad2097 on April 22
  • European Software Titles with an English version
    harriusherbartio on April 22
  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on April 22
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on April 22
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21

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